Skip to content

Commit

Permalink
cli: List 'arch' and 'machine' as supported in API help
Browse files Browse the repository at this point in the history
Since commit f197263 ("Support parameters `arch` and `machine` in job
overview API"), user can filter using those. Add them to the constant shown
to the user in `openqa-cli api -h`. Note that as a side-effect these fields
will now also be explicitly validated as optional non-empty parameters.
This is not expected to have an impact on the API usage.

Signed-off-by: Ricardo B. Marliere <[email protected]>
  • Loading branch information
rbmarliere committed Oct 4, 2024
1 parent ba06387 commit 69cd3b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OpenQA/Constants.pm
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ use constant VIDEO_FILE_NAME_REGEX => qr/^.*\/video\.[^\/]*$/;
use constant FRAGMENT_REGEX => qr'(#([-?/:@.~!$&\'()*+,;=\w]|%[0-9a-fA-F]{2})*)*';

use constant JOBS_OVERVIEW_SEARCH_CRITERIA =>
(qw(distri version flavor build test modules modules_result module_re group groupid id));
(qw(distri version flavor arch build test machine modules modules_result module_re group groupid id));

our @EXPORT_OK = qw(
WEBSOCKET_API_VERSION DEFAULT_WORKER_TIMEOUT
Expand Down

0 comments on commit 69cd3b7

Please sign in to comment.