| OLD | NEW |
| 1 # Copyright 2014 The Swarming Authors. All rights reserved. | 1 # Copyright 2014 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 """Main entry point for Swarming backend handlers.""" | 5 """Main entry point for Swarming backend handlers.""" |
| 6 | 6 |
| 7 import json | 7 import json |
| 8 import logging | 8 import logging |
| 9 | 9 |
| 10 import webapp2 | 10 import webapp2 |
| 11 from google.appengine.api import app_identity | 11 from google.appengine.api import app_identity |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 132 |
| 133 # Task queues. | 133 # Task queues. |
| 134 ('/internal/taskqueue/cleanup_data', TaskCleanupDataHandler), | 134 ('/internal/taskqueue/cleanup_data', TaskCleanupDataHandler), |
| 135 (r'/internal/taskqueue/pubsub/<task_id:[0-9a-f]+>', TaskSendPubSubMessage), | 135 (r'/internal/taskqueue/pubsub/<task_id:[0-9a-f]+>', TaskSendPubSubMessage), |
| 136 | 136 |
| 137 # Mapreduce related urls. | 137 # Mapreduce related urls. |
| 138 (r'/internal/taskqueue/mapreduce/launch/<job_id:[^\/]+>', | 138 (r'/internal/taskqueue/mapreduce/launch/<job_id:[^\/]+>', |
| 139 InternalLaunchMapReduceJobWorkerHandler), | 139 InternalLaunchMapReduceJobWorkerHandler), |
| 140 ] | 140 ] |
| 141 return [webapp2.Route(*a) for a in routes] | 141 return [webapp2.Route(*a) for a in routes] |
| OLD | NEW |