-
Notifications
You must be signed in to change notification settings - Fork 3
/
configuration-example.yaml
78 lines (72 loc) · 2.17 KB
/
configuration-example.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
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
### Locations backend configuration file example
##
## Do not commit changes that contain credentials or sensitive data!
server:
rootPath: /api/v0/*
applicationConnectors:
- type: https
port: 8080
keyStorePath: /path/to/development.keystore
keyStorePassword: password
certAlias: development
trustStorePath: /path/to/development.truststore
supportedProtocols:
- TLSv1.1
- TLSv1.2
adminConnectors:
- type: https
port: 8081
keyStorePath: /path/to/development.keystore
keyStorePassword: password
certAlias: development
trustStorePath: /path/to/development.truststore
supportedProtocols:
- TLSv1.1
- TLSv1.2
logging:
loggers:
org.hibernate.SQL: ALL
appenders:
- type: console
threshold: ALL
target: stdout
- type: file
currentLogFilename: logs/web-api-skeleton.log
archivedLogFilenamePattern: logs/web-api-skeleton-%d.log.gz
archivedFileCount: 5
threshold: ALL
timeZone: PST
authentication:
- username: username
password: password
locations:
uhdsUrl: http://example.com/path-to-json-file.json
weeklyMenuUrl: https://example.com/path/to/weeklymenu/index
icalUrl: https://www.google.com/calendar/ical/calendar-id%40group.calendar.google.com/public/basic.ics
cacheDirectory: cache
campusMapHttpData: https://example.com/locations.json
extensionUrl: http://example.com/extension_locations.xml
apiEndpointUrl: https://api.example.com/v1/
arcGisQueryUrl: http://arcgis.example.com/
libraryUrl: https://api.library.com/v1/
buildingGeometries: buildings/converted-coordinates.json
parkingGeometries: parking/converted-coordinates.json
arcGisThreshold: 30
campusMapThreshold: 50
facilLocationThreshold: 50
diningThreshold: 30
extensionThreshold: 30
# Maximum ratio of locations in campus maps not found from other sources
missingLocationsRatio: 0.1
httpClientConfiguration:
timeout: 150ms
connectionTimeout: 150ms
timeToLive: 1h
cookiesEnabled: false
maxConnections: 2
maxConnectionsPerRoute: 2
keepAlive: 0ms
retries: 0
userAgent: api-client
api:
endpointUri: https://api.example.com/v1/