• Phillip Webb's avatar
    Refactor PropertySource support · f0bfecd3
    Phillip Webb authored
    Locate PropertySourcesLoaders using SpringFactoriesLoader and refactor
    the interface to expose file extensions and support 'profiles' within
    documents.
    
    Rework ConfigFileApplicationListener for consistent profile loading.
    Profiles are now loaded in a consistent order for both profile specific
    files, and contained profile documents (i.e. YAML sub-sections).
    
    Also update ConfigFileApplicationListener so that it no longer directly
    processes @ProperySource annotations. Instead the standard Spring
    ConfigurationClassPostProcessor will insert @PropertySource items with
    ConfigFileApplicationListener later re-ordering them.
    
    The SpringApplication can no longer be configured using @ProperySource
    annotations, however, application.properties may still be used.
    
    Fixes gh-322
    f0bfecd3
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies 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-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
README.md Loading commit data...
pom.xml Loading commit data...