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