Merge "Forward Subscription Information to DMI Plugin(s)"
[cps.git] / cps-application / src / main / resources / application.yml
index b5b10b0..02902de 100644 (file)
@@ -1,7 +1,7 @@
 #  ============LICENSE_START=======================================================\r
 #  Copyright (C) 2021 Pantheon.tech\r
 #  Modifications Copyright (C) 2021-2022 Bell Canada\r
-#  Modifications Copyright (C) 2021-2022 Nordix Foundation\r
+#  Modifications Copyright (C) 2021-2023 Nordix Foundation\r
 #  ================================================================================\r
 #  Licensed under the Apache License, Version 2.0 (the "License");\r
 #  you may not use this file except in compliance with the License.\r
@@ -84,16 +84,15 @@ spring:
             properties:\r
                 spring.deserializer.key.delegate.class: org.apache.kafka.common.serialization.StringDeserializer\r
                 spring.deserializer.value.delegate.class: org.springframework.kafka.support.serializer.JsonDeserializer\r
-                spring.json.value.default.type: org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent\r
                 spring.json.use.type.headers: false\r
 \r
     jackson:\r
-      default-property-inclusion: NON_NULL\r
-      serialization:\r
-        FAIL_ON_EMPTY_BEANS: false\r
+        default-property-inclusion: NON_NULL\r
+        serialization:\r
+            FAIL_ON_EMPTY_BEANS: false\r
     sql:\r
-      init:\r
-        mode: ALWAYS\r
+        init:\r
+            mode: ALWAYS\r
 app:\r
     ncmp:\r
         async-m2m:\r
@@ -103,6 +102,10 @@ app:
     lcm:\r
         events:\r
             topic: ${LCM_EVENTS_TOPIC:ncmp-events}\r
+    dmi:\r
+        cm-events:\r
+            topic: ${DMI_CM_EVENTS_TOPIC:dmi-cm-events}\r
+\r
 \r
 notification:\r
     enabled: true\r
@@ -180,4 +183,7 @@ ncmp:
 \r
     modules-sync-watchdog:\r
         async-executor:\r
-            parallelism-level: 10
\ No newline at end of file
+            parallelism-level: 10\r
+\r
+    model-loader:\r
+        subscription: false
\ No newline at end of file