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

Unified Diff: appengine/findit/main.py

Issue 1852383002: [Findit] Integrate with Fracas through Pub/Sub. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Just 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/findit/handlers/crash/test/fracas_crash_test.py ('k') | appengine/findit/model/crash/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/main.py
diff --git a/appengine/findit/main.py b/appengine/findit/main.py
index e04f314d1c8cffc60019d99472b2ee3dd864ef08..9ae118b04cf83f0eec1a984f1f2d432614767a1d 100644
--- a/appengine/findit/main.py
+++ b/appengine/findit/main.py
@@ -22,9 +22,11 @@ from handlers import try_job
from handlers import try_job_result
from handlers import verify_analysis
from handlers import version
+from handlers.crash import crash_config
+from handlers.crash import fracas_crash
-# This is for the default module.
+# Default module.
default_web_pages_handler_mappings = [
('/version', version.Version),
]
@@ -32,11 +34,11 @@ default_web_application = webapp2.WSGIApplication(
default_web_pages_handler_mappings, debug=False)
-# This is for Cloud Endpoint apis in the default module.
+# Cloud Endpoint apis in the default module.
api_application = endpoints.api_server([FindItApi])
-# This is for appengine pipeline status pages in the default module.
+# App Engine pipeline status pages in the default module.
pipeline_status_handler_mappings = [
('/_ah/pipeline/rpc/tree', pipeline_status_ui._TreeStatusHandler),
('/_ah/pipeline/rpc/class_paths', pipeline_status_ui._ClassPathListHandler),
@@ -51,7 +53,7 @@ pipeline_status_application = webapp2.WSGIApplication(
pipeline_backend_application = pipeline_handlers._APP
-# This is for the "waterfall-frontend" module.
+# "waterfall-frontend" module.
waterfall_frontend_web_pages_handler_mappings = [
('/build-failure', build_failure.BuildFailure),
('/list-analyses', list_analyses.ListAnalyses),
@@ -73,9 +75,17 @@ waterfall_frontend_web_application = webapp2.WSGIApplication(
waterfall_frontend_web_pages_handler_mappings, debug=False)
-# This is for the "waterfall-backend" module.
+# "waterfall-backend" module.
waterfall_backend_web_pages_handler_mappings = [
('/waterfall/trigger-analyses', trigger_analyses.TriggerAnalyses),
]
waterfall_backend_web_application = webapp2.WSGIApplication(
waterfall_backend_web_pages_handler_mappings, debug=False)
+
+# "crash-frontend" module.
+crash_frontend_web_pages_handler_mappings = [
+ ('/crash/config', crash_config.CrashConfig),
+ ('/crash/fracas', fracas_crash.FracasCrash),
+]
+crash_frontend_web_application = webapp2.WSGIApplication(
+ crash_frontend_web_pages_handler_mappings, debug=False)
« no previous file with comments | « appengine/findit/handlers/crash/test/fracas_crash_test.py ('k') | appengine/findit/model/crash/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698