public static ConfigurationSourceProvider createConfigurationSourceProvider(
            final ConfigurationSourceProvider baseConfigurationSourceProvider,
            final boolean logChanges) {

        return new StroomConfigurationSourceProvider(
                new SubstitutingSourceProvider(
                        baseConfigurationSourceProvider,
                        new EnvironmentVariableSubstitutor(false)),
                logChanges);
    }
Reads a yaml file that matches the structure of a complete DropWizard {@link Config}
object tree. The file undergoes substitution and validation.
stroom-config/stroom-config-app/src/main/java/stroom/config/app/StroomYamlUtil.java