Bug 3595 - RESTCONF: GET operation on a node in a list, identified by
authorJan Hajnar <jhajnar@cisco.com>
Mon, 8 Jun 2015 15:28:12 +0000 (17:28 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 1 Jul 2015 14:40:14 +0000 (14:40 +0000)
commitda7d0fc3f2a4ebee2dd4b2c1369834227b6c6d0f
treebe63a344f2de1d403ef699ee6c67415db6edf3d8
parent41fc0c3531d2f82401afce64235a65745b1b51dc
Bug 3595 - RESTCONF: GET operation on a node in a list, identified by
leaf-ref fails.

* added referenced type resolution for leafrefs in ControllerContext

Change-Id: Ic38b77038feb786a46a8bdd069448f006418d7bf
Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
(cherry picked from commit 5af9027a8ce234f3dcc44ee0d1791036b7f0ed62)
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/ControllerContext.java
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/Bug3595Test.java [new file with mode: 0644]
opendaylight/md-sal/sal-rest-connector/src/test/resources/leafref/yang/leafref-module.yang
opendaylight/md-sal/sal-rest-connector/src/test/resources/leafref/yang/referenced-module.yang