BUG-9132: don't provide a value for restconf/streams/events 54/63854/1
authorEvan Zeller <evanrzeller@gmail.com>
Thu, 28 Sep 2017 01:15:31 +0000 (18:15 -0700)
committerEvan Zeller <evanrzeller@gmail.com>
Fri, 29 Sep 2017 19:56:25 +0000 (12:56 -0700)
commit4b8e561e5979fc3300c6fdaade0f55ec1fc6cfe3
treeff579c05aed5b5cf42ca00194c0596d33647a8f7
parent5b0a7abfd0d879d30b58a25116842b853be9cad9
BUG-9132: don't provide a value for restconf/streams/events

The yang type of events leaf is 'type empty', meaning there should be no value.
As of Carbon performing a GET on restconf/streams causes a cast
exception due to the empty string value here. See EmptyJSONCodec in
yangtools.

Change-Id: If0501b9c5459f4255096a4f070968c87a749407e
Signed-off-by: Evan Zeller <evanrzeller@gmail.com>
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/RestconfImpl.java