diff options
author | sourabh_sourabh <sourabh.sourabh@est.tech> | 2023-08-16 13:16:25 +0100 |
---|---|---|
committer | Sourabh Sourabh <sourabh.sourabh@est.tech> | 2023-08-16 13:03:42 +0000 |
commit | 0373f194c665e21fcc73babdad3da66a691251a1 (patch) | |
tree | b2b0bd45e761291d245b64bc1327201d000a2e44 /cps-ncmp-events/src/main/resources/schemas | |
parent | 8a369358cd7c6f20bbfd70bbe409cc7f5cc3ae23 (diff) |
Modify data operation schema to accommodate additional information
- Data operation schema is updated to add resourceIdentifier and
options.
- dmi plugin stub is modified to add both the attributes into kafka
response message.
Issue-ID:CPS-1837
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: I624c32d07ccf396f3090766049622f43f5c3f44f
Diffstat (limited to 'cps-ncmp-events/src/main/resources/schemas')
-rw-r--r-- | cps-ncmp-events/src/main/resources/schemas/async/data-operation-event-schema-1.0.0.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cps-ncmp-events/src/main/resources/schemas/async/data-operation-event-schema-1.0.0.json b/cps-ncmp-events/src/main/resources/schemas/async/data-operation-event-schema-1.0.0.json index f82e481415..c2915187c7 100644 --- a/cps-ncmp-events/src/main/resources/schemas/async/data-operation-event-schema-1.0.0.json +++ b/cps-ncmp-events/src/main/resources/schemas/async/data-operation-event-schema-1.0.0.json @@ -29,6 +29,14 @@ "type": "string" } }, + "resourceIdentifier": { + "description": "The format of resource identifier depend on the associated DMI Plugin implementation. For ONAP DMI Plugin it will be RESTConf paths but it can really be anything.", + "type": "string" + }, + "options": { + "description": "It is mandatory to add as key(s)=value(s)'. The format of options parameter depend on the associated DMI Plugin implementation.", + "type": "string" + }, "statusCode": { "description": "which says success or failure (0-99) are for success and (100-199) are for failure", "type": "string" |