Examples of GFacAPI


Examples of org.apache.airavata.gfac.GFacAPI

    return context;
  }

    @Test
    public void testLocalProvider() throws GFacException {
        GFacAPI gFacAPI = new GFacAPI();
        gFacAPI.submitJob(jobExecutionContext);
        MessageContext outMessageContext = jobExecutionContext.getOutMessageContext();
        Assert.assertEquals(MappingFactory.toString((ActualParameter)outMessageContext.getParameter("echo_output")), "hello");
    }
View Full Code Here

Examples of org.apache.airavata.gfac.GFacAPI

    return context;
  }

    @Test
    public void testGramProvider() throws GFacException {
        GFacAPI gFacAPI = new GFacAPI();
        gFacAPI.submitJob(jobExecutionContext);
        MessageContext outMessageContext = jobExecutionContext.getOutMessageContext();
        Assert.assertEquals(MappingFactory.toString((ActualParameter)outMessageContext.getParameter("echo_output")), "hello");
    }
View Full Code Here

Examples of org.apache.airavata.gfac.GFacAPI

    return context;
  }

    @Test
    public void testGramProvider() throws GFacException {
        GFacAPI gFacAPI = new GFacAPI();
        gFacAPI.submitJob(jobExecutionContext);
        MessageContext outMessageContext = jobExecutionContext.getOutMessageContext();
        Assert.assertEquals(MappingFactory.toString((ActualParameter)outMessageContext.getParameter("echo_output")), "hello");
    }
View Full Code Here

Examples of org.apache.airavata.gfac.GFacAPI

        GSISecurityContext sshSecurityContext = new GSISecurityContext(pbsCluster);
        return sshSecurityContext;
    }
    @Test
    public void testGramProvider() throws GFacException {
        GFacAPI gFacAPI = new GFacAPI();
        gFacAPI.submitJob(jobExecutionContext);
    }
View Full Code Here

Examples of org.apache.airavata.gfac.GFacAPI

            jobExecutionContext.setApplicationContext(applicationContext);

            jobExecutionContext.setOutMessageContext(getOutParameters(serviceDescription));
            jobExecutionContext.setInMessageContext(new MessageContext(actualParameters));

            GFacAPI gfacAPI1 = new GFacAPI();
            gfacAPI1.submitJob(jobExecutionContext);

            OMFactory fac = OMAbstractFactory.getOMFactory();
            OMNamespace omNs = fac.createOMNamespace("http://ws.apache.org/axis2/xsd", "ns1");
            OMElement outputElement = fac.createOMElement("invokeResponse", omNs);
            MessageContext outMessageContext = jobExecutionContext.getOutMessageContext();
View Full Code Here

Examples of org.apache.airavata.gfac.GFacAPI

        GSISecurityContext sshSecurityContext = new GSISecurityContext(pbsCluster);
        return sshSecurityContext;
    }
    @Test
    public void testGramProvider() throws GFacException {
        GFacAPI gFacAPI = new GFacAPI();
        gFacAPI.submitJob(jobExecutionContext);
    }
View Full Code Here

Examples of org.apache.airavata.gfac.GFacAPI

    JobTypeType jobType = JobTypeType.Factory.newInstance();
    jobType.set(JobTypeType.MPI);
    ApplicationContext appContext = getApplicationContext();
    appContext.setApplicationDeploymentDescription(getApplicationDesc(jobType));
    jobExecutionContext.setApplicationContext(appContext);
    GFacAPI gFacAPI = new GFacAPI();
    gFacAPI.submitJob(jobExecutionContext);
  }
View Full Code Here

Examples of org.apache.airavata.gfac.GFacAPI

    jobType.set(JobTypeType.SERIAL);
    ApplicationContext appContext = getApplicationContext();
    appContext.setApplicationDeploymentDescription(getApplicationDesc(jobType));
    jobExecutionContext.setApplicationContext(appContext);
   
    GFacAPI gFacAPI = new GFacAPI();
    gFacAPI.submitJob(jobExecutionContext);
  }
View Full Code Here

Examples of org.apache.airavata.gfac.GFacAPI

        return sshSecurityContext;
    }

    @Test
    public void testGramProvider() throws GFacException {
        GFacAPI gFacAPI = new GFacAPI();
        gFacAPI.submitJob(jobExecutionContext);
    }
View Full Code Here

Examples of org.apache.airavata.gfac.GFacAPI

    JobTypeType jobType = JobTypeType.Factory.newInstance();
    jobType.set(JobTypeType.MPI);
    ApplicationContext appContext = getApplicationContext();
    appContext.setApplicationDeploymentDescription(getApplicationDesc(jobType));
    jobExecutionContext.setApplicationContext(appContext);
    GFacAPI gFacAPI = new GFacAPI();
    gFacAPI.submitJob(jobExecutionContext);
  }
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.