}
}
public static void addDescriptors() throws AiravataAPIInvocationException,ApplicationSettingsException {
try {
DocumentCreator documentCreator = new DocumentCreator(getAiravataAPI());
documentCreator.createLocalHostDocs();
documentCreator.createSSHHostDocs();
documentCreator.createGramDocs();
documentCreator.createPBSDocsForOGCE();
documentCreator.createSlurmDocs();
documentCreator.createSGEDocs();
documentCreator.createEchoHostDocs();
} catch (AiravataAPIInvocationException e) {
logger.error("Unable to create airavata API", e.getMessage());
throw new AiravataAPIInvocationException(e);
} catch (ApplicationSettingsException e) {
logger.error("Unable to create airavata API", e.getMessage());