Project

Profile

Help

Refactor #869

closed

Refactor #765: Convert Pulp to use MongoEngine

convert RepoUnitAssociationManager.unassociate_by_criteria to use MongoEngine models when possible

Added by bcourt over 9 years ago. Updated over 5 years ago.

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

0%

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

Description

in RepoUnitAssociationManager.unassociate_by_criteria Add a switch that checks if all of the types on the repo have been converted to models then call branch to a new call the uses the the MongoEngine repo model to perform the delete and then calls the importer with the repo_content_unit objects.

Deliverables:

  • a RepoUnitAssociationManager.unassociate_by_criteria that will use MongoEngine models if all the types in the given repo have been converted
  • This can use pulp_docker for testing

Related issues

Blocked by Docker Support - Refactor #863: Convert pulp_docker to use MongoEngine models for unitsCLOSED - CURRENTRELEASErbarlow

Actions

Also available in: Atom PDF