- 15 Sep, 2016 7 commits
-
-
Stephane Nicoll authored
Closes gh-6892
-
Andy Wilkinson authored
@WebAppConfiguration expects a mock web environment. If it is used in conjuction with @SpringBootTest configured with a RANDOM_PORT or DEFINED_PORT web environment a null pointer exception occurs as an assumption that's made by MockServerContainerContextCustomizer doesn't hold true in a non-mock web environment. This commit updates SpringBootTestContextBootstrap to detect the illegal configuration combination and fail fast, advising the user to remove @WebAppConfiguration or reconfigure @SpringBootTest. Closes gh-6795
-
Stephane Nicoll authored
-
Phillip Webb authored
Rename AutoConfigureReportTestExecutionListener to SpringBootDependencyInjectionTestExecutionListener and ensure that it replaces any existing DependencyInjectionTestExecutionListener. Prior to this commit the registration of two DependencyInjection listeners would cause @PostConstruct methods on tests to be called twice. In order to allow the standard DependencyInjectionTestExecutionListener to be removed a new DefaultTestExecutionListenersPostProcessor interface has been introduced. Fixes gh-6874
-
Phillip Webb authored
Closes gh-6827
-
Phillip Webb authored
Update `ConfigFileApplicationListener` so that active profiles set in properties files that overlap with `spring.profiles.default` can still be set. Prior to this commit if `spring.profiles.active` happened to specify a profile name that was also in `spring.profiles.default` it would not get applied. Fixes gh-6833
-
Phillip Webb authored
Tomcat 8.5.5 has change the default value of `validationInterval` to 3000. See https://bz.apache.org/bugzilla/show_bug.cgi?id=59923 for details. See gh-6703 See gh-6657
-
- 14 Sep, 2016 5 commits
-
-
Stephane Nicoll authored
See gh-6870
-
Andy Wilkinson authored
This reverts commit c54cdd67.
-
Andy Wilkinson authored
As part of the upgrade, Tomcat now requires a keystore to contain an X.509 certificate. The two stores used in our tests have been updated by exporting their private keys and adding them as certificates. For example: $ keytool -exportcert -keystore test.jks -alias tomcat > exported $ keytool -importcert -keystore test.jks -file exported Closes gh-6703 Closes gh-6657
-
Andy Wilkinson authored
Closes gh-6795
-
Stephane Nicoll authored
Closes gh-6870
-
- 13 Sep, 2016 2 commits
-
-
Stephane Nicoll authored
* pr/6872: Polish
-
Johnny Lim authored
Closes gh-6872
-
- 12 Sep, 2016 14 commits
-
-
Phillip Webb authored
Update MockitoAopProxyTargetInterceptor to deal with deal with any existing argument matchers when working with the VerificationMode. Prior to this commit `@SpyBean` when combined with AOP could not support argument matchers. Fixes gh-6871
-
Phillip Webb authored
Update RootUriRequestExpectationManager to only wrap requests when they cannot be cast to MockClientHttpRequest. This prevents later ClassCastExceptions from being thrown with @RestClientTests that define expected body content. Fixes gh-6845
-
Phillip Webb authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
See gh-6869
-
Stephane Nicoll authored
-
Stephane Nicoll authored
This commit improves the JMS health indicator to identify a broken broker that uses failover. An attempt to start the connection is a good way to make sure that it is effectively available. Closes gh-6818
-
Stephane Nicoll authored
* pr/6651: Polish contribution Validate Spring Batch database initializer configuration
-
Stephane Nicoll authored
Closes gh-6651
-
Vedran Pavic authored
This commit adds Spring Batch configuration validation that disables database initializer in case custom table prefix is configured with default schema. See gh-6651
-
Stephane Nicoll authored
-
Stephane Nicoll authored
* pr/6649: Polish contribution Validate Spring Session database initializer configuration
-
Stephane Nicoll authored
Closes gh-6649
-
Vedran Pavic authored
This commit adds Spring Session JDBC configuration validation that disables database initializer in case custom table name is configured with default schema. See gh-6649
-
- 09 Sep, 2016 12 commits
-
-
Phillip Webb authored
Update relaxed binding so that names of the form `initSQL` can now be bound against properties of the form `init-s-q-l`. Fixes gh-6803
-
Phillip Webb authored
Update our `ResourceHttpRequestHandler` subclass so that the following warning is no longer displayed: "Locations list is empty. No resources will be served unless a custom ResourceResolver is configured as an alternative to PathResourceResolver." Fixes gh-6791
-
Phillip Webb authored
* pr/6851: Include AuditEvent details in AuditListener
-
Vedran Pavic authored
Update `AuthorizationAuditListener` to include `AuditEvent` data if found. Closes gh-6851
-
Phillip Webb authored
-
Phillip Webb authored
Update test broken by recent Jetty changes. See gh-6692
-
Brian Clozel authored
This commit adds a new `spring.thymeleaf.check-template` property which is only used for Thymeleaf 3.0+. Since thymeleaf/thymeleaf#419, the Thymeleaf template resolver implementations can implement the `setCheckExistence` method - this enables the template existence verification at **resolution** time, which means the resolver can return null as a `TemplateResolution` and let other template resolvers in the chain try. This new property is set to `true` by default and can be disabled if the application only has a single resolver and the template existence check is considered as a performance penalty with the configured resolver. Fixes gh-6500
-
Brian Clozel authored
* pr/6776: Add spring.http.multipart.resolve-lazily
-
making authored
This commit adds the `spring.http.multipart.resolve-lazily` property, in order to configure whether the multipart request should be resolved lazily, as the parameters are accessed.
-
Brian Clozel authored
When extending `WebMvcConfigurerAdapter`, developers should always declare those as `@Configuration` classes rather than `@Bean`s, which can lead to dependency issues as described in #6853. Fixes gh-6853
-
Stephane Nicoll authored
-
Stephane Nicoll authored
* pr/6847: Trace endpoint defaults to 100
-