public interface IngestInternalClient extends MockOrRestClient
| Modifier and Type | Method and Description |
|---|---|
ItemStatus |
cancelOperationProcessExecution(String id)
cancelOperationProcessExecution : cancel processing operation
|
javax.ws.rs.core.Response |
downloadObjectAsync(String objectId,
IngestCollection type)
Download object stored by ingest operation
|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
executeOperationProcess(String operationId,
String workflow,
String contextId,
String actionId)
executeOperationProcess : execute an operation processing
|
ItemStatus |
getOperationProcessExecutionDetails(String id)
getOperationProcessExecutionDetails : get operation processing execution details
|
ItemStatus |
getOperationProcessStatus(String id)
getOperationProcessStatus:
get operation process status**
|
RequestResponse<WorkFlow> |
getWorkflowDefinitions()
Retrieve all the workflow definitions.
|
Optional<WorkFlow> |
getWorkflowDetails(String WorkflowIdentifier) |
void |
initWorkflow(WorkFlow workFlow)
initWorkflow : init workFlow Process
|
RequestResponse<ProcessDetail> |
listOperationsDetails(ProcessQuery query)
Retrieve all the workflow operations
|
void |
storeATR(GUID guid,
InputStream input)
Store ATR in storage
|
RequestResponse<ItemStatus> |
updateOperationActionProcess(String actionId,
String operationId)
updateOperationActionProcess : update operation processing status
|
void |
upload(InputStream inputStream,
javax.ws.rs.core.MediaType archiveType,
WorkFlow workflow,
String action)
Upload compressed SIP as stream
|
void |
uploadFinalLogbook(Iterable<LogbookOperationParameters> logbookParametersList)
Finalize the ingest operation by sending back the final Logbook Operation entries from Ingest external
|
void |
uploadInitialLogbook(Iterable<LogbookOperationParameters> logbookParametersList)
Create only Logbook
|
checkStatus, checkStatus, close, consumeAnyEntityAndClose, getResourcePath, getServiceUrlvoid upload(InputStream inputStream, javax.ws.rs.core.MediaType archiveType, WorkFlow workflow, String action) throws VitamException
archiveType - is a format (mime type) of SIP (should be zip ,tar, tar.gz or tar.bz2)inputStream - SIPworkflow - workflow informationaction - IdentifierVitamException - if stream is nullvoid uploadInitialLogbook(Iterable<LogbookOperationParameters> logbookParametersList) throws VitamException
logbookParametersList - VitamExceptionvoid uploadFinalLogbook(Iterable<LogbookOperationParameters> logbookParametersList) throws VitamClientException
logbookParametersList - VitamClientExceptionjavax.ws.rs.core.Response downloadObjectAsync(String objectId, IngestCollection type) throws InvalidParseOperationException, IngestInternalClientServerException, IngestInternalClientNotFoundException
objectId - type - InvalidParseOperationExceptionIngestInternalClientServerExceptionIngestInternalClientNotFoundExceptionvoid storeATR(GUID guid, InputStream input) throws VitamClientException
guid - input - VitamClientExceptionItemStatus getOperationProcessStatus(String id) throws VitamClientException, InternalServerException, BadRequestException
id - : operation identifier*VitamClientExceptionInternalServerExceptionBadRequestExceptionItemStatus getOperationProcessExecutionDetails(String id) throws VitamClientException, InternalServerException, BadRequestException
id - : operation identifierVitamClientExceptionInternalServerExceptionBadRequestExceptionItemStatus cancelOperationProcessExecution(String id) throws InternalServerException, BadRequestException, VitamClientException
id - : operation identifierVitamClientExceptionInternalServerExceptionBadRequestExceptionRequestResponse<ItemStatus> updateOperationActionProcess(String actionId, String operationId) throws InternalServerException, BadRequestException, VitamClientException
actionId - : identify the action to be executed by the workflow(next , pause,resume)operationId - : operation identifierInternalServerExceptionBadRequestExceptionVitamClientExceptionRequestResponse<com.fasterxml.jackson.databind.JsonNode> executeOperationProcess(String operationId, String workflow, String contextId, String actionId) throws InternalServerException, BadRequestException, VitamClientException, WorkflowNotFoundException
operationId - id of the operationworkflow - id of the workflowcontextId - define the execution context of workflowactionId - identify the action to be executed by the workflow(next , pause,resume)InternalServerExceptionBadRequestExceptionVitamClientExceptionWorkflowNotFoundExceptionvoid initWorkflow(WorkFlow workFlow) throws VitamException
workFlow - informationVitamClientExceptionVitamExceptionRequestResponse<ProcessDetail> listOperationsDetails(ProcessQuery query) throws VitamClientException
query - Query modelVitamClientExceptionRequestResponse<WorkFlow> getWorkflowDefinitions() throws VitamClientException
VitamClientExceptionOptional<WorkFlow> getWorkflowDetails(String WorkflowIdentifier) throws VitamClientException
WorkflowIdentifier - VitamClientExceptionCopyright © 2021 Vitam. All rights reserved.