Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabler: Add a /status endpoint #17

Open
blairlearn opened this issue Oct 8, 2021 · 0 comments
Open

Enabler: Add a /status endpoint #17

blairlearn opened this issue Oct 8, 2021 · 0 comments

Comments

@blairlearn
Copy link
Contributor

The API should expose a /status endpoint to report the health of the API.

The endpoint should

  • Call the Elasticsearch health check API.
  • If the Elasticsearch status is either green or yellow, return a status 200 and the text "alive".
  • Otherwise, return a status 500 and the text "Service not healthy."

ESTIMATE TBD

Resources:

Prerequisites

Sub-Tasks

Notes

@blairlearn blairlearn self-assigned this May 12, 2023
blairl-nih added a commit to blairl-nih/r4r-api that referenced this issue May 15, 2023
@blairlearn blairlearn removed their assignment Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant