-
Notifications
You must be signed in to change notification settings - Fork 4
/
qwc-document-service.json
85 lines (85 loc) · 2.21 KB
/
qwc-document-service.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/qwc-services/qwc-document-service/master/schemas/qwc-document-service.json",
"title": "QWC Document Service",
"type": "object",
"properties": {
"$schema": {
"title": "JSON Schema",
"description": "Reference to JSON schema of this config",
"type": "string",
"format": "uri",
"default": "https://raw.githubusercontent.com/qwc-services/qwc-document-service/master/schemas/qwc-document-service.json"
},
"service": {
"title": "Service name",
"type": "string",
"const": "document"
},
"config": {
"title": "Config options",
"type": "object",
"properties": {
"basic_auth_login_url": {
"description": "Login verification URL for requests with basic auth. Example: http://qwc-auth-service:9090/verify_login",
"type": "array",
"items": {
"type": "string"
}
},
"report_dir": {
"description": "Directory which contains reports.",
"type": "string",
"default": "/reports"
},
"max_memory": {
"description": "Maximum Java heap size for compiling like 1024M or 2G.",
"type": "string",
"default": "1024M"
}
},
"required": [
]
},
"resources": {
"title": "Resources",
"type": "object",
"properties": {
"document_templates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"template": {
"type": "string"
},
"datasource": {
"type": "string"
},
"table": {
"type": "string"
},
"primary_key": {
"type": "string"
},
"parameter_name": {
"type": "string"
}
},
"required": [
"template"
]
}
}
},
"required": [
"document_templates"
]
}
},
"required": [
"service",
"config",
"resources"
]
}