Project

Profile

Help

Refactor #868

closed

Refactor #765: Convert Pulp to use MongoEngine

Update RepoUnitAssociationManager.associate_from_repo 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.associate_from_repo Add a switch that checks if all of the types on the source and target repo have been converted to models then call branch to a new call the uses the MongoEngine repository models to perform the associate and then calls the importer with the repo_content_unit objects

Deliverables:

  • A working version of associate_from_repo that will use either AssociatedUnits or MongoEngine models if all units within a repo support ME models
  • This can be tested with pulp_docker

Related issues

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

Actions

Also available in: Atom PDF