You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be good to have an integration of the service health endpoints for relevant CSM/OpenCHAMI services into mesa.
This ticket is to create a service health check for the SMD/HSM service https://github.com/Cray-HPE/hms-smd . The goal is to create a function in mesa under mesa::hsm module (https://github.com/eth-cscs/mesa/blob/main/src/hsm.rs).
This code could be reused for OpenCHAMI if we decide to adapt mesa to it in the future.
How to implement (suggestion)
create a new Rust module mesa::hsm::service and create a function inside called ready the function signature could be something like pub fn async ready() -> Result<bool, Error>. This function should return the return message from the API like the example below:
Introduction
it would be good to have an integration of the service health endpoints for relevant CSM/OpenCHAMI services into mesa.
This ticket is to create a service health check for the SMD/HSM service https://github.com/Cray-HPE/hms-smd . The goal is to create a function in mesa under
mesa::hsm
module (https://github.com/eth-cscs/mesa/blob/main/src/hsm.rs).This code could be reused for OpenCHAMI if we decide to adapt mesa to it in the future.
How to implement (suggestion)
create a new Rust module
mesa::hsm::service
and create a function inside calledready
the function signature could be something likepub fn async ready() -> Result<bool, Error>
. This function should return the return message from the API like the example below:A reference/example to create a http request against a CSM endpoint can be found in https://github.com/eth-cscs/mesa/blob/main/src/cfs/configuration/shasta/http_client.rs#L12
The text was updated successfully, but these errors were encountered: