public SCPDataMovement getSCPDataMovementProtocol(
String scpDataMovementResourceId) throws InvalidRequestException,
AiravataClientException, AiravataSystemException, TException {
try {
HostDescription hostDescriptor = getRegistry().getHostDescriptor(scpDataMovementResourceId);
SCPDataMovement d = new SCPDataMovement();
d.setDataMovementDataID(scpDataMovementResourceId);
if (hostDescriptor.getType() instanceof GlobusHostType){
GlobusHostType globusHostType = (GlobusHostType)hostDescriptor.getType();
d.setSshPort(22);
} else {
throw new Exception("Saved job protocol is not GSISSH");
}
return d;
} catch (Exception e) {