public interface IngestInternalClient extends MockOrRestClient
Modifier and Type | Method and Description |
---|---|
RequestResponse<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<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, getServiceUrl
void 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
- VitamException
void uploadFinalLogbook(Iterable<LogbookOperationParameters> logbookParametersList) throws VitamClientException
logbookParametersList
- VitamClientException
javax.ws.rs.core.Response downloadObjectAsync(String objectId, IngestCollection type) throws InvalidParseOperationException, IngestInternalClientServerException, IngestInternalClientNotFoundException
objectId
- type
- InvalidParseOperationException
IngestInternalClientServerException
IngestInternalClientNotFoundException
void storeATR(GUID guid, InputStream input) throws VitamClientException
guid
- input
- VitamClientException
ItemStatus getOperationProcessStatus(String id) throws VitamClientException, InternalServerException, BadRequestException
id
- : operation identifier*VitamClientException
InternalServerException
BadRequestException
RequestResponse<ItemStatus> getOperationProcessExecutionDetails(String id) throws VitamClientException
id
- : operation identifierVitamClientException
RequestResponse<ItemStatus> cancelOperationProcessExecution(String id) throws VitamClientException
id
- : operation identifierVitamClientException
RequestResponse<ItemStatus> updateOperationActionProcess(String actionId, String operationId) throws VitamClientException
actionId
- : identify the action to be executed by the workflow(next , pause,resume)operationId
- : operation identifierVitamClientException
void initWorkflow(WorkFlow workFlow) throws VitamException
workFlow
- informationVitamClientException
VitamException
RequestResponse<ProcessDetail> listOperationsDetails(ProcessQuery query) throws VitamClientException
query
- Query modelVitamClientException
RequestResponse<WorkFlow> getWorkflowDefinitions() throws VitamClientException
VitamClientException
Optional<WorkFlow> getWorkflowDetails(String WorkflowIdentifier) throws VitamClientException
WorkflowIdentifier
- VitamClientException
Copyright © 2019 Vitam. All rights reserved.