Examples of TargetContainer


Examples of io.fabric8.api.TargetContainer

    }

    private String getConfiguredRealm(RuntimeProperties sysprops, Map<String, ?> configuration) {
        String realm = (String)configuration.get(REALM_PROPERTY_NAME);
        if (realm == null) {
            TargetContainer targetContainer = TargetContainer.getTargetContainer(sysprops);
            realm = defaultRealms.get(targetContainer);
        }
        return realm;
    }
View Full Code Here

Examples of io.fabric8.api.TargetContainer

    private GitNode createState() {
        RuntimeProperties sysprops = runtimeProperties.get();
        String runtimeIdentity = sysprops.getRuntimeIdentity();
        GitNode state = new GitNode("fabric-repo", runtimeIdentity);
        if (group != null && group.isMaster()) {
            TargetContainer runtimeType = TargetContainer.getTargetContainer(sysprops);
            String context = runtimeType == TargetContainer.KARAF ? "" : "/fabric";
            String fabricRepoUrl = "${zk:" + runtimeIdentity + "/http}" + context + "/git/fabric/";
            state.setUrl(fabricRepoUrl);
        }
        return state;
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.