Class AdminOfferDiffResource
- java.lang.Object
-
- fr.gouv.vitam.storage.engine.server.rest.AdminOfferDiffResource
-
@Path("/storage/v1") public class AdminOfferDiffResource extends java.lang.Object
Offer diff resource.
-
-
Constructor Summary
Constructors Constructor Description AdminOfferDiffResource(OfferDiffService offerDiffService)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getLastOfferDiffStatus()
Returns the offer diff status of the last diff process (diff process may be done, or still running)javax.ws.rs.core.Response
isOfferDiffRunning()
Returns offer diff process running status in a "Running" header (true/false).javax.ws.rs.core.Response
startOfferDiff(OfferDiffRequest offerDiffRequest)
-
-
-
Constructor Detail
-
AdminOfferDiffResource
public AdminOfferDiffResource(OfferDiffService offerDiffService)
Constructor.
-
-
Method Detail
-
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)
-
-