Bug 3039 - PUT augmentNode like last path element 85/22085/2
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)
commitc9febc3cbe1a223869869602f732d827f8995e9f
tree9bfb4ee8a46fdd733ea699bb622bb7db6e34ee41
parent0f5d54c943ee47450fe69c203dd050083af62ad4
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