Package org.apache.airavata.client.tools

Examples of org.apache.airavata.client.tools.DocumentCreatorNew


    @Test
    public void testSimpleLocalhostEchoService() throws Exception {
        log.info("Running job in localhost");
        log.info("========================");
        log.info("Adding applications...");
        DocumentCreatorNew documentCreatorNew = new DocumentCreatorNew(getClient());
        String hostAndappId = documentCreatorNew.createLocalHostDocs();
        String appId = hostAndappId.split(",")[1];
        String hostId = hostAndappId.split(",")[0];
       
        List<DataObjectType> exInputs = new ArrayList<DataObjectType>();
        DataObjectType input = new DataObjectType();
View Full Code Here


        }
    }

    public static void addDescriptors() throws AiravataAPIInvocationException, ApplicationSettingsException {
        try {
            DocumentCreatorNew documentCreator = new DocumentCreatorNew(client);
//            DocumentCreator documentCreator = new DocumentCreator(getAiravataAPI());
//            localHostAppId = documentCreator.createLocalHostDocs();
//            sshHostAppId = documentCreator.createSSHHostDocs();
//            documentCreator.createGramDocs();
//            pbsEchoAppId =documentCreator.createPBSDocsForOGCE_Echo();
//            pbsWRFAppId =documentCreator.createPBSDocsForOGCE_WRF();
//            slurmAppId = documentCreator.createSlurmDocs();
//            sgeAppId = documentCreator.createSGEDocs();
//            documentCreator.createEchoHostDocs();
//            br2EchoAppId = documentCreator.createBigRedDocs();
//            slurmWRFAppId = documentCreator.createSlumWRFDocs();
//            br2AmberAppId = documentCreator.createBigRedAmberDocs();
//            slurmAmberAppId = documentCreator.createStampedeAmberDocs();
            trestlesAmberAppId = documentCreator.createTrestlesAmberDocs();
            System.out.printf(localHostAppId);
            System.out.println(sshHostAppId);
            System.out.println(pbsEchoAppId);
            System.out.println(pbsWRFAppId);
            System.out.println(slurmAppId);
View Full Code Here

        return AiravataClientFactory.createAiravataClient(THRIFT_SERVER_HOST, THRIFT_SERVER_PORT);

    }
  public static void main(String[] args) throws Exception {
  AiravataAPI airavataAPI = getAiravataAPI();
  DocumentCreatorNew documentCreatorNew = new DocumentCreatorNew(AppCatalogFactory.getAppCatalog());
        documentCreatorNew.createLocalHostDocs();
        String user = "admin";

        Project project=new Project();
        project.setName("project1");
        project.setProjectID("project1");
View Full Code Here

TOP

Related Classes of org.apache.airavata.client.tools.DocumentCreatorNew

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.