Project

General

Profile

Feature #14604

Create/update composite content-view by content-view Names

Added by Andrew Kofink about 3 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

[RFE] Create/update composite content-view by content-view Names . Currently it works fine with the version ID's

3. What is the nature and description of the request?
Option to add content views to the composite view by name rather than just by ID number.

Currently its only possible using IDs.

Create:
hammer> content-view create --name='testcomposite' --component-ids='4,2' --organization-id=1 --composite

Update:
hammer> content-view update --name RHEL6+RHEL7 --component-ids 2 --organization-id 1

---------------------------------------------
hammer> content-view create --help
Usage:
content-view create [OPTIONS]

Options:
--component-ids COMPONENT_IDS List of component content view version ids for composite views
Comma separated list of values.
---------------------------------------------
hammer> content-view update --help
Usage:
content-view update [OPTIONS]

Options:
--component-ids COMPONENT_IDS List of component content view version ids for composite views
Comma separated list of values.
---------------------------------------------

4. Why does the customer need this? (List the business requirements here)

Cu words: "I'm creating the views with a set of scripts and do not have direct knowledge of the component ids. They can be derived, but everything else under this command takes either the ID or the Name. It would reduce the complexity of my tools if this option were supported."

5. How would the customer like to achieve this? (List the functional requirements here)

Hammer command with 'name' option for composite views.

6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
No

8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?
Satellite 6.2

9. Is the sales team involved in this request and do they have any additional input?
No

10. List any affected packages or components.

Hammer

11. Would the customer be able to assist in testing this functionality if implemented?
yes

Associated revisions

Revision fa2c5214 (diff)
Added by Andrew Kofink almost 3 years ago

Refs #14604 - Add ID resolution to CV add-version (#413)

- ContentViewVersions can now be added to a ContentView via ContentView
ID and ContentViewVersion version.

History

#1 Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/386 added

#2 Updated by The Foreman Bot about 3 years ago

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

#3 Updated by Eric Helms about 3 years ago

  • Description updated (diff)

#4 Updated by Adam Price almost 3 years ago

  • Project changed from Hammer CLI to Katello

#5 Updated by Andrew Kofink almost 3 years ago

  • Category set to Hammer
  • Pull request deleted (https://github.com/Katello/katello/pull/6001, https://github.com/Katello/hammer-cli-katello/pull/386)

#6 Updated by Justin Sherrill almost 3 years ago

  • Assignee set to Andrew Kofink
  • Legacy Backlogs Release (now unused) set to 162
  • Difficulty set to medium

#7 Updated by The Foreman Bot almost 3 years ago

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

#8 Updated by John Mitsch over 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF