From 7d25644c516869c299ea8d93ea915750e5b07203 Mon Sep 17 00:00:00 2001 From: seanbeirne Date: Fri, 13 Jan 2023 17:13:25 +0000 Subject: [NCMP] Consume & Forward to client topic -Consumes event from dmi-cm-events -Immediately forwards to static topic (topic selection for events comes later from subscription information) -Added Kafka test -SHOULD BE MERGED BEFORE DMI PART Issue-ID: CPS-138 Signed-off-by: JosephKeenan Change-Id: I0a426381e2c3f9173b8d3916960c05722ad4f77d Signed-off-by: seanbeirne --- cps-application/src/main/resources/application.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'cps-application/src') diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index e3ffd04d7b..0dd0610591 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -1,7 +1,7 @@ # ============LICENSE_START======================================================= # Copyright (C) 2021 Pantheon.tech # Modifications Copyright (C) 2021-2022 Bell Canada -# Modifications Copyright (C) 2021-2022 Nordix Foundation +# Modifications Copyright (C) 2021-2023 Nordix Foundation # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -84,16 +84,15 @@ spring: 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 jackson: - default-property-inclusion: NON_NULL - serialization: - FAIL_ON_EMPTY_BEANS: false + default-property-inclusion: NON_NULL + serialization: + FAIL_ON_EMPTY_BEANS: false sql: - init: - mode: ALWAYS + init: + mode: ALWAYS app: ncmp: async-m2m: @@ -102,6 +101,7 @@ app: events: topic: ${LCM_EVENTS_TOPIC:ncmp-events} + notification: enabled: true data-updated: -- cgit 1.2.3-korg