summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test/resources/dataOperationEvent.json
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2023-06-21 14:44:41 +0000
committerGerrit Code Review <gerrit@onap.org>2023-06-21 14:44:41 +0000
commitaadbac4706a906252083ade06621db38a73fb343 (patch)
tree5425f974704641602d37322a53a27f8b90c6be72 /cps-ncmp-service/src/test/resources/dataOperationEvent.json
parent765de151f09345e96fac3e3254071718289b8359 (diff)
parentdd4bcaadf2d5b5420669764951ab97eff6ffa4f5 (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.json33
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"
}
}
]