Task #2306
closed
Add serializer for the consumer models.
Status:
CLOSED - CURRENTRELEASE
Description
Write a serializer for each model in consumer.py.
- Copied from Task #2302: Add serializer for the progress models. added
- Groomed changed from No to Yes
This task cannot be started until the documentation written in #1873 is merged to 3.0-dev.
- Sprint/Milestone set to 27
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.
- Status changed from NEW to ASSIGNED
- Assignee set to pcreech
- Status changed from ASSIGNED to POST
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Sprint/Milestone deleted (
27)
- Sprint/Milestone set to 3.0.0
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
Add consumer serializer
Add consumer serializer
closes #2306