Project

Profile

Help

Story #5050

closed

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

Added by bmbouter over 5 years ago. Updated about 4 years 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 - WONTFIXActions
Actions #1

Updated by daviddavis over 5 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?

Actions #2

Updated by bmbouter over 5 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

Actions #3

Updated by daviddavis over 5 years ago

  • Groomed changed from No to Yes
  • Sprint set to Sprint 55
Actions #4

Updated by bmbouter over 5 years ago

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

Added by bmbouter over 5 years ago

Revision e5963cce | View on GitHub

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

Actions #5

Updated by bmbouter over 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #6

Updated by kersom over 5 years ago

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

Updated by bmbouter about 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF