-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
sat-artemis
-
3
-
False
-
rubygem-katello-4.19.0-0.2.pre.master.20251008032147gitdfc038f.el9sat.noarch
-
Artemis Sprint 155, Artemis Sprint 156
-
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.