-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace the health check with a readiness check.
The NDC specification states that the health check should respond with `200 OK` when the connector is ready to start accepting requests (i.e. "readiness"). Whether the underlying data source is up and running is not important here. This adds a default implementation to the method to make it trivial for connector authors to handle this particular request. The method name has been changed to clarify matters and also to force connector authors to understand the change. We will consider adding further endpoints to check "liveness" and "connectedness" in the future.
- Loading branch information
1 parent
efed395
commit 10fdfb7
Showing
3 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters