Health Check

Health Check gives the ability to monitor the health of the savings pot application. This is useful not only to test the internal health of an application but also it’s external dependencies such as a third party API which Savings Pot application relies on to function correctly.

Configuration

Follow the below step to configure health check for Savings Pot microservice in ms-savingspot.ymland set the environment variable className_getHealthCheck in API container to enable API health check.

Enabling Health Check for API Container

#--- API Health Check ---
className_getHealthCheck:com.temenos.microservice.framework.core.health.GetHealthCheckImpl

API Health Check

Savings Pot microservices expose API health check endpoint to monitor the health of microservice APIs. 

Patternhttp://<host>:<port>/<context-root>/api/health/api/

Samplehttp://localhost:9500/ms-savingspot-api/api/v1.0.0/health/api/

Docker:

 

Copyright © 2020- Temenos Headquarters SA

Published on :
Tuesday, October 5, 2021 11:08:50 AM IST

Feedback
x