public class OrchestratorClient extends Object
Constructor and Description |
---|
OrchestratorClient(BuildParam buildParam) |
Modifier and Type | Method and Description |
---|---|
String |
executeWorkflow()
Executes the workflow with the given input parameters and returns the executed url if successfully accepted by
the server.
|
List<Parameter> |
fetchWorkflowInputParameters()
Fetch input parameters if any for the given workflow name
|
ExecutionOutput |
fetchWorkflowOutputParameters(String requestUrl)
If workflow is completed, it fetches the output parameters if any
|
List<Workflow> |
fetchWorkflows()
Gets all the workflows from the orchestrator server
|
ExecutionState |
fetchWorkflowState(String requestUrl)
Return true if workflow is completed, false otherwise
|
public OrchestratorClient(BuildParam buildParam)
public List<Workflow> fetchWorkflows() throws URISyntaxException, KeyManagementException, NoSuchAlgorithmException, KeyStoreException, IOException
public List<Parameter> fetchWorkflowInputParameters() throws URISyntaxException, KeyManagementException, NoSuchAlgorithmException, KeyStoreException, IOException
public String executeWorkflow() throws URISyntaxException, KeyManagementException, NoSuchAlgorithmException, KeyStoreException, IOException
public ExecutionState fetchWorkflowState(String requestUrl) throws URISyntaxException, KeyManagementException, NoSuchAlgorithmException, KeyStoreException, IOException
public ExecutionOutput fetchWorkflowOutputParameters(String requestUrl) throws URISyntaxException, KeyManagementException, NoSuchAlgorithmException, KeyStoreException, IOException
Copyright © 2004-2016. All Rights Reserved.