- 28 Jul, 2017 16 commits
-
-
Stephane Nicoll authored
* pr/9890: Fix `additional-spring-configuration-metadata.json`
-
Vedran Pavic authored
This commit fixes invalid references to `LoggingApplicationListener` in `additional-spring-configuration-metadata.json`. Closes gh-9890
-
Stephane Nicoll authored
This test definitely doesn't need Aspect processing since the project doesn't have a dependency on `aspectjweaver` Closes gh-9880
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Unfortunately, creating the schema in code did not offer the right condition to reproduce the error scenario. This commit restore the initial intent, but separating the configuration and cleaning the created context properly. See gh-9862
-
Stephane Nicoll authored
Closes gh-9862
-
Stephane Nicoll authored
This commit also makes sure to generate unique embedded data source and disable datasource initialization as this is not required by those tests. See gh-9889
-
Stephane Nicoll authored
This commit adds an additional class check to AopAutoConfiguration as it is main role is to configure `@EnableAspectJAutoProxy` which won't work properly if `aspectjweaver` is not present. Closes gh-9880
-
Stephane Nicoll authored
-
Stephane Nicoll authored
* pr/9862: Polish "Use configured schema in Liquibase endpoint" Use configured schema in Liquibase endpoint
-
Stephane Nicoll authored
Closes gh-9862
-
Craig Andrews authored
This commit makes sure that the Liquibase endpoint uses the configured schema. See gh-98£62
-
Andy Wilkinson authored
-
Andy Wilkinson authored
* gh-9725: Polish "Simplify retrieval of Narayana XARecoveryModule" Simplify retrieval of Narayana XARecoveryModule
-
Andy Wilkinson authored
Closes gh-9725
-
Gytis Trikleris authored
See gh-9725
-
- 27 Jul, 2017 24 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
-
Arthur Gavlyukovskiy authored
Closes gh-9828
-
Stephane Nicoll authored
-
Andy Wilkinson authored
Closes gh-9620
-
Andy Wilkinson authored
-
Andy Wilkinson authored
* gh-9678: Polish "Deprecate JsonContent.assertThat()" Deprecate JsonContent.assertThat()
-
Andy Wilkinson authored
Closes gh-9678
-
Priyanshi authored
See gh-9678
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, background preinitialization was started in response to an ApplicationEnvironmentPreparedEvent and would complete at an undetermined time later. This opened a window where SpringApplication run could return and background preinitialization could still be in progress. If, within this window, something attempted to configure the logging system, an IO failure could occur as logging on the background preinitialization thread would attempt to use resources that had been closed. This commit updates BackgroundPreinitializer so that it waits for preinitialization to have completed when it receives an application ready or application failed event. This prevents SpringApplication run from returning while preinitialization is still in progress, closing the window described above. With info level logging enabled it appears that background preinitialization consistently completes before the application ready event is published. As a result, waiting should have no adverse effect on performance in normal circumstances. With logging configured such that background preinitialization outputs a large volume of log messages (enabling trace logging for the root logger, for example), it will be slowed down sufficiently for waiting to be necessary. Closes gh-5669
-
Andy Wilkinson authored
Background preinitialization triggers static initialization of a number of components that are slow to initialize. As the initialization is static, it's only necessary once per class loader. Previously, a new background preinitialization thread would be created and started for each ApplicationEnvironmentPreparedEvent. This commit updates the preinitializer to only create and start the thread if preinitialization has not already been started for the current class loader. Closes gh-9869
-
Stephane Nicoll authored
-
Stephane Nicoll authored
This commit ensures that an exception that is thrown as part of the `ContextConsumer` callback is thrown as is. Closes gh-9878
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Spring Buildmaster authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-9871
-
Phillip Webb authored
Closes gh-9875
-
Phillip Webb authored
Update `ApplicationContextRunner` so that it is totally immutable. Methods now return new instances rather than changing existing state. See gh-9875
-
Phillip Webb authored
Update `TestPropertyValues` so that it is totally immutable. Methods now return a new instance rather than changing existing state. See gh-9875
-
Phillip Webb authored
Split up `org.springframework.boot.test.context` into distinct packages for `runner` and `assertj`. See gh-9875
-
Phillip Webb authored
Rename `ApplicationContextTester` and related classes to `ApplicationContextRunner` and refactor existing tests to use correctly named variables. See gh-9875
-