diff options
author | sourabh_sourabh <sourabh.sourabh@est.tech> | 2023-06-08 15:25:33 +0100 |
---|---|---|
committer | sourabh_sourabh <sourabh.sourabh@est.tech> | 2023-06-19 15:05:31 +0100 |
commit | f4c3f0fcebec726ea74b44f9bca3b68e66176671 (patch) | |
tree | 2604f30487dfb7c791b4b56568d703999e096064 /cps-ncmp-service/src/test/resources/dataOperationEvent.json | |
parent | 08898672e0de04238acdedea4266c58f17c2b7e0 (diff) |
Patch # 1: Data operation response event (NCMP → Client App) to comply with CloudEvents
- Removed header definitions (since we now use CloudEvents)
- Used 'dataOperation' instead of batch where appropriate.
- Modified test json
Issue-ID: CPS-1724
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: Ic0f65297b944adf9cf5f3c2cbec679a031a675ec
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'cps-ncmp-service/src/test/resources/dataOperationEvent.json')
-rw-r--r-- | cps-ncmp-service/src/test/resources/dataOperationEvent.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cps-ncmp-service/src/test/resources/dataOperationEvent.json b/cps-ncmp-service/src/test/resources/dataOperationEvent.json new file mode 100644 index 0000000000..42268c0ef3 --- /dev/null +++ b/cps-ncmp-service/src/test/resources/dataOperationEvent.json @@ -0,0 +1,32 @@ +{ + "data":{ + "responses":[ + { + "operationId":"1", + "ids":[ + "123", + "124" + ], + "statusCode":1, + "statusMessage":"Batch operation success on the above cmhandle ids ", + "responseContent":{ + "ietf-netconf-monitoring:netconf-state":{ + "schemas":{ + "schema":[ + { + "identifier":"ietf-tls-server", + "version":"2016-11-02", + "format":"ietf-netconf-monitoring:yang", + "namespace":"urn:ietf:params:xml:ns:yang:ietf-tls-server", + "location":[ + "NETCONF" + ] + } + ] + } + } + } + } + ] + } +}
\ No newline at end of file |