From 4537a8b008d1c17281d2a06795c22cf3388cdd2f Mon Sep 17 00:00:00 2001 From: sourabh_sourabh Date: Wed, 1 Feb 2023 12:56:44 +0000 Subject: [DMI] Publish Message hidden REST endpoint trigger -Added endpoint to simulate events -Events are published to dmi-cm-events topic -Added Kafka test -WILL FAIL UNTIL CPS PART IS MERGED Issue-ID: CPS-1385 Signed-off-by: JosephKeenan Change-Id: Ie802ba819e7b8c5a16504f900bdb89f3e4b0ab4a Signed-off-by: seanbeirne Signed-off-by: sourabh_sourabh --- pom.xml | 4 +- .../notifications/avc/DmiDataAvcEventCreator.java | 63 +++++++++++++++++++ .../notifications/avc/DmiDataAvcEventProducer.java | 46 ++++++++++++++ .../avc/DmiDataAvcEventSimulationController.java | 61 +++++++++++++++++++ .../ncmp/dmi/api/kafka/MessagingBaseSpec.groovy | 71 ++++++++++++++++++++++ .../avc/AvcEventExecutorIntegrationSpec.groovy | 62 +++++++++++++++++++ 6 files changed, 305 insertions(+), 2 deletions(-) create mode 100644 src/main/java/org/onap/cps/ncmp/dmi/notifications/avc/DmiDataAvcEventCreator.java create mode 100644 src/main/java/org/onap/cps/ncmp/dmi/notifications/avc/DmiDataAvcEventProducer.java create mode 100644 src/main/java/org/onap/cps/ncmp/dmi/notifications/avc/DmiDataAvcEventSimulationController.java create mode 100644 src/test/groovy/org/onap/cps/ncmp/dmi/api/kafka/MessagingBaseSpec.groovy create mode 100644 src/test/groovy/org/onap/cps/ncmp/dmi/notifications/avc/AvcEventExecutorIntegrationSpec.groovy diff --git a/pom.xml b/pom.xml index 78aa1225..3d88aa6b 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,6 @@