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 """This module defines Auth Server backend url handlers.""" | 5 """This module defines Auth Server backend url handlers.""" |
6 | 6 |
7 import webapp2 | 7 import webapp2 |
8 | 8 |
9 from components import decorators | 9 from components import decorators |
10 from components.auth import change_log | 10 from components.auth import change_log |
11 | 11 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 webapp2.Route( | 58 webapp2.Route( |
59 r'/internal/taskqueue/replication/<auth_db_rev:\d+>', | 59 r'/internal/taskqueue/replication/<auth_db_rev:\d+>', |
60 InternalReplicationTaskHandler), | 60 InternalReplicationTaskHandler), |
61 ]) | 61 ]) |
62 return routes | 62 return routes |
63 | 63 |
64 | 64 |
65 def create_application(debug): | 65 def create_application(debug): |
66 replication.configure_as_primary() | 66 replication.configure_as_primary() |
67 return webapp2.WSGIApplication(get_routes(), debug=debug) | 67 return webapp2.WSGIApplication(get_routes(), debug=debug) |
OLD | NEW |