Adrià Vilanova MartÃnez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame] | 1 | # Copyright 2016 The Chromium Authors |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 4 | |
| 5 | # Defines fake monorail api clients for testing |
| 6 | |
| 7 | clients { |
| 8 | client_email: "123456789@developer.gserviceaccount.com" |
| 9 | client_id: "123456789.apps.googleusercontent.com" |
| 10 | allowed_origins: "chicken.test" |
| 11 | allowed_origins: "cow.test" |
| 12 | display_name: "johndoe@example.com" |
| 13 | description: "John Doe needs api access" |
| 14 | project_permissions { |
| 15 | project: "chromium" |
| 16 | role: contributor |
| 17 | } |
| 18 | contacts: "johndoe@example.com" |
| 19 | qpm_limit: 1 |
| 20 | } |
| 21 | |
| 22 | clients { |
| 23 | client_email: "bugdroid1@chromium.org" |
| 24 | client_id: "987654321.apps.googleusercontent.com" |
| 25 | description: "bugdroid" |
| 26 | project_permissions { |
| 27 | project: "chromium" |
| 28 | role: committer |
| 29 | } |
| 30 | contacts: "bugdroidowner@example.com" |
| 31 | } |
| 32 | |
| 33 | clients { |
| 34 | client_id: "98723764876" |
| 35 | allowed_origins: "goat.test" |
| 36 | description: "test client_id alone is sufficient to access API." |
| 37 | project_permissions { |
| 38 | project: "chromium" |
| 39 | role: committer |
| 40 | } |
| 41 | contacts: "client_id_only@example.com" |
| 42 | } |