Actions
Refactor #888
closedRefactor #765: Convert Pulp to use MongoEngine
pulp_manage_db needs to run .ensure_indexes() on MongoEngine platform models
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
2.7.0
Groomed:
Yes
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
April 2015
Quarter:
Description
After pulp-manage-db performs all the migrations it should load all the models for the core collections (repos, tasks, repo_content_units, etc.) and run the ensure_indexes() method on the models to make sure that the Pulp required indexes are maintained.
Deliverables:
- Create a list that stores the class paths to provide the loading of all models for core collections
- Platform models that have already been converted are included in the list of models above
- Updates to pulp-manage-db calls ensure_indexes() on each loaded class in the list above
- Mongoengine conversion guide is updated to include adding the model to this collection of calls.
Actions