Project

Profile

Help

Refactor #3597

closed

Use a serializer to validate sync and publish parameters

Added by amacdona@redhat.com over 4 years ago. Updated over 1 year ago.

Status:
MODIFIED
Priority:
Normal
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
3.0.0
Target Release - Python:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

To be included in the schema (autodoc and bindings), we need to create a serializer for sync and publish

https://github.com/pulp/pulp_file/blob/master/pulp_file/app/viewsets.py#L32-L52

This serializer should use HyperlinkedRelatedFields to validate that the repository and repository version exist.


Related issues

Related to Python Support - Issue #3596: Remove sync_mode and download_policy from docsMODIFIEDdalleyActions
Actions #1

Updated by dalley over 4 years ago

  • Groomed changed from No to Yes
Actions #2

Updated by amacdona@redhat.com over 4 years ago

  • Related to Issue #3596: Remove sync_mode and download_policy from docs added
Actions #3

Updated by amacdona@redhat.com over 4 years ago

  • Status changed from NEW to POST
  • Assignee set to amacdona@redhat.com
Actions #4

Updated by bizhang over 4 years ago

  • Sprint/Milestone set to 3.0 beta release

Added by amacdona@redhat.com over 4 years ago

Revision 736448a7

Add sync and publish serializers

https://pulp.plan.io/issues/3597 fixes #3597

raise when repository does not have latest version

Actions #5

Updated by amacdona@redhat.com over 4 years ago

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

Updated by bizhang about 4 years ago

  • Tags Pulp 3 added
Actions #7

Updated by bmbouter over 3 years ago

  • Tags deleted (Pulp 3)
Actions #8

Updated by dalley over 1 year ago

  • Platform Release set to 3.0.0

Also available in: Atom PDF