Project

Profile

Help

Refactor #882

closed

Refactor #765: Convert Pulp to use MongoEngine

Update Nodes to use the MongoEngine models instead of dictionaries & the AssociatedUnit

Added by bcourt over 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

Update nodes to use the MongoEngine models instead of dictionaries & the AssociatedUnit

  • On Export, dump 2 lines, repo_content_unit, unit_model instead of the current 1 line for the associated unit.
  • On Import & export it can now be assumed that _storage_path is a relative path
  • On Import load repo_content_unit objects for comparison. Use the from_json() method on the to read in the repo_content_units from the file

Also available in: Atom PDF