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

Update UI to use new collection search endpoint

    • False
    • False
      • UI no longer makes calls to _ui/repo/{base_path}/ and _ui/collection-versions
      • Existing views that rely on these two endpoints don't break
      • Users can search collections in any repo from the collection search page
    • ANSTRAT-419 - Repository Management
    • Undefined

      Requires AAH-1968

      The new v3 endpoints will include a collection version search endpoint that will replace the functionality of `_ui/repo/{base_path}/` and `_ui/collection-versions`.

      This new endpoint will allow searching collections across multiple repositories in the system and will include two new filters:

      • repo_labels: will return any collections that are in any repository matched by the selected repo labels. If the user selects repo_labels=!hide_from_search, the API will return any collections in any repository that don't have the hide_from_search label.
      • repo: will accept one or more repositories and return any collection in the selected list of repositories.

      Details for which repositories will receive which labels can be found here: https://issues.redhat.com/browse/AAH-805

      Approval Dashboard

      The approval dashboard will have to be updated to use the new endpoint to load collection versions along with a list of repositories that they are in. This view can load collections that are in repos labelled by content:published, content:staging, content:rejected.

      Collections / Namespace Detail Pages

      The collections page will have to be update to remove the global repository selector and replace it with a repository selector that allows picking a set of repositories to search in/

      By default, this page should return collections in repos marked by !hide_from_search. These pages will also allow filtering by specific repo. Certification status on the listed collections will have to be updated to reflect which repository each collection is in. For example, collections in repositories labelled by certification:community, should be shown as community certified.

              jjerabek@redhat.com Jiri Jerabek
              dnewswan David Newswanger
              Christian Torrens Christian Torrens
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: