Package org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer

Examples of org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.RepositoryInformation


        if(StringUtils.isNotEmpty(repoURL) && (clusterIdInPayload != null) && clusterIdInPayload.equals(clusterIdInMessage)) {
            if(log.isInfoEnabled()) {
                log.info("Executing git checkout");
            }
            RepositoryInformation repoInformation = new RepositoryInformation();
            repoInformation.setRepoUsername(repoUsername);
            if(repoPassword == null) {
              repoInformation.setRepoPassword("");
            }else {
              repoInformation.setRepoPassword(repoPassword);
            }           
            repoInformation.setRepoUrl(repoURL);
            repoInformation.setRepoPath(localRepoPath);
            repoInformation.setTenantId(tenantId);
            repoInformation.setMultitenant(isMultitenant);
            boolean cloneExists = GitBasedArtifactRepository.getInstance().cloneExists(repoInformation);
            GitBasedArtifactRepository.getInstance().checkout(repoInformation);

            ExtensionUtils.executeArtifactsUpdatedExtension();
View Full Code Here

TOP

Related Classes of org.apache.stratos.cartridge.agent.artifact.deployment.synchronizer.RepositoryInformation

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.