Package org.data2semantics.platform.execution

Examples of org.data2semantics.platform.execution.LocalExecutionProfile


  public void testArithWorkflow() throws IOException{
    Workflow workflow = WorkflowParser.parseYAML("src/test/resources/commandLine/CLIAdder.yaml");
   
    ResourceSpace resourceSpace = new ResourceSpace();
   
    ExecutionProfile localExecutionProfile = new LocalExecutionProfile();
   
    Orchestrator platformOrchestrator = new Orchestrator(workflow, localExecutionProfile, resourceSpace);
   
    platformOrchestrator.orchestrate();
   
View Full Code Here


  public void testTemplateWorkflow() throws IOException{
    Workflow workflow = WorkflowParser.parseYAML("src/test/resources/commandLine/template.yaml");
   
    ResourceSpace resourceSpace = new ResourceSpace();
   
    ExecutionProfile localExecutionProfile = new LocalExecutionProfile();
   
    Orchestrator platformOrchestrator = new Orchestrator(workflow, localExecutionProfile, resourceSpace);
   
    platformOrchestrator.orchestrate();
   
View Full Code Here

  public void testExtractExcel() throws IOException{
    Workflow workflow = WorkflowParser.parseYAML("src/test/resources/commandLine/excel.yaml");
   
    ResourceSpace resourceSpace = new ResourceSpace();
   
    ExecutionProfile localExecutionProfile = new LocalExecutionProfile();
   
    Orchestrator platformOrchestrator = new Orchestrator(workflow, localExecutionProfile, resourceSpace);
   
    platformOrchestrator.orchestrate();
   
View Full Code Here

   
    Workflow workflowContainer = parser.parseYAML("src/main/resources/DMoLD-experiment.yaml");
   
    ResourceSpace resourceSpace = new ResourceSpace();
   
    LocalExecutionProfile localExecutionProfile = new LocalExecutionProfile();
   
    Orchestrator platformOrchestrator = new Orchestrator(workflowContainer, localExecutionProfile, resourceSpace);
   
    platformOrchestrator.orchestrate();
   
View Full Code Here

     
    ExecutionProfile executionProfile;
   
    switch(execProfile){
      case LOCAL:
        executionProfile = new LocalExecutionProfile();
        break;
      case THREADED:
        executionProfile = new ThreadedLocalExecutionProfile();
        break;
      default:
        executionProfile = new LocalExecutionProfile();
    }
   
    ResourceSpace rp = new ResourceSpace();
   
   
View Full Code Here

TOP

Related Classes of org.data2semantics.platform.execution.LocalExecutionProfile

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.