Class AdminOfferDiffResource
java.lang.Object
fr.gouv.vitam.storage.engine.server.rest.AdminOfferDiffResource
Offer diff resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
Returns the offer diff status of the last diff process (diff process may be done, or still running)javax.ws.rs.core.Response
Returns offer diff process running status in a "Running" header (true/false).javax.ws.rs.core.Response
startOfferDiff
(OfferDiffRequest offerDiffRequest)
-
Constructor Details
-
AdminOfferDiffResource
Constructor.
-
-
Method Details
-
startOfferDiff
@Path("/diff") @POST @Consumes("application/json") @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response startOfferDiff(OfferDiffRequest offerDiffRequest) -
isOfferDiffRunning
@Path("/diff") @HEAD @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response isOfferDiffRunning()Returns offer diff process running status in a "Running" header (true/false). -
getLastOfferDiffStatus
@Path("/diff") @GET @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response getLastOfferDiffStatus()Returns the offer diff status of the last diff process (diff process may be done, or still running)
-