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 java.lang.Object
Implementation of VitamResources which handle common tasks for all sub-implementation
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
STATUS_URL
Status for Application resource pathstatic java.lang.String
TENANTS_URL
-
Constructor Summary
Constructors Constructor Description ApplicationStatusResource()
Constructor InternalVitamResources using implicit BasicVitamStatusServiceImplApplicationStatusResource(VitamStatusService statusService)
Constructor InternalVitamResources
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getServerTenants()
Retrieve all the tenants defined on the plateformjavax.ws.rs.core.Response
status()
Return a response status
-
-
-
Field Detail
-
STATUS_URL
public static final java.lang.String STATUS_URL
Status for Application resource path- See Also:
- Constant Field Values
-
TENANTS_URL
public static final java.lang.String TENANTS_URL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ApplicationStatusResource
public ApplicationStatusResource()
Constructor InternalVitamResources using implicit BasicVitamStatusServiceImpl
-
ApplicationStatusResource
public ApplicationStatusResource(VitamStatusService statusService)
Constructor InternalVitamResources- Parameters:
statusService
-
-
-
Method Detail
-
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
-
-