Bug 5912 - Restconf draft11 - utils 61/39361/9
authorIvan Hrasko <ivan.hrasko@pantheon.tech>
Tue, 24 May 2016 15:19:24 +0000 (17:19 +0200)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Mon, 30 May 2016 08:30:52 +0000 (10:30 +0200)
commited67609e716f2904bae02670bf9ac78acf49e57f
tree9341279f0637a1194b577e00e518ca1e8980ccdf
parenta656b5f9eaffaeb255e6bf539264bab20253c4e1
Bug 5912 - Restconf draft11 - utils

Fixing bugs of Draft11 implementation found by unit tests
in RestconfSchemaServiceTest:
- wrong condition
in ParserIdentifier#toSchemaExportContextFromIdentifier
- slash at the end of mount point identifier
in ParserIdentifier#toInstanceIdentifier
- wrong condition at the end of the input
in YangInstanceIdentifierDeserializer#create
- module names validation

Change-Id: Ib4031fd6d2830a49845191d1792e695a19d04e93
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/parser/builder/YangInstanceIdentifierDeserializer.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/utils/parser/ParserIdentifier.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/utils/validation/RestconfValidation.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/utils/validation/RestconfValidationTest.java