Project

Profile

Help

Task #3991

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 2 years ago. Updated 6 months 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

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

Associated revisions

Revision 9b646891 View on GitHub
Added by dkliban@redhat.com almost 2 years ago

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

Revision 9b646891 View on GitHub
Added by dkliban@redhat.com almost 2 years ago

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

Revision 84f44f0a View on GitHub
Added by dkliban@redhat.com almost 2 years ago

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

Revision 84f44f0a View on GitHub
Added by dkliban@redhat.com almost 2 years ago

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

Revision 84f44f0a View on GitHub
Added by dkliban@redhat.com almost 2 years ago

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

Revision 84f44f0a View on GitHub
Added by dkliban@redhat.com almost 2 years ago

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

History

#1 Updated by dkliban@redhat.com almost 2 years ago

  • Parent task set to #3990

#2 Updated by dkliban@redhat.com almost 2 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

#3 Updated by dkliban@redhat.com almost 2 years ago

  • Project changed from Pulp to Docker Support

#4 Updated by dkliban@redhat.com almost 2 years ago

  • Description updated (diff)

#5 Updated by dkliban@redhat.com almost 2 years ago

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

#6 Updated by dkliban@redhat.com almost 2 years ago

  • Description updated (diff)

#7 Updated by dkliban@redhat.com almost 2 years ago

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

#8 Updated by dkliban@redhat.com almost 2 years ago

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

#9 Updated by dkliban@redhat.com almost 2 years ago

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

#10 Updated by kersom over 1 year ago

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

#11 Updated by dkliban@redhat.com over 1 year ago

  • Tags Pulp 3 added

#12 Updated by bmbouter about 1 year ago

  • Tags deleted (Pulp 3)

#13 Updated by ipanova@redhat.com 7 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#14 Updated by ipanova@redhat.com 6 months ago

  • Sprint/Milestone set to 1.0.0

Please register to edit this issue

Also available in: Atom PDF