diff options
author | emaclee <lee.anjella.macabuhay@est.tech> | 2023-05-09 09:18:05 +0100 |
---|---|---|
committer | emaclee <lee.anjella.macabuhay@est.tech> | 2023-05-09 09:18:05 +0100 |
commit | 505caef2b51468c933ffbf38157688071bca386e (patch) | |
tree | 75e16d477c6e4b3ce3f69e2c4313281a6498ed8c | |
parent | 492b6660fb153dd3dbf52c693a0b86bed3bee4f5 (diff) |
Change default use of Model Loader to TRUE
Issue-Id: CPS-1688
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: I18bb5e3ad45ccdf5f3a1e88dd5a34dc830e06f4a
-rw-r--r-- | cps-application/src/main/resources/application.yml | 2 | ||||
-rw-r--r-- | cps-ncmp-service/src/main/java/org/onap/cps/ncmp/init/SubscriptionModelLoader.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index ccd09c8555..bba8f09eb0 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -194,7 +194,7 @@ ncmp: parallelism-level: 10 model-loader: - subscription: false + subscription: true maximum-attempt-count: 20 # Custom Hazelcast Config. diff --git a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/init/SubscriptionModelLoader.java b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/init/SubscriptionModelLoader.java index 659779acf9..af9ee721c5 100644 --- a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/init/SubscriptionModelLoader.java +++ b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/init/SubscriptionModelLoader.java @@ -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; /** |