Bug 6099 - ControllerContext#addKeyValue ignores key type when key is derived 14/46514/1
authorJakub Toth <jatoth@cisco.com>
Mon, 12 Sep 2016 13:30:06 +0000 (15:30 +0200)
committerJakub Toth <jatoth@cisco.com>
Tue, 4 Oct 2016 20:10:32 +0000 (20:10 +0000)
commitefe5c7dfe820b42414e1dc3d433630d7059c673a
tree5b89c400c1453f51d68c3f7227c0ef6bf8244a93
parent5db0cc7926ff0f153ecfb2ef94413fa842856816
Bug 6099 - ControllerContext#addKeyValue ignores key type when key is derived
type from instance-identifier

 * added instance identifier support as value
 * JUnit test added

Change-Id: I4f6a070b5814ef2a33b68534d887745a099712c8
Signed-off-by: Jakub Toth <jatoth@cisco.com>
(cherry picked from commit aa0006992ccc87f68e9810c0dee6c16cf339f544)
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/rest/impl/StringModuleInstanceIdentifierCodec.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/restconf/impl/RestCodec.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/utils/patch/Draft16StringModuleInstanceIdentifierCodec.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/rest/impl/InstanceIdentifierTypeLeafTest.java [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/instanceidentifier/iid-value.yang [new file with mode: 0644]