Bug #31076
Add/update hammer endpoint for import
Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Description
Add hammer import future endpoint to the API. Basically rename import to import-future at https://github.com/Katello/katello/blob/master/app/controllers/katello/api/v2/content_view_versions_controller.rb#L127
Make sure it fails if pulp3 yum is not enabled.
hammer content-view version import-future path=<import-dir> --content-view-id=100
Note it requires cv id and NOT cvv id even though it is inside hammer content-view version
Update Hammer import and import-future to call /export_api_usable to check which its supposed to be using, if it’s wrong direct user to the ‘correct’ command
Related issues
Associated revisions
Refs #31076 - Remove commented out tests
Uncommenting accidentally commented out tests in content-exports
History
#1
Updated by Partha Aji almost 2 years ago
- Blocks Tracker #29977: Import/Export Stories added
#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/hammer-cli-katello/pull/760 added
#4
Updated by Partha Aji over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-katello|b14484f4a72540687088fb7a0b72f942741fbe4e.
#5
Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/Katello/hammer-cli-katello/pull/762 added
Fixes #31076 - hammer import endpoint for cvv and library
This commit provides the bindings to import from a version to a view or
to the library.