public interface ProcessingManagementClient extends OperationManagementClient
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
executeCheckTraceabilityWorkFlow(String checkOperationId,
com.fasterxml.jackson.databind.JsonNode query,
String workflow,
String contextId,
String actionId) |
RequestResponse<WorkFlow> |
getWorkflowDefinitions()
Retrieve all the workflow definitions.
|
void |
initVitamProcess(String contextId,
ProcessingEntry entry)
initVitamProcess woth processing entry
|
boolean |
isOperationCompleted(String operationId)
Check if process workflow is completed of not TODO Move this method to OperationManagementClient
|
void |
registerWorker(String familyId,
String workerId,
WorkerBean workerDescription)
Register a new worker knowing its family and with a WorkerBean.
|
void |
unregisterWorker(String familyId,
String workerId)
Unregister a worker knowing its family and its workerId.
|
cancelOperationProcessExecution, executeOperationProcess, getOperationProcessExecutionDetails, getOperationProcessStatus, initVitamProcess, initWorkFlow, listOperationsDetails, updateOperationActionProcess
checkStatus, checkStatus, close, consumeAnyEntityAndClose, getResourcePath, getServiceUrl
boolean isOperationCompleted(String operationId)
operationId
- void registerWorker(String familyId, String workerId, WorkerBean workerDescription) throws ProcessingBadRequestException, WorkerAlreadyExistsException
familyId
- the id of the family to which the worker has to be registeredworkerId
- the id of the worker to be registeredworkerDescription
- the description of the worker as a workerBeanProcessingBadRequestException
- if a bad request has been sentWorkerAlreadyExistsException
- if the worker family does not existvoid unregisterWorker(String familyId, String workerId) throws ProcessingBadRequestException
familyId
- the id of the family to which the worker has to be registeredworkerId
- the id of the worker to be registeredProcessingBadRequestException
- if the worker or the family does not existjavax.ws.rs.core.Response executeCheckTraceabilityWorkFlow(String checkOperationId, com.fasterxml.jackson.databind.JsonNode query, String workflow, String contextId, String actionId) throws InternalServerException, BadRequestException, WorkflowNotFoundException
query
- workflow
- contextId
- actionId
- InternalServerException
BadRequestException
WorkflowNotFoundException
RequestResponse<WorkFlow> getWorkflowDefinitions() throws VitamClientException
getWorkflowDefinitions
in interface OperationManagementClient
VitamClientException
void initVitamProcess(String contextId, ProcessingEntry entry) throws InternalServerException, BadRequestException
contextId
- entry
- InternalServerException
BadRequestException
Copyright © 2018 Vitam. All rights reserved.