Bug 6995 - Change event notification subscription usability PART2 47/47747/11
authorJakub Toth <jatoth@cisco.com>
Sat, 29 Oct 2016 01:38:39 +0000 (03:38 +0200)
committerJakub Toth <jatoth@cisco.com>
Mon, 7 Nov 2016 20:23:28 +0000 (20:23 +0000)
commit2781b3622622720d067829d22e21ada1a2a5b251
treec54a65907ddca49c56ab3db1a49857d05ce4ff15
parent04b98cadf3669bcce59df63268c06c94514ac919
Bug 6995 - Change event notification subscription usability PART2

  * added new yang for leaf with location for subscribing on stream
  * changed return type of subscribing stream request from Response
    to NormalizedNodeContext
    * implemented leaf with location of stream
  * implemented support of adding new headers on data return
    * added new statement 'headers' to NormalizedNodeContext

Change-Id: I2da57c8b1e22368345ca2dac9ae1a8924f2ecea2
Signed-off-by: Jakub Toth <jatoth@cisco.com>
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/api/RestconfService.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/impl/NormalizedNodeJsonBodyWriter.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/impl/NormalizedNodeXmlBodyWriter.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/impl/RestconfCompositeWrapper.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/restconf/impl/NormalizedNodeContext.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/restconf/impl/RestconfImpl.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/restconf/impl/StatisticsRestconfServiceWrapper.java
restconf/sal-rest-connector/src/main/yang/subscribe-to-notification.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/RestconfImplTest.java
restconf/sal-rest-connector/src/test/resources/full-versions/yangs/subscribe-to-notification.yang [new file with mode: 0644]