Examples of WorkflowExecution


Examples of org.apache.airavata.registry.api.workflow.WorkflowExecution

        }
        if (!isWorkflowInstanceNodePresent(workflowInstanceId, nodeId)){
      throw new WorkflowInstanceNodeDoesNotExistsException(workflowInstanceId,nodeId);
    }
    NodeDataResource nodeData = jpa.getWorker().getWorkflowInstance(workflowInstanceId).getNodeData(nodeId);
    NodeExecutionData data = new NodeExecutionData(new WorkflowInstanceNode(new WorkflowExecution(nodeData.getWorkflowDataResource().getExperimentID(),nodeData.getWorkflowDataResource().getWorkflowInstanceID()),nodeData.getNodeID()));
    data.setInput(nodeData.getInputs());
    data.setOutput(nodeData.getOutputs());
        data.setType(WorkflowNodeType.getType(nodeData.getNodeType()).getNodeType());
    //TODO setup status
    return data;
View Full Code Here

Examples of org.apache.airavata.registry.api.workflow.WorkflowExecution

  public WorkflowExecution getWorkflowExecution(String experimentId)
      throws RegistryException {
      if (getProvenanceRegistry()!=null){
        return getProvenanceRegistry().getWorkflowExecution(experimentId);
      }
    WorkflowExecution workflowExecution = new WorkflowExecutionImpl();
    workflowExecution.setExperimentId(experimentId);
    workflowExecution.setExecutionStatus(getWorkflowExecutionStatus(experimentId));
    workflowExecution.setUser(getWorkflowExecutionUser(experimentId));
    workflowExecution.setMetadata(getWorkflowExecutionMetadata(experimentId));
    workflowExecution.setWorkflowInstanceName(getWorkflowExecutionName(experimentId));
    workflowExecution.setOutput(getWorkflowExecutionOutput(experimentId));
    workflowExecution.setServiceInput(searchWorkflowExecutionServiceInput(experimentId,".*",".*"));
    workflowExecution.setServiceOutput(searchWorkflowExecutionServiceOutput(experimentId,".*",".*"));
    return workflowExecution;
  }
View Full Code Here

Examples of org.apache.airavata.registry.api.workflow.WorkflowExecution

        this.node = node;
  }

    public Object read() throws Exception {
        try {
            WorkflowExecution workflowExecution = registry.getWorkflowExecution(experimentId);
            List<WorkflowServiceIOData> serviceOutput = workflowExecution.getServiceOutput();
            if (serviceOutput.size() == 0) {
                return null;
            }
            for (WorkflowServiceIOData data : serviceOutput) {
                if (this.node.getID().equals(data.getNodeId())) {
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.