james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Duprat (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-2526) Implement health check endpoint
Date Wed, 22 Aug 2018 12:22:00 GMT
Antoine Duprat created JAMES-2526:
-------------------------------------

             Summary: Implement health check endpoint
                 Key: JAMES-2526
                 URL: https://issues.apache.org/jira/browse/JAMES-2526
             Project: James Server
          Issue Type: New Feature
          Components: utils
            Reporter: Antoine Duprat


Define a HealthCheck API in james-core
Then write a webadmin endpoint performing the checks and returning a 200 status code if all
checks are allright or a 500 status if some checks are failing.
Authentication bypass is needed for that route.

Finally, implement a IsStartedHealthCheck. 
You can base yourself on the IsStartedProbe defined here: https://github.com/linagora/james-project/pull/1646/commits/febb9f17cc0915f245e7a7f0fa9fcf8ed1750816



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message