abstract class ClientHealthChecker
enum class ClientType |
ClientHealthChecker() |
fun checkAllServices(renderer: Renderer): Unit
Run the health check against all clients that can be configured for the current service. |
|
abstract fun createEnmServiceClients(): Map<String, <ERROR CLASS>?>
To avoid keeping long lived connections around we can instead create the clients as and when they are needed and ensure that they are closed when the health check has been performed. |
|
abstract fun createRpcServiceClients(): Map<String, <ERROR CLASS>?>
To avoid keeping long lived connections around we can instead create the clients as and when they are needed and ensure that they are closed when the health check has been performed. |
const val GREEN_TICK: String |
|
const val RED_CROSS: String |
class TestEnmClientHealthChecker : ClientHealthChecker
Testing class to enable the use of mocked netty clients |
|
class TestRpcClientHealthChecker : ClientHealthChecker
Testing class to enable the use of mocked RPC clients |