6/7
This backend api could access each service backend using the internal cluster services.
The method that returns the status of the API can be a /healthcheck or /alive or whatever already exists.
Returning a JSON with the boolean success field as below is enough for the Status API. The Status API will call
the method that was parameterized during the container deployment.
On this scenario, each backend api should be prepared to have the following return codes:
• HTTP 200 – payload: { success = true }
• HTTP 500 – payload: { success = false } or no reply
The list of exposed / monitored apis could be an external variable to be defined during the deployment phase:
• API endpoint
• API Description
• API Healthcheck method
© Axway, 2022
© Axway, 2022