Fix Sdc controller
[clamp.git] / src / main / java / org / onap / clamp / clds / Application.java
index ae8b6d8..5975b9d 100644 (file)
@@ -18,7 +18,7 @@
  * limitations under the License.
  * ============LICENSE_END============================================
  * ===================================================================
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * 
  */
 
 package org.onap.clamp.clds;
@@ -48,6 +48,7 @@ import org.springframework.boot.web.support.SpringBootServletInitializer;
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.ComponentScan;
 import org.springframework.scheduling.annotation.EnableAsync;
+import org.springframework.scheduling.annotation.EnableScheduling;
 
 @SpringBootApplication
 @ComponentScan(basePackages = {
@@ -59,6 +60,7 @@ import org.springframework.scheduling.annotation.EnableAsync;
 })
 @EnableConfigurationProperties
 @EnableAsync
+@EnableScheduling
 public class Application extends SpringBootServletInitializer {
 
     protected static final EELFLogger EELF_LOGGER = EELFManager.getInstance().getLogger(Application.class);
@@ -85,7 +87,7 @@ public class Application extends SpringBootServletInitializer {
         // This is to initialize some Onap Clamp components
         initializeComponents();
         // Start the Spring application
-        SpringApplication.run(Application.class, args); // NOSONAR
+        SpringApplication.run(Application.class, args);
     }
 
     private static void initializeComponents() {