aboutsummaryrefslogtreecommitdiffstats
path: root/cps-ncmp-events
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2023-03-20 10:55:32 +0000
committermpriyank <priyank.maheshwari@est.tech>2023-03-20 11:06:15 +0000
commitec5d74d52b3f7b10a5002be5bb9a386927300cfd (patch)
treedbaa725f58ec99fa5fef7ecafb213ec3683ad512 /cps-ncmp-events
parentf0fdc500ec1bfd3b8a477e9cc862dd014828669d (diff)
Avc Event prop rename
- rename the eventTarget property as eventSource as per the schema in the spike - fixed the integration test and sample file Issue-ID: CPS-1554 Change-Id: Ieb8b749c6f64d69d87cacadae17a4589e9908cf2 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-ncmp-events')
-rw-r--r--cps-ncmp-events/src/main/resources/schemas/avc-event-schema-v1.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/cps-ncmp-events/src/main/resources/schemas/avc-event-schema-v1.json b/cps-ncmp-events/src/main/resources/schemas/avc-event-schema-v1.json
index c8109ca172..0e9f256639 100644
--- a/cps-ncmp-events/src/main/resources/schemas/avc-event-schema-v1.json
+++ b/cps-ncmp-events/src/main/resources/schemas/avc-event-schema-v1.json
@@ -19,8 +19,8 @@
"description": "The time of the AVC event. The expected format is 'yyyy-MM-dd'T'HH:mm:ss.SSSZ'.",
"type": "string"
},
- "eventTarget": {
- "description": "The target of the AVC event.",
+ "eventSource": {
+ "description": "The source of the AVC event.",
"type": "string"
},
"eventType": {
@@ -43,7 +43,7 @@
"eventId",
"eventCorrelationId",
"eventTime",
- "eventTarget",
+ "eventSource",
"eventType",
"eventSchema",
"eventSchemaVersion"