Feature #3246
Return id of created object in create methods
Description
API returns the created object, would be nice, when the id and name is encapsulated in success response.
Even nicer when the response support --csv like
Architecture successfully created,1,i686
Related issues
History
#1
Updated by Martin Bacovsky over 9 years ago
- Status changed from New to Assigned
- Assignee set to Martin Bacovsky
As part of this add logging of results returned from foreman
#2
Updated by Dominic Cleal over 9 years ago
- Project changed from Foreman to Hammer CLI
- Category deleted (
44)
#3
Updated by Greg Sutcliffe over 9 years ago
- Target version set to 1.15.0
#4
Updated by Greg Sutcliffe over 9 years ago
- Target version deleted (
1.15.0)
#5
Updated by Martin Bacovsky over 9 years ago
- Target version set to 1.10.0
#6
Updated by Tomáš Strachota over 9 years ago
- Assignee changed from Martin Bacovsky to Tomáš Strachota
#7
Updated by Tomáš Strachota over 9 years ago
- Status changed from Assigned to Ready For Testing
#8
Updated by Anonymous over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman:hammer-cli|commit:d08a97901c3cc338b1275d671eac91bed9a926a2.
#9
Updated by Dominic Cleal over 9 years ago
- Related to Feature #3734: Allow user info to use --login as an optional argument added
fixes #3246 - printing id and names of created resources
- output turned back to an object
- print_message now takes the message and arguments, which is the created/updated
resource in case of write commands
- csv output adapter check if there is name or id available and prints it