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'.
  • Method Details

    • builder

      public static OciVaultHealthCheck.Builder builder()
      Create a new fluent API builder to configure a new health check.
      Returns:
      builder instance
    • create

      public static OciVaultHealthCheck create(Config config)
      Create an instance.
      Parameters:
      config - the config.
      Returns:
      an instance.
    • call

      public HealthCheckResponse 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:
      call in interface HealthCheck
      Returns:
      a response