• Phillip Webb's avatar
    Create ConfigurationPropertySource abstraction · a5651b75
    Phillip Webb authored
    Add a new abstraction that represents a source for configuration
    properties. The new source is similar to the `Environment` abstraction
    provided by Spring Framework but follows a stricter set of rules.
    
    The `ConfigurationPropertySource` provides a uniform view onto a source
    and will help to move responsibility for accessing properties in a
    "relaxed" way away from the caller.
    
    The `ConfigurationPropertyName` class enforces strict naming rules
    that callers must follow when accessing properties. Configuration
    names are lowercase, dot separated and may contain dashes. In
    addition "indexed" name elements may be defined by using square
    brackets.
    
    Mapping is provided to existing Spring PropertySources implemented with
    the relaxed rules that users are used to. For example the configuration
    property `server.local-host` can still be written in a property files
    as `server.localHost` or in an environment variable as SERVER_LOCALHOST.
    
    Closes gh-4910
    a5651b75
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...