blob: 32c8a164b419ca3ede44b048893fcb7bd98d0e40 [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
phoglund@webrtc.orgd4f0a0e2012-02-01 10:59:23 +000013# This identifies our application using the information we got when we
14# registered the application on Google appengine.
phoglund@webrtc.org914ef272012-02-27 15:42:25 +000015DASHBOARD_SERVER = 'webrtc-dashboard.appspot.com'
phoglund@webrtc.orgd4f0a0e2012-02-01 10:59:23 +000016DASHBOARD_SERVER_HTTP = 'http://' + DASHBOARD_SERVER
17CONSUMER_KEY = DASHBOARD_SERVER
18CONSUMER_SECRET_FILE = 'consumer.secret'
19ACCESS_TOKEN_FILE = 'access.token'
20
21# OAuth URL:s.
22REQUEST_TOKEN_URL = DASHBOARD_SERVER_HTTP + '/_ah/OAuthGetRequestToken'
23AUTHORIZE_TOKEN_URL = DASHBOARD_SERVER_HTTP + '/_ah/OAuthAuthorizeToken'
24ACCESS_TOKEN_URL = DASHBOARD_SERVER_HTTP + '/_ah/OAuthGetAccessToken'
25
phoglund@webrtc.org914ef272012-02-27 15:42:25 +000026# Build bot constants.
phoglund@webrtc.org0f1a96a2012-03-01 15:50:30 +000027BUILD_BOT_COVERAGE_WWW_DIRECTORY = '/var/www/coverage'
phoglund@webrtc.orgd4f0a0e2012-02-01 10:59:23 +000028
29# Dashboard data input URLs.
phoglund@webrtc.org914ef272012-02-27 15:42:25 +000030ADD_COVERAGE_DATA_URL = DASHBOARD_SERVER_HTTP + '/add_coverage_data'