Task #1240
closedRefactor #765: Convert Pulp to use MongoEngine
Remove non-mongoengine unit codepaths from platform
0%
Description
Throughout the platform code there are several "if mongoengine do X otherwise do Y" when dealing with unit types. This preserves old-style support while allowing unit types to be converted to the new style. Once all plugins are converted and the old style becomes invalid, the platform code needs to be updated to remove the old-style codepaths. This task tracks that work and should be updated with notes about how to find these types of things in the codebase.
- Places where a unit type check is done against plugin_api.list_unit_models, like this one.
- branch points based on type_def like this one
Updated by bmbouter over 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter over 5 years ago
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.