Project

Profile

Help

Refactor #779

Refactor #765: Convert Pulp to use MongoEngine

Convert the 'repo_content_units' collection to a mongoengine model

Added by bmbouter over 6 years ago. Updated over 2 years ago.

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

100%

Estimated time:
Platform Release:
2.7.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
April 2015
Quarter:

Description

Deliverables:


Related issues

Blocks Pulp - Refactor #870: Create a generic serializer for RepositoryContentUnit/ContentUnitCLOSED - WONTFIX

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by bcourt over 6 years ago

  • Tags Sprint Candidate added

Do not change the id fields, we will not use MongoEngine to automatically look up the referenced docs
Create a migration to perform the following actions

  • Ensure no duplicates of repo_id, unit_id.
  • Remove the owner_type and owner_id fields
  • The owner_type and owner_id fields should not be included in the model. Those fields are no longer used for permissions and should be removed from our code base. Release notes will have to be udpated as those fields were being leaked into repo unit queries.

https://fedorahosted.org/pulp/wiki/ConvertingUnitsToMongoengine

#2 Updated by mhrivnak over 6 years ago

  • Tags Groomed added

#3 Updated by bcourt over 6 years ago

  • Blocks Refactor #870: Create a generic serializer for RepositoryContentUnit/ContentUnit added

#4 Updated by bcourt over 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bcourt

#5 Updated by bcourt over 6 years ago

  • Status changed from ASSIGNED to MODIFIED
  • Sprint/Milestone set to 15
  • % Done changed from 0 to 100

#6 Updated by bcourt over 6 years ago

  • Platform Release set to 2.7.0

#7 Updated by bmbouter about 6 years ago

  • Groomed set to Yes
  • Tags deleted (Groomed)

#8 Updated by bmbouter about 6 years ago

  • Sprint Candidate set to Yes
  • Tags deleted (Sprint Candidate)

#9 Updated by dkliban@redhat.com about 6 years ago

  • Status changed from MODIFIED to 5

#10 Updated by rbarlow over 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#11 Updated by bmbouter over 3 years ago

  • Sprint set to April 2015

#12 Updated by bmbouter over 3 years ago

  • Sprint/Milestone deleted (15)

#13 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF