Project

Profile

Help

Story #5050

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

Added by bmbouter over 2 years ago. Updated about 1 year ago.

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

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
API Bindings, Documentation
Sprint:
Sprint 55
Quarter:

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 uploaderCLOSED - WONTFIX<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision e5963cce View on GitHub
Added by bmbouter about 2 years 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 over 2 years 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 over 2 years 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 over 2 years ago

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

#4 Updated by bmbouter about 2 years ago

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

#5 Updated by bmbouter about 2 years ago

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

#6 Updated by kersom about 2 years ago

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

#7 Updated by bmbouter about 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF