Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: appengine/machine_provider/handlers_cron.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/machine_provider/acl.py ('k') | appengine/machine_provider/handlers_cron_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 """Cron jobs for processing lease requests.""" 5 """Cron jobs for processing lease requests."""
6 6
7 import datetime 7 import datetime
8 import time 8 import time
9 import logging 9 import logging
10 10
11 from google.appengine.api import taskqueue 11 from google.appengine.api import taskqueue
12 from google.appengine.ext import ndb 12 from google.appengine.ext import ndb
13 from protorpc.remote import protojson 13 from protorpc.remote import protojson
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 create_subscription(machine_key) 408 create_subscription(machine_key)
409 409
410 410
411 def create_cron_app(): 411 def create_cron_app():
412 return webapp2.WSGIApplication([ 412 return webapp2.WSGIApplication([
413 ('/internal/cron/process-lease-requests', LeaseRequestProcessor), 413 ('/internal/cron/process-lease-requests', LeaseRequestProcessor),
414 ('/internal/cron/process-machine-reclamations', MachineReclamationProcesso r), 414 ('/internal/cron/process-machine-reclamations', MachineReclamationProcesso r),
415 ('/internal/cron/process-lease-releases', LeaseReleaseProcessor), 415 ('/internal/cron/process-lease-releases', LeaseReleaseProcessor),
416 ('/internal/cron/process-new-machines', NewMachineProcessor), 416 ('/internal/cron/process-new-machines', NewMachineProcessor),
417 ]) 417 ])
OLDNEW
« no previous file with comments | « appengine/machine_provider/acl.py ('k') | appengine/machine_provider/handlers_cron_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698