Project

Profile

Help

Refactor #785

Refactor #765: Convert Pulp to use MongoEngine

Convert the 'repos' collection to a mongoengine model

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

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
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:
Quarter:

Description

This task is to create a repository model without implementing full manager support or migrating the existing managers. It is only to create the base mongoengine object for repositories. Creating this object first will allow other work to proceed in parallel after this task is complete.

Deliverables:

  • A working mongoengine model that addresses the current fields in the repos collection with no changes to the data structure
  • Support for all the functionality of the pulp/server/managers/repo/_common.py:to_transfer_repo() method as well. (Moved to https://pulp.plan.io/issues/909)
  • Indexes on the mongoengine model that match the current fields
  • Conversion of the managers to use the new object is NOT part of this task

Conversion guide":https://fedorahosted.org/pulp/wiki/ConvertingModelsToMongoengine#StepsinvolvedinconvertingaPulpmodeltoMongoEngine
Unit conversion plan: https://fedorahosted.org/pulp/wiki/ConvertingUnitsToMongoengine


Related issues

Blocks Pulp - Refactor #861: Convert usage of pulp.plugins.model.Repository to the MongoEngine ModelCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocks Pulp - Refactor #862: Add unit association and querying support to the Repository modelCLOSED - CURRENTRELEASE

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

Associated revisions

Revision 9b883c25 View on GitHub
Added by Austin Macdonald over 6 years ago

add a mongoengine model for repositories

closes: #785

Revision 9b883c25 View on GitHub
Added by Austin Macdonald over 6 years ago

add a mongoengine model for repositories

closes: #785

History

#1 Updated by bcourt over 6 years ago

  • Description updated (diff)

#2 Updated by bcourt over 6 years ago

  • Description updated (diff)

#3 Updated by bcourt over 6 years ago

  • Tags Sprint Candidate added

#4 Updated by bcourt over 6 years ago

  • Blocks Refactor #860: Convert the repositories API & managers to use the MongoEngine Model added

#5 Updated by bcourt over 6 years ago

  • Blocks Refactor #861: Convert usage of pulp.plugins.model.Repository to the MongoEngine Model added

#6 Updated by bcourt over 6 years ago

  • Blocks Refactor #862: Add unit association and querying support to the Repository model added

#7 Updated by amacdona@redhat.com over 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to amacdona@redhat.com

#8 Updated by amacdona@redhat.com over 6 years ago

  • Status changed from ASSIGNED to POST
  • % Done changed from 0 to 100

#9 Updated by amacdona@redhat.com over 6 years ago

  • Description updated (diff)

We decided that the model could not implement the functionality of the repo transfer unit so we moved this to another story. I updated the description accordingly. https://pulp.plan.io/issues/909

#11 Updated by amacdona@redhat.com over 6 years ago

  • Status changed from POST to MODIFIED

#12 Updated by Anonymous over 6 years ago

#13 Updated by bmbouter over 6 years ago

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

#14 Updated by dkliban@redhat.com over 6 years ago

  • Platform Release set to 2.7.0
  • Groomed set to No

#15 Updated by mhrivnak over 6 years ago

  • Groomed changed from No to Yes

#16 Updated by amacdona@redhat.com over 6 years ago

  • Blocks deleted (Refactor #860: Convert the repositories API & managers to use the MongoEngine Model)

#17 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from MODIFIED to 5

#18 Updated by rbarlow over 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#19 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF