Bug 3039 - PUT augmentNode like last path element 47/21847/4
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 09:06:31 +0000 (09:06 +0000)
commitab8ed1ce780ed2019ddeb4a1b890e7e5f442fe90
treeb494440bf39d55fbe4a24072db982847fed986a5
parent2660b697228bb3e708a556b53e06a89d5ea00440
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