Change default use of Model Loader to TRUE 08/134508/1
authoremaclee <lee.anjella.macabuhay@est.tech>
Tue, 9 May 2023 08:18:05 +0000 (09:18 +0100)
committeremaclee <lee.anjella.macabuhay@est.tech>
Tue, 9 May 2023 08:18:05 +0000 (09:18 +0100)
Issue-Id: CPS-1688
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: I18bb5e3ad45ccdf5f3a1e88dd5a34dc830e06f4a

cps-application/src/main/resources/application.yml
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/init/SubscriptionModelLoader.java

index ccd09c8..bba8f09 100644 (file)
@@ -194,7 +194,7 @@ ncmp:
             parallelism-level: 10
 
     model-loader:
-        subscription: false
+        subscription: true
         maximum-attempt-count: 20
 
 # Custom Hazelcast Config.
index 659779a..af9ee72 100644 (file)
@@ -58,7 +58,7 @@ public class SubscriptionModelLoader implements ModelLoader {
     @Value("${ncmp.timers.model-loader.retry-time-ms:1000}")
     private long retryTimeMs;
 
-    @Value("${ncmp.model-loader.subscription:false}")
+    @Value("${ncmp.model-loader.subscription:true}")
     private boolean subscriptionModelLoaderEnabled;
 
     /**