проверка работоспособности пружинной загрузки не показывает состояние БД - PullRequest
0 голосов
/ 29 января 2019

В строке ниже,

return Health.up().build() 

Я получаю только {"status" : "UP"}

Я хочу увидеть состояние БД.вот мой файл свойств

spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://localhost:3306/
spring.datasource.username=root
spring.datasource.password=test
management.endpoint.health.show-details=always
management.health.db.enabled=true
management.health.defaults.enabled=true
management.security.enabled=false

endpoints.health.sensitive: false
endpoints.health.enabled.sensitive=false
endpoints.enabled=false
endpoints.health.enabled=true

что я пропустил?(

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...