Package org.apache.airavata.model.appcatalog

Examples of org.apache.airavata.model.appcatalog.GlobusJobSubmission


        SSHJobSubmission sshJobSubmissionProtocol = getSSHJobSubmissionProtocol(jobSubmissionProtocolDataId);
        host.getType().changeType(SSHHostType.type);
        //TODO fill the data
        break;
      case GRAM:
        GlobusJobSubmission globusJobSubmissionProtocol = getGlobusJobSubmissionProtocol(jobSubmissionProtocolDataId);
        host.getType().changeType(GlobusHostType.type);
        //TODO fill the data
        break;
      case GSISSH:
        GSISSHJobSubmission gsisshJobSubmissionProtocol = getGSISSHJobSubmissionProtocol(jobSubmissionProtocolDataId);
View Full Code Here


      String globusJobSubmissionProtocolResourceId)
      throws InvalidRequestException, AiravataClientException,
      AiravataSystemException, TException {
    try {
      HostDescription hostDescriptor = getRegistry().getHostDescriptor(globusJobSubmissionProtocolResourceId);
      GlobusJobSubmission d = new GlobusJobSubmission();
      d.setSecurityProtocol(SecurityProtocol.GSI);
      d.setResourceJobManager(ResourceJobManager.PBS);
      d.setJobSubmissionDataID(globusJobSubmissionProtocolResourceId);
      if (hostDescriptor.getType() instanceof GlobusHostType){
        GlobusHostType globusHostType = (GlobusHostType)hostDescriptor.getType();
        d.setGlobusGateKeeperEndPoint(Arrays.asList(globusHostType.getGlobusGateKeeperEndPointArray()));
      } else {
        throw new Exception("Saved job protocol is not Globus");
      }
      return d;
    } catch (Exception e) {
View Full Code Here

TOP

Related Classes of org.apache.airavata.model.appcatalog.GlobusJobSubmission

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.