summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-events
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2024-06-06 11:47:46 +0100
committermpriyank <priyank.maheshwari@est.tech>2024-06-06 11:47:56 +0100
commit7b36e2ccbb4c7261a71c87338843eaead16f31b1 (patch)
tree7ff8bd3f624d698ea7d5677cf714ed7a04666f98 /cps-ncmp-events
parentf8ca09bf4e5d76fb95bd1eda17f15a7fd92d0f63 (diff)
Cm Subscription: Predicates optional now
- making the predicates sectional OPTIONAL as the schemas are common for both create and delete use case and we dont have the need to send in the predicates information for DELETE use case. - Delete is done based on the incoming subscriptionId only Issue-ID: CPS-2252 Change-Id: I43ec480821a6088c5fa161480ce2b29b660a2ba5 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-ncmp-events')
-rw-r--r--cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-dmi-in-event-schema-1.0.0.json3
-rw-r--r--cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-ncmp-in-event-schema-1.0.0.json3
2 files changed, 2 insertions, 4 deletions
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 3c23cd03b..461bf152e 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
@@ -86,8 +86,7 @@
}
},
"required": [
- "cmHandles",
- "predicates"
+ "cmHandles"
]
}
}
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 12de0da0a..e39d7d9a5 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
@@ -57,8 +57,7 @@
}
},
"required": [
- "subscriptionId",
- "predicates"
+ "subscriptionId"
],
"type": "object",
"additionalProperties": false