- 25 Jun, 2018 2 commits
-
-
Andy Wilkinson authored
Closes gh-13559
-
dmsergeevp44 authored
Previously, LiquibaseEndpoint closed the JdbcConnection but did not close the Database. When using a connection pool, this could leave the underlying SQL Connection with its auto commit property set to false. This commit updates LiquibaseEndpoint to close the Database. This ensures that it resets that Connection's auto commit property to the value that it had when the Database was configured to use the Connection. See gh-13559
-
- 21 Jun, 2018 7 commits
-
-
Andy Wilkinson authored
* gh-12859: Polish "Fix JSP availability check when not running as a packaged war" Fix JSP availability check when not running as a packaged war
-
Andy Wilkinson authored
Closes gh-12859
-
Mandap authored
See gh-12859
-
Andy Wilkinson authored
Previously, if an HTTP request that used a templated URI was handled by something other than Spring MVC, a potentially unbounded number of metrics would be created. This happened because, in the absence of Spring MVC's best matching pattern attribute, MetricsFilter would fall back to using the request's path. If the handling route was templated, MetricsFilter would be unaware and would record different metrics for each different path, rather than a single metric for the matching pattern. This cimmit updates MetricsFilter so that it falls back to using unmapped when Spring MVC's best matching pattern attribute is not available. This ensures that an unbounded number of metrics will no longer be created, at the cost of losing specific metrics for requests that are not handled by Spring MVC and that do not use a templated path. Closes gh-5875
-
Andy Wilkinson authored
Closes gh-12729
-
Andy Wilkinson authored
Log4J2 enables its shutdown hook by default. When the JVM is exiting, this creates a race between logging that happens during the application context being closed and Log4J2 being shut down such that the logging is lost. This commit updates SpringBootConfigurationFactory so that it produces a custom sub-class of DefaultConfiguration that disables the shutdown hook by default. In addition to solving the problem described above, this also aligns the Log4J2 logging system with the logging.register-shutdown-hook property which defaults to false. Closes gh-11360
-
Stephane Nicoll authored
See gh-13534
-
- 20 Jun, 2018 5 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Phillip Webb authored
Closes gh-12742
-
Andy Wilkinson authored
Previously, when a user had declared a custom MultipartResolver bean that is a CommonsMultipartResolver, part resolution would fail. The failure was occurring as the servlet container was consuming the parts before CommonsMultipartResolver had a chance to read them. This was happening because a MultipartConfigElement was being auto-configured. This commit updates the multipart auto-configuration so that a MultipartConfigElement is not auto-configured when there is a CommonsMultipartResolver bean in the context. Closes gh-7735
-
Andy Wilkinson authored
Closes gh-13450
-
- 19 Jun, 2018 2 commits
-
-
Andy Wilkinson authored
Closes gh-13525
-
Stephane Nicoll authored
Closes gh-13526
-
- 14 Jun, 2018 6 commits
-
-
Stephane Nicoll authored
-
Spring Buildmaster authored
-
Stephane Nicoll authored
* pr/13438: Polish "Exclude JUnit from json-simple" Exclude JUnit from json-simple
-
Stephane Nicoll authored
Closes gh-13438
-
Vivien Tintillier authored
See gh-13438
-
Stephane Nicoll authored
Closes gh-13458
-
- 13 Jun, 2018 5 commits
-
-
Stephane Nicoll authored
Closes gh-13456
-
Andy Wilkinson authored
Closes gh-13464
-
Andy Wilkinson authored
Closes gh-13463
-
Andy Wilkinson authored
Closes gh-13196
-
Stephane Nicoll authored
Closes gh-13352
-
- 12 Jun, 2018 1 commit
-
-
Brian Clozel authored
This commit replaces the use of a GET method by a DELETE method for testing that the HiddenHttpMethodFilter is ordered before the security filter. With SPR-16836 changes, only PUT DELETE and PATCH are now allowed.
-
- 08 Jun, 2018 2 commits
-
-
Andy Wilkinson authored
Closes gh-13420
-
Stephane Nicoll authored
Closes gh-13412
-
- 07 Jun, 2018 1 commit
-
-
Stephane Nicoll authored
Closes gh-13368
-
- 06 Jun, 2018 9 commits
-
-
Andy Wilkinson authored
Closes gh-13387
-
Andy Wilkinson authored
Closes gh-13386
-
Andy Wilkinson authored
Closes gh-13385
-
Andy Wilkinson authored
Closes gh-13384
-
Andy Wilkinson authored
Closes gh-13383
-
Andy Wilkinson authored
Closes gh-13382
-
Stephane Nicoll authored
Closes gh-10933
-
Stephane Nicoll authored
Closes gh-13368
-
Phillip Webb authored
Update `TomcatResources` so that `META-INF/resources` folders in `src/main/resources` no longer fail with a "URI is not hierarchical" exception. Closes gh-13265
-