Class MetadataReconstructionResource


  • @Path("/v1")
    public class MetadataReconstructionResource
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String OBJECTGROUP  
      static java.lang.String UNIT  
    • Method Detail

      • reconstructCollection

        @Path("/reconstruction")
        @POST
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response reconstructCollection​(java.util.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