Class ReconstructionService
java.lang.Object
fr.gouv.vitam.logbook.common.server.reconstruction.ReconstructionService
Reconstruction of Vitam Logbook Operation Collections.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionReconstructionService
(VitamRepositoryProvider vitamRepositoryProvider, OffsetRepository offsetRepository, ElasticsearchLogbookIndexManager indexManager, LogbookReconstructionMetricsCache reconstructionMetricsCache) ConstructorReconstructionService
(VitamRepositoryProvider vitamRepositoryProvider, RestoreBackupService recoverBackupService, OffsetRepository offsetRepository, ElasticsearchLogbookIndexManager indexManager, LogbookReconstructionMetricsCache reconstructionMetricsCache) Constructor for tests -
Method Summary
Modifier and TypeMethodDescriptionreconstruct
(ReconstructionRequestItem reconstructionItem) Reconstruct logbook operation on a tenant
-
Field Details
-
LOGBOOK
- See Also:
-
-
Constructor Details
-
ReconstructionService
public ReconstructionService(VitamRepositoryProvider vitamRepositoryProvider, OffsetRepository offsetRepository, ElasticsearchLogbookIndexManager indexManager, LogbookReconstructionMetricsCache reconstructionMetricsCache) Constructor- Parameters:
vitamRepositoryProvider
- vitamRepositoryProvideroffsetRepository
-indexManager
-
-
ReconstructionService
public ReconstructionService(VitamRepositoryProvider vitamRepositoryProvider, RestoreBackupService recoverBackupService, OffsetRepository offsetRepository, ElasticsearchLogbookIndexManager indexManager, LogbookReconstructionMetricsCache reconstructionMetricsCache) Constructor for tests- Parameters:
vitamRepositoryProvider
- vitamRepositoryProviderrecoverBackupService
- recoverBackupServiceoffsetRepository
-indexManager
-
-
-
Method Details
-
reconstruct
Reconstruct logbook operation on a tenant- Parameters:
reconstructionItem
- request for reconstruction- Returns:
- response of reconstruction
- Throws:
IllegalArgumentException
- invalid input
-