Add unit tests for ListenerAdapter
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / resources / listener-adapter-test / notif-update.json
1 {
2     "notification": {
3         "data-changed-notification": {
4             "data-change-event": [
5                 {
6                     "data": {
7                         "my-leaf12": {
8                             "content": "Bertha",
9                             "xmlns": "instance:identifier:patch:module"
10                         }
11                     },
12                     "operation": "created",
13                     "path": "/instance-identifier-patch-module:patch-cont/instance-identifier-patch-module:my-list1[instance-identifier-patch-module:name='Althea']/instance-identifier-patch-module:my-leaf12"
14                 },
15                 {
16                     "data": {
17                         "patch-cont": {
18                             "my-list1": {
19                                 "my-leaf11": "Jed",
20                                 "my-leaf12": "Bertha",
21                                 "name": "Althea"
22                             },
23                             "xmlns": "instance:identifier:patch:module"
24                         }
25                     },
26                     "operation": "updated",
27                     "path": "/instance-identifier-patch-module:patch-cont"
28                 },
29                 {
30                     "data": {
31                         "my-list1": {
32                             "my-leaf11": "Jed",
33                             "my-leaf12": "Bertha",
34                             "name": "Althea",
35                             "xmlns": "instance:identifier:patch:module"
36                         }
37                     },
38                     "operation": "updated",
39                     "path": "/instance-identifier-patch-module:patch-cont/instance-identifier-patch-module:my-list1[instance-identifier-patch-module:name='Althea']"
40                 }
41             ],
42             "xmlns": "urn:opendaylight:params:xml:ns:yang:controller:md:sal:remote"
43         },
44         "eventTime": "2017-09-17T14:15:05.839+03:00",
45         "xmlns": "urn:ietf:params:xml:ns:netconf:notification:1.0"
46     }
47 }