summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2023-05-18 14:56:07 +0100
committerPriyank Maheshwari <priyank.maheshwari@est.tech>2023-05-24 10:51:09 +0000
commitacae85ffc8eac8dd919b59b1fc804a1d3743eb0f (patch)
treef8d30f488f838d6dad1ea297c09620f655855f18 /cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json
parente9ac24f8ad866f81d1ceace6d0b8f010930e9f74 (diff)
Avc Event compliant with RFC8641
- The event section of the payload will be now in the format of RFC8641. - Once this event is updated , the corresponding code in the dmi plugin will be changed - Schema is present in cps-ncmp codebase so we will create a release and then it will be used in the dmi plugin Issue-ID: CPS-1668 Change-Id: Ibd811f318658d8b510b42575fad5d21357af9047 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json')
-rw-r--r--cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json41
1 files changed, 39 insertions, 2 deletions
diff --git a/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json b/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json
index de8a523c0f..569343fed9 100644
--- a/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json
+++ b/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json
@@ -1,5 +1,42 @@
{
- "event": {
- "payload": "Hello world!"
+ "event":{
+ "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