Package org.apache.airavata.common.workflow.execution.context

Examples of org.apache.airavata.common.workflow.execution.context.WorkflowContextHeaderBuilder


  private void initialize() throws MalformedURLException {
    updateClientConfiguration(configuration);
   
        // At this point we do not know the workflowExperimentId
    builder = new WorkflowContextHeaderBuilder(configuration.get(BROKER),
            configuration.get(GFAC),configuration.get(JCR),null,null,
            configuration.get(MSGBOX));
  }
View Full Code Here


                "    <wor:workflow-scheduling-context />\n" +
                "    <wor:security-context />\n" +
                "</wor:context-header>");
        }
        Map<String, String> configuration = new HashMap<String, String>();
        WorkflowContextHeaderBuilder workflowContextHeaderBuilder = parseContextHeader(workflowContext, configuration);
        String user = workflowContextHeaderBuilder.getSubmissionUser();

        String s = null;
        try {
             s = setupAndLaunch(workflowAsString, topic, ServerSettings.getSystemUserGateway(),
                    user,inputs, configuration, runInThread, workflowContextHeaderBuilder);
View Full Code Here

            log.error(e.getMessage());
        } catch (AiravataAPIInvocationException e) {
            log.error(e.getMessage());
        }
      String submissionUser = workflowContext.getAttributeValue(new QName(workflowContext.getNamespace().getNamespaceURI(), "submissionUser"));
        WorkflowContextHeaderBuilder workflowContextHeaderBuilder = new WorkflowContextHeaderBuilder(parse.getContextHeader());
        workflowContextHeaderBuilder.setSubmissionUser(submissionUser);
    return workflowContextHeaderBuilder;
    }
View Full Code Here

TOP

Related Classes of org.apache.airavata.common.workflow.execution.context.WorkflowContextHeaderBuilder

Copyright © 2018 www.massapicom. 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.