Story #880
closed
Refactor #765: Convert Pulp to use MongoEngine
Remove the types.json method of specifying models
Description
- Remove support in pulp-manage-db for reading types.json
- remove the content_types database collection and all remaining references to it
- Update server initialization to only use the models from the entry point
- remove support for /usr/lib/pulp/plugins/types & and all references to it
- Blocked by Refactor #863: Convert pulp_docker to use MongoEngine models for units added
- Blocked by deleted (Refactor #863: Convert pulp_docker to use MongoEngine models for units)
- Blocked by Refactor #871: pulp_manage_db uses ContentUnit Models as well as the types.json for loading models and ensuring indexes added
- Blocks Refactor #881: Update orphan commands to only use the MongoEngine models added
- Blocks Refactor #882: Update Nodes to use the MongoEngine models instead of dictionaries & the AssociatedUnit added
- Blocks Refactor #883: RepoUnitAssociationManager.associate_from_repo() Remove the switch based on types & kill the dead code added
- Blocks Refactor #884: in RepoUnitAssociationManager.unassociate_by_criteria() Remove the switch based on types & kill the dead code added
- Blocks Refactor #885: Remove all references to the AssociatedUnit, transfer units, & old content_types collection added
- Blocks deleted (Refactor #882: Update Nodes to use the MongoEngine models instead of dictionaries & the AssociatedUnit)
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.
Also available in: Atom
PDF