-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
31 lines (27 loc) · 839 Bytes
/
main.yml
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
server:
applicationConnectors:
- type: http
port: 8080
adminConnectors:
- type: http
port: 8081
rootPath: /api/*
applicationContextPath: /
# Database settings.
database:
# the name of the JDBC driver, mysql in our case
driverClass: com.mysql.jdbc.Driver
# the username
user: jd_admin
# the password
password: jd_admin
# the JDBC URL; the database is called hello_world
url: jdbc:mysql://localhost:3306/jdehs_dev
# the SQL query to run when validating a connection's liveness
validationQuery: "/* MyService Health Check */ SELECT 1"
properties:
hibernate.show_sql: true
hibernate.generate_statistics: false
hibernate.hbm2ddl.auto: validate # validates schema when service is started
swagger:
resourcePackage: com.techstomach.ehs.resources