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

Update the collection sync UI to use the pulp ansible APIs

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Normal Normal
    • None
    • None
    • Backend, UI
    • False
    • False
    • Undefined

      Update the UI to use the pulp ansible APIs for remotes, distributions and repositories on the repository management page.

       

      Local tab:

      http://localhost:5001/api/automation-hub/pulp/api/v3/distributions/ansible/ansible/ provides a list of distributions. This list can be filtered down to the repos that we care about using pulp labels. (More details on labelling here: AAH-805). If related fields can't be implemented in pulpcore, the UI will need to make extra API calls to get information about the repository.

       

      Remote tab:

      http://localhost:5001/api/automation-hub/pulp/api/v3/distributions/ansible/ansible/ should be updated (https://github.com/pulp/pulpcore/issues/2864) to allow filtering by repositories that have remotes attached to them. This can be used to populate the repositories that we sync here.

      http://localhost:5001/api/automation-hub/pulp/api/v3/remotes/ansible/collection/ can be used to update the remote configuration on a repository and kick off syncs. This will require write only fields on the pulp serializers (https://github.com/pulp/pulpcore/issues/2825).

       

      Blocked by:

            Unassigned Unassigned
            dnewswan David Newswanger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: