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

Hard-coded /rests endpoint in stream locations

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed
    • Medium
    • Resolution: Unresolved
    • 5.0.0, 6.0.0
    • 5.0.10, 6.0.7
    • restconf-nb

    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

        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated: