You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-tests/spring-boot-smoke-tests
Phillip Webb 3352024b1c Provide ConfigFileApplicationListener replacement
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>
4 years ago
..
spring-boot-smoke-test-activemq Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-actuator Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-actuator-custom-security Merge branch '2.2.x' into 2.3.x 5 years ago
spring-boot-smoke-test-actuator-log4j2 Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-actuator-noweb Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-actuator-ui Separate server properties for message and errors 5 years ago
spring-boot-smoke-test-amqp Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-animated-banner Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-ant Require dependency on s-b-dependencies to use its constraints 4 years ago
spring-boot-smoke-test-aop Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-atmosphere Update Atmosphere versions used in smoke test 4 years ago
spring-boot-smoke-test-batch Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-cache Upgrade to Couchbase SDK v3 5 years ago
spring-boot-smoke-test-data-couchbase Polish smoke test with removal of View support in Couchbase 5 years ago
spring-boot-smoke-test-data-elasticsearch Fix some deprecation warnings 5 years ago
spring-boot-smoke-test-data-jdbc Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-data-jpa Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-data-ldap Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-data-mongodb Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-data-neo4j Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-data-r2dbc Fix typo 5 years ago
spring-boot-smoke-test-data-r2dbc-flyway Merge branch '2.3.x' 4 years ago
spring-boot-smoke-test-data-r2dbc-liquibase Merge branch '2.3.x' 4 years ago
spring-boot-smoke-test-data-redis Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-data-rest Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-data-solr Fix some deprecation warnings 5 years ago
spring-boot-smoke-test-devtools Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-flyway Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-hateoas Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-hazelcast4 Update copyright year of changed files 5 years ago
spring-boot-smoke-test-hibernate52 Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-integration Use isEmpty() where possible 5 years ago
spring-boot-smoke-test-jersey Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-jetty Polish "Add 'threads' configuration group for embedded containers" 5 years ago
spring-boot-smoke-test-jetty-jsp Require dependency on s-b-dependencies to use its constraints 4 years ago
spring-boot-smoke-test-jetty-ssl Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-jpa Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-jta-atomikos Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-jta-bitronix Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-jta-jndi/src/main Port the build to Gradle 5 years ago
spring-boot-smoke-test-junit-vintage Remove JUnit 5's vintage engine from spring-boot-starter-test 5 years ago
spring-boot-smoke-test-kafka Adapt tests for support for Java 14 5 years ago
spring-boot-smoke-test-liquibase Update copyright year of changed files 5 years ago
spring-boot-smoke-test-logback Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-oauth2-client Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-oauth2-resource-server Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-parent-context Use isEmpty() where possible 5 years ago
spring-boot-smoke-test-profile Provide ConfigFileApplicationListener replacement 4 years ago
spring-boot-smoke-test-property-validation Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-quartz Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-reactive-oauth2-client Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-reactive-oauth2-resource-server Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-rsocket Fix some deprecation warnings 5 years ago
spring-boot-smoke-test-saml2-service-provider Rename `singleSignOn` property to `singlesignon` 5 years ago
spring-boot-smoke-test-secure Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-secure-jersey Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-secure-webflux Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-servlet Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-session Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-session-webflux Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-simple Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-test Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-test-nomockito Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-testng Require dependency on s-b-dependencies to use its constraints 4 years ago
spring-boot-smoke-test-tomcat Remove deprecated configuration properties 5 years ago
spring-boot-smoke-test-tomcat-jsp Require dependency on s-b-dependencies to use its constraints 4 years ago
spring-boot-smoke-test-tomcat-multi-connectors Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-tomcat-ssl Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-traditional Require dependency on s-b-dependencies to use its constraints 4 years ago
spring-boot-smoke-test-undertow Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-undertow-ssl Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-war Require dependency on s-b-dependencies to use its constraints 4 years ago
spring-boot-smoke-test-web-freemarker Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-web-groovy-templates Merge branch '2.2.x' 5 years ago
spring-boot-smoke-test-web-jsp Require dependency on s-b-dependencies to use its constraints 4 years ago
spring-boot-smoke-test-web-method-security Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-web-mustache Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-web-secure Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-web-secure-custom Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-web-secure-jdbc Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-web-static Require dependency on s-b-dependencies to use its constraints 4 years ago
spring-boot-smoke-test-web-ui Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-webflux Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-webflux-coroutines Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-webservices Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-websocket-jetty Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-websocket-tomcat Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-websocket-undertow Use parentheses when declaring dependencies 5 years ago
spring-boot-smoke-test-xml Use parentheses when declaring dependencies 5 years ago