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

Use new lab endpoint to check connection liveness #207

Open
lukashornych opened this issue Oct 3, 2024 · 1 comment
Open

Use new lab endpoint to check connection liveness #207

lukashornych opened this issue Oct 3, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@lukashornych
Copy link
Owner

In the evitaDB's lab api, there will be new endpoint /lab/liveness which will return 200 or otherwise to signalize if the new connection in evitaLab is valid. We will use this instead of fetching server status from gRPC API. The new endpoint will also internally probe the gRPC API because it is mandatory to be enabled and alive for evitaLab to function.

This will allow us to:

  • verify that the user is using proxied lab URL and not gRPC API URL directly without complex verification
  • check that gRPC is enabled

We will not probe other enabled APIs as errors thrown during accessing other APIs should be shown when actually accessing these APIs through UI.

@lukashornych
Copy link
Owner Author

Related evitaDB issue FgForrest/evitaDB#711

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant