Search in sources :

Example 1 with Environment

use of com.walmartlabs.ollie.config.Environment in project concord by walmartlabs.

the class ConfigurationModule method configure.

@Override
protected void configure() {
    Environment env = new EnvironmentSelector().select();
    com.typesafe.config.Config config = new ConfigurationProcessor("concord-server", env, null, null).process();
    install(new OllieConfigurationModule("com.walmartlabs.concord.server", config));
}
Also used : OllieConfigurationModule(com.walmartlabs.ollie.config.OllieConfigurationModule) EnvironmentSelector(com.walmartlabs.ollie.config.EnvironmentSelector) ConfigurationProcessor(com.walmartlabs.ollie.config.ConfigurationProcessor) Environment(com.walmartlabs.ollie.config.Environment)

Aggregations

ConfigurationProcessor (com.walmartlabs.ollie.config.ConfigurationProcessor)1 Environment (com.walmartlabs.ollie.config.Environment)1 EnvironmentSelector (com.walmartlabs.ollie.config.EnvironmentSelector)1 OllieConfigurationModule (com.walmartlabs.ollie.config.OllieConfigurationModule)1