Cm Avc Event to have same key 21/139321/1
authormpriyank <priyank.maheshwari@est.tech>
Mon, 4 Nov 2024 15:59:58 +0000 (15:59 +0000)
committermpriyank <priyank.maheshwari@est.tech>
Mon, 4 Nov 2024 16:03:39 +0000 (16:03 +0000)
commit2dd658268202f92e0b5621093747f13670e5d042
tree49e2847ebeed496d9d6ca06437f0e8a055a96a50
parent408e84480e96e8bc4119bd2864ab05fd13832214
Cm Avc Event to have same key

- incoming Cm Avc Event from DMI Plugin is consumed and forwarded to
  target topic
- the key from source topic to be used in the target topic while
  forwarding
- with same key the ordering of the message will be preserved
- NOTE: the RTD related changes will be a separate patchset

Issue-ID: CPS-2436
Change-Id: Ie692663706b378022ec0d621d92ca5054bad8d1b
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/cmnotificationsubscription/cmavc/CmAvcEventConsumer.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/cmnotificationsubscription/cmavc/CmAvcEventConsumerSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/ncmp/CmHandleCreateSpec.groovy
k6-tests/once-off-test/kafka/produce-avc-event.js