Project

Profile

Help

Task #1240

closed

Refactor #765: Convert Pulp to use MongoEngine

Remove non-mongoengine unit codepaths from platform

Added by bmbouter about 9 years ago. Updated over 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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

Also available in: Atom PDF