Project

Profile

Help

Task #3991

closed

Story #3990: As a user, I can "docker pull" from a registry hosted by Pulp

Add a DockerPublisher and DockerDistribution models, serializers, and viewsets

Added by dkliban@redhat.com about 6 years ago. Updated almost 5 years ago.

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

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 43
Quarter:

Description

DockerPublisher model needs to inherit from pulpcore.plugin.models.Publisher.

The ViewSet for the DockerPublisher needs to implement a detail route for 'publish' endpoint. This view needs to accept a repository or repository version URL. It returns a 202 and dispatches a publish task.

DockerDistribution model needs to inherit from pulpcore.plugin.models.BaseDistribution.

A DockerDistribution defines the URLs (paths) under which a publication is distributed. DockerDistributions also define which publications are live (visible for consumption).

The DockerDistribution ViewSet needs to allow users to create, retrieve, update, and delete DockerDistributions.


Related issues

Related to Pulp - Test #4121: Test CRUD Docker PublisherCLOSED - COMPLETErochacbrunoActions

Also available in: Atom PDF