Project

Profile

Help

Refactor #765

closed

Convert Pulp to use MongoEngine

Added by bmbouter over 9 years ago. Updated over 3 years ago.

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

100%

Estimated time:
(Total: 0:00 h)
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

This refactor tracks the entire conversion to MongoEngine primarily used to show progress towards the overall goal.


Sub-issues 54 (0 open54 closed)

Refactor #88: Convert the 'workers' collection to a mongoengine modelCLOSED - CURRENTRELEASEcduryee

Actions
Refactor #727: Convert the 'reserved_resources' collection to a mongoengine modelCLOSED - CURRENTRELEASEipanova@redhat.com

Actions
Refactor #728: Convert the 'migration_trackers' collection to a mongoengine modelCLOSED - CURRENTRELEASEipanova@redhat.com

Actions
Refactor #771: Convert the 'task_status' collection to a mongoengine modelCLOSED - CURRENTRELEASEskarmark@redhat.com

Actions
Refactor #773: Convert the 'consumer_bindings' collection to a mongoengine modelCLOSED - WONTFIX

Actions
Refactor #774: Convert the 'consumers' collection to a mongoengine modelCLOSED - WONTFIX

Actions
Refactor #775: Convert the 'content_catalog' collection to a mongoengine modelCLOSED - WONTFIX

Actions
Refactor #776: Delete the /content/types api endpoint.CLOSED - CURRENTRELEASEipanova@redhat.com

Actions
Refactor #777: Convert the 'event_listeners' collection to a mongoengine modelCLOSED - WONTFIX

Actions
Refactor #778: Convert the 'permissions' collection to a mongoengine modelCLOSED - WONTFIX

Actions
Refactor #779: Convert the 'repo_content_units' collection to a mongoengine modelCLOSED - CURRENTRELEASEbcourt

Actions
Refactor #780: Convert the 'repo_distributors' collection to a mongoengine modelCLOSED - CURRENTRELEASEamacdona@redhat.com

Actions
Refactor #781: Convert the 'repo_groups' collection to a mongoengine modelCLOSED - WONTFIX

Actions
Refactor #782: Convert the 'repo_importers' collection to a mongoengine modelCLOSED - CURRENTRELEASEamacdona@redhat.com

Actions
Refactor #783: Convert the 'repo_publish_results' collection to a mongoengine modelCLOSED - WONTFIX

Actions
Refactor #784: Convert the 'repo_sync_results' collection to a mongoengine modelCLOSED - WONTFIX

Actions
Refactor #785: Convert the 'repos' collection to a mongoengine modelCLOSED - CURRENTRELEASEamacdona@redhat.com

Actions
Refactor #786: Convert the 'roles' collection to a mongoengine modelCLOSED - WONTFIX

Actions
Refactor #787: Convert the 'scheduled_calls' collection to a mongoengine modelCLOSED - WONTFIX

Actions
Refactor #788: Convert the 'users' collection to a mongoengine modelCLOSED - CURRENTRELEASEamacdona@redhat.com

Actions
Refactor #847: Create a MongoEngine base class for Content Unit Models (ContentUnit)CLOSED - CURRENTRELEASEbcourt

Actions
Refactor #849: Remove the owner_type and owner_id from repo_content_units collection and in our internal APIsCLOSED - CURRENTRELEASEbcourt

Actions
Refactor #853: Create the pulp.unit_models entry pointCLOSED - CURRENTRELEASEbcourt

Actions
Refactor #860: Convert the repositories API & managers to use the MongoEngine ModelCLOSED - CURRENTRELEASEamacdona@redhat.com

Actions
Refactor #861: Convert usage of pulp.plugins.model.Repository to the MongoEngine ModelCLOSED - CURRENTRELEASEamacdona@redhat.com

Actions
Refactor #862: Add unit association and querying support to the Repository modelCLOSED - CURRENTRELEASEbcourt

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

Actions
Refactor #865: Create a SharedContentUnit that extends the ContentUnitCLOSED - CURRENTRELEASEjortel@redhat.com

Actions
Refactor #867: Update the docs for the Plugin API to use the MongoEngine modelsCLOSED - WONTFIX

Actions
Refactor #868: Update RepoUnitAssociationManager.associate_from_repo to use MongoEngine models when possibleCLOSED - WONTFIX

Actions
Refactor #869: convert RepoUnitAssociationManager.unassociate_by_criteria to use MongoEngine models when possibleCLOSED - WONTFIX

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

Actions
Refactor #871: pulp_manage_db uses ContentUnit Models as well as the types.json for loading models and ensuring indexesCLOSED - WONTFIX

Actions
Refactor #873: Add support for loading types via MongoEngine models to the server initialization (in addition to the content_types collection).CLOSED - WONTFIX

Actions
RPM Support - Refactor #874: Convert pulp_rpm to use MongoEngine ModelsCLOSED - CURRENTRELEASEbmbouter

Actions
Puppet Support - Refactor #875: Convert pulp_puppet to use MongoEngine modelsCLOSED - CURRENTRELEASEbmbouter

Actions
OSTree Support - Refactor #876: Convert pulp_ostree to use MongoEngine modelsCLOSED - CURRENTRELEASEjortel@redhat.com

Actions
Python Support - Refactor #877: convert pulp_python to use MongoEngine modelsCLOSED - CURRENTRELEASEmhrivnak

Actions
Debian Support - Refactor #878: Convert pulp_deb to use MongoEngine modelsCLOSED - CURRENTRELEASEmihai.ibanescu@gmail.com

Actions
Refactor #879: Deprecate old style of working with unitsCLOSED - WONTFIX

Actions
Story #880: Remove the types.json method of specifying modelsCLOSED - WONTFIX

Actions
Refactor #881: Update orphan commands to only use the MongoEngine modelsCLOSED - WONTFIX

Actions
Refactor #882: Update Nodes to use the MongoEngine models instead of dictionaries & the AssociatedUnitCLOSED - WONTFIX

Actions
Refactor #883: RepoUnitAssociationManager.associate_from_repo() Remove the switch based on types & kill the dead codeCLOSED - WONTFIX

Actions
Refactor #884: in RepoUnitAssociationManager.unassociate_by_criteria() Remove the switch based on types & kill the dead codeCLOSED - WONTFIX

Actions
Refactor #885: Remove all references to the AssociatedUnit, transfer units, & old content_types collectionCLOSED - WONTFIX

Actions
Refactor #888: pulp_manage_db needs to run .ensure_indexes() on MongoEngine platform models CLOSED - CURRENTRELEASEbcourt

Actions
Docker Support - Refactor #1080: Convert the DockerManifest model to use mongoengine modelCLOSED - DUPLICATE

Actions
Task #1212: Fix Unit removal. It does not work with mongoengine modelsCLOSED - CURRENTRELEASEmhrivnak

Actions
Task #1213: Orphan listing and removal does not work with mongoengine converted modelsCLOSED - CURRENTRELEASEbcourt

Actions
Puppet Support - Issue #1215: Unit removal --type doesn't work with mongoengine converted typesCLOSED - CURRENTRELEASEmhrivnakActions
Task #1220: Document that migrations should use PyMongo directly and never use model codeCLOSED - WONTFIX

Actions
Issue #1239: Pulp FileDistributor base class raises exception when operating on mongoengine based unitCLOSED - CURRENTRELEASEmhrivnakActions
Task #1240: Remove non-mongoengine unit codepaths from platformCLOSED - WONTFIX

Actions

Related issues

Related to Pulp - Issue #385: Our base Model class indexes the id field as a unique field by default, causing duplicate indexes on at least one modelCLOSED - WONTFIXActions

Also available in: Atom PDF