Add fail timeout for mariadb spring boot connection, Add spring actuator

This commit is contained in:
Marcel Schwarz 2020-04-22 20:36:34 +02:00
parent 2c7418529b
commit 52b5065558
2 changed files with 3 additions and 0 deletions

View File

@ -17,7 +17,9 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-rest'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.mariadb.jdbc:mariadb-java-client:1.5.7'
runtimeOnly 'com.h2database:h2'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'

View File

@ -1,3 +1,4 @@
server.port=80
spring.data.rest.basePath=/api
spring.datasource.hikari.initialization-fail-timeout=0
spring.profiles.active=prod