Actions
Refactor #849
closedRefactor #765: Convert Pulp to use MongoEngine
Remove the owner_type and owner_id from repo_content_units collection and in our internal APIs
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
2.7.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Quarter:
Description
The fields owner_type and owner_id are no longer used in the repo_content_units collection
- Remove them from the internal API calls
- Remove them from the mongoengine indexes
- Create a migration to remove them from the current repo_content_units table
- The migration should validate that there are no entries in the database where (repo_id, unit_id) do not form a unique key. A manual update of the database will be required in that case.
These fields are not in our docs or examples, should not have been exposed by the API to begin with, and are not in known use today.
Actions