Project

Profile

Help

Refactor #870

closed

Refactor #765: Convert Pulp to use MongoEngine

Create a generic serializer for RepositoryContentUnit/ContentUnit

Added by bcourt about 9 years ago. Updated about 5 years ago.

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

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Create a generic serializer for serializing RepositoryContentUnit and ContentUnit objects to their json display

  • Mimic the current "display" version of the AssociatedUnit.
  • If a model has a DateTimeField then it should be converted to the iso8601_utc_timestamp as part of the display

Related issues

Blocked by Pulp - Refactor #779: Convert the 'repo_content_units' collection to a mongoengine modelCLOSED - CURRENTRELEASEbcourt

Actions
Blocked by Pulp - Refactor #847: Create a MongoEngine base class for Content Unit Models (ContentUnit)CLOSED - CURRENTRELEASEbcourt

Actions

Also available in: Atom PDF