Interface GatewayHealthActuator
- All Superinterfaces:
HealthActuator
Java interface for the broker's health endpoints. To instantiate this interface, you can use
Feign; see of(String) as an example.
You can use one of of(String) or of(ZeebeNode) to create a new client to use
for yourself.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.qa.util.actuator.HealthActuator
HealthActuator.NoopHealthActuator -
Method Summary
Modifier and TypeMethodDescriptionvoidlive()Succeeds if the node is live.static GatewayHealthActuatorof(TestGateway<?> node) Returns aGatewayHealthActuatorinstance using the given node as upstream.static GatewayHealthActuatorof(io.zeebe.containers.ZeebeNode<?> node) Returns aGatewayHealthActuatorinstance using the given node as upstream.static GatewayHealthActuatorReturns aGatewayHealthActuatorinstance using the given endpoint as upstream.voidready()Succeeds if the node is ready.voidstartup()Succeeds if the node is started.
-
Method Details
-
of
Returns aGatewayHealthActuatorinstance using the given node as upstream.- Parameters:
node- the node to connect to- Returns:
- a new instance of
GatewayHealthActuator
-
of
Returns aGatewayHealthActuatorinstance using the given node as upstream.- Parameters:
node- the node to connect to- Returns:
- a new instance of
GatewayHealthActuator
-
of
Returns aGatewayHealthActuatorinstance using the given endpoint as upstream. The endpoint is expected to be a complete absolute URL, e.g. "http://localhost:9600/".- Parameters:
endpoint- the actuator URL to connect to- Returns:
- a new instance of
GatewayHealthActuator
-
ready
void ready()Description copied from interface:HealthActuatorSucceeds if the node is ready.- Specified by:
readyin interfaceHealthActuator
-
startup
void startup()Description copied from interface:HealthActuatorSucceeds if the node is started.- Specified by:
startupin interfaceHealthActuator
-
live
void live()Description copied from interface:HealthActuatorSucceeds if the node is live.- Specified by:
livein interfaceHealthActuator
-