DMI Data AVC RFC8641 and CloudEvent Compliant 08/135008/5
authormpriyank <priyank.maheshwari@est.tech>
Tue, 20 Jun 2023 12:42:31 +0000 (13:42 +0100)
committermpriyank <priyank.maheshwari@est.tech>
Fri, 30 Jun 2023 11:29:19 +0000 (12:29 +0100)
commita9b8d9da4602727ca5810f62d250b6b941664b8c
tree0f70835cb2e47f209df34ce324a10a92f53e25e0
parent1118bedbd3981c12aebcb9fa99e8744a9bf413c3
DMI Data AVC RFC8641 and CloudEvent Compliant

- Introduced CloudEvents for DMI Data AVC Events
- Kafkatemplate config to support legacy as well as CloudEvents
- AvcEvent to be compliant with RFC8641 schema format
- Updating the released version of CPS and NCMP 3.3.3
- Refactored the test code to handle the changes related to CloudEvents

Issue-ID: CPS-1719
Change-Id: I082bbceda6dc26c860e1eff977ede219296d1875
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
13 files changed:
pom.xml
src/main/java/org/onap/cps/ncmp/dmi/config/kafka/KafkaConfig.java [new file with mode: 0644]
src/main/java/org/onap/cps/ncmp/dmi/notifications/avc/DmiDataAvcCloudEventCreator.java [new file with mode: 0644]
src/main/java/org/onap/cps/ncmp/dmi/notifications/avc/DmiDataAvcEventCreator.java [deleted file]
src/main/java/org/onap/cps/ncmp/dmi/notifications/avc/DmiDataAvcEventProducer.java
src/main/java/org/onap/cps/ncmp/dmi/notifications/avc/DmiDataAvcEventSimulationController.java
src/main/resources/application.yml
src/test/groovy/org/onap/cps/ncmp/dmi/api/kafka/MessagingBaseSpec.groovy
src/test/groovy/org/onap/cps/ncmp/dmi/config/kafka/KafkaConfigSpec.groovy [new file with mode: 0644]
src/test/groovy/org/onap/cps/ncmp/dmi/notifications/async/AsyncTaskExecutorIntegrationSpec.groovy
src/test/groovy/org/onap/cps/ncmp/dmi/notifications/avc/AvcEventExecutorIntegrationSpec.groovy
src/test/groovy/org/onap/cps/ncmp/dmi/notifications/avc/SubscriptionEventConsumerSpec.groovy
src/test/resources/application.yml