Refactor #779
closed
Refactor #765: Convert Pulp to use MongoEngine
Convert the 'repo_content_units' collection to a mongoengine model
Status:
CLOSED - CURRENTRELEASE
- Tags Sprint Candidate added
Do not change the id fields, we will not use MongoEngine to automatically look up the referenced docs
Create a migration to perform the following actions
- Ensure no duplicates of repo_id, unit_id.
- Remove the owner_type and owner_id fields
- The owner_type and owner_id fields should not be included in the model. Those fields are no longer used for permissions and should be removed from our code base. Release notes will have to be udpated as those fields were being leaked into repo unit queries.
https://fedorahosted.org/pulp/wiki/ConvertingUnitsToMongoengine
- Blocks Refactor #870: Create a generic serializer for RepositoryContentUnit/ContentUnit added
- Status changed from NEW to ASSIGNED
- Assignee set to bcourt
- Status changed from ASSIGNED to MODIFIED
- Sprint/Milestone set to 15
- % Done changed from 0 to 100
- Platform Release set to 2.7.0
- Groomed set to Yes
- Tags deleted (
Groomed)
- Sprint Candidate set to Yes
- Tags deleted (
Sprint Candidate)
- Status changed from MODIFIED to 5
- Status changed from 5 to CLOSED - CURRENTRELEASE
- Sprint/Milestone deleted (
15)
Also available in: Atom
PDF