From 7549776fb3b82de2d14ae60e1bddf74bf62f8f79 Mon Sep 17 00:00:00 2001 From: lukegleeson Date: Thu, 23 Feb 2023 11:43:13 +0000 Subject: Forward Subscription Information to DMI Plugin(s) Note: Implemented common EventsPublisher class Issue-ID: CPS-1431 Signed-off-by: lukegleeson Change-Id: I292a95f2c990a140f5fd63622ca4eba3f8284b9e --- .../schemas/avc-subscription-event-v1.json | 25 +++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'cps-ncmp-events/src/main/resources/schemas') diff --git a/cps-ncmp-events/src/main/resources/schemas/avc-subscription-event-v1.json b/cps-ncmp-events/src/main/resources/schemas/avc-subscription-event-v1.json index 5ab446cbb..feff48c36 100644 --- a/cps-ncmp-events/src/main/resources/schemas/avc-subscription-event-v1.json +++ b/cps-ncmp-events/src/main/resources/schemas/avc-subscription-event-v1.json @@ -29,6 +29,7 @@ "event": { "description": "The event content.", "type": "object", + "javaType": "InnerSubscriptionEvent", "properties": { "subscription": { "description": "The subscription details.", @@ -88,12 +89,26 @@ ], "predicates": { "description": "Additional values to be added into the subscription", - "existingJavaType" : "java.util.Map", - "type" : "object" - } + "type" : "object", + "properties": { + "targets": { + "description": "CM Handles to be targeted by the subscription", + "type" : "array" + }, + "datastore": { + "description": "datastore which is to be used by the subscription", + "type": "string" + }, + "xpath-filter": { + "description": "filter to be applied to the CM Handles through this event", + "type": "string" + } + }, + "required": ["datastore"] } - }, - "required": [ + } + }, + "required": [ "subscription", "dataType" ] -- cgit 1.2.3-korg