X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=nbinotifications%2Fsrc%2Ftest%2Fresources%2Fexpected_event.json;h=25a6b851db2517f355676fdb5d3a7a9b8c53e521;hb=274148a8d813140f86e1f9770ba992b072c1a5cd;hp=499c7e47a5e843be835e3c0d269301c1c47840c0;hpb=c3a98ef9475e9ce8ec866978df75394c3df639bf;p=transportpce.git diff --git a/nbinotifications/src/test/resources/expected_event.json b/nbinotifications/src/test/resources/expected_event.json index 499c7e47a..25a6b851d 100644 --- a/nbinotifications/src/test/resources/expected_event.json +++ b/nbinotifications/src/test/resources/expected_event.json @@ -1,90 +1,90 @@ { - "notification-service": { - "service-z-end": { - "clli": "clli", - "service-rate": 1, - "node-id": "XPONDER-1-2", - "rx-direction": { - "lgx": { - "lgx-port-name": "lgx port name", - "lgx-port-shelf": "lgx port shelf", - "lgx-port-rack": "lgx port rack", - "lgx-device-name": "lgx device name" + "notification-process-service":{ + "common-id":"commond-id", + "message":"message", + "operational-state":"inService", + "service-z-end":{ + "node-id":"XPONDER-1-2", + "service-rate":1, + "clli":"clli", + "service-format":"OC", + "tx-direction":{ + "port":{ + "port-name":"port name", + "port-slot":"port slot", + "port-sub-slot":"port subslot", + "port-device-name":"device name", + "port-shelf":"port shelf", + "port-type":"port type", + "port-rack":"port rack" }, - "port": { - "port-shelf": "port shelf", - "port-rack": "port rack", - "port-device-name": "device name", - "port-name": "port name", - "port-slot": "port slot", - "port-type": "port type", - "port-sub-slot": "port subslot" + "lgx":{ + "lgx-port-shelf":"lgx port shelf", + "lgx-port-rack":"lgx port rack", + "lgx-port-name":"lgx port name", + "lgx-device-name":"lgx device name" } }, - "service-format": "OC", - "tx-direction": { - "lgx": { - "lgx-port-name": "lgx port name", - "lgx-port-shelf": "lgx port shelf", - "lgx-port-rack": "lgx port rack", - "lgx-device-name": "lgx device name" + "rx-direction":{ + "port":{ + "port-name":"port name", + "port-slot":"port slot", + "port-sub-slot":"port subslot", + "port-device-name":"device name", + "port-shelf":"port shelf", + "port-type":"port type", + "port-rack":"port rack" }, - "port": { - "port-shelf": "port shelf", - "port-rack": "port rack", - "port-device-name": "device name", - "port-name": "port name", - "port-slot": "port slot", - "port-type": "port type", - "port-sub-slot": "port subslot" + "lgx":{ + "lgx-port-shelf":"lgx port shelf", + "lgx-port-rack":"lgx port rack", + "lgx-port-name":"lgx port name", + "lgx-device-name":"lgx device name" } } }, - "connection-type": "service", - "operational-state": "inService", - "common-id": "commond-id", - "service-a-end": { - "clli": "clli", - "service-rate": 1, - "node-id": "XPONDER-1-2", - "rx-direction": { - "lgx": { - "lgx-port-name": "lgx port name", - "lgx-port-shelf": "lgx port shelf", - "lgx-port-rack": "lgx port rack", - "lgx-device-name": "lgx device name" + "service-name":"service1", + "connection-type":"service", + "service-a-end":{ + "node-id":"XPONDER-1-2", + "service-rate":1, + "clli":"clli", + "service-format":"OC", + "tx-direction":{ + "port":{ + "port-name":"port name", + "port-slot":"port slot", + "port-sub-slot":"port subslot", + "port-device-name":"device name", + "port-shelf":"port shelf", + "port-type":"port type", + "port-rack":"port rack" }, - "port": { - "port-shelf": "port shelf", - "port-rack": "port rack", - "port-device-name": "device name", - "port-name": "port name", - "port-slot": "port slot", - "port-type": "port type", - "port-sub-slot": "port subslot" + "lgx":{ + "lgx-port-shelf":"lgx port shelf", + "lgx-port-rack":"lgx port rack", + "lgx-port-name":"lgx port name", + "lgx-device-name":"lgx device name" } }, - "service-format": "OC", - "tx-direction": { - "lgx": { - "lgx-port-name": "lgx port name", - "lgx-port-shelf": "lgx port shelf", - "lgx-port-rack": "lgx port rack", - "lgx-device-name": "lgx device name" + "rx-direction":{ + "port":{ + "port-name":"port name", + "port-slot":"port slot", + "port-sub-slot":"port subslot", + "port-device-name":"device name", + "port-shelf":"port shelf", + "port-type":"port type", + "port-rack":"port rack" }, - "port": { - "port-shelf": "port shelf", - "port-rack": "port rack", - "port-device-name": "device name", - "port-name": "port name", - "port-slot": "port slot", - "port-type": "port type", - "port-sub-slot": "port subslot" + "lgx":{ + "lgx-port-shelf":"lgx port shelf", + "lgx-port-rack":"lgx port rack", + "lgx-port-name":"lgx port name", + "lgx-device-name":"lgx device name" } } }, - "service-name": "service1", - "response-failed": "", - "message": "message" + "response-failed":"" } } \ No newline at end of file