Make ListenerAdapter serialize JSON directly
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / resources / listener-adapter-test / notif-without-data-del.json
index dc3f739779efc0df9e2b1c509a9d3f7986c2e8f4..bcf15972a5004665312beb0fff59588a1a51f4c9 100644 (file)
@@ -1,13 +1,13 @@
 {
-    "notification":{
-        "xmlns":"urn:ietf:params:xml:ns:netconf:notification:1.0",
-        "data-changed-notification":{
-            "xmlns":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:remote",
-            "data-change-event":{
-                "path":"/instance-identifier-patch-module:patch-cont",
-                "operation":"deleted"
-            }
+    "urn-ietf-params-xml-ns-netconf-notification-1.0:notification":{
+        "urn-opendaylight-params-xml-ns-yang-controller-md-sal-remote:data-changed-notification":{
+            "data-change-event":[
+                {
+                    "path":"/instance-identifier-patch-module:patch-cont",
+                    "operation":"deleted"
+                }
+            ]
         },
-        "eventTime":"2020-05-31T18:45:05.132101+05:30"
+        "event-time":"2020-10-14T12:34:59.085525+02:00"
     }
-}
+}
\ No newline at end of file