New flakiness dashboard should generate JSON in the background process
[WebKit-https.git] / Websites / test-results / public / api / manifest.php
1 <?php
2
3 require_once('../include/json-shared.php');
4
5 $db = connect();
6
7 $repositories = $db->fetch_table('repositories');
8 foreach ($repositories as &$value)
9     $value['blameUrl'] = $value['blame_url'];
10
11 $builders = $db->fetch_table('builders');
12 foreach ($builders as &$value)
13     $value['buildUrl'] = $value['build_url'];
14
15 exit_with_success(array('tests' => $db->fetch_table('tests'),
16     'builders' => $builders,
17     'slaves' => $db->fetch_table('slaves'),
18     'repositories' => $repositories,
19     'testCategories' => config('testCategories'),
20     'newBugLinks' => config('newBugLinks')));
21 ?>