Refactor NBINotifications and serviceHandlerImpl
[transportpce.git] / nbinotifications / src / test / resources / expected_event.json
index 2b8924df381b4e33b2b5d4d59713f9d759ed86f1..25a6b851db2517f355676fdb5d3a7a9b8c53e521 100644 (file)
@@ -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