Add/update hammer endpoint for import
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
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.
#4 Updated by Partha Aji 2 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-katello|b14484f4a72540687088fb7a0b72f942741fbe4e.