Add service listener to notify Kafka
[transportpce.git] / nbinotifications / src / test / resources / expected_event.json
index 2b8924df381b4e33b2b5d4d59713f9d759ed86f1..499c7e47a5e843be835e3c0d269301c1c47840c0 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-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"
+        },
+        "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"
+        }
+      },
+      "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"
+        },
+        "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"
+        }
+      }
+    },
+    "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"
+        },
+        "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"
+        }
+      },
+      "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"
+        },
+        "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"
+        }
+      }
+    },
+    "service-name": "service1",
+    "response-failed": "",
+    "message": "message"
+  }
+}
\ No newline at end of file