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

Side by Side Diff: appengine/findit/model/crash/crash_config.py

Issue 1940843003: [Findit] Use PubSub built-in authentication for push endpoint. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: fix nit. 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/findit/main.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Findit for crash (ClusterFuzz & Fracas/Chromecrash) configuration.""" 5 """Findit for crash (ClusterFuzz & Fracas/Chromecrash) configuration."""
6 6
7 from google.appengine.ext import ndb 7 from google.appengine.ext import ndb
8 8
9 from model.versioned_config import VersionedConfig 9 from model.versioned_config import VersionedConfig
10 10
11 11
12 class CrashConfig(VersionedConfig): 12 class CrashConfig(VersionedConfig):
13 """Global configuration of settings for processing Chrome crashes.""" 13 """Global configuration of settings for processing Chrome crashes."""
14 # Fracas-specific parameters. 14 # Fracas-specific parameters.
15 # { 15 # {
16 # "crash_data_push_token": "secret_token",
17 # "analysis_result_pubsub_topic": "projects/project-name/topics/name", 16 # "analysis_result_pubsub_topic": "projects/project-name/topics/name",
18 # "supported_platform_list_by_channel": { 17 # "supported_platform_list_by_channel": {
19 # "canary": ["win", "mac"], 18 # "canary": ["win", "mac"],
20 # }, 19 # },
21 # } 20 # }
22 fracas = ndb.JsonProperty(indexed=False, default={}) 21 fracas = ndb.JsonProperty(indexed=False, default={})
OLDNEW
« no previous file with comments | « appengine/findit/main.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698