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