Subscription Create Response Handling Dmi Part 43/133643/19
authorhalil.cakal <halil.cakal@est.tech>
Tue, 14 Mar 2023 11:24:26 +0000 (11:24 +0000)
committerhalil.cakal <halil.cakal@est.tech>
Wed, 29 Mar 2023 14:13:47 +0000 (15:13 +0100)
commit8d8ec86444fb3e085d7dd350966beb92ca0a8ba8
tree7ec78469a9031f86effd98cd531b5147c64ab95a
parent221ee7ddfe4a0bce0bc8ad57907404429821bc3d
Subscription Create Response Handling Dmi Part

- Consume suscription event (payload) with kafka message key
  and kafka timestamp from ncmp, and extract cm handle ids.
- Generate subscription event response (payload) and revert it
  back to ncmp to specified topic with the corresponding
  kafka message key.
- Configure kafka consumer properties and dmi service name.

Issue-ID: CPS-1492
Change-Id: I87de30c00e0f93e350ce6f9fd6079504952da09b
Signed-off-by: halil.cakal <halil.cakal@est.tech>
src/main/java/org/onap/cps/ncmp/dmi/notifications/avc/SubscriptionEventConsumer.java [new file with mode: 0644]
src/main/java/org/onap/cps/ncmp/dmi/service/model/SubscriptionEventResponse.java [new file with mode: 0644]
src/main/java/org/onap/cps/ncmp/dmi/service/model/SubscriptionEventResponseStatus.java [new file with mode: 0644]
src/main/resources/application.yml
src/test/groovy/org/onap/cps/ncmp/dmi/notifications/avc/SubscriptionEventConsumerSpec.groovy [new file with mode: 0644]
src/test/resources/application.yml
src/test/resources/avcSubscriptionCreationEvent.json [new file with mode: 0644]