Project

Profile

Help

Refactor #849

closed

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 about 9 years ago. Updated about 5 years 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.

Actions #1

Updated by mhrivnak about 9 years ago

  • Description updated (diff)
  • Tags Groomed added
Actions #2

Updated by mhrivnak about 9 years ago

  • Priority changed from Normal to High
Actions #3

Updated by bcourt about 9 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bcourt
Actions #4

Updated by bcourt about 9 years ago

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

Updated by bmbouter almost 9 years ago

  • Groomed set to Yes
  • Tags deleted (Groomed)
Actions #6

Updated by bmbouter almost 9 years ago

  • Sprint Candidate set to Yes
  • Tags deleted (Sprint Candidate)
Actions #7

Updated by dkliban@redhat.com almost 9 years ago

  • Status changed from MODIFIED to 5
Actions #8

Updated by rbarlow about 8 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #9

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF