Merge "DMI Data AVC to use kafka headers"
[cps.git] / cps-application / src / main / resources / application.yml
index b95d9eb..bba8f09 100644 (file)
@@ -99,6 +99,9 @@ app:
             topic: ${NCMP_ASYNC_M2M_TOPIC:ncmp-async-m2m}
         avc:
             subscription-topic: ${NCMP_CM_AVC_SUBSCRIPTION:cm-avc-subscription}
+            subscription-forward-topic: ${NCMP_FORWARD_CM_AVC_SUBSCRIPTION:ncmp-dmi-cm-avc-subscription}
+            subscription-response-topic: ${NCMP_RESPONSE_CM_AVC_SUBSCRIPTION:dmi-ncmp-cm-avc-subscription}
+            subscription-outcome-topic: ${NCMP_OUTCOME_CM_AVC_SUBSCRIPTION:cm-avc-subscription-response}
             cm-events-topic: ${NCMP_CM_EVENTS_TOPIC:cm-events}
     lcm:
         events:
@@ -181,19 +184,23 @@ ncmp:
             sleep-time-ms: 300000
         cm-handle-data-sync:
             sleep-time-ms: 30000
+        subscription-forwarding:
+            dmi-response-timeout-ms: 30000
+        model-loader:
+            retry-time-ms: 1000
 
     modules-sync-watchdog:
         async-executor:
             parallelism-level: 10
 
     model-loader:
-        subscription: false
-        maximumAttemptCount: 20
-        retryTimeMs: 1000
+        subscription: true
+        maximum-attempt-count: 20
 
 # Custom Hazelcast Config.
 hazelcast:
-  mode:
-    kubernetes:
-      enabled: ${HAZELCAST_MODE_KUBERNETES_ENABLED:false}
-      service-name: ${CPS_NCMP_SERVICE_NAME:"cps-and-ncmp-service"}
\ No newline at end of file
+    cluster-name: ${CPS_NCMP_CACHES_CLUSTER_NAME:"cps-and-ncmp-common-cache-cluster"}
+    mode:
+        kubernetes:
+            enabled: ${HAZELCAST_MODE_KUBERNETES_ENABLED:false}
+            service-name: ${CPS_NCMP_SERVICE_NAME:"cps-and-ncmp-service"}
\ No newline at end of file