Add API to query all Task Queues |
||||
Issue descriptionGoal: Be able to programatically determine the sets of dimensions being used by the fleet. The TaskDimensions and BotTaskDimensions entities contain this information. API: - tasks/queues: need to determine if 'pool' is a require value - bots/<id>/queues: all the queues that a bot could run, this is BotTaskDimensions. Since task queues are grouped by pools, we will probably want to forcibly require a pool before listing the queues, otherwise coherency is not guaranteed. Ref: https://cs.chromium.org/chromium/infra/luci/appengine/swarming/server/task_queues.py
,
Apr 26 2018
,
Apr 26 2018
The following revision refers to this bug: https://chromium.googlesource.com/infra/luci/luci-py.git/+/009cbaa1289efa7f08ae3c594d68c156a3ea82ab commit 009cbaa1289efa7f08ae3c594d68c156a3ea82ab Author: Marc-Antoine Ruel <maruel@chromium.org> Date: Thu Apr 26 20:26:55 2018 [swarming] Add queues/list RPC to list TaskQueues This will be needed for monitoring. In the meantime, this can be queried with: ./swarming.py query -S chromium-swarm-dev.appspot.com --limit 0 queues/list which is useful enough for my immediate needs. This will be a building block for a new UI. I decided to create a new API namespace because I think I will want to add more RPCs to it. Bug: 803450 Change-Id: Ib28f0cc52b15308e7bfb337fb1160281f4f9f7a0 Reviewed-on: https://chromium-review.googlesource.com/1030790 Commit-Queue: Marc-Antoine Ruel <maruel@chromium.org> Reviewed-by: Quinten Yearsley <qyearsley@chromium.org> [modify] https://crrev.com/009cbaa1289efa7f08ae3c594d68c156a3ea82ab/appengine/swarming/handlers_endpoints.py [modify] https://crrev.com/009cbaa1289efa7f08ae3c594d68c156a3ea82ab/appengine/swarming/handlers_endpoints_test.py [modify] https://crrev.com/009cbaa1289efa7f08ae3c594d68c156a3ea82ab/appengine/swarming/swarming_rpcs.py
,
Apr 27 2018
,
Jun 21 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by mar...@chromium.org
, Apr 26 2018Status: Assigned (was: Available)