Modify sme invoker to discover the endpoints by itself
[nonrtric.git] / sample-services / hello-world-sme-invoker / src / main / java / org / oransc / nonrtric / sample / HelloWorldSmeInvokerApplication.java
index 0a384f4..163eab9 100644 (file)
@@ -24,9 +24,11 @@ import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;\r
 import org.springframework.boot.web.client.RestTemplateBuilder;\r
 import org.springframework.context.annotation.Bean;\r
+import org.springframework.scheduling.annotation.EnableScheduling;\r
 import org.springframework.web.client.RestTemplate;\r
 \r
 @SpringBootApplication(scanBasePackages = "org.oransc.nonrtric.sample")\r
+@EnableScheduling\r
 public class HelloWorldSmeInvokerApplication {\r
     public static void main(String[] args) {\r
         SpringApplication.run(HelloWorldSmeInvokerApplication.class, args);\r