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>
diff --git a/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json b/cps-ncmp-service/src/test/resources/sampleAvcInputEvent.json
index de8a523..569343f 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