BUG-9132: don't provide a value for restconf/streams/events 29/63729/1
authorEvan Zeller <evanrzeller@gmail.com>
Thu, 28 Sep 2017 01:15:31 +0000 (18:15 -0700)
committerEvan Zeller <evanrzeller@gmail.com>
Thu, 28 Sep 2017 01:22:54 +0000 (18:22 -0700)
commit9ae46c73bc2437dc1dab54498b3a64c0600fa9e8
treee9e1fbb1fbd787516488b06a0dd64261a8e334c8
parent5a466e6016ea250965d6acc94bac532b2f9c208c
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/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/restconf/impl/RestconfImpl.java