Examples of saveHostDescription()


Examples of org.apache.airavata.registry.api.AiravataRegistry.saveHostDescription()

                            for(HostDescription host:hostList){
                                // This will avoid the changes user is doing to one of the predefined Hosts during a restart of the system
                                AiravataRegistry registry = jcrComponentRegistry.getRegistry();
                if(registry.getHostDescription(host.getType().getHostName()) == null){
                                    log.info("Saving the predefined Host: " + host.getType().getHostName());
                                    registry.saveHostDescription(host);
                                }
                            }
                    } catch (RepositoryException e) {
                        e.printStackTrace()//To change body of catch statement use File | Settings | File Templates.
                    } catch (URISyntaxException e) {
View Full Code Here

Examples of org.apache.airavata.registry.api.impl.AiravataJCRRegistry.saveHostDescription()

    serv.getType().setOutputParametersArray(outputParamList);

    /*
     * Save to registry
     */
    jcrRegistry.saveHostDescription(host);
    jcrRegistry.saveDeploymentDescription(serv.getType().getName(), host
        .getType().getHostName(), appDesc);
    jcrRegistry.saveServiceDescription(serv);
    jcrRegistry.deployServiceOnHost(serv.getType().getName(), host
        .getType().getHostName());
View Full Code Here

Examples of org.apache.airavata.registry.api.impl.AiravataJCRRegistry.saveHostDescription()

    serv.getType().setOutputParametersArray(outputParamList);

    /*
     * Save to registry
     */
    jcrRegistry.saveHostDescription(host);
    jcrRegistry.saveDeploymentDescription(serv.getType().getName(), host
        .getType().getHostName(), appDesc);
    jcrRegistry.saveServiceDescription(serv);
    jcrRegistry.deployServiceOnHost(serv.getType().getName(), host
        .getType().getHostName());
View Full Code Here

Examples of org.apache.airavata.registry.api.impl.JCRRegistry.saveHostDescription()

        serv.getType().setOutputParametersArray(outputParamList);

        /*
           * Save to registry
           */
        jcrRegistry.saveHostDescription(host);
        jcrRegistry.saveDeploymentDescription(serv.getType().getName(), host.getType().getHostName(), appDesc);
        jcrRegistry.saveServiceDescription(serv);
        jcrRegistry.deployServiceOnHost(serv.getType().getName(), host.getType().getHostName());
    }

View Full Code Here

Examples of org.apache.airavata.registry.api.impl.JCRRegistry.saveHostDescription()

    serv.getType().setOutputParametersArray(outputParamList);

    /*
     * Save to registry
     */
    jcrRegistry.saveHostDescription(host);
    jcrRegistry.saveDeploymentDescription(serv.getType().getName(), host
        .getType().getHostName(), appDesc);
    jcrRegistry.saveServiceDescription(serv);
    jcrRegistry.deployServiceOnHost(serv.getType().getName(), host
        .getType().getHostName());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.