Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18843

Improve the merging mechanism used for replacing the URL in virtual HELM repository

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.10.1
    • Component/s: None
    • Labels:
      None

      Description

      Currently, when merging the remote 'index.yaml' in the virtual repository (from the remotes and locals that are aggregated inside it), Artifactory compares the remote URL as a string to the URL's configured in the 'index.yaml' file, and if it finds URL's that match it replaces them with Artifactory's URL.

      This can cause issues when the remote URL is configured as HTTPS and in the 'index.yaml' file the URL's are configured with HTTP.

      Since Artifactory compares the URL's as a string, it will not find any match (since in the 'index.yaml' the URL's start with HTTP and we are searching for HTTPS), and will not replace the URL's in the 'index.yaml'.

      As a workaround, we can change the remote URL to HTTP.

      We can improve this by implementing a regex that will search for either HTTP or HTTPS at the start of the URL and replace the URL if it finds a match to either of them.

        Attachments

          Activity

            People

            Assignee:
            nadavy Nadav Yogev
            Reporter:
            adiv Adi Vizgan (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-18843 -
                SYNCHRONIZED
                • Last Sync Date: