Project

Profile

Help

Task #2300

Add serializer for the task models.

Added by jortel@redhat.com over 3 years ago. Updated 6 months ago.

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

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 9

Description

Write a serializer for each model in task.py.


Checklist


Related issues

Blocks Pulp - Task #2312: Add a Task ViewSet CLOSED - CURRENTRELEASE Actions
Copied from Pulp - Task #2299: Add serializer for the content models. CLOSED - CURRENTRELEASE Actions
Copied to Pulp - Task #2301: Add serializer for the catalog models. CLOSED - CURRENTRELEASE Actions

Associated revisions

Revision ce89b21b View on GitHub
Added by bizhang over 3 years ago

Add Task Serializer

re #2300

Revision ce89b21b View on GitHub
Added by bizhang over 3 years ago

Add Task Serializer

re #2300

Revision f212ac57 View on GitHub
Added by bizhang over 3 years ago

Add worker serializers

closes #2300

Revision f212ac57 View on GitHub
Added by bizhang over 3 years ago

Add worker serializers

closes #2300

History

#1 Updated by jortel@redhat.com over 3 years ago

  • Copied from Task #2299: Add serializer for the content models. added

#2 Updated by jortel@redhat.com over 3 years ago

  • Copied to Task #2301: Add serializer for the catalog models. added

#3 Updated by amacdona@redhat.com over 3 years ago

#4 Updated by amacdona@redhat.com over 3 years ago

  • Groomed changed from No to Yes

#5 Updated by semyers over 3 years ago

This task cannot be started until the documentation written in #1873 is merged to 3.0-dev.

#6 Updated by mhrivnak over 3 years ago

  • Sprint/Milestone set to 27

#7 Updated by semyers over 3 years ago

This task should be considered complete when all serializers for a given models module are defined in a corresponding serializers module.

The serializers defined should expose fields "native" (defined directly on a model or in its superclasses) to the model being represented, including Generic Key/Value types (Config/Notes/Scratchpad). Relations to other models should be included where possible, but the available serializer base classes and fields may be insufficient, so only the "native" fields should be required.

This task is among several similar tasks to stub out serializers for our existing models. Please spread the work around so we gain more team-wide knowledge around these serializers. If you have any questions, ask me. Common issues and their resolutions will be added to the pulp 3.0 rest-api development guide.

#8 Updated by fdobrovo over 3 years ago

  • Blocks Task #2232: Create Django post_save signal for Task model added

#9 Updated by bizhang over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bizhang

#10 Updated by bizhang over 3 years ago

  • Checklist item Task Serializer added
  • Checklist item Worker Serializer added
  • Checklist item ScheduledCalls Serializer added

#11 Updated by bizhang over 3 years ago

  • Checklist item Task Serializer set to Done

#12 Updated by bizhang over 3 years ago

  • Checklist item deleted (ScheduledCalls Serializer)

#13 Updated by bizhang over 3 years ago

  • Checklist item Worker Serializer set to Done

#14 Updated by bizhang over 3 years ago

  • Status changed from ASSIGNED to POST

#15 Updated by bizhang over 3 years ago

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

#16 Updated by bmbouter about 2 years ago

  • Sprint set to Sprint 9

#17 Updated by bmbouter about 2 years ago

  • Sprint/Milestone deleted (27)

#18 Updated by dalley about 2 years ago

  • Blocks deleted (Task #2232: Create Django post_save signal for Task model)

#19 Updated by daviddavis about 1 year ago

  • Sprint/Milestone set to 3.0.0

#20 Updated by bmbouter about 1 year ago

  • Tags deleted (Pulp 3)

#21 Updated by bmbouter 6 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF