Commit Graph

19530 Commits

Author SHA1 Message Date
Andy Wilkinson
ac77fc9dcf Ignore .writing files in Integration samples tests
Previously, a temporary .writing file could be found and an attempt made to
access its contents. If the temporary file was deleted between it being found
and its contents being read, the test would fail with a FileNotFoundException.

This commit updates the test to ignore .writing files so that it will only
examine the contents of the final file once Integration has finished
writing it an atomically moved it to its final location.
2018-11-27 11:24:25 +00:00
Andy Wilkinson
f6a22a05b8 Merge branch '2.0.x' 2018-11-27 11:21:22 +00:00
Andy Wilkinson
ab8e4d5987 Merge pull request #15163 from Vedran Pavic
* gh-15163:
  Polish "Auto-configure Spring Session's cookie serializer"
  Auto-configure Spring Session's cookie serializer
2018-11-27 11:15:27 +00:00
Andy Wilkinson
9553d4f64b Polish "Auto-configure Spring Session's cookie serializer"
Closes gh-15163
2018-11-27 11:08:15 +00:00
Vedran Pavic
0daf83efab Auto-configure Spring Session's cookie serializer
See gh-15163
2018-11-27 11:08:05 +00:00
Andy Wilkinson
312bd13529 Merge branch '2.0.x' 2018-11-27 10:48:30 +00:00
Andy Wilkinson
516d0eff3a Merge branch '1.5.x' into 2.0.x 2018-11-27 10:48:16 +00:00
Andy Wilkinson
17b38dc264 Upgrade to Spring Data Releasetrain Ingalls-SR17
Closes gh-15305
2018-11-27 10:47:28 +00:00
Stephane Nicoll
dfab0b4231 Upgrade to Spring Framework 5.1.3
Closes gh-15186
2018-11-27 11:40:06 +01:00
Stephane Nicoll
8fa8e6872c Merge branch '2.0.x' 2018-11-27 11:07:32 +01:00
Stephane Nicoll
e89d1a8ebe Upgrade to Spring Framework 5.0.11
Closes gh-15189
2018-11-27 11:06:57 +01:00
Stephane Nicoll
997209fd04 Merge branch '1.5.x' into 2.0.x 2018-11-27 11:06:03 +01:00
Stephane Nicoll
9bc85af19c Upgrade to Spring Framework 4.3.21
Closes gh-15188
2018-11-27 11:05:12 +01:00
Stephane Nicoll
8928cd1982 Deprecate spring.rabbitmq.template.queue
Closes gh-15301
2018-11-27 09:55:45 +01:00
Stephane Nicoll
a240e22593 Adapt to Rabbit internal change
See gh-15271
2018-11-27 08:31:46 +01:00
Andy Wilkinson
cf525dabd2 Merge branch '2.0.x' 2018-11-26 17:53:53 +00:00
Andy Wilkinson
69edf8960f Correct stale reference to embeddedLaunchScriptProperties with Gradle
Closes gh-15094
2018-11-26 17:53:27 +00:00
Andy Wilkinson
de8c353cec Merge branch '2.0.x' 2018-11-26 17:40:46 +00:00
Andy Wilkinson
898d9f80f3 Merge branch '1.5.x' into 2.0.x 2018-11-26 17:40:35 +00:00
Andy Wilkinson
7cf9b984aa Warn about unpack's use of the temporary directory
Closes gh-15180
2018-11-26 17:38:05 +00:00
Andy Wilkinson
fa7be63fbb Merge branch '2.0.x' 2018-11-26 16:53:00 +00:00
Andy Wilkinson
7ddbb37bd5 Polish 2018-11-26 16:52:49 +00:00
Andy Wilkinson
073ac7bc99 Fix Thymeleaf security dialect tests on Windows 2018-11-26 16:15:15 +00:00
Andy Wilkinson
a0d0ecf9d4 Test the Gradle plugin against Gradle 5.0
Closes gh-15171
2018-11-26 16:02:54 +00:00
Andy Wilkinson
5a9ff6a3cb Merge branch '2.0.x' 2018-11-26 15:51:52 +00:00
Andy Wilkinson
5201584c60 Upgrade to Neo4j Ogm 3.1.5
Closes gh-15293
2018-11-26 15:51:01 +00:00
Andy Wilkinson
55721f06df Upgrade to Kotlin 1.2.71
Closes gh-15292
2018-11-26 15:50:59 +00:00
Andy Wilkinson
c73fdc4ce4 Merge branch '2.0.x' 2018-11-26 12:09:21 +00:00
Andy Wilkinson
d2756319cb Polish 2018-11-26 12:09:14 +00:00
Andy Wilkinson
1c4a26557c Polish 2018-11-26 11:47:35 +00:00
Andy Wilkinson
c1bbcb6908 Merge branch '2.0.x' 2018-11-26 11:41:55 +00:00
Andy Wilkinson
4bc32e6358 Use a HandlerInterceptor for timing long tasks
Closes gh-15204
2018-11-26 11:30:06 +00:00
Andy Wilkinson
e1db713169 Merge branch '2.0.x' 2018-11-26 10:38:01 +00:00
Andy Wilkinson
958c3861ee Merge branch '1.5.x' into 2.0.x 2018-11-26 10:37:45 +00:00
Stephane Nicoll
f43a83fa4f Upgrade to Junit Jupiter 5.3.2
Closes gh-15286
2018-11-26 10:41:08 +01:00
Stephane Nicoll
ae1979f1ff Merge branch '2.0.x' 2018-11-26 10:35:37 +01:00
Stephane Nicoll
5f0ac46d78 Unwrap DataSource target rather than plain instanceof calls
Closes gh-15227
2018-11-26 10:35:10 +01:00
Stephane Nicoll
8cdbbddc6d Merge pull request #15206 from ttddyy
* pr/15206:
  Polish "Perform best effort to retrieve DataSourceProxy"
  Perform best effort to retrieve DataSourceProxy
2018-11-26 10:23:11 +01:00
Stephane Nicoll
e424dfbe15 Polish "Perform best effort to retrieve DataSourceProxy"
Closes gh-15206
2018-11-26 10:18:48 +01:00
Tadaya Tsuyukubo
26f9a92837 Perform best effort to retrieve DataSourceProxy
Prior to this commit, `DataSourceJmxConfiguration` with tomcat
`DataSource`, it can only find `DataSourceProxy` if the given
`DataSource` is a direct child of it.  Since it uses `instanceof`, it
could not find `DataSourceProxy` if the `DataSource` is
wrapped(delegated) or proxied.

This is because `DataSourceProxy#unwrap()` always returns null; thus
cannot use this method to directly obtain `DataSourceProxy`.

In this commit, updated the check logic to perform the best effort to
retrieve `DataSourceProxy`. If given `DataSource` is wrapped or proxied
by spring, tries to unwrap or get target datasource recursively to find
`DataSourceProxy`.

See gh-15206
2018-11-26 10:18:48 +01:00
Andy Wilkinson
dff3d6ec7a Upgrade to Jackson 2.8.11.20181123
Closes gh-15289
2018-11-26 08:38:04 +00:00
Andy Wilkinson
ee2107c91b Merge branch '2.0.x' 2018-11-23 20:15:42 +00:00
Andy Wilkinson
44632ea55c Merge branch '1.5.x' into 2.0.x 2018-11-23 20:15:26 +00:00
Andy Wilkinson
1d3a066f52 Polish 2018-11-23 20:15:13 +00:00
Andy Wilkinson
548cc05bb6 Polish 2018-11-23 19:33:33 +00:00
Andy Wilkinson
5a246ce24d Merge branch '2.0.x' 2018-11-23 17:00:24 +00:00
Andy Wilkinson
8772f90e2f Polish 2018-11-23 17:00:16 +00:00
Andy Wilkinson
35cce76ae8 Merge branch '2.0.x' 2018-11-23 16:59:27 +00:00
Andy Wilkinson
3331fa2d02 Merge branch '1.5.x' into 2.0.x 2018-11-23 16:59:18 +00:00
Andy Wilkinson
291522a261 Avoid duplicate scope registration
Closes gh-14990
2018-11-23 16:55:43 +00:00