Class OciVaultHealthCheck
java.lang.Object
io.helidon.integrations.oci.vault.health.OciVaultHealthCheck
- All Implemented Interfaces:
HealthCheck
@Liveness
@ApplicationScoped
@BuiltInHealthCheck
public final class OciVaultHealthCheck
extends Object
implements HealthCheck
Liveness check for an OCI's Vault. Reads OCI properties from '~/.oci/config'.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic OciVaultHealthCheck.Builderbuilder()Create a new fluent API builder to configure a new health check.call()Checks that the OCI vault is accessible, if defined.static OciVaultHealthCheckCreate an instance.
-
Method Details
-
builder
Create a new fluent API builder to configure a new health check.- Returns:
- builder instance
-
create
Create an instance.- Parameters:
config- the config.- Returns:
- an instance.
-
call
Checks that the OCI vault is accessible, if defined. Will report error only if not defined or not accessible. Can block since all health checks are called asynchronously.- Specified by:
callin interfaceHealthCheck- Returns:
- a response
-