Feature #19157

Hammer organization/location list doesn't show parents

Added by Tomáš Strachota 9 months ago. Updated 4 months ago.

Status:Closed
Priority:Normal
Assigned To:Tomáš Strachota
Category:Organizations and locations
Target version:Foreman - Team Marek Iteration 15
Difficulty:trivial Bugzilla link:1438376
Found in release: Pull request:https://github.com/theforeman/hammer-cli-foreman/pull/299
Story points-
Velocity based estimate-
Releasehammer-cli-foreman-0.11.0Release relationshipAuto

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1438376

Business requirements:
Customer uses a lot of parents for their locations, but these are not showed when using hammer, resulting in a list that isn't usable.
Since you have to specify the location when you deploy a host it would be nice to see the full-name including parents.

Technical requirements:
Have a location named A and create a location named B, for which A is a parent and location C for which B is a parent.
"hammer location list" lists locations as "A", "B" and "C", customer would like to have an option lo list full names of location, in this case "A", "A/B" and "A/B/C", the same way as it is done in WebUI location list.

Associated revisions

Revision 0eeef866
Added by Tomas Strachota 7 months ago

Fixes #19157 - Enable taxonomy titles

Names of locations and organizations aren't globally unique. Without
titles it's impossible to reference organizations or locations with the
same name nested in different parent.

Changes:
- adds Title to output of organization and location list
- adds --location-title[s] and --organization-title[s] to all commands that
consume taxonomies
- print titles instead of names for taxonomy references

History

#1 Updated by Tomáš Strachota 9 months ago

  • Subject changed from Hammer organization/location list doesn't show parents to Hammer organization/location list doesn't show parents
  • Status changed from New to Assigned
  • Assigned To set to Tomáš Strachota
  • Target version set to Team Marek Iteration 13
  • Difficulty set to trivial

#2 Updated by The Foreman Bot 9 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/299 added

#3 Updated by Marek Hulán 7 months ago

  • Target version changed from Team Marek Iteration 13 to Team Marek Iteration 14

#4 Updated by Marek Hulán 7 months ago

  • Target version changed from Team Marek Iteration 14 to Team Marek Iteration 15

#5 Updated by Anonymous 7 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Tomáš Strachota 4 months ago

  • Release set to hammer-cli-foreman-0.11.0

Also available in: Atom PDF