Examples of substituteConfigurations()


Examples of io.fabric8.api.FabricService.substituteConfigurations()

                if (currentContainer != null) {
                    Map<String, String> configuration = currentContainer.getOverlayProfile().getConfiguration(DockerConstants.DOCKER_PROVIDER_PID);
                    if (configuration != null && !configuration.isEmpty()) {
                        Map<String, Map<String, String>> configurations = new HashMap<>();
                        configurations.put(DockerConstants.DOCKER_PROVIDER_PID, configuration);
                        service.substituteConfigurations(configurations);
                        configuration = configurations.get(DockerConstants.DOCKER_PROVIDER_PID);
                        configuration = JolokiaAgentHelper.substituteEnvironmentVariableExpressionKeysAndValues(configuration, System.getenv());
                        currentContainerDockerProviderConfig = createDockerProviderConfig(configuration);
                    }
                }
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.