Details
-
Type:
Bug
-
Status: Done
-
Priority:
Minor
-
Resolution: Complete
-
Affects Version/s: None
-
Fix Version/s: 1.0 GA
-
Component/s: None
-
Labels:None
-
Story Points:1
-
Rank (Obsolete):45217
-
Sprint:Sprint 32
Description
With HealthIndicatorAutoConfiguration, the health endpoint shows up:
{"status":"DOWN","healthIndicator":
{"status":"UP"},"rabbit":
{"status":"DOWN","error":"org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused"},"redis":
{"status":"UP","version":"2.8.9"},"mongo":
{"status":"DOWN","error":"org.springframework.dao.InvalidDataAccessResourceUsageException: Timed out while waiting to connect after 3894 ms; nested exception is com.mongodb.MongoTimeoutException: Timed out while waiting to connect after 3894 ms"},"db":{"status":"UP","database":"HSQL Database Engine","hello":1}}
We can only use vanilla health indicator, since other status may not be relevant.