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

implement health check #161

Merged
merged 12 commits into from
Apr 19, 2023
Merged

implement health check #161

merged 12 commits into from
Apr 19, 2023

Conversation

maia-iyer
Copy link
Collaborator

No description provided.

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
@maia-iyer maia-iyer added this to the 1.1.x milestone Apr 17, 2023
@maia-iyer maia-iyer linked an issue Apr 17, 2023 that may be closed by this pull request
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
@maia-iyer maia-iyer marked this pull request as ready for review April 17, 2023 21:10
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
@maia-iyer maia-iyer added enhancement New feature or request backend Tornjak API (Backend) labels Apr 17, 2023
@maia-iyer maia-iyer self-assigned this Apr 17, 2023
## 3.1. Agent API’s

## 3.1. Tornjak API’s
### - [Healthcheck](https://pkg.go.dev/google.golang.org/grpc/health/grpc_health_v1#HealthCheckRequest)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this referencing health check from grpc instead of SPIRE?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the health check tool that SPIRE uses - they import it directly in their implementation, so I think for us to access programmatically, this is what we have to do. Maybe I should put a note here?

@mamy-CS mamy-CS self-requested a review April 19, 2023 18:00
Copy link
Collaborator

@mamy-CS mamy-CS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! Tested and integrated with frontend.

@mamy-CS mamy-CS merged commit db2bd82 into main Apr 19, 2023
@maia-iyer maia-iyer deleted the add_spire_healthcheck branch April 20, 2023 01:10
mamy-CS pushed a commit to mamy-CS/tornjak-public that referenced this pull request Apr 20, 2023
* implemented health check

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* fixing lint check

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* reverting cmd file

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* nit

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* added debug server call

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* adding documentation

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* attempting to clean lint

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* attempt to remove lint

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* removing deadcode

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* removing more deadcode

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* removing more deadcode

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* removing more deadcode

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

---------

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
mamy-CS added a commit that referenced this pull request Apr 20, 2023
* parameterize ports in docker file

Signed-off-by: Mohammed Abdi <moabdi@Mohammeds-MBP-2.attlocal.net>

* implement health check (#161)

* implemented health check

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* fixing lint check

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* reverting cmd file

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* nit

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* added debug server call

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* adding documentation

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* attempting to clean lint

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* attempt to remove lint

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* removing deadcode

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* removing more deadcode

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* removing more deadcode

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* removing more deadcode

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

---------

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* adding documentation

Signed-off-by: Mohammed Abdi <moabdi@Mohammeds-MBP-2.attlocal.net>

---------

Signed-off-by: Mohammed Abdi <moabdi@Mohammeds-MBP-2.attlocal.net>
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
Co-authored-by: Mohammed Abdi <moabdi@Mohammeds-MBP-2.attlocal.net>
Co-authored-by: Maia Iyer <maia.raj.iyer@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Tornjak API (Backend) enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add SPIRE server healthcheck api
3 participants