Commit e3a25810 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

luxi: Add list of all requests



This will be used in a unittest for RAPI testing utilities.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent abe318b3
......@@ -67,6 +67,28 @@ REQ_QUERY_TAGS = "QueryTags"
REQ_QUEUE_SET_DRAIN_FLAG = "SetDrainFlag"
REQ_SET_WATCHER_PAUSE = "SetWatcherPause"
#: List of all LUXI requests
REQ_ALL = frozenset([
REQ_ARCHIVE_JOB,
REQ_AUTOARCHIVE_JOBS,
REQ_CANCEL_JOB,
REQ_QUERY,
REQ_QUERY_CLUSTER_INFO,
REQ_QUERY_CONFIG_VALUES,
REQ_QUERY_EXPORTS,
REQ_QUERY_FIELDS,
REQ_QUERY_GROUPS,
REQ_QUERY_INSTANCES,
REQ_QUERY_JOBS,
REQ_QUERY_NODES,
REQ_QUERY_TAGS,
REQ_QUEUE_SET_DRAIN_FLAG,
REQ_SET_WATCHER_PAUSE,
REQ_SUBMIT_JOB,
REQ_SUBMIT_MANY_JOBS,
REQ_WAIT_FOR_JOB_CHANGE,
])
DEF_CTMO = 10
DEF_RWTO = 60
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment