Bug 7906: Fixed json parsing on patch request 88/52888/8
authorDavid Goldberg <gdavid@hpe.com>
Sun, 5 Mar 2017 12:50:33 +0000 (14:50 +0200)
committerJakub Morvay <jmorvay@cisco.com>
Tue, 14 Mar 2017 11:06:04 +0000 (11:06 +0000)
commitd548af6597c884273cec0b306b1a2bd77912df48
tree366c41f70b0d1f7f6380d8441bbb3e18cff10de8
parent3ff1ec3dd60d1314297c3e37626bb25e21918e7b
Bug 7906: Fixed json parsing on patch request

Currently lists with simple objects (string, int, etc.) are not
supported in the patch request. This commit adds support for that.

Change-Id: I4310a683aa42271b914c5dd8c3349bb2bac9e971
Signed-off-by: David Goldberg <gdavid@hpe.com>
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/impl/JsonToPATCHBodyReader.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/jersey/providers/JsonToPATCHBodyReader.java
restconf/sal-rest-connector/src/test/resources/instanceidentifier/json/jsonPATCHdata.json
restconf/sal-rest-connector/src/test/resources/instanceidentifier/yang/instance-identifier-patch-module.yang