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 almost 4 years ago. Updated over 2 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
Actions #1

Updated by dkliban@redhat.com almost 4 years ago

  • Parent task set to #3990
Actions #2

Updated by dkliban@redhat.com almost 4 years ago

  • Tracker changed from Story to Task
  • Subject changed from As a user, I can use a DockerPublisher to create a publication. to Add a DockerPublisher and DockerDistribution models, serializers, and viewsets
Actions #3

Updated by dkliban@redhat.com almost 4 years ago

  • Project changed from Pulp to Docker Support
Actions #4

Updated by dkliban@redhat.com almost 4 years ago

  • Description updated (diff)
Actions #5

Updated by dkliban@redhat.com almost 4 years ago

  • Description updated (diff)
  • Sprint Candidate changed from No to Yes
Actions #6

Updated by dkliban@redhat.com almost 4 years ago

  • Description updated (diff)

Added by dkliban@redhat.com almost 4 years ago

Revision 9b646891

Problem: Distribution is not available as an abstract model

Solution: Add a BaseDistribution for plugin writers to use

This patch adds an abstract BaseDistribution model to the plugin api.

re: #3991 https://pulp.plan.io/issues/3991

Added by dkliban@redhat.com almost 4 years ago

Revision 9b646891

Problem: Distribution is not available as an abstract model

Solution: Add a BaseDistribution for plugin writers to use

This patch adds an abstract BaseDistribution model to the plugin api.

re: #3991 https://pulp.plan.io/issues/3991

Actions #7

Updated by dkliban@redhat.com almost 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

Added by dkliban@redhat.com almost 4 years ago

Revision 84f44f0a

Adds models, viewsets, and serializers needed for publishing

This patch also updates the publish task to simply create a pass_through Publication.

Required PR: https://github.com/pulp/pulp/pull/3675

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

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

Added by dkliban@redhat.com almost 4 years ago

Revision 84f44f0a

Adds models, viewsets, and serializers needed for publishing

This patch also updates the publish task to simply create a pass_through Publication.

Required PR: https://github.com/pulp/pulp/pull/3675

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

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

Added by dkliban@redhat.com almost 4 years ago

Revision 84f44f0a

Adds models, viewsets, and serializers needed for publishing

This patch also updates the publish task to simply create a pass_through Publication.

Required PR: https://github.com/pulp/pulp/pull/3675

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

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

Added by dkliban@redhat.com almost 4 years ago

Revision 84f44f0a

Adds models, viewsets, and serializers needed for publishing

This patch also updates the publish task to simply create a pass_through Publication.

Required PR: https://github.com/pulp/pulp/pull/3675

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

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

Actions #8

Updated by dkliban@redhat.com almost 4 years ago

  • Status changed from ASSIGNED to POST
  • Groomed changed from No to Yes
  • Sprint set to Sprint 43
Actions #9

Updated by dkliban@redhat.com almost 4 years ago

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

Updated by kersom over 3 years ago

  • Related to Test #4121: Test CRUD Docker Publisher added
Actions #11

Updated by dkliban@redhat.com over 3 years ago

  • Tags Pulp 3 added
Actions #12

Updated by bmbouter about 3 years ago

  • Tags deleted (Pulp 3)
Actions #13

Updated by ipanova@redhat.com over 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #14

Updated by ipanova@redhat.com over 2 years ago

  • Sprint/Milestone set to 1.0.0

Also available in: Atom PDF