Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1220

Hard-coded /rests endpoint in stream locations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 5.0.10, 6.0.8
    • 5.0.0, 6.0.0
    • restconf-nb

      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.

            SamoSchneider Samuel Schneider
            ivanhrasko Ivan Hrasko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: