summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test/resources
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2023-05-04 11:24:29 +0100
committermpriyank <priyank.maheshwari@est.tech>2023-05-10 13:42:12 +0100
commit87f0b004fb0b15f3e8fa30d39bdf8ae3310b8743 (patch)
tree0be61c2481fd560a01b3170f94631ff2791bee4c /cps-ncmp-service/src/test/resources
parent492b6660fb153dd3dbf52c693a0b86bed3bee4f5 (diff)
DMI Data AVC to use kafka headers
- POC done keeping AvcEvent schema in mind. - Approach to have header schema per event schema. - Moved the header information from AvcEvent to separate AvcEventHeader schema. - Added Jsr303 annotation support for required field check Issue-ID: CPS-1671 Change-Id: I2e4f969e8ca4f6282d1b9aa5fd52d16174a26084 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-ncmp-service/src/test/resources')
-rw-r--r--cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json7
1 files changed, 0 insertions, 7 deletions
diff --git a/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json b/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json
index bda2b4e638..de8a523c0f 100644
--- a/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json
+++ b/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json
@@ -1,11 +1,4 @@
{
- "eventId": "4cb32729-85e3-44d1-aa6e-c923b9b059a5",
- "eventCorrelationId": "68f15800-8ed4-4bae-9e53-27a9e03e1911",
- "eventTime": "2022-12-12T14:29:23.876+0000",
- "eventSource": "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!"
}