-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration-example.yaml
78 lines (70 loc) · 2.06 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
### Dropwizard skeleton configuration file
##
## Do not commit changes that contain credentials or sensitive data!
server:
allowedMethods: [GET, POST, DELETE, PUT]
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
api:
endpointUri: https://api.oregonstate.edu/v1/events/
database:
driverClass: oracle.jdbc.OracleDriver
url:
user:
password:
initialSize: 1
minSize: 1
validationQuery: "SELECT 1 FROM dual"
# Configuration related to backend calendar vendor
calendarAPI:
baseUrl: http://domain.localist.com #base url for API calls
organizationID: 188 #organization ID to set context for campuses
# Use a timezone from this list: http://joda-time.sourceforge.net/timezones.html
defaultTimezone: America/Los_Angeles #default timezone of calendar vendor
exceptionTimezone: America/Boise #for certain campuses or locations, a different timezone is used
exceptionTimezoneCampusID: 110 #campus ID that uses the exception timezone
httpClientConfiguration:
timeout: 150000ms
connectionTimeout: 15000ms
timeToLive: 1h
cookiesEnabled: false
maxConnections: 2
maxConnectionsPerRoute: 2
keepAlive: 0ms
retries: 0
userAgent: osu-events-api