Bug #31078
Make the import handle default content view
Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Pull request:
Fixed in Releases:
Found in Releases:
Description
The current import works only for content views that are non-default. Needs to be fixed.
Update the import action to
- Call the pulp3 import only if the content view being imported is NOT default
- Fetch the default cvv
- Loop through the repositories belonging to the cvv and generate a repo mapping
- Import using the generated mapping
- Call Save Version to update katello db
- Create a new publication
- Index Content
Related issues
Associated revisions
History
#1
Updated by Partha Aji 4 months ago
- Blocks Tracker #29977: Import/Export Stories added
#2
Updated by Chris Roberts 4 months ago
- Triaged changed from No to Yes
- Target version set to Katello 3.18.0
- Fixed in Releases Katello 3.18.0 added
#3
Updated by The Foreman Bot 2 months ago
- Assignee set to Partha Aji
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/9042 added
#4
Updated by The Foreman Bot 2 months ago
- Fixed in Releases Katello 4.0.0 added
#5
Updated by Partha Aji 2 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|93d3bd5ec6e0a177a3a21cd9846bd8c3a43ee721.
#6
Updated by The Foreman Bot about 12 hours ago
- Pull request https://github.com/Katello/katello/pull/9116 added
Fixes #31078 - Can import into default content view (#9042)
This commit enables one to import any content onto the library
In addition to that the commit does the following
1) Adds the content-imports controller and moves the existing
functionality there.
2) Auto assigns content view repositories from the metadata. i.e. if the
metadata had a dump for repoA and repoB. The import operation will
check if the library has those repos and automatically add them to
the content view.
3) Adds the library end point to conten0imports controller along with the
Import-Default action.