Issue #5001
Provide content_ansible_collection_read method for ansible collections
Description
We need the ability to read ansible collection content similar to other content types ex: https://pulp-ansible.readthedocs.io/en/latest/restapi.html#operation/content_ansible_roles_read.
Related issues
Associated revisions
History
#1
Updated by bmbouter over 1 year ago
My goal is to have pulp_ansible implement what Galaxy is implementing so I'm waiting on upstream galaxy to fix https://github.com/ansible/galaxy/issues/1842 first
#2
Updated by sajha over 1 year ago
- Tags Katello-P1 added
#3
Updated by bmbouter over 1 year ago
- Status changed from NEW to ASSIGNED
- Assignee set to bmbouter
#4
Updated by bmbouter over 1 year ago
- Status changed from ASSIGNED to CLOSED - NOTABUG
There is a method like that already, but it's not showing up in the api docs because they are out of date. I have another PR open which should bring them up to date, but here is what you can do in the meantime.
After syncing in a collection I an list collections with:
http://localhost:24817/pulp/api/v3/content/ansible/collections/
I can read a single collection with UUID=3644ad76-ddbe-4e51-8d9b-495c97fa26fd using:
http://localhost:24817/pulp/api/v3/content/ansible/collections/3644ad76-ddbe-4e51-8d9b-495c97fa26fd/
#5
Updated by bmbouter over 1 year ago
Please reopen if I've misunderstood the need here. We want to make sure this is working as needed.
#6
Updated by bmbouter over 1 year ago
- Status changed from CLOSED - NOTABUG to ASSIGNED
Actually I'm going to reopen this and make a PR just to update the schema. That will be better because it can have its own release note then.
#7
Updated by bmbouter over 1 year ago
- Status changed from ASSIGNED to POST
PR available at: https://github.com/pulp/pulp_ansible/pull/124
#8
Updated by bmbouter over 1 year ago
- Status changed from POST to MODIFIED
Applied in changeset pulp_ansible|ee8dfc11a275689c609b02a38c3c4dcdcbead535.
#9
Updated by jsherril@redhat.com over 1 year ago
- Copied to Issue #5332: Provide content_ansible_collection_read method for ansible collections added
Please register to edit this issue
Update openAPI schema
The docs were showing out of date calls so this updates the schema which will update the REST API docs.
https://pulp.plan.io/issues/5001 closes #5001