Story #5165

Updated by bmbouter over 1 year ago

Currently pulp_ansible calls out to Mazer to perform the sync of Collection content from the Galaxy V2 API. This was done initially to get something working, but it's inefficient since the Stages API could provide asyncio based downloading and Artifact creation.

h3. Solution

Switch pulp_ansible sync to use the Stages API instead. This will require several calls to be made to implement the client side of the Collection downloading workflow.

The calls that will need to be made by the downloaders will need to probably call the V2 collection URLs pulp_ansible implements here: Also the <code>/api/</code> call.

TODO: write the mazer filterspec logic that needs to be implemented here

We should collaborate with alikins to ensure we can stay current with any API changes Mazer makes.