Package org.apache.airavata.schemas.gfac

Examples of org.apache.airavata.schemas.gfac.SSHHostType


      SSHJobSubmission jobSubmission) throws InvalidRequestException,
      AiravataClientException, AiravataSystemException, TException {
    try {
      HostDescription hostDescriptor = getRegistry().getHostDescriptor(computeResourceId);
      hostDescriptor.getType().changeType(SSHHostType.type);
      SSHHostType s = (SSHHostType)hostDescriptor.getType();
      getRegistry().updateHostDescriptor(hostDescriptor);
      return computeResourceId;
    } catch (Exception e) {
      e.printStackTrace();
      throw new AiravataSystemException();
View Full Code Here


            }
        }else if (hostDescriptionType instanceof GsisshHostType) {
            hostType.add(HostTypes.GSISSH_HOST_TYPE);
        } else if (hostDescriptionType instanceof SSHHostType) {
            hostType.add(HostTypes.SSH_HOST_TYPE);
            SSHHostType sshHostType = (SSHHostType) hostDescriptionType;
            hostDescriptor.setHpcResource(sshHostType.getHpcResource());
        } else if (hostDescriptionType instanceof UnicoreHostType) {
            UnicoreHostType unicoreHostType = (UnicoreHostType) hostDescriptionType;
            hostType.add(HostTypes.UNICORE_HOST_TYPE);
            String[] unicoreGateKeeperEndPointArray = unicoreHostType.getUnicoreBESEndPointArray();
            for (int i = 0; i < unicoreGateKeeperEndPointArray.length; i++) {
View Full Code Here

TOP

Related Classes of org.apache.airavata.schemas.gfac.SSHHostType

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.