Merge "Fix test-deregistration script"
[cps.git] / cps-ncmp-service / src / test / resources / sampleAvcInputEvent.json
index d7d252b..5b297c8 100644 (file)
@@ -1,12 +1,42 @@
 {
-  "eventId": "4cb32729-85e3-44d1-aa6e-c923b9b059a5",
-  "eventCorrelationId": "68f15800-8ed4-4bae-9e53-27a9e03e1911",
-  "eventTime": "2022-12-12T14:29:23.876+0000",
-  "eventTarget": "NCMP",
-  "eventType": "org.onap.cps.ncmp.event.model.AvcEvent",
-  "eventSchema": "urn:cps:org.onap.cps.ncmp.event.model.AvcEvent",
-  "eventSchemaVersion": "v1",
-  "event": {
-    "payload": "Hello world!"
+  "data":{
+    "push-change-update":{
+      "datastore-changes":{
+        "ietf-yang-patch:yang-patch":{
+          "patch-id":"34534ffd98",
+          "edit":[
+            {
+              "edit-id":"ded43434-1",
+              "operation":"replace",
+              "target":"ran-network:ran-network/NearRTRIC[@id='22']/GNBCUCPFunction[@id='cucpserver2']/NRCellCU[@id='15549']/NRCellRelation[@id='14427']",
+              "value":{
+                "attributes":[
+                  {
+                    "isHoAllowed":true
+                  }
+                ]
+              }
+            },
+            {
+              "edit-id":"ded43434-2",
+              "operation":"create",
+              "target":"ran-network:ran-network/NearRTRIC[@id='22']/GNBCUCPFunction[@id='cucpserver1']/NRCellCU[@id='15548']/NRCellRelation[@id='14426']",
+              "value":{
+                "attributes":[
+                  {
+                    "isHoAllowed":false
+                  }
+                ]
+              }
+            },
+            {
+              "edit-id":"ded43434-3",
+              "operation":"delete",
+              "target":"ran-network:ran-network/NearRTRIC[@id='22']/GNBCUCPFunction[@id='cucpserver1']/NRCellCU[@id='15548']/NRCellRelation[@id='14426']"
+            }
+          ]
+        }
+      }
+    }
   }
 }
\ No newline at end of file