Actions
Refactor #785
closedRefactor #765: Convert Pulp to use MongoEngine
Convert the 'repos' collection to a mongoengine model
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
2.7.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Quarter:
Description
This task is to create a repository model without implementing full manager support or migrating the existing managers. It is only to create the base mongoengine object for repositories. Creating this object first will allow other work to proceed in parallel after this task is complete.
Deliverables:
- A working mongoengine model that addresses the current fields in the repos collection with no changes to the data structure
-
Support for all the functionality of the pulp/server/managers/repo/_common.py:to_transfer_repo() method as well.(Moved to https://pulp.plan.io/issues/909) - Indexes on the mongoengine model that match the current fields
- Conversion of the managers to use the new object is NOT part of this task
Conversion guide":https://fedorahosted.org/pulp/wiki/ConvertingModelsToMongoengine#StepsinvolvedinconvertingaPulpmodeltoMongoEngine
Unit conversion plan: https://fedorahosted.org/pulp/wiki/ConvertingUnitsToMongoengine
Related issues
Actions
add a mongoengine model for repositories
closes: #785