commit | 4adc3d8bf9a6d4a75ecdc32b654749abbb22ff1d | [log] [tgz] |
---|---|---|
author | Priyank Maheshwari <priyank.maheshwari@est.tech> | Wed May 10 11:25:24 2023 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Wed May 10 11:25:24 2023 +0000 |
tree | 6ad2adfdbee55b37ff9f403f81b1727a694daf34 | |
parent | 153c4e856e3c818837efc0c17348c18ccf64821c [diff] | |
parent | 505caef2b51468c933ffbf38157688071bca386e [diff] |
Merge "Change default use of Model Loader to TRUE"
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; /**