Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-2577

Inbound and synclist distros displayed to users when not desired

    • False
    • Hide

      None

      Show
      None
    • False

      Problem Description:

      The UI uses an api endpoint to lookup the distros associated with a repo. When multiple distros exist, and the UI wants to display a single distro, it will pick the first one in the list. Many systems will have many distros for a repo (like `inbound-<namespace>` distros that point to the `staging` repo). This results in:

      1. UI uploads make a POST to a random distro associated to the `staging` repo, like `inbound-infra` for CRC. This resulted in issue AAH-2440, which has a workaround resolution.
      1. Repositories page "Copy CLI configuration" button for `staging` repo can give for example`url=<host>/api/automation-hub/content/inbound-autohubtest2/` which is confusing (and could have rbac implications?)

       

      Proposed Solution: 

      • UI gets the entire list of distros and filters out anything we don't want displayed
      • Add a filter to pulp-ansible that allows the user to search for distros that do not include the pattern that we don't want displayed

              mhradil-1 Martin Hradil
              awcrosby5 Andrew Crosby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: