- 05 Aug, 2015 40 commits
-
-
Phillip Webb authored
Add a new `@ImportAutoConfiguration` annotation that can be used by tests that wish to selectively import certain auto-configuration classes. Also add `@AutoConfigurationPackage` so that package registration is decoupled from `@EnableAutoConfiguration`. An added benefit of the change is @EnableAutoConfigurationImportSelector can now be subclassed to provide custom annotation support if needed. Fixes gh-3660 See gh-2772
-
Phillip Webb authored
-
Phillip Webb authored
Revert commit 1d31d23e to remove `include` from `@EnableAutoConfiguration`. We'll add a dedicated annotation instead to fix this. See gh-3660
-
Andy Wilkinson authored
This reverts commit f7619706. See gh-3569
-
Andy Wilkinson authored
This commit updates the default logging configuration for both Logback and Log4J 2 to include class packaging information when logging exceptions and to log the root cause first. Closes gh-3398 Closes gh-3399
-
Andy Wilkinson authored
Closes gh-3569
-
Andy Wilkinson authored
Closes gh-3675
-
Andy Wilkinson authored
Closes gh-3676
-
Andy Wilkinson authored
Closes gh-3677
-
Andy Wilkinson authored
Closes gh-3678
-
Andy Wilkinson authored
Closes gh-3679
-
Andy Wilkinson authored
Closes gh-3680
-
Andy Wilkinson authored
Closes gh-3682
-
Andy Wilkinson authored
Closes gh-3683
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-3681
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-3674
-
Andy Wilkinson authored
Closes gh-3673
-
Andy Wilkinson authored
Closes gh-3672
-
Andy Wilkinson authored
Closes gh-3671
-
Andy Wilkinson authored
Closes gh-3670
-
Andy Wilkinson authored
Closes gh-3669
-
Vladimir Tsanev authored
This commit updates the default output produced when using Log2J 2 to be similar to the output produced by Logback. It introduces a new converter for throwables that adds some whitespace around stacktraces and a color converter that produces ANSI-colored output when enabled via spring.output.ansi.enabled. Closes gh-3548
-
Stephane Nicoll authored
Spring Framework 4.2 introduced support for before modes in `@DirtiesContext` Make sure that `@IntegrationTest` also support these new modes. Closes gh-3642
-
Stephane Nicoll authored
Explicitly mention that `spring.data.mongodb.uri` can be used to customize additional settings such as replica set. Closes gh-2624
-
Stephane Nicoll authored
* pr/3667: Polish Javadoc
-
Eric Bottard authored
Closes gh-3667
-
Stephane Nicoll authored
* pr/3666: Fix typos
-
izeye authored
Closes gh-3666
-
Stephane Nicoll authored
Harmonize the configuration properties for Undertow to match the changes made for gh-2491. Move `spring.undertow.accessLog*` to `spring.undertow.accesslog.*`
-
Stephane Nicoll authored
Add `directory`, `prefix` and `suffix` properties to further customize how access logs are configured on Tomcat. Relocate all properties to the `server.tomcat.accesslog` namespace. `server.tomcat.accessLogPattern` and `server.tomcat.accessLogEnabled` are deprecated and replaced by `server.tomcat.accesslog.pattern` and `server.tomcat.accesslog.enabled` respectively. Closes gh-2491
-
Andy Wilkinson authored
Previously, only folders on the classpath would be watched and used to trigger a restart/reload of the application. This commit adds a new property spring.devtools.restart.additional-paths that can be used to configure additional paths that should be watched for changes. When a change occurs in one of those paths a restart or reload will be triggered, depending on the full restart exclude patterns configured via the existing spring.devtools.restart.exclude property. Closes gh-3469
-
Andy Wilkinson authored
Three conditions must be met for the console to be enabled: - H2 is on the classpath - The application is a web application - spring.h2.console.enabled is set to true If spring-boot-devtools is on the classpath, spring.h2.console.enabled will be set to true automatically. Without the dev tools, the enabled property will have to be set to true in application.properties. By default, the console is available at /h2-console. This can be configured via the spring.h2.console.path property. The value of this property must begin with a '/'. When Spring Security is on the classpath the console will be secured based on the user's security.* configuration. When the console is secured, CSRF protection is disabled and frame options is set to SAMEORIGIN for its path. Both settings are required in order for the console to function. Closes gh-766
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-3422
-
Stephane Nicoll authored
Closes gh-3288
-
Stephane Nicoll authored
ConfigurationPropertiesReportEndpoint parses the meta-data to inspect entities that have potential cycles in them. The whole logic is based on the lookup of `META-INF/spring-configuration-metadata.json` files on the classpath. Unfortunately, the lookup instruction had a typo and did not retrieve any file. Surely that code was written with a clear intention in mind but it was effectively dead code outside tests so it has been removed. Closes gh-3310
-
Stephane Nicoll authored
See gh-2040
-
Stephane Nicoll authored
* pr/3555: Polish Add firebird specific health query
-