Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-2035

Exclude HealthIndicatorAutoConfiguration

    XMLWordPrintable

    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.

        Attachments

          Activity

            People

            Assignee:
            iperumal Ilayaperumal Gopinathan
            Reporter:
            iperumal Ilayaperumal Gopinathan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: