Skip to content

[HEALTH] Extract health endpoint definition into blockscout-health crate#894

Open
rimrakhimov wants to merge 14 commits intomainfrom
rimrakhimov/blockscout-health
Open

[HEALTH] Extract health endpoint definition into blockscout-health crate#894
rimrakhimov wants to merge 14 commits intomainfrom
rimrakhimov/blockscout-health

Conversation

@rimrakhimov
Copy link
Copy Markdown
Contributor

@rimrakhimov rimrakhimov commented May 26, 2024

Extract health proto and actix-prost definition builds into a separate lib. That allows not to add health endpoints into api_config_http.yaml and not to specfy that #[serde(default)] field attribute for .grpc.health.v1.HealthCheckRequest.service in each service.

As a downside, the health endpoint would be missing from the resultant swagger.

Implemented as a separate crate, because we need a build.rs script to explicitly build only those definitions

@rimrakhimov rimrakhimov changed the base branch from main to rimrakhimov/visualizer/extract-health May 26, 2024 20:06
Base automatically changed from rimrakhimov/visualizer/extract-health to main May 27, 2024 11:59
@rimrakhimov rimrakhimov requested a review from sevenzing July 3, 2024 12:04
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