Bug 6931 - Fix unsupported specific type of leaf 45/46845/12
authorJakub Toth <jatoth@cisco.com>
Wed, 12 Oct 2016 16:59:33 +0000 (18:59 +0200)
committerJakub Toth <jatoth@cisco.com>
Thu, 27 Oct 2016 11:33:57 +0000 (11:33 +0000)
commitaf874baef1ac5c593c7dcdddec80f017d9384a88
tree5bc109d13fcd0917820ac47c42982c0575025b47
parent2a7540bfdf252110cfc4ad6a3e4f162d8d55ce63
Bug 6931 - Fix unsupported specific type of leaf

  * add value to YangInstanceIdentifier as type of leaf
  * converting of value of leaf to String in
    YangInstanceIdentifierSerializer
  * fix tests according to parsing value of leaf by type

Change-Id: I4796b0b116b46d57b9c302bb828beab692f40ed3
Signed-off-by: Jakub Toth <jatoth@cisco.com>
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/parser/builder/YangInstanceIdentifierDeserializer.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/parser/builder/YangInstanceIdentifierSerializer.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/parser/IdentifierCodecTest.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/parser/builder/YangInstanceIdentifierDeserializerTest.java