Package fr.gouv.vitam.logbook.rest
Class LogbookReconstructionResource
- java.lang.Object
-
- fr.gouv.vitam.logbook.rest.LogbookReconstructionResource
-
@Path("/logbook/v1") public class LogbookReconstructionResource extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LogbookReconstructionResource(VitamRepositoryProvider vitamRepositoryProvider, OffsetRepository offsetRepository, ElasticsearchLogbookIndexManager indexManager)
ConstructorLogbookReconstructionResource(ReconstructionService reconstructionService)
Constructor for tests
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
reconstructCollection(java.util.List<ReconstructionRequestItem> reconstructionItems)
API to access and launch the Vitam reconstruction service for logbook operations.
-
-
-
Constructor Detail
-
LogbookReconstructionResource
public LogbookReconstructionResource(VitamRepositoryProvider vitamRepositoryProvider, OffsetRepository offsetRepository, ElasticsearchLogbookIndexManager indexManager)
Constructor- Parameters:
vitamRepositoryProvider
- vitamRepositoryProvideroffsetRepository
-indexManager
-
-
LogbookReconstructionResource
public LogbookReconstructionResource(ReconstructionService reconstructionService)
Constructor for tests- Parameters:
reconstructionService
- reconstructionService
-
-
Method Detail
-
reconstructCollection
@Path("/reconstruction/operations") @POST @Consumes("application/json") @Produces("application/json") @VitamAuthentication(authentLevel=BASIC_AUTHENT) public javax.ws.rs.core.Response reconstructCollection(java.util.List<ReconstructionRequestItem> reconstructionItems)
API to access and launch the Vitam reconstruction service for logbook operations.- Parameters:
reconstructionItems
- list of reconstruction request items- Returns:
- the response
-
-