Project

General

Profile

Bug #31078

Make the import handle default content view

Added by Partha Aji almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:

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
For 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

Blocks Katello - Tracker #29977: Import/Export StoriesResolved

Associated revisions

Revision 93d3bd5e (diff)
Added by Partha Aji over 1 year ago

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.

History

#1 Updated by Partha Aji almost 2 years ago

#2 Updated by Chris Roberts almost 2 years 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 over 1 year 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 over 1 year ago

  • Fixed in Releases Katello 4.0.0 added

#5 Updated by Partha Aji over 1 year ago

  • Status changed from Ready For Testing to Closed

#6 Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/Katello/katello/pull/9116 added

#7 Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/Katello/katello/pull/9142 added

Also available in: Atom PDF