Bug 3039 - PUT augmentNode like last path element
authorVaclav Demcak <vdemcak@cisco.com>
Thu, 4 Jun 2015 16:13:48 +0000 (18:13 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 8 Jun 2015 11:33:40 +0000 (11:33 +0000)
commitab00015fdf2de68bc06dff54b5c29a2eb125c3b6
tree44d57360cfc0cfb286d0e7d98d74ea55fb56f5ce
parent091b83d2e7bf6960c6a476e3776dd73f0688c59d
Bug 3039 - PUT augmentNode like last path element

* fixed JsonNormalizedNodeBodyReader error when PUT operation was used
and data were wrapped in augmentation or choice nodes
* fixed bug that allowed XmlNormalizedNodeBodyReader to parse PUT with
incorrect data (when PUT request was written as POST)

note: testet manualy describled scenario + CSIT OFP_test_suite

Change-Id: Ia25b6b45a1154866dea29c763be67cdb17fa0ce1
Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/JsonNormalizedNodeBodyReader.java
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/XmlNormalizedNodeBodyReader.java