Bug 6324 - Notifications stream output is not same as restconf data 72/48772/2
authorJakub Toth <jatoth@cisco.com>
Thu, 20 Oct 2016 08:54:06 +0000 (10:54 +0200)
committerJakub Toth <jatoth@cisco.com>
Tue, 29 Nov 2016 10:06:20 +0000 (10:06 +0000)
commit7c43e0b0e18fcda26907903b15659b2cdb2bb5e1
tree9e9dd62d82ded341bef7cce0e3fb17caca02bfd6
parent68f482715ca404aaaffec1eb76b4a37b67f8f21b
Bug 6324 - Notifications stream output is not same as restconf data

  * serialization NormalizedNode to JSON with gson codec from yangtools
  * added test

Change-Id: I15245c48188151a1e7aaaf482997ae0d214491c0
Signed-off-by: Jakub Toth <jatoth@cisco.com>
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/streams/listeners/NotificationListenerAdapter.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/streams/listeners/Notificator.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/streams/listeners/NotificationListenerTest.java [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/notifications/notifi-module.yang [new file with mode: 0644]