Class CollectExternalIngestService
java.lang.Object
fr.gouv.vitam.collect.external.external.service.CollectExternalIngestService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioningestSip(CollectInternalClient collectInternalClient, IngestExternalClient ingestExternalClient, String transactionId) Helper method for ingesting a transaction SIP to vitam.
-
Constructor Details
-
CollectExternalIngestService
public CollectExternalIngestService()
-
-
Method Details
-
ingestSip
public String ingestSip(CollectInternalClient collectInternalClient, IngestExternalClient ingestExternalClient, String transactionId) throws CollectExternalException Helper method for ingesting a transaction SIP to vitam. Waits for transaction SIP to be generated, mark the transaction as SENDING, download the generated SIP and ingest it into Vitam, then mark the transaction as SENT.- Returns:
- Vitam ingest operation id
- Throws:
VitamClientException- exception occurs when parse operation failedCollectExternalException
-