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

Side by Side Diff: appengine/isolate/main_frontend.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/isolate/main_backend.py ('k') | appengine/isolate/mapreduce_jobs.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 2014 The LUCI 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 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 """This modules is imported by AppEngine and defines the 'app' object. 5 """This modules is imported by AppEngine and defines the 'app' object.
6 6
7 It is a separate file so that application bootstrapping code like ereporter2, 7 It is a separate file so that application bootstrapping code like ereporter2,
8 that shouldn't be done in unit tests, can be done safely. This file must be 8 that shouldn't be done in unit tests, can be done safely. This file must be
9 tested via a smoke test. 9 tested via a smoke test.
10 """ 10 """
11 11
12 import os 12 import os
13 import sys 13 import sys
(...skipping 22 matching lines...) Expand all
36 def is_enabled_callback(): 36 def is_enabled_callback():
37 return config.settings().enable_ts_monitoring 37 return config.settings().enable_ts_monitoring
38 38
39 gae_ts_mon.initialize(frontend, is_enabled_fn=is_enabled_callback) 39 gae_ts_mon.initialize(frontend, is_enabled_fn=is_enabled_callback)
40 # App that serves new endpoints API. 40 # App that serves new endpoints API.
41 api = endpoints.api_server([handlers_endpoints_v1.IsolateService]) 41 api = endpoints.api_server([handlers_endpoints_v1.IsolateService])
42 return frontend, api 42 return frontend, api
43 43
44 44
45 frontend_app, endpoints_app = create_application() 45 frontend_app, endpoints_app = create_application()
OLDNEW
« no previous file with comments | « appengine/isolate/main_backend.py ('k') | appengine/isolate/mapreduce_jobs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698