Class ApplicationStatusResource

java.lang.Object
fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
Direct Known Subclasses:
AccessExternalResource, AccessExternalResourceV2, AccessInternalResourceImpl, AdminManagementExternalResource, AdminManagementResource, AdminOfferSwiftMigrationResource, AdminTapeResource, BatchReportResource, CollectExternalResource, CollectMetadataExternalResource, CollectMetadataInternalResource, DefaultOfferResource, IngestExternalResource, IngestInternalResource, LogbookResource, MetadataResource, ProcessManagementResource, ProjectExternalResource, SchedulerResource, StorageResource, TapeCatalogResource, TransactionExternalResource, WebApplicationResource, WebApplicationResource, WorkerResource, WorkspaceResource

@Path("/") public class ApplicationStatusResource extends Object
Implementation of VitamResources which handle common tasks for all sub-implementation
  • Field Details

  • Constructor Details

    • ApplicationStatusResource

      public ApplicationStatusResource()
      Constructor InternalVitamResources using implicit BasicVitamStatusServiceImpl
    • ApplicationStatusResource

      public ApplicationStatusResource(VitamStatusService statusService)
      Constructor InternalVitamResources
      Parameters:
      statusService -
  • Method Details

    • status

      @GET @Path("/status") @Produces("application/json") public javax.ws.rs.core.Response status()
      Return a response status
      Returns:
      Response containing the status of the service
    • getServerTenants

      @GET @Path("/tenants") @Produces("application/json") public javax.ws.rs.core.Response getServerTenants()
      Retrieve all the tenants defined on the plateform
      Returns:
      Response containing a list of tenants as string