Commit Graph

11695 Commits

Author SHA1 Message Date
Andy Wilkinson
3a793c655a Upgrade to Httpcore 4.4.10
Closes gh-13637
2018-07-03 13:00:55 +01:00
Andy Wilkinson
6219ea27e8 Remove unwanted override of resource plugin's version
Closes gh-13607
2018-06-28 14:41:35 +01:00
Andy Wilkinson
205bb764d5 Specify ID for cache providers section in reference docs
Closes gh-13551
2018-06-25 13:11:18 +01:00
Andy Wilkinson
2f952fde6c Polish 2018-06-25 12:39:31 +01:00
Andy Wilkinson
454de0bfd7 Polish 2018-06-25 12:01:17 +01:00
Andy Wilkinson
953df7cf86 Merge pull request #13559 from Dmitry Sergeyev
* gh-13559:
  Polish “Close Database to reset Connection's auto commit property”
  Close Database to reset Connection's auto commit property
2018-06-25 11:07:47 +01:00
Andy Wilkinson
24d5209738 Polish “Close Database to reset Connection's auto commit property”
Closes gh-13559
2018-06-25 11:02:31 +01:00
dmsergeevp44
3498a91259 Close Database to reset Connection's auto commit property
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
2018-06-25 10:58:51 +01:00
Andy Wilkinson
f32c66d0e1 Merge pull request #12859 from ralenmdp
* 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
2018-06-21 17:30:24 +01:00
Andy Wilkinson
b1d8cc55fc Polish "Fix JSP availability check when not running as a packaged war"
Closes gh-12859
2018-06-21 17:30:12 +01:00
Mandap
82465cf435 Fix JSP availability check when not running as a packaged war
See gh-12859
2018-06-21 17:21:00 +01:00
Andy Wilkinson
b35e1ad232 Avoid unbounded metrics creation for requests not handled by Spring MVC
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
2018-06-21 15:10:47 +01:00
Andy Wilkinson
29e87257b4 Provide Gradle example for using Log4j2
Closes gh-12729
2018-06-21 12:16:12 +01:00
Andy Wilkinson
8a0f0354df Disable Log4J2's shutdown hook by default
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
2018-06-21 11:35:20 +01:00
Stephane Nicoll
36605b3b49 Polish
See gh-13534
2018-06-21 09:16:44 +02:00
Andy Wilkinson
9f7106c778 Polish 2018-06-20 18:56:14 +01:00
Andy Wilkinson
6cc0968b8d Polish 2018-06-20 16:52:18 +01:00
Phillip Webb
2bb7a430cf Clean up access logging threads when Undertow is stopped
Closes gh-12742
2018-06-20 14:15:21 +01:00
Andy Wilkinson
e7b03f7ca3 Don't auto-configure MultipartConfigElement when using Commons FileUpload
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
2018-06-20 12:05:23 +01:00
Andy Wilkinson
92f62043d4 Fix placeholder support in <springProfile>'s name attribute
Closes gh-13450
2018-06-20 10:48:55 +01:00
Andy Wilkinson
6081db5c34 Make ZipHeaderInputStream read sub 5 byte entries correctly
Closes gh-13525
2018-06-19 19:48:14 +01:00
Stephane Nicoll
99f993bc82 Add tests for JndiConnectionFactoryAutoConfiguration
Closes gh-13526
2018-06-19 20:47:23 +02:00
Stephane Nicoll
af126b1bb3 Fixup version numbers following release 2018-06-14 12:34:39 +02:00
Spring Buildmaster
36b8639853 Next Development Version 2018-06-14 10:05:31 +00:00
Stephane Nicoll
dc4691fd7f Merge pull request #13438 from vtintillier:remove-junit-dependency
* pr/13438:
  Polish "Exclude JUnit from json-simple"
  Exclude JUnit from json-simple
2018-06-14 08:35:50 +02:00
Stephane Nicoll
6e5ae0c71d Polish "Exclude JUnit from json-simple"
Closes gh-13438
2018-06-14 08:33:28 +02:00
Vivien Tintillier
e9aa6dd29f Exclude JUnit from json-simple
See gh-13438
2018-06-14 08:32:28 +02:00
Stephane Nicoll
93804eeb24 Upgrade to Spring Integration 4.3.17
Closes gh-13458
2018-06-14 08:26:15 +02:00
Stephane Nicoll
f030073ce2 Upgrade to Spring Data Ingalls SR13
Closes gh-13456
2018-06-13 20:00:21 +02:00
Andy Wilkinson
9c1da51f73 Upgrade to Jetty 9.4.11.v20180605
Closes gh-13464
2018-06-13 10:51:16 +01:00
Andy Wilkinson
634101a333 Upgrade to Jackson 2.8.11.20180608
Closes gh-13463
2018-06-13 10:51:16 +01:00
Andy Wilkinson
b8247f363d Upgrade to Spring Security 4.2.7.RELEASE
Closes gh-13196
2018-06-13 09:35:11 +01:00
Stephane Nicoll
678d3dc394 Upgrade to Spring Framework 4.3.18.RELEASE
Closes gh-13352
2018-06-13 08:49:57 +02:00
Brian Clozel
1b81f6f4c0 Fix security test with changes in SPR-16836
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.
2018-06-12 16:39:42 +02:00
Andy Wilkinson
9d9acc92e3 Strengthen wording in JSP limitations regarding jar support
Closes gh-13420
2018-06-08 15:44:59 +01:00
Stephane Nicoll
6b86190ae8 Remove unnecessary ConfigurationProperties
Closes gh-13412
2018-06-08 08:33:03 +02:00
Stephane Nicoll
0b644910d7 Fix typo
Closes gh-13368
2018-06-07 10:44:35 +02:00
Andy Wilkinson
3e3575eaef Upgrade to Spring Session 1.3.3.RELEASE
Closes gh-13387
2018-06-06 10:13:36 +01:00
Andy Wilkinson
6910831f25 Upgrade to Spring Cloud Connectors 1.2.6.RELEASE
Closes gh-13386
2018-06-06 10:13:36 +01:00
Andy Wilkinson
15cffde8b3 Upgrade to Spring Amqp 1.7.8.RELEASE
Closes gh-13385
2018-06-06 10:13:36 +01:00
Andy Wilkinson
884bd9008c Upgrade to Lombok 1.16.22
Closes gh-13384
2018-06-06 10:13:36 +01:00
Andy Wilkinson
26a5c4ad7e Upgrade to Hsqldb 2.3.6
Closes gh-13383
2018-06-06 10:13:36 +01:00
Andy Wilkinson
b7a46b8653 Upgrade to Appengine Sdk 1.9.64
Closes gh-13382
2018-06-06 10:13:35 +01:00
Stephane Nicoll
584d2de9f3 Document use of component scan exclude filters on SpringBootApplication
Closes gh-10933
2018-06-06 10:53:55 +02:00
Stephane Nicoll
d0b71a7d43 Document usage of auto-configuration AP for 3rd party starters
Closes gh-13368
2018-06-06 10:37:57 +02:00
Phillip Webb
6c7289b822 Allow META-INF/resources in WAR classes folder
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
2018-06-05 17:00:52 -07:00
Stephane Nicoll
628cce567f Start building against Spring Framework 4.3.18 snapshots
See gh-13352
2018-06-04 15:04:49 +02:00
Stephane Nicoll
a562cb5d6c Merge pull request #13338 from mtheiss:master
* pr/13338:
  Polish "Retrieve javax.cache.CacheManager using Bean ClassLoader"
  Retrieve javax.cache.CacheManager using Bean ClassLoader
2018-06-04 14:11:08 +02:00
Stephane Nicoll
c67aedd8bc Polish "Retrieve javax.cache.CacheManager using Bean ClassLoader"
Closes gh-13338
2018-06-04 14:08:58 +02:00
Martin Theiss
76b9d0d243 Retrieve javax.cache.CacheManager using Bean ClassLoader
This commit uses the bean's classloader to retrieve the CacheManager to
prevent issues with off-heap serialization.

See gh-13338
2018-06-04 14:08:57 +02:00