| OLD | NEW |
| 1 # Copyright 2015 The Swarming Authors. All rights reserved. | 1 # Copyright 2015 The LUCI Authors. All rights reserved. |
| 2 # Use of this source code is governed by the Apache v2.0 license that can be | 2 # Use of this source code is governed by the Apache v2.0 license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Internal bot API handlers.""" | 5 """Internal bot API handlers.""" |
| 6 | 6 |
| 7 import base64 | 7 import base64 |
| 8 import json | 8 import json |
| 9 import logging | 9 import logging |
| 10 import textwrap | 10 import textwrap |
| 11 | 11 |
| (...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 ('/swarming/api/v1/bot/poll', BotPollHandler), | 607 ('/swarming/api/v1/bot/poll', BotPollHandler), |
| 608 ('/swarming/api/v1/bot/server_ping', ServerPingHandler), | 608 ('/swarming/api/v1/bot/server_ping', ServerPingHandler), |
| 609 ('/swarming/api/v1/bot/task_update', BotTaskUpdateHandler), | 609 ('/swarming/api/v1/bot/task_update', BotTaskUpdateHandler), |
| 610 ('/swarming/api/v1/bot/task_update/<task_id:[a-f0-9]+>', | 610 ('/swarming/api/v1/bot/task_update/<task_id:[a-f0-9]+>', |
| 611 BotTaskUpdateHandler), | 611 BotTaskUpdateHandler), |
| 612 ('/swarming/api/v1/bot/task_error', BotTaskErrorHandler), | 612 ('/swarming/api/v1/bot/task_error', BotTaskErrorHandler), |
| 613 ('/swarming/api/v1/bot/task_error/<task_id:[a-f0-9]+>', | 613 ('/swarming/api/v1/bot/task_error/<task_id:[a-f0-9]+>', |
| 614 BotTaskErrorHandler), | 614 BotTaskErrorHandler), |
| 615 ] | 615 ] |
| 616 return [webapp2.Route(*i) for i in routes] | 616 return [webapp2.Route(*i) for i in routes] |
| OLD | NEW |