Project

General

Profile

Actions

Bug #31076

closed

Add/update hammer endpoint for import

Added by Partha Aji almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Fixed in Releases:
Found in Releases:

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 1 (0 open1 closed)

Blocks Katello - Tracker #29977: Import/Export StoriesResolved

Actions
Actions #1

Updated by Partha Aji almost 4 years ago

Actions #2

Updated by Chris Roberts almost 4 years ago

  • Target version set to Katello 3.18.0
  • Triaged changed from No to Yes
  • Fixed in Releases Katello 3.18.0 added
Actions #3

Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Partha Aji
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/760 added
Actions #4

Updated by Partha Aji almost 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by The Foreman Bot almost 4 years ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/762 added
Actions

Also available in: Atom PDF