Project

Profile

Help

Story #5050

As a user, I can upload a collection to the one-shot uploader

Added by bmbouter 6 months ago. Updated 5 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
No
Tags:
API Bindings, Documentation
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 55

Description

Problem

Currently the one-shot uploader only is available via the galaxy bindings.

Solution

Add a one-shot uploader view that will use the same collection import task code. This needs to be available in the swagger API so it can be in the docs and bindings too.


Related issues

Related to Ansible Plugin - Test #5268: Test - As a user, I can upload a collection to the one-shot uploader NEW Actions

Associated revisions

Revision e5963cce View on GitHub
Added by bmbouter 5 months ago

Added Collection One Shot Uploader

The import_collection task was used by the Galaxy API to receive an
artifact from mazer, but this reuses it for a new viewset in the Django
API.

https://pulp.plan.io/issues/5050
closes #5050

History

#1 Updated by daviddavis 6 months ago

Where do the collection fields (namespace, name, version) come from? Also, how will we use the same collection import task code? copy+paste it?

#2 Updated by bmbouter 6 months ago

The import_collection code opens up the tarball. The import collection code is the RQ task that already exists in Pulp.

https://github.com/pulp/pulp_ansible/blob/master/pulp_ansible/app/galaxy/tasks.py#L15-L41

#3 Updated by daviddavis 6 months ago

  • Groomed changed from No to Yes
  • Sprint set to Sprint 55

#4 Updated by bmbouter 5 months ago

  • Status changed from NEW to POST
  • Assignee set to bmbouter

#5 Updated by bmbouter 5 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#6 Updated by kersom 4 months ago

  • Related to Test #5268: Test - As a user, I can upload a collection to the one-shot uploader added

Please register to edit this issue

Also available in: Atom PDF