Project

Profile

Help

Story #5334

closed

As a user, I can immediately download Collection content after uploading it

Added by bmbouter over 4 years ago. Updated over 3 years ago.

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

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

The UploadCollection is available in 3 places in pulp_ansible:

  • In the /pulp/api/v3/ viewset area here
  • In the Galaxy V2 API here
  • In the Galaxy V3 API here

In the Galaxy V2 and Galaxy V3 areas, the viewset knows specifically which Distribution that client is accessing the Galaxy API through.

Design

For the Galaxy V2 and V3 APIs, the viewset knows the Distribution the client is uploading to. For those two APIs any new Collection content should create and be associated with a new RepositoryVersion. This should only create a RepositoryVersion if the Distribution.repository is set because that will cause the RepositoryVersion to be served automatically.

Also available in: Atom PDF