-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I do not think that frontend /api/health it is doing what it was written to do. It appears to return 200 pretty much regardless of what happens with the backend call:
skupper-example-hello-world/frontend/python/main.py
Lines 110 to 114 in 590abaa
| @star.route("/api/health", methods=["GET"]) | |
| async def health(request): | |
| await send_greeting("Testy Tiger", "Hi") | |
| return Response("OK\n", 200) |
It could be useful for this to return non-okay when the backend service is unavailable for automated test scenarios where we could hook it up to pod readiness or just have a cleaner endpoint to poll.
Metadata
Metadata
Assignees
Labels
No labels