X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-application%2Fsrc%2Fmain%2Fresources%2Fapplication.yml;h=692996c985169e33e62e4abb4b4e2f2576ddafcd;hb=f31c7f8bd4985c84f9126d071439c1a4de57f704;hp=4dfeee809813d45441b9d64676fc4a223ef93c0e;hpb=1f2e66e720678f00682e6429aab7fa62251baf29;p=cps.git diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 4dfeee809..692996c98 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -70,6 +70,19 @@ spring: producer: value-serializer: org.springframework.kafka.support.serializer.JsonSerializer client-id: cps-core + consumer: + group-id: ${NCMP_CONSUMER_GROUP_ID:ncmp-group} + key-deserializer: org.springframework.kafka.support.serializer.ErrorHandlingDeserializer + value-deserializer: org.springframework.kafka.support.serializer.ErrorHandlingDeserializer + properties: + spring.deserializer.key.delegate.class: org.apache.kafka.common.serialization.StringDeserializer + spring.deserializer.value.delegate.class: org.springframework.kafka.support.serializer.JsonDeserializer + spring.json.value.default.type: org.onap.cps.ncmp.event.model.DmiAsyncRequestResponseEvent + spring.json.use.type.headers: false +app: + ncmp: + async-m2m: + topic: ${NCMP_ASYNC_M2M_TOPIC:ncmp-async-m2m} notification: data-updated: @@ -85,7 +98,7 @@ notification: queue-capacity: 500 wait-for-tasks-to-complete-on-shutdown: true thread-name-prefix: Async- - + time-out-value-in-ms: 2000 springdoc: swagger-ui: @@ -124,6 +137,7 @@ management: enabled: true logging: + format: json level: org: springframework: INFO @@ -136,3 +150,7 @@ dmi: password: ${DMI_PASSWORD} api: base-path: dmi + +timers: + advised-modules-sync: + sleep-time-ms: 30000 \ No newline at end of file