phoglund@webrtc.org | d4f0a0e | 2012-02-01 10:59:23 +0000 | [diff] [blame] | 1 | #!/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. |
phoglund@webrtc.org | 914ef27 | 2012-02-27 15:42:25 +0000 | [diff] [blame] | 17 | DASHBOARD_SERVER = 'webrtc-dashboard.appspot.com' |
phoglund@webrtc.org | d4f0a0e | 2012-02-01 10:59:23 +0000 | [diff] [blame] | 18 | DASHBOARD_SERVER_HTTP = 'http://' + DASHBOARD_SERVER |
| 19 | CONSUMER_KEY = DASHBOARD_SERVER |
| 20 | CONSUMER_SECRET_FILE = 'consumer.secret' |
| 21 | ACCESS_TOKEN_FILE = 'access.token' |
| 22 | |
| 23 | # OAuth URL:s. |
| 24 | REQUEST_TOKEN_URL = DASHBOARD_SERVER_HTTP + '/_ah/OAuthGetRequestToken' |
| 25 | AUTHORIZE_TOKEN_URL = DASHBOARD_SERVER_HTTP + '/_ah/OAuthAuthorizeToken' |
| 26 | ACCESS_TOKEN_URL = DASHBOARD_SERVER_HTTP + '/_ah/OAuthGetAccessToken' |
| 27 | |
| 28 | # The build master URL. |
| 29 | BUILD_MASTER_SERVER = 'webrtc-cb-linux-master.cbf.corp.google.com:8010' |
phoglund@webrtc.org | 2b87891 | 2012-02-01 17:08:03 +0000 | [diff] [blame] | 30 | BUILD_MASTER_TRANSPOSED_GRID_URL = '/tgrid' |
phoglund@webrtc.org | d4f0a0e | 2012-02-01 10:59:23 +0000 | [diff] [blame] | 31 | |
phoglund@webrtc.org | 914ef27 | 2012-02-27 15:42:25 +0000 | [diff] [blame] | 32 | # Build bot constants. |
phoglund@webrtc.org | 0f1a96a | 2012-03-01 15:50:30 +0000 | [diff] [blame^] | 33 | BUILD_BOT_COVERAGE_WWW_DIRECTORY = '/var/www/coverage' |
phoglund@webrtc.org | d4f0a0e | 2012-02-01 10:59:23 +0000 | [diff] [blame] | 34 | |
| 35 | # Dashboard data input URLs. |
phoglund@webrtc.org | 914ef27 | 2012-02-27 15:42:25 +0000 | [diff] [blame] | 36 | ADD_COVERAGE_DATA_URL = DASHBOARD_SERVER_HTTP + '/add_coverage_data' |
| 37 | ADD_BUILD_STATUS_DATA_URL = DASHBOARD_SERVER_HTTP + '/add_build_status_data' |