Package fr.gouv.vitam.metadata.rest
Class MetadataReconstructionResource
java.lang.Object
fr.gouv.vitam.metadata.rest.MetadataReconstructionResource
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
API to purge documents reconstructed but having only graph data This will remove all documents older than a configured delay (deleteIncompleteReconstructedUnitDelay) in vitam confjavax.ws.rs.core.Response
reconstructCollection
(List<ReconstructionRequestItem> reconstructionItems) API to access and launch the Vitam reconstruction service for metadata.javax.ws.rs.core.Response
API to access and launch the Vitam store graph service for metadata.javax.ws.rs.core.Response
Check if store graph is in progress.
-
Field Details
-
OBJECTGROUP
- See Also:
-
UNIT
- See Also:
-
-
Method Details
-
reconstructCollection
@Path("/reconstruction") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response reconstructCollection(List<ReconstructionRequestItem> reconstructionItems) API to access and launch the Vitam reconstruction service for metadata.- Parameters:
reconstructionItems
- list of reconstruction request items- Returns:
- the response
-
storeGraph
@Path("/storegraph") @GET @Produces("application/json") public javax.ws.rs.core.Response storeGraph()API to access and launch the Vitam store graph service for metadata.- Returns:
- the response
-
storeGraphInProgress
@Path("/storegraph/progress") @GET @Produces("application/json") public javax.ws.rs.core.Response storeGraphInProgress()Check if store graph is in progress.- Returns:
- the response
-
purgeReconstructedDocumentsWithGraphOnlyData
@Path("/purgeGraphOnlyDocuments/{collection:UNIT|OBJECTGROUP|UNIT_OBJECTGROUP}") @DELETE @Produces("application/json") public javax.ws.rs.core.Response purgeReconstructedDocumentsWithGraphOnlyData(@PathParam("collection") GraphComputeResponse.GraphComputeAction action) API to purge documents reconstructed but having only graph data This will remove all documents older than a configured delay (deleteIncompleteReconstructedUnitDelay) in vitam conf- Returns:
- the response
-