Examples of AiravataAPIInvocationException


Examples of org.apache.airavata.client.api.AiravataAPIInvocationException

    @Override
    public AiravataUser getUser() throws AiravataAPIInvocationException {
      try{
        return getClient().getRegistryClient().getUser();
      } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
    }
View Full Code Here

Examples of org.apache.airavata.client.api.AiravataAPIInvocationException

  public void setWorkflowInstanceNodeInput(WorkflowInstanceNode node, String data)
      throws AiravataAPIInvocationException {
    try {
      getClient().getRegistryClient().updateWorkflowNodeInput(node, data);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

Examples of org.apache.airavata.client.api.AiravataAPIInvocationException

  public void setWorkflowInstanceNodeOutput(WorkflowInstanceNode node, String data)
      throws AiravataAPIInvocationException {
    try {
      getClient().getRegistryClient().updateWorkflowNodeOutput(node, data);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

Examples of org.apache.airavata.client.api.AiravataAPIInvocationException

  @Override
  public String getWorkflowInstanceNodeInput(WorkflowInstanceNode node) throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getWorkflowInstanceNodeData(node.getWorkflowInstance().getWorkflowExecutionId(), node.getNodeId()).getInput();
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

Examples of org.apache.airavata.client.api.AiravataAPIInvocationException

  public Map<WorkflowInstanceNode,String> getWorkflowInstanceNodeInput(String workflowName, String nodeId) throws AiravataAPIInvocationException{
    try {
      List<WorkflowNodeIOData> list = getClient().getRegistryClient().searchWorkflowInstanceNodeInput(".*", workflowName, nodeId);
      return groupNodePortData(list);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

Examples of org.apache.airavata.client.api.AiravataAPIInvocationException

  @Override
  public String getWorkflowInstanceNodeOutput(WorkflowInstanceNode node) throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getWorkflowInstanceNodeData(node.getWorkflowInstance().getWorkflowExecutionId(), node.getNodeId()).getOutput();
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

Examples of org.apache.airavata.client.api.AiravataAPIInvocationException

  public Map<WorkflowInstanceNode,String> getWorkflowInstanceNodeOutput(String workflowName, String nodeId) throws AiravataAPIInvocationException{
    try {
      List<WorkflowNodeIOData> list = getClient().getRegistryClient().searchWorkflowInstanceNodeOutput(".*", workflowName, nodeId);
      return groupNodePortData(list);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

Examples of org.apache.airavata.client.api.AiravataAPIInvocationException

      // airavata
      // client is
      // logged in to the Airavata system
      setCurrentUser(getClientConfiguration().getJcrUsername());
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(
          "Error while initializing the Airavata API", e);
    }
  }
View Full Code Here

Examples of org.apache.airavata.client.api.AiravataAPIInvocationException

  public void setWorkflowInstanceStatus(WorkflowExecutionStatus status)
      throws AiravataAPIInvocationException {
    try {
      getClient().getRegistryClient().updateWorkflowInstanceStatus(status);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
   
  }
View Full Code Here

Examples of org.apache.airavata.client.api.AiravataAPIInvocationException

      String experimentId, String workflowInstanceId)
      throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getWorkflowInstanceStatus(experimentId);
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.