-
Task
-
Resolution: Obsolete
-
Normal
-
None
-
None
-
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:
- Required changes
- Write only fields: https://github.com/pulp/pulpcore/issues/2825. Required for the remotes form
- Repository labeling:
AAH-805 - Remote filter: https://github.com/pulp/pulpcore/issues/2864
- Nice to have
- Related fields: https://github.com/pulp/pulpcore/pull/2828. This will allow the UI to efficiently include related information in list views. Not having this will mean the UI will have to make a lot of API calls.
- Last sync task: https://github.com/pulp/pulpcore/issues/2863. This will make for more efficient UI calls
- is blocked by
-
AAH-805 Add repository labels to existing repos in galaxy_ng
- Closed