blob: 1ca7ac0deaffc7c8582110486ec9b76d0fe9011a [file] [log] [blame]
phoglund@webrtc.orgd4f0a0e2012-02-01 10:59:23 +00001#!/usr/bin/env python
2#-*- coding: utf-8 -*-
3# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
4#
5# Use of this source code is governed by a BSD-style license
6# that can be found in the LICENSE file in the root of the source
7# tree. An additional intellectual property rights grant can be found
8# in the file PATENTS. All contributing project authors may
9# be found in the AUTHORS file in the root of the source tree.
10
11"""Contains tweakable constants for quality dashboard utility scripts."""
12
13__author__ = 'phoglund@webrtc.org (Patrik Höglund)'
14
15# This identifies our application using the information we got when we
16# registered the application on Google appengine.
17# TODO(phoglund): update to the right value when we have registered the app.
18DASHBOARD_SERVER = 'localhost:8080'
19DASHBOARD_SERVER_HTTP = 'http://' + DASHBOARD_SERVER
20CONSUMER_KEY = DASHBOARD_SERVER
21CONSUMER_SECRET_FILE = 'consumer.secret'
22ACCESS_TOKEN_FILE = 'access.token'
23
24# OAuth URL:s.
25REQUEST_TOKEN_URL = DASHBOARD_SERVER_HTTP + '/_ah/OAuthGetRequestToken'
26AUTHORIZE_TOKEN_URL = DASHBOARD_SERVER_HTTP + '/_ah/OAuthAuthorizeToken'
27ACCESS_TOKEN_URL = DASHBOARD_SERVER_HTTP + '/_ah/OAuthGetAccessToken'
28
29# The build master URL.
30BUILD_MASTER_SERVER = 'webrtc-cb-linux-master.cbf.corp.google.com:8010'
phoglund@webrtc.org2b878912012-02-01 17:08:03 +000031BUILD_MASTER_TRANSPOSED_GRID_URL = '/tgrid'
phoglund@webrtc.orgd4f0a0e2012-02-01 10:59:23 +000032
33# The build-bot user which runs build bot jobs.
34BUILD_BOT_USER = 'phoglund'
35
36# Dashboard data input URLs.
37ADD_COVERAGE_DATA_URL = '/add_coverage_data'
38ADD_BUILD_STATUS_DATA_URL = '/add_build_status_data'