-
Notifications
You must be signed in to change notification settings - Fork 105
Improve 'vcd search' #575
base: master
Are you sure you want to change the base?
Improve 'vcd search' #575
Commits on Oct 5, 2022
-
New feature for 'search' command. Allow to show only some fields.
Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for deaf5e0 - Browse repository at this point
Copy the full SHA deaf5e0View commit details -
New feature for 'search' command.
Allow to hide id with '--do-not-show-id'. Allow to call _search() function from other click commands. ( useful to implement 'vm list' ) Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87a9263 - Browse repository at this point
Copy the full SHA 87a9263View commit details -
Rename 'search' option --do-not-show-id to --hide-id
Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be9ad5c - Browse repository at this point
Copy the full SHA be9ad5cView commit details -
Add sort options in search command.
Add sort-asc and sort-desc to 'vcd search'. Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e7a978 - Browse repository at this point
Copy the full SHA 8e7a978View commit details -
[Fix] rename function _search by query.
Rename function _search by query to be proprely called by other script Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a401eba - Browse repository at this point
Copy the full SHA a401ebaView commit details
Commits on Oct 6, 2022
-
Allow to customize field name in search
In --fields option, you can now specify custom name with 'as'. exemple: vcd search vm --fields 'name,ownerName as owner,isAutoNature as standalone' name owner standalone ------------ ------- ------------ web1 johndoe flase web2 johndoe flase bdd johndoe true Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a477be - Browse repository at this point
Copy the full SHA 1a477beView commit details
Commits on Oct 7, 2022
-
[Fix] utils as_table when sort_headers=False
AttributeError: 'dict_keys' object has no attribute 'remove' When sort_headers=False headers need to be a list to call remove() Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f1eb0b - Browse repository at this point
Copy the full SHA 6f1eb0bView commit details
Commits on Oct 8, 2022
-
Search - respect the fields declaration order
Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 26067a3 - Browse repository at this point
Copy the full SHA 26067a3View commit details
Commits on Oct 10, 2022
-
Search - prevent error if a field has no value
Init field with a default of None. For exemple query api 'vm' doesn't return ipAddress if the vm do not have newtork interface. Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5c0079 - Browse repository at this point
Copy the full SHA f5c0079View commit details -
Add option --sort-next to add sort on a second field. This option must be used with --sort-asc or --sort-desc Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab00c7a - Browse repository at this point
Copy the full SHA ab00c7aView commit details -
Search - Change query function return
Change in query(): - Remove param show_id - Don't show the result but return it to the caller This add flexibility to the caller. Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81485c1 - Browse repository at this point
Copy the full SHA 81485c1View commit details
Commits on Oct 12, 2022
-
[Fix] Search launched without resource_type
Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63c8755 - Browse repository at this point
Copy the full SHA 63c8755View commit details -
[Fix] Search when result is no found
Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c36727d - Browse repository at this point
Copy the full SHA c36727dView commit details -
[Fix] Search, relocate is not found check out of query function
Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee2c561 - Browse repository at this point
Copy the full SHA ee2c561View commit details
Commits on Oct 14, 2022
-
Signed-off-by: Olivier DRAGHI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 09c311d - Browse repository at this point
Copy the full SHA 09c311dView commit details