From acae85ffc8eac8dd919b59b1fc804a1d3743eb0f Mon Sep 17 00:00:00 2001 From: mpriyank Date: Thu, 18 May 2023 14:56:07 +0100 Subject: 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 --- .../src/test/resources/sampleAvcInputEvent.json | 41 ++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) (limited to 'cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json') 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 -- cgit 1.2.3-korg