Class CreateTempFileCheck

java.lang.Object
org.gcube.service.helloworld.health.CreateTempFileCheck
All Implemented Interfaces:
org.gcube.common.health.api.HealthCheck

public class CreateTempFileCheck extends Object implements org.gcube.common.health.api.HealthCheck
this class is used to add checks about components used by the service (DB, external FS, other services etc. ) and automatically exposed using the REST method webapp/gcube/resources/health
Author:
lucio
  • Constructor Details

    • CreateTempFileCheck

      public CreateTempFileCheck()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.gcube.common.health.api.HealthCheck
    • check

      public org.gcube.common.health.api.response.HealthCheckResponse check()
      Specified by:
      check in interface org.gcube.common.health.api.HealthCheck