From 7d25644c516869c299ea8d93ea915750e5b07203 Mon Sep 17 00:00:00 2001 From: seanbeirne Date: Fri, 13 Jan 2023 17:13:25 +0000 Subject: [NCMP] Consume & Forward to client topic -Consumes event from dmi-cm-events -Immediately forwards to static topic (topic selection for events comes later from subscription information) -Added Kafka test -SHOULD BE MERGED BEFORE DMI PART Issue-ID: CPS-138 Signed-off-by: JosephKeenan Change-Id: I0a426381e2c3f9173b8d3916960c05722ad4f77d Signed-off-by: seanbeirne --- cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json (limited to 'cps-ncmp-service/src/test/resources') diff --git a/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json b/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json new file mode 100644 index 0000000000..d7d252b9aa --- /dev/null +++ b/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json @@ -0,0 +1,12 @@ +{ + "eventId": "4cb32729-85e3-44d1-aa6e-c923b9b059a5", + "eventCorrelationId": "68f15800-8ed4-4bae-9e53-27a9e03e1911", + "eventTime": "2022-12-12T14:29:23.876+0000", + "eventTarget": "NCMP", + "eventType": "org.onap.cps.ncmp.event.model.AvcEvent", + "eventSchema": "urn:cps:org.onap.cps.ncmp.event.model.AvcEvent", + "eventSchemaVersion": "v1", + "event": { + "payload": "Hello world!" + } +} \ No newline at end of file -- cgit 1.2.3-korg