Cm Subscription: Predicates optional now 42/138142/1
authormpriyank <priyank.maheshwari@est.tech>
Thu, 6 Jun 2024 10:47:46 +0000 (11:47 +0100)
committermpriyank <priyank.maheshwari@est.tech>
Thu, 6 Jun 2024 10:47:56 +0000 (11:47 +0100)
- 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>
cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-dmi-in-event-schema-1.0.0.json
cps-ncmp-events/src/main/resources/schemas/cmnotificationsubscription/cm-notification-subscription-ncmp-in-event-schema-1.0.0.json

index 12de0da..e39d7d9 100644 (file)
@@ -57,8 +57,7 @@
             }
           },
           "required": [
-            "subscriptionId",
-            "predicates"
+            "subscriptionId"
           ],
           "type": "object",
           "additionalProperties": false