Project

General

Profile

Bug #31076

Add/update hammer endpoint for import

Added by Partha Aji 4 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

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

Blocks Katello - Tracker #29977: Import/Export StoriesNew

Associated revisions

Revision b14484f4 (diff)
Added by Partha Aji 2 months ago

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.

Revision a8518a74 (diff)
Added by Partha Aji about 2 months ago

Refs #31076 - Remove commented out tests

Uncommenting accidentally commented out tests in content-exports

History

#1 Updated by Partha Aji 4 months ago

#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/hammer-cli-katello/pull/760 added

#4 Updated by Partha Aji 2 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot 2 months ago

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

Also available in: Atom PDF