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

Unified Diff: appengine/monorail/monorailapp.py

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/monorail/module-besearch.yaml ('k') | appengine/monorail/project/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/monorail/monorailapp.py
diff --git a/appengine/monorail/monorailapp.py b/appengine/monorail/monorailapp.py
new file mode 100644
index 0000000000000000000000000000000000000000..06644bbc12107d6201a754a12808479d6b535d41
--- /dev/null
+++ b/appengine/monorail/monorailapp.py
@@ -0,0 +1,33 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is govered by a BSD-style
+# license that can be found in the LICENSE file or at
+# https://developers.google.com/open-source/licenses/bsd
+
+"""Main program for Monorail.
+
+Monorail is an issue tracking tool that is based on the code.google.com
+issue tracker, but it has been ported to Google AppEngine and Google Cloud SQL.
+"""
+
+import endpoints
+import logging
+import webapp2
+
+import gae_ts_mon
+
+import registerpages
+from framework import sorting
+from services import api_svc_v1
+from services import service_manager
+
+
+services = service_manager.set_up_services()
+sorting.InitializeArtValues(services)
+registry = registerpages.ServletRegistry()
+app_routes = registry.Register(services)
+app = webapp2.WSGIApplication(
+ app_routes, config={'services': services})
+gae_ts_mon.initialize(app)
+
+endpoints = endpoints.api_server(
+ [api_svc_v1.MonorailApi, api_svc_v1.ClientConfigApi])
« no previous file with comments | « appengine/monorail/module-besearch.yaml ('k') | appengine/monorail/project/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698