generated from ghga-de/microservice-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_schema.json
65 lines (65 loc) · 1.81 KB
/
config_schema.json
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
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"additionalProperties": false,
"description": "Modifies the original Settings class provided by the user",
"properties": {
"max_concurrent_downloads": {
"default": 5,
"description": "Number of parallel downloader tasks for file parts.",
"exclusiveMinimum": 0,
"title": "Max Concurrent Downloads",
"type": "integer"
},
"max_retries": {
"default": 5,
"description": "Number of times to retry failed API calls.",
"minimum": 0,
"title": "Max Retries",
"type": "integer"
},
"max_wait_time": {
"default": 3600,
"description": "Maximum time in seconds to wait before quitting without a download.",
"exclusiveMinimum": 0,
"title": "Max Wait Time",
"type": "integer"
},
"part_size": {
"default": 16777216,
"description": "The part size to use for download.",
"exclusiveMinimum": 0,
"title": "Part Size",
"type": "integer"
},
"wkvs_api_url": {
"default": "https://data.ghga.de/.well-known",
"description": "URL to the root of the WKVS API. Should start with https://",
"title": "Wkvs Api Url",
"type": "string"
},
"exponential_backoff_max": {
"default": 60,
"description": "Maximum number of seconds to wait for when using exponential backoff retry strategies.",
"minimum": 0,
"title": "Exponential Backoff Max",
"type": "integer"
},
"retry_status_codes": {
"default": [
408,
500,
502,
503,
504
],
"description": "List of status codes that should trigger retrying a request.",
"items": {
"minimum": 0,
"type": "integer"
},
"title": "Retry Status Codes",
"type": "array"
}
},
"title": "ModSettings",
"type": "object"
}