forked from osu-mist/hr-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration-example.yaml
61 lines (55 loc) · 1.4 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
### Dropwizard skeleton configuration file
##
## 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/hr-api.log
archivedLogFilenamePattern: logs/hr-api.log.gz
archivedFileCount: 5
threshold: ALL
timeZone: PST
authentication:
- username: username
password: password
api:
endpointUri: https://api.oregonstate.edu/v1/
useTestDAO: false
database:
driverClass: oracle.jdbc.OracleDriver
url: jdbc:oracle:thin:@//db-url
user: user
password: password
properties:
hibernate.dialect: org.hibernate.dialect.Oracle10gDialect
validationQuery: "SELECT 1 FROM dual"
initialSize: 2
minSize: 1
maxSize: 5