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

Unified Diff: appengine/findit/model/crash/crash_config.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
Index: appengine/findit/model/crash/crash_config.py
diff --git a/appengine/findit/model/crash/crash_config.py b/appengine/findit/model/crash/crash_config.py
new file mode 100644
index 0000000000000000000000000000000000000000..ec2034fde9b6f796610c9b0d2fca3a19a7f71f20
--- /dev/null
+++ b/appengine/findit/model/crash/crash_config.py
@@ -0,0 +1,22 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""Findit for crash (ClusterFuzz & Fracas/Chromecrash) configuration."""
+
+from google.appengine.ext import ndb
+
+from model.versioned_config import VersionedConfig
+
+
+class CrashConfig(VersionedConfig):
+ """Global configuration of settings for processing Chrome crashes."""
+ # Fracas-specific parameters.
+ # {
+ # "crash_data_push_token": "secret_token",
+ # "analysis_result_pubsub_topic": "projects/project-name/topics/name",
+ # "supported_platform_list_by_channel": {
+ # "canary": ["win", "mac"],
+ # },
+ # }
+ fracas = ndb.JsonProperty(indexed=False, default={})
« no previous file with comments | « appengine/findit/model/crash/crash_analysis.py ('k') | appengine/findit/model/crash/fracas_crash_analysis.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698