| OLD | NEW |
| 1 # Copyright 2015 The LUCI 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 under the Apache License, Version 2.0 |
| 3 # found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
| 4 | 4 |
| 5 """Models and functions to build and query Auth DB change log.""" | 5 """Models and functions to build and query Auth DB change log.""" |
| 6 | 6 |
| 7 import datetime | 7 import datetime |
| 8 import logging | 8 import logging |
| 9 import re | 9 import re |
| 10 import webapp2 | 10 import webapp2 |
| 11 | 11 |
| 12 from google.appengine.api import datastore_errors | 12 from google.appengine.api import datastore_errors |
| 13 from google.appengine.api import modules | 13 from google.appengine.api import modules |
| (...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 """Returns a list of routes with task queue handlers. | 705 """Returns a list of routes with task queue handlers. |
| 706 | 706 |
| 707 Used from ui/app.py (since it's where WSGI module is defined) and directly | 707 Used from ui/app.py (since it's where WSGI module is defined) and directly |
| 708 from auth_service backend module. | 708 from auth_service backend module. |
| 709 """ | 709 """ |
| 710 return [ | 710 return [ |
| 711 webapp2.Route( | 711 webapp2.Route( |
| 712 r'/internal/auth/taskqueue/process-change/<auth_db_rev:\d+>', | 712 r'/internal/auth/taskqueue/process-change/<auth_db_rev:\d+>', |
| 713 InternalProcessChangeHandler), | 713 InternalProcessChangeHandler), |
| 714 ] | 714 ] |
| OLD | NEW |