Fixed handling of identityref type in list key 20/92420/5
authorMartin Sunal <msunal@frinx.io>
Thu, 21 Nov 2019 17:21:51 +0000 (18:21 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 4 Nov 2020 15:38:15 +0000 (15:38 +0000)
commitc09cd56b6f445d772cc63c24dd6fb90e4a14688b
tree79cda6d3c7ea46a58b7d68205768d81d04a47a09
parentf679d21f00818505ec5b5299c4ffce7dea9263f4
Fixed handling of identityref type in list key

- There was not covered a case when key was leafref to
  the node which has type identityref.
- Handling failed parsing of identityref value - throwing
  RestconfDocumentedException with better description.

Change-Id: I4aa296cbb1a62b6f607323cb5e944d70e67ba3ff
Signed-off-by: Martin Sunal <msunal@frinx.io>
Signed-off-by: Jaroslav Tóth <jtoth@frinx.io>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/YangInstanceIdentifierDeserializer.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/YangInstanceIdentifierDeserializerTest.java
restconf/restconf-nb-rfc8040/src/test/resources/restconf/parser/deserializer/deserializer-test-included.yang
restconf/restconf-nb-rfc8040/src/test/resources/restconf/parser/deserializer/deserializer-test.yang