Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-37813

Populate PRN columns for all Pulp entities in the Katello DB

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • 6.19.0
    • None
    • Repositories
    • None
    • None

      • Create a static mapping of each href prefix to a PRN resource.
        • For example: { /pulp/api/v3/content/rpm/packages/ => rpm.package }
      • Single out ambiguous hrefs that cannot be directly converted
        • For example, repository version hrefs only include the parent repository UUID. Instead -> use /pulp/api/v3/repository_versions/ to create a mapping of repository version hrefs to PRNs.
        • Repository version hrefs are likely the only complicated one!
      • Create new DB columns for each PRN field on all relevant tables (if not done already).
      • Iterate over each table and use existing href records to populate the corresponding PRN columns using the mapping created earlier.

              rhn-engineering-sajha Samir Jha
              iballou@redhat.com Ian Ballou
              Ian Ballou Ian Ballou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: