Bug 5915 - PATCH with "target":"/" error 91/40991/24
authorIvan Hrasko <ihrasko@cisco.com>
Wed, 29 Jun 2016 07:54:38 +0000 (09:54 +0200)
committerIvan Hrasko <ihrasko@cisco.com>
Mon, 18 Jul 2016 13:55:21 +0000 (13:55 +0000)
commit204f61e01dc276b6cc129af47793e89edc09d236
tree0a0a20ae632e6bc159aa2f495ac58a14167cc17e
parentcb084f27c4c28285cec44f5cd11634b54b2dcc1c
Bug 5915 - PATCH with "target":"/" error

- fixed bug + added unit test (example of usage)
for json and xml
- improved solution of bug5730

Change-Id: I0d8042ffdced97918ff936817513fc30163be577
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
opendaylight/restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/impl/JsonToPATCHBodyReader.java
opendaylight/restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/impl/XmlToPATCHBodyReader.java
opendaylight/restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestJsonPATCHBodyReader.java
opendaylight/restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/rest/impl/test/providers/TestXmlPATCHBodyReader.java
opendaylight/restconf/sal-rest-connector/src/test/resources/instanceidentifier/json/jsonPATCHdataCompleteTargetInURI.json [new file with mode: 0644]
opendaylight/restconf/sal-rest-connector/src/test/resources/instanceidentifier/xml/xmlPATCHdataCompleteTargetInURI.xml [new file with mode: 0644]