Class AdminOfferDiagResource
java.lang.Object
fr.gouv.vitam.storage.offers.rest.AdminOfferDiagResource
@Path("/offer/v1")
@ApplicationPath("webresources")
public class AdminOfferDiagResource
extends Object
Offer diagnostic resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseReturns the offer diagnostic status of the last diagnostic process (diagnostic process may be done, or still running)jakarta.ws.rs.core.ResponseReturns offer diagnostic process running status in a "Running" header (true/false).jakarta.ws.rs.core.ResponsestartOfferDiag(OfferDiagRequest offerDiagRequest)
-
Constructor Details
-
AdminOfferDiagResource
Constructor.
-
-
Method Details
-
startOfferDiag
@Path("/diag") @POST @Consumes("application/json") @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public jakarta.ws.rs.core.Response startOfferDiag(OfferDiagRequest offerDiagRequest) -
isOfferDiagRunning
@Path("/diag") @HEAD @VitamAuthentication(authentLevel=BASIC_AUTHENT) public jakarta.ws.rs.core.Response isOfferDiagRunning()Returns offer diagnostic process running status in a "Running" header (true/false). -
getLastOfferDiagStatus
@Path("/diag") @GET @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public jakarta.ws.rs.core.Response getLastOfferDiagStatus()Returns the offer diagnostic status of the last diagnostic process (diagnostic process may be done, or still running)
-