resource.setPreferredJobProtocol(preference.getPreferredJobSubmissionProtocol());
resource.setPreferedDMProtocol(preference.getPreferredDataMovementProtocol());
resource.setBatchQueue(preference.getPreferredBatchQueue());
resource.setProjectNumber(preference.getAllocationProjectNumber());
resource.setScratchLocation(preference.getScratchLocation());
resource.save();
}
}
return profileResource.getGatewayID();
}catch (Exception e) {
logger.error("Error while saving gateway profile...", e);