Add subscribeToStream to JSONRestConfService 77/77477/1
authorJosh <jhershbe@redhat.com>
Sun, 28 Oct 2018 12:34:50 +0000 (14:34 +0200)
committerTom Pantelis <tompantelis@gmail.com>
Sun, 4 Nov 2018 15:50:51 +0000 (15:50 +0000)
commit224b64dcbb5afc96607431a87bdb9d3d27f2b32f
treeeac52725dfdbf4b175a1d03c06ceeb19851a4cbd
parentf5ff186d1f072f3c0ea5d8e9de610af37c1fa6c6
Add subscribeToStream to JSONRestConfService

The idea here is to allow applications to
pre-register websocket listeners.

Change-Id: Ic7e55f19251e0b139256435ad215b44a596b84d9
Signed-off-by: Josh <jhershbe@redhat.com>
(cherry picked from commit b31e56f1104a15bee56d1dce9d2829707cd12b5e)
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/rest/impl/NormalizedNodeJsonBodyWriter.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/api/JSONRestconfService.java
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/JSONRestconfServiceImpl.java