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

Ready endpoint #728

Merged
merged 2 commits into from
Dec 29, 2021
Merged

Ready endpoint #728

merged 2 commits into from
Dec 29, 2021

Conversation

fishmonger45
Copy link
Contributor

A ready endpoint separate from the health endpoint which indicates that all schemas have been created and the node is ready for the query service to begin indexing against created db schemas. Includes additional docker include of curl so that query docker image can get status of endpoint for a healthcheck before starting itself within docker-compose.

Partially implements #726 for functionality

Todo:

  • Modify the starter projects docker-compose.yml using the following healthcheck to ensure proper timing of starting docker images. This pr should be merged before making this modification though

packages/node/src/meta/ready.service.ts Outdated Show resolved Hide resolved
@ianhe8x ianhe8x merged commit 07940fd into subquery:main Dec 29, 2021
@ianhe8x ianhe8x mentioned this pull request Jan 4, 2022
bz888 pushed a commit that referenced this pull request Jun 3, 2022
* ready endpoint and apk curl docker node

* underscore notation
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

Successfully merging this pull request may close these issues.

2 participants