[NETCONF-204] Restconf draft11 - utils Created: 18/May/16  Updated: 15/Mar/19  Resolved: 02/Jun/16

Status: Resolved
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Ivan Hrasko Assignee: Ivan Hrasko
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5912

 Description   

1. In ParserIdentifier#toSchemaExportContextFromIdentifier wrong condition makes finding of module behind mount point to fail because of missing '/' at the beginning of the path.
https://git.opendaylight.org/gerrit/#/c/38577/
https://git.opendaylight.org/gerrit/#/c/38574/



 Comments   
Comment by Ivan Hrasko [ 25/May/16 ]

2. In ParserIdentifier#toInstanceIdentifier mount point id was wrongly created with slash at the end.

3. There was problem in YangInstanceIdentifierDeserializer#create when identifier was correctly found and the end of the input was reached. IllegalArgumentException was thrown and path was not added to list.

Comment by Ivan Hrasko [ 25/May/16 ]

Patch: https://git.opendaylight.org/gerrit/#/c/39361/
Unit tests: https://git.opendaylight.org/gerrit/#/c/38574/

Comment by Ivan Hrasko [ 26/May/16 ]

4. Validation of module name in RestconfValidation#validateAndGetModulName does not validate module names according to BNF:
(ALPHA / "")*(ALPHA / DIGIT / "" / "-" / ".")

Comment by Ivan Hrasko [ 31/May/16 ]

https://git.opendaylight.org/gerrit/#/c/39361/

Generated at Wed Feb 07 20:14:25 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.