From daa92d74b41f4b3e1ee038532d2893bdec799bc0 Mon Sep 17 00:00:00 2001 From: mpriyank Date: Fri, 31 May 2024 09:46:11 +0100 Subject: CM SUBSCRIPTION: Update schemas - updated the cm subscription schemas with proper case as agreed before for the events - fixed the tests to reflect the camelCase change Issue-ID: CPS-2245 Change-Id: I64fb8b27a5f64280dfa19d86ae310e6b5309de39 Signed-off-by: mpriyank --- ...-notification-subscription-dmi-in-event-schema-1.0.0.json | 10 +++++----- ...notification-subscription-ncmp-in-event-schema-1.0.0.json | 4 ++-- ...otification-subscription-ncmp-out-event-schema-1.0.0.json | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'cps-ncmp-events') diff --git a/cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-dmi-in-event-schema-1.0.0.json b/cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-dmi-in-event-schema-1.0.0.json index dcba93c014..3c23cd03bf 100644 --- a/cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-dmi-in-event-schema-1.0.0.json +++ b/cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-dmi-in-event-schema-1.0.0.json @@ -22,7 +22,7 @@ "description": "Information about the targets and subscription", "additionalProperties": false, "properties": { - "cmhandles": { + "cmHandles": { "type": "array", "items": { "type": "object", @@ -32,7 +32,7 @@ "cmhandleId": { "type": "string" }, - "private-properties": { + "privateProperties": { "type": "object", "existingJavaType": "java.util.Map", "items": { @@ -63,7 +63,7 @@ "type": "string", "enum": ["ncmp-datastore:passthrough-operational", "ncmp-datastore:passthrough-running"] }, - "xpath-filter": { + "xpathFilter": { "description": "Filter to be applied to the CM Handles through this event", "type": "array", "items": { @@ -73,7 +73,7 @@ }, "additionalProperties": false, "required": [ - "xpath-filter" + "xpathFilter" ] } }, @@ -86,7 +86,7 @@ } }, "required": [ - "cmhandles", + "cmHandles", "predicates" ] } diff --git a/cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-ncmp-in-event-schema-1.0.0.json b/cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-ncmp-in-event-schema-1.0.0.json index 55769338b1..12de0da0a8 100644 --- a/cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-ncmp-in-event-schema-1.0.0.json +++ b/cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-ncmp-in-event-schema-1.0.0.json @@ -34,7 +34,7 @@ "type": "string", "enum": ["ncmp-datastore:passthrough-operational", "ncmp-datastore:passthrough-running"] }, - "xpath-filter": { + "xpathFilter": { "description": "Filter to be applied to the CM Handles through this event", "type": "array", "items": { @@ -44,7 +44,7 @@ }, "additionalProperties": false, "required": [ - "xpath-filter" + "xpathFilter" ] } }, diff --git a/cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-ncmp-out-event-schema-1.0.0.json b/cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-ncmp-out-event-schema-1.0.0.json index d9db3ffb97..d75e53cdfc 100644 --- a/cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-ncmp-out-event-schema-1.0.0.json +++ b/cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-ncmp-out-event-schema-1.0.0.json @@ -27,21 +27,21 @@ "type": "string", "description": "The unique subscription id" }, - "accepted-targets": { + "acceptedTargets": { "type": "array", "description": "List of accepted targets", "items": { "type": "string" } }, - "rejected-targets": { + "rejectedTargets": { "type": "array", "description": "List of rejected targets", "items": { "type": "string" } }, - "pending-targets": { + "pendingTargets": { "type": "array", "description": "List of pending targets", "items": { @@ -50,9 +50,9 @@ } }, "required": [ - "accepted-targets", - "pending-targets", - "rejected-targets", + "acceptedTargets", + "pendingTargets", + "rejectedTargets", "subscriptionId" ], "title": "Data" -- cgit 1.2.3-korg