Package org.apache.airavata.model.appcatalog.computeresource

Examples of org.apache.airavata.model.appcatalog.computeresource.LOCALSubmission$LOCALSubmissionTupleScheme


      submission.setResourceJobManagerResource(resourceJobManager);
      return submission;
    }
   
    public static LOCALSubmission getLocalJobSubmission(LocalSubmissionResource localSubmission)throws AppCatalogException{
      LOCALSubmission submission = new LOCALSubmission();
      submission.setJobSubmissionInterfaceId(localSubmission.getJobSubmissionInterfaceId());
      submission.setResourceJobManager(getResourceJobManager(localSubmission.getResourceJobManagerResource()));
      return submission;
    }
View Full Code Here


        ComputeResourceDescription host = DocumentCreatorUtils.createComputeResourceDescription(
                "localhost", new HashSet<String>(Arrays.asList(new String[]{"127.0.0.1"})), new HashSet<String>(Arrays.asList(new String[]{"127.0.0.1"})));
//      host.setIsEmpty(true);
        host.setComputeResourceId(client.registerComputeResource(host));

        LOCALSubmission localSubmission = new LOCALSubmission();
        ResourceJobManager resourceJobManager = DocumentCreatorUtils.createResourceJobManager(ResourceJobManagerType.FORK, null, null, null);
        localSubmission.setResourceJobManager(resourceJobManager);
        client.addLocalSubmissionDetails(host.getComputeResourceId(), 1, localSubmission);

        LOCALDataMovement localDataMovement = new LOCALDataMovement();
        client.addLocalDataMovementDetails(host.getComputeResourceId(), 1, localDataMovement);
View Full Code Here

TOP

Related Classes of org.apache.airavata.model.appcatalog.computeresource.LOCALSubmission$LOCALSubmissionTupleScheme

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.