commit | 505caef2b51468c933ffbf38157688071bca386e | [log] [tgz] |
---|---|---|
author | emaclee <lee.anjella.macabuhay@est.tech> | Tue May 09 09:18:05 2023 +0100 |
committer | emaclee <lee.anjella.macabuhay@est.tech> | Tue May 09 09:18:05 2023 +0100 |
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
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index ccd09c8..bba8f09 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml
@@ -194,7 +194,7 @@ 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 659779a..af9ee72 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 @@ @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; /**