java.lang.Object
io.helidon.integrations.oci.objectstorage.health.OciObjectStorageHealthCheck
All Implemented Interfaces:
HealthCheck

@Liveness @ApplicationScoped @BuiltInHealthCheck public final class OciObjectStorageHealthCheck extends Object implements HealthCheck
Liveness check for an OCI's ObjectStorage bucket. Reads configuration to obtain bucket name as well as OCI properties from '~/.oci/config'.
  • Method Details

    • builder

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

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

      public HealthCheckResponse call()
      Checks that the OCI Object Storage buckets are accessible. Will report a status code or an error message for each bucket as data. Can block since all health checks are called asynchronously.
      Specified by:
      call in interface HealthCheck
      Returns:
      a response