-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.schema.yaml
52 lines (52 loc) · 1.41 KB
/
config.schema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
url:
description: "URL of the ReviewBoard instance (e.g. ``https://reviewboard.domain.tld``)"
type: "string"
secret: false
required: true
verify:
description: "Verify SSL certificate. Set to False to disable verification (Default: True)."
type: boolean
default: true
allow_caching:
description: "Allow RBClient to do caching of the requests (Default: True)."
type: boolean
default: true
in_memory_cache:
description: "Allow the cache to be maintained in memory (Default: False)."
type: boolean
default: false
save_cookies:
description: "Save Cookies generated using password and username in a file (Default: True)."
type: boolean
default: true
auth_method:
description: "Authentication method to use - token or basic"
type: "string"
secret: false
required: true
default: "token"
enum:
- token
- basic
username:
description: "Username if using the basic auth_method"
type: "string"
secret: false
required: false
password:
description: "Password if using the basic auth_method"
type: "string"
secret: true
required: false
api_token:
description: "API token if using the token auth_method"
type: "string"
secret: true
required: false
poll_interval:
description: "Polling interval - default 30s"
type: "integer"
secret: false
required: false
default: 30