summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSmokowski, Steve (ss835w) <ss835w@us.att.com>2018-12-06 16:47:03 -0500
committerSmokowski, Steve (ss835w) <ss835w@us.att.com>2018-12-06 16:47:04 -0500
commit4a483a3bc00cdc0c74162bb4523ab93067493f18 (patch)
treecadb09c0b98b972030e3b2d952ff724235f31a9c
parentfeb3f66334092f8d28cdba41450d0a11970319de (diff)
Enabled Scheduled Jobs
Re-enable scheduled jobs inside of springboot 2.0 Change-Id: I9d405b2d4e6c11194a3a84bb9a213c877035ee5e Issue-ID: SO-1292 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
-rw-r--r--asdc-controller/src/main/java/org/onap/so/asdc/Application.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/Application.java b/asdc-controller/src/main/java/org/onap/so/asdc/Application.java
index bd3b2d1c54..2f56668c74 100644
--- a/asdc-controller/src/main/java/org/onap/so/asdc/Application.java
+++ b/asdc-controller/src/main/java/org/onap/so/asdc/Application.java
@@ -22,8 +22,10 @@ package org.onap.so.asdc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication(scanBasePackages = { "org.onap.so" })
+@EnableScheduling
public class Application {
private static final String MSO_CONFIG_PATH = "mso.config.path";