Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2526

Implement health check endpoint

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • utils
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            aduprat Antoine Duprat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: