[NETCONF-968] YangLib: reduntant '/' for models without revision Created: 14/Feb/23  Updated: 19/Apr/23  Resolved: 19/Apr/23

Status: Resolved
Project: netconf
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.5

Type: Bug Priority: Medium
Reporter: Ivan Hrasko Assignee: Peter Suna
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
is blocked by NETCONF-967 YangLib: Unable to get schema SourceI... Confirmed
Relates
relates to NETCONF-972 yanglib does not support RFC6020 medi... Resolved

 Description   
  1. run karaf
  2. install odl-netconf-topology odl-restconf-nb odl-yanglib
  3. connect testtool (it downloads its models to cache/schema)
  4. try to access, for example: GET: http://localhost:8181/yanglib/schemas/test-model/%60

The URI contains redundant `/` character, remove it. We have to deal with tests, too. Becasue they contain weird "no-revision" logic.


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