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
Implementation of VitamResources which handle common tasks for all sub-implementation
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructor InternalVitamResources using implicit BasicVitamStatusServiceImplApplicationStatusResource
(VitamStatusService statusService) Constructor InternalVitamResources -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
Retrieve all the tenants defined on the plateformjavax.ws.rs.core.Response
status()
Return a response status
-
Field Details
-
STATUS_URL
Status for Application resource path- See Also:
-
TENANTS_URL
- See Also:
-
-
Constructor Details
-
ApplicationStatusResource
public ApplicationStatusResource()Constructor InternalVitamResources using implicit BasicVitamStatusServiceImpl -
ApplicationStatusResource
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
-