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