Chromium Code Reviews| 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..355111f339e7c1d24657666b1c4493f1ccb79675 |
| --- /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": "secrete_token", |
| + # "analysis_result_pubsub_topic": "projects/project-name/topics/name", |
| + # "supported_channels": { |
|
mimee
2016/04/07 23:43:09
This looks more like supported_platform_list_by_ch
stgao
2016/04/08 01:14:08
Done.
|
| + # "canary": ["win", "mac"], |
| + # }, |
| + # } |
| + fracas = ndb.JsonProperty(indexed=False, default={}) |
|
mimee
2016/04/07 23:43:09
newline EOF
stgao
2016/04/08 01:14:08
hm, that seems not the convention in infra repo.
|