Details
-
Bug
-
Status: Confirmed
-
Medium
-
Resolution: Unresolved
-
5.0.0, 6.0.0
Description
We creating streams name using hard-coded constant RestconfConstants.BASE_URI_PATTERN.
This issue is on 6.0.x and 5.0.x branch in SubscribeToStreamUtil class. We get uriInfo as a parameter here from which we should set the base uri. But this is not the case, and we are replacing the restconf uri with RestconfConstants.BASE_URI_PATTERN which is constantly set to "rests".
This causes issues like:
https://github.com/PANTHEONtech/lighty/issues/1682
It means client configuration is ignored and "rests" is always used. Fix that.
Attachments
Gerrit Reviews
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 109925,1 | WIP: Create stream name URI for current base path | 6.0.x | netconf | Status: NEW | 0 | -1 |
| 109551,1 | Do not hard-code base path for streams | 5.0.x | netconf | Status: MERGED | +2 | +1 |
| 109705,4 | Do not hard-code base path for streams | 6.0.x | netconf | Status: MERGED | +2 | +1 |