Initial tapi notification implementation
[transportpce.git] / nbinotifications / src / test / resources / expected_event.json
index 47209dd7dc7b96c60378e63a8ec22c97cd4034f5..4e277d8a5171859faefbd8018330ffe8f2fc7648 100644 (file)
 {
   "nbi-notifications:notification-process-service": {
-    "common-id": "commond-id",
-    "message": "message",
-    "operational-state": "inService",
+    "connection-type": "service",
     "service-z-end": {
-      "node-id": "XPONDER-1-2",
-      "service-rate": 1,
-      "clli": "clli",
-      "is-split-lambda": false,
-      "service-format": "OC",
       "tx-direction": [
         {
           "index": 0,
+          "lgx": {
+            "lgx-port-rack": "lgx port rack",
+            "lgx-device-name": "lgx device name",
+            "lgx-port-shelf": "lgx port shelf",
+            "lgx-port-name": "lgx port name"
+          },
           "port": {
-            "port-name": "port name",
-            "port-slot": "port slot",
+            "port-type": "port type",
             "port-sub-slot": "port subslot",
+            "port-name": "port name",
+            "port-rack": "port rack",
             "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"
+            "port-slot": "port slot",
+            "port-shelf": "port shelf"
           }
         }
       ],
+      "node-id": "XPONDER-1-2",
+      "service-format": "OC",
+      "service-rate": 1,
       "rx-direction": [
         {
           "index": 0,
+          "lgx": {
+            "lgx-port-rack": "lgx port rack",
+            "lgx-device-name": "lgx device name",
+            "lgx-port-shelf": "lgx port shelf",
+            "lgx-port-name": "lgx port name"
+          },
           "port": {
-            "port-name": "port name",
-            "port-slot": "port slot",
+            "port-type": "port type",
             "port-sub-slot": "port subslot",
+            "port-name": "port name",
+            "port-rack": "port rack",
             "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"
+            "port-slot": "port slot",
+            "port-shelf": "port shelf"
           }
         }
-      ]
+      ],
+      "is-split-lambda": false,
+      "clli": "clli"
     },
-    "service-name": "service1",
-    "connection-type": "service",
+    "message": "message",
     "service-a-end": {
-      "node-id": "XPONDER-1-2",
-      "service-rate": 1,
-      "clli": "clli",
-      "is-split-lambda": false,
-      "service-format": "OC",
       "tx-direction": [
         {
           "index": 0,
+          "lgx": {
+            "lgx-port-rack": "lgx port rack",
+            "lgx-device-name": "lgx device name",
+            "lgx-port-shelf": "lgx port shelf",
+            "lgx-port-name": "lgx port name"
+          },
           "port": {
-            "port-name": "port name",
-            "port-slot": "port slot",
+            "port-type": "port type",
             "port-sub-slot": "port subslot",
+            "port-name": "port name",
+            "port-rack": "port rack",
             "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"
+            "port-slot": "port slot",
+            "port-shelf": "port shelf"
           }
         }
       ],
+      "node-id": "XPONDER-1-2",
+      "service-format": "OC",
+      "service-rate": 1,
       "rx-direction": [
         {
           "index": 0,
+          "lgx": {
+            "lgx-port-rack": "lgx port rack",
+            "lgx-device-name": "lgx device name",
+            "lgx-port-shelf": "lgx port shelf",
+            "lgx-port-name": "lgx port name"
+          },
           "port": {
-            "port-name": "port name",
-            "port-slot": "port slot",
+            "port-type": "port type",
             "port-sub-slot": "port subslot",
+            "port-name": "port name",
+            "port-rack": "port rack",
             "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"
+            "port-slot": "port slot",
+            "port-shelf": "port shelf"
           }
         }
-      ]
+      ],
+      "is-split-lambda": false,
+      "clli": "clli"
     },
-    "response-failed": ""
+    "operational-state": "inService",
+    "common-id": "commond-id",
+    "response-failed": "",
+    "service-name": "service1"
   }
-}
+}
\ No newline at end of file