Package com.openshift.client.configuration

Examples of com.openshift.client.configuration.UserConfiguration


    public IOpenShiftConnection getOpenShiftConnection() throws IOException {
        if (service == null) {
            try {

                UserConfiguration userConfiguration = new UserConfiguration(
                        new SystemConfiguration(new DefaultConfiguration()));
                if (username == null)
                    username = userConfiguration.getRhlogin();

                authKey = getBrokerAuthKey();
                authIV = getBrokerAuthIV();

                String url = null;
                if (brokerHost == null) {
                    brokerHost = userConfiguration.getLibraServer();
                    url = "https://" + brokerHost.trim();

                    LOGGER.info("Initiating Java Client Service - Configured for default OpenShift Server "
                            + url);
                } else {
View Full Code Here

TOP

Related Classes of com.openshift.client.configuration.UserConfiguration

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.