Make ListenerAdapter serialize JSON directly
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / resources / listener-adapter-test / notif-leaves-del.json
index fd1f1d8e0d534e8e841cfc4d7d47c91d65c74adc..b82d295f2414095620c81435af54b3e981bc81f1 100644 (file)
@@ -1,6 +1,6 @@
 {
-    "notification": {
-        "data-changed-notification": {
+    "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": [
                 {
                     "operation": "deleted",
@@ -15,9 +15,7 @@
                     "path": "/instance-identifier-patch-module:patch-cont/instance-identifier-patch-module:my-list1/instance-identifier-patch-module:my-list1[instance-identifier-patch-module:name='Althea']/instance-identifier-patch-module:my-leaf12"
                 }
             ],
-            "xmlns": "urn:opendaylight:params:xml:ns:yang:controller:md:sal:remote"
         },
-        "eventTime": "2017-09-18T15:30:16.099+03:00",
-        "xmlns": "urn:ietf:params:xml:ns:netconf:notification:1.0"
+        "event-time": "2017-09-18T15:30:16.099+03:00",
     }
 }