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

API health endpoint doesn't report on health #9860

Open
wkoot opened this issue Sep 25, 2024 · 0 comments
Open

API health endpoint doesn't report on health #9860

wkoot opened this issue Sep 25, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@wkoot
Copy link
Contributor

wkoot commented Sep 25, 2024

Describe the bug
The health endpoint is not actually an endpoint, it just happens to return http 200 ok like any api url path.

To Reproduce

  1. Navigate to /api/health
  2. Navigate to /api/randompage
  3. Observe that the return data is the same

Expected behaviour
JSON return data, describing the instance health such as

{
  "health": "GREEN"
}

And, return a 404 for non-existing endpoints.

@wkoot wkoot added the Bug Something isn't working label Sep 25, 2024
@wkoot wkoot moved this from Inbox to To be refined in Quality-time backlog Sep 25, 2024
@fniessink fniessink moved this from Refinement in progress to Ready in Quality-time backlog Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Ready
Development

No branches or pull requests

1 participant