Project

Profile

Help

Refactor #2119

closed

Migrate consumer_bindings collection to consumer_distributor table.

Added by jortel@redhat.com over 6 years ago. Updated over 2 years ago.

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

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

The data in the consumer_bindings collection needs to be migrated into the consumer_distributor table in postgres.

For each field in the consumer_bindings document:

consumer_bindings => consumer_distributor
_________________ |  _______________________________
_id               => id (generated)
consumer_id       => consumer_id (by Consumer relation)
distributor_id    => distributor_id (by Distributor relation)
repo_id           => (omitted: each distributor record has a unique id and is associated with a repository)
binding_config    => (omitted: supported deprecated nodes)
notify_agent      => (omitted: supported deprecated agent)
consumer_actions  => (omitted: supported deprecated agent)
deleted           => (omitted: supported deprecated agent)

Note: Both the Agent and Nodes are not included in 3.0.


Related issues

Related to Pulp - Refactor #2085: create django models for consumer/binding/applicabilityCLOSED - CURRENTRELEASEjortel@redhat.com

Actions
Actions #1

Updated by jortel@redhat.com over 6 years ago

  • Description updated (diff)
Actions #2

Updated by jortel@redhat.com over 6 years ago

  • Description updated (diff)
Actions #3

Updated by jortel@redhat.com over 6 years ago

  • Description updated (diff)
Actions #4

Updated by jortel@redhat.com over 6 years ago

  • Description updated (diff)
Actions #5

Updated by jortel@redhat.com over 6 years ago

  • Subject changed from Migrate consumer_bindings collection to ConsumerDistributor table. to Migrate consumer_bindings collection to consumer_distributor table.
  • Description updated (diff)
Actions #6

Updated by jortel@redhat.com over 6 years ago

  • Related to Refactor #2085: create django models for consumer/binding/applicability added
Actions #7

Updated by jortel@redhat.com over 6 years ago

  • Tags Pulp 3 Prefactor added
Actions #8

Updated by jortel@redhat.com over 6 years ago

  • Tags Pulp 3 added
  • Tags deleted (Pulp 3 Prefactor)
Actions #9

Updated by bmbouter almost 4 years ago

  • Tags deleted (Pulp 3)
Actions #10

Updated by dkliban@redhat.com over 3 years ago

  • Parent task deleted (#2116)
Actions #11

Updated by ipanova@redhat.com over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

This issue is not actual anymore

Also available in: Atom PDF