diff options
author | mpriyank <priyank.maheshwari@est.tech> | 2023-03-08 15:29:57 +0000 |
---|---|---|
committer | mpriyank <priyank.maheshwari@est.tech> | 2023-03-08 17:28:05 +0000 |
commit | f0d50b68c2696b41f1886e704145a1edfa343750 (patch) | |
tree | 9c9f2f176b751e88ec456ea35214dd804a138e34 /cps-ncmp-service/src | |
parent | f0f4fd810c9a249d78def4c2f10356fceb864b1f (diff) |
[CPS] Add configurable params for topic
- Configurable parameter for topic dmi-cm-events
Issue-ID: CPS-1538
Change-Id: I5396ee8f50f33ea3c117291a314f10c1870966bc
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-ncmp-service/src')
-rw-r--r-- | cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/notifications/avc/AvcEventConsumer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/notifications/avc/AvcEventConsumer.java b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/notifications/avc/AvcEventConsumer.java index 79a36bf506..58290a7e9d 100644 --- a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/notifications/avc/AvcEventConsumer.java +++ b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/notifications/avc/AvcEventConsumer.java @@ -44,7 +44,7 @@ public class AvcEventConsumer { * @param avcEvent the event to be consumed and produced. */ @KafkaListener( - topics = "dmi-cm-events", + topics = "${app.dmi.cm-events.topic}", properties = {"spring.json.value.default.type=org.onap.cps.ncmp.event.model.AvcEvent"}) public void consumeAndForward(final AvcEvent avcEvent) { log.debug("Consuming AVC event {} ...", avcEvent); |