diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2023-06-21 14:44:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-06-21 14:44:41 +0000 |
commit | aadbac4706a906252083ade06621db38a73fb343 (patch) | |
tree | 5425f974704641602d37322a53a27f8b90c6be72 /cps-ncmp-service/src/test/resources/dataOperationEvent.json | |
parent | 765de151f09345e96fac3e3254071718289b8359 (diff) | |
parent | dd4bcaadf2d5b5420669764951ab97eff6ffa4f5 (diff) |
Merge "Patch # 3: Data operation response event (NCMP → Client App) to comply with CloudEvents"
Diffstat (limited to 'cps-ncmp-service/src/test/resources/dataOperationEvent.json')
-rw-r--r-- | cps-ncmp-service/src/test/resources/dataOperationEvent.json | 33 |
1 files changed, 9 insertions, 24 deletions
diff --git a/cps-ncmp-service/src/test/resources/dataOperationEvent.json b/cps-ncmp-service/src/test/resources/dataOperationEvent.json index 42268c0ef3..0a32f38c0a 100644 --- a/cps-ncmp-service/src/test/resources/dataOperationEvent.json +++ b/cps-ncmp-service/src/test/resources/dataOperationEvent.json @@ -1,30 +1,15 @@ { - "data":{ - "responses":[ + "data": { + "responses": [ { - "operationId":"1", - "ids":[ - "123", - "124" + "operationId": "some-operation-id", + "ids": [ + "cm-handle-id" ], - "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" - ] - } - ] - } - } + "statusCode": "any-success-status-code", + "statusMessage": "Successfully applied changes", + "responseContent": { + "some-key": "some-value" } } ] |