mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Deprecate `ConfigFileApplicationListener` and provide a replacement mechanism that supports arbitrary config data imports. This commit updates the following areas: - Extract `EnvironmentPostProcessor` invocation logic from the `ConfigFileApplicationListener` to new dedicated listener. Also providing support for `Log` injection. - Extract `RandomPropertySource` adding logic from the `ConfigFileApplicationListener` to a dedicated class. - Migrate to the recently introduced `DefaultPropertiesPropertySource` class when moving the defaultProperties `PropertySource` - Replace processing logic with a phased approach to ensure that profile enablement happens in a distinct phase and that profiles can no longer be activated on an ad-hoc basis. - Provide a more predictable and logical import order for processing `application.properties` and `application.yml` files. - Add support for a `spring.config.import` property which can be used to import additional config data. Also provide a pluggable API allowing third-parties to resolve and load locations themselves. - Add `spring.config.activate.on-profile` support which replaces the existing `spring.profiles` property. - Add `spring.config.activate.on-cloud-platform` support which allows a config data document to be active only on a given cloud platform. - Support a `spring.config.use-legacy-processing` property allowing the previous processing logic to be used. Closes gh-22497 Co-authored-by: Madhura Bhave <mbhave@vmware.com> |
||
---|---|---|
.. | ||
spring-boot-smoke-test-activemq | ||
spring-boot-smoke-test-actuator | ||
spring-boot-smoke-test-actuator-custom-security | ||
spring-boot-smoke-test-actuator-log4j2 | ||
spring-boot-smoke-test-actuator-noweb | ||
spring-boot-smoke-test-actuator-ui | ||
spring-boot-smoke-test-amqp | ||
spring-boot-smoke-test-animated-banner | ||
spring-boot-smoke-test-ant | ||
spring-boot-smoke-test-aop | ||
spring-boot-smoke-test-atmosphere | ||
spring-boot-smoke-test-batch | ||
spring-boot-smoke-test-cache | ||
spring-boot-smoke-test-data-couchbase | ||
spring-boot-smoke-test-data-elasticsearch | ||
spring-boot-smoke-test-data-jdbc | ||
spring-boot-smoke-test-data-jpa | ||
spring-boot-smoke-test-data-ldap | ||
spring-boot-smoke-test-data-mongodb | ||
spring-boot-smoke-test-data-neo4j | ||
spring-boot-smoke-test-data-r2dbc | ||
spring-boot-smoke-test-data-r2dbc-flyway | ||
spring-boot-smoke-test-data-r2dbc-liquibase | ||
spring-boot-smoke-test-data-redis | ||
spring-boot-smoke-test-data-rest | ||
spring-boot-smoke-test-data-solr | ||
spring-boot-smoke-test-devtools | ||
spring-boot-smoke-test-flyway | ||
spring-boot-smoke-test-hateoas | ||
spring-boot-smoke-test-hazelcast4 | ||
spring-boot-smoke-test-hibernate52 | ||
spring-boot-smoke-test-integration | ||
spring-boot-smoke-test-jersey | ||
spring-boot-smoke-test-jetty | ||
spring-boot-smoke-test-jetty-jsp | ||
spring-boot-smoke-test-jetty-ssl | ||
spring-boot-smoke-test-jpa | ||
spring-boot-smoke-test-jta-atomikos | ||
spring-boot-smoke-test-jta-bitronix | ||
spring-boot-smoke-test-jta-jndi/src/main | ||
spring-boot-smoke-test-junit-vintage | ||
spring-boot-smoke-test-kafka | ||
spring-boot-smoke-test-liquibase | ||
spring-boot-smoke-test-logback | ||
spring-boot-smoke-test-oauth2-client | ||
spring-boot-smoke-test-oauth2-resource-server | ||
spring-boot-smoke-test-parent-context | ||
spring-boot-smoke-test-profile | ||
spring-boot-smoke-test-property-validation | ||
spring-boot-smoke-test-quartz | ||
spring-boot-smoke-test-reactive-oauth2-client | ||
spring-boot-smoke-test-reactive-oauth2-resource-server | ||
spring-boot-smoke-test-rsocket | ||
spring-boot-smoke-test-saml2-service-provider | ||
spring-boot-smoke-test-secure | ||
spring-boot-smoke-test-secure-jersey | ||
spring-boot-smoke-test-secure-webflux | ||
spring-boot-smoke-test-servlet | ||
spring-boot-smoke-test-session | ||
spring-boot-smoke-test-session-webflux | ||
spring-boot-smoke-test-simple | ||
spring-boot-smoke-test-test | ||
spring-boot-smoke-test-test-nomockito | ||
spring-boot-smoke-test-testng | ||
spring-boot-smoke-test-tomcat | ||
spring-boot-smoke-test-tomcat-jsp | ||
spring-boot-smoke-test-tomcat-multi-connectors | ||
spring-boot-smoke-test-tomcat-ssl | ||
spring-boot-smoke-test-traditional | ||
spring-boot-smoke-test-undertow | ||
spring-boot-smoke-test-undertow-ssl | ||
spring-boot-smoke-test-war | ||
spring-boot-smoke-test-web-freemarker | ||
spring-boot-smoke-test-web-groovy-templates | ||
spring-boot-smoke-test-web-jsp | ||
spring-boot-smoke-test-web-method-security | ||
spring-boot-smoke-test-web-mustache | ||
spring-boot-smoke-test-web-secure | ||
spring-boot-smoke-test-web-secure-custom | ||
spring-boot-smoke-test-web-secure-jdbc | ||
spring-boot-smoke-test-web-static | ||
spring-boot-smoke-test-web-ui | ||
spring-boot-smoke-test-webflux | ||
spring-boot-smoke-test-webflux-coroutines | ||
spring-boot-smoke-test-webservices | ||
spring-boot-smoke-test-websocket-jetty | ||
spring-boot-smoke-test-websocket-tomcat | ||
spring-boot-smoke-test-websocket-undertow | ||
spring-boot-smoke-test-xml |