summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2022-08-23 17:22:46 +0100
committermpriyank <priyank.maheshwari@est.tech>2022-08-23 17:26:17 +0100
commit3689a920e17f6e88967ebf5eb453d10642d659d6 (patch)
tree1054eb51b19ca9ed6187f87abe57643bbd62c924 /cps-ncmp-service/src/test
parentf71863640945153a163c1f51f88f9a799733e24e (diff)
Added eventSchemaVersion for async schema
- Added event schema version in the request and response schema. - Enhanced the mapper to adhere to new field. Issue-ID: CPS-1145 Change-Id: I408f73adefc2104b2e421bc3a3fe8f78dcba80f0 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-ncmp-service/src/test')
-rw-r--r--cps-ncmp-service/src/test/resources/dmiAsyncRequestResponseEvent.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/cps-ncmp-service/src/test/resources/dmiAsyncRequestResponseEvent.json b/cps-ncmp-service/src/test/resources/dmiAsyncRequestResponseEvent.json
index bf6c86aaa..f2a928b47 100644
--- a/cps-ncmp-service/src/test/resources/dmiAsyncRequestResponseEvent.json
+++ b/cps-ncmp-service/src/test/resources/dmiAsyncRequestResponseEvent.json
@@ -3,7 +3,8 @@
"eventCorrelationId": "122ca20b-4f8c-4759-a2b4-f0b9456df204",
"eventTime": "2022-05-09T13:34:50.466+0000",
"eventSource": "org.onap.ncmp",
- "eventSchema": "urn:cps:org.onap.cps:async-request-response-event-schema:v1",
+ "eventSchema": "urn:cps:org.onap.cps:async-request-response-event-schema",
+ "eventSchemaVersion": "v1",
"eventTarget": "test-topic",
"eventContent": {
"response-data-schema": "urn:cps:org.onap.cps:async-request-response-event-schema:v1",