Project

Profile

Help

Refactor #849

Refactor #765: Convert Pulp to use MongoEngine

Remove the owner_type and owner_id from repo_content_units collection and in our internal APIs

Added by bcourt over 5 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
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:
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.

History

#1 Updated by mhrivnak over 5 years ago

  • Description updated (diff)
  • Tags Groomed added

#2 Updated by mhrivnak over 5 years ago

  • Priority changed from Normal to High

#3 Updated by bcourt over 5 years ago

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

#4 Updated by bcourt over 5 years ago

  • Status changed from ASSIGNED to MODIFIED
  • % Done changed from 0 to 100
  • Platform Release set to 2.7.0

#5 Updated by bmbouter over 5 years ago

  • Groomed set to Yes
  • Tags deleted (Groomed)

#6 Updated by bmbouter over 5 years ago

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

#7 Updated by dkliban@redhat.com over 5 years ago

  • Status changed from MODIFIED to 5

#8 Updated by rbarlow almost 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#9 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF