Andy Wilkinson
048be1813e
Ensure JarFile created for nested entry InputStream is closed
...
Closes gh-17127
2019-06-12 14:22:17 +01:00
Andy Wilkinson
29d1cd3b2d
Merge branch '2.1.x'
...
Closes gh-17124
2019-06-12 13:01:40 +01:00
Andy Wilkinson
c12ccfb342
Close JarFile if failure occurs during construction
...
Fixes gh-17123
2019-06-12 12:59:14 +01:00
Andy Wilkinson
5e3c86ab8d
Merge branch '2.1.x'
...
Closes gh-17122
2019-06-12 12:53:49 +01:00
Andy Wilkinson
4222c5b8ce
Prevent URLResource and JarURLConnection from leaking an InputStream
...
Fixes gh-17121
2019-06-12 12:53:16 +01:00
Andy Wilkinson
5375681fa5
Merge branch '2.1.x'
...
Closes gh-17120
2019-06-12 12:41:09 +01:00
Andy Wilkinson
df9a6a0f4f
Wait for up to 30s for access logs to be written during shutdown
...
Closes gh-17119
2019-06-12 12:40:11 +01:00
Andy Wilkinson
405b4ad441
Merge branch '2.1.x'
...
Closes gh-17118
2019-06-12 12:28:19 +01:00
Andy Wilkinson
2833f60344
Avoid leaving streams open when writing libraries
...
Fixes gh-17115
2019-06-12 12:28:07 +01:00
Andy Wilkinson
38552065e8
Merge branch '2.1.x'
...
Closes gh-17114
2019-06-12 11:37:05 +01:00
Andy Wilkinson
7103eab2e6
Close JarFiles when looking for Class-Path manifest entries
...
Fixes gh-17095
2019-06-12 11:36:34 +01:00
Andy Wilkinson
a084cc3f6c
Merge branch '2.1.x'
...
Closes gh-17112
2019-06-12 08:21:28 +01:00
dreis2211
23b09ecca6
Make dependency available for javadoc generation
...
See gh-17111
2019-06-12 08:18:26 +01:00
Madhura Bhave
6b3329b274
Add support for annotations on constructor parameter binding
...
Closes gh-17109
2019-06-11 16:46:29 -07:00
Andy Wilkinson
e6151a6478
Polish
2019-06-11 18:57:58 +01:00
Phillip Webb
08dbb2d8c4
Polish
2019-06-11 09:23:50 -07:00
Johnny Lim
3b3a92c563
Add missing @Test annotations
...
This commit also restores assertion accidentally removed in
commit 44d832158a .
See gh-17069
2019-06-11 09:21:31 -07:00
Andy Wilkinson
c11f25bf8b
Merge branch '2.1.x'
...
Closes gh-17104
2019-06-11 10:52:03 +01:00
Andy Wilkinson
95d0e26c35
Fix command DevTools uses to shut down in-memory Derby DB
...
Closes gh-17099
2019-06-11 10:29:09 +01:00
Phillip Webb
b3d5cd538d
Add JUnit 5 checkstyle rules
...
Add a rule to enforce JUnit 5 usage and conventions.
Closes gh-17093
2019-06-10 16:16:45 -07:00
Madhura Bhave
2560b54f7c
Add configuration support for Opaque Token authentication
...
Closes gh-15872
2019-06-10 14:24:32 -07:00
Phillip Webb
8d44e31898
Fix composite property source filtering
...
Update `ConfigFileApplicationListener` so that property filtering works
against the original `PropertySource`, rather than the underling `Map`.
Prior to this commit, it was impossible for a `CompositePropertySource`
to be used as the `defaultPropertySource`.
Closes gh-17011
2019-06-10 09:55:30 -07:00
Andy Wilkinson
75e45fd239
Switch to @DisableWithoutTestcontainers
...
Closes gh-17092
2019-06-10 12:49:12 +01:00
Phillip Webb
266d6334b2
Fix checkstyle RedundantModifier test violations
2019-06-07 20:46:33 -07:00
Phillip Webb
cde4f0d688
Fix checkstyle violations
2019-06-07 13:27:14 -07:00
Phillip Webb
4c21dc1c31
Merge branch '2.1.x'
2019-06-07 12:51:32 -07:00
Phillip Webb
fed11febec
Fix checkstyle violations
2019-06-07 12:48:55 -07:00
Phillip Webb
866e2b712e
Merge branch '2.0.x' into 2.1.x
2019-06-07 12:35:28 -07:00
Phillip Webb
2c8881a908
Merge branch '1.5.x' into 2.0.x
2019-06-07 12:34:13 -07:00
Andy Wilkinson
b18fffaf14
Move tests to JUnit 5 wherever possible
2019-06-07 12:25:54 +01:00
Andy Wilkinson
aef92b9295
Merge branch '2.1.x'
...
Closes gh-17079
2019-06-07 11:00:44 +01:00
Andy Wilkinson
24925c3dae
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17078
2019-06-07 10:50:34 +01:00
Andy Wilkinson
c6c139d980
Merge branch '1.5.x' into 2.0.x
2019-06-07 10:46:31 +01:00
Brian Clozel
5b2de5c81d
Configure PathPattern for RSocket routing
...
This commit configures a `PathPatternRouteMatcher` in the RSocket
support if spring-web is on the classpath. This `RouteMatcher`
implementation is more efficient than the `SimpleRouteMatcher`, which is
based on the `AntPathMatcher`.
Closes gh-16865
2019-06-07 00:14:01 +02:00
Brian Clozel
a6fdfaccaa
Switch to Spring HATEOAS SNAPSHOTs
...
See gh-17075
2019-06-06 17:51:04 +02:00
Brian Clozel
16c521a9e6
Auto-configure reactive Elasticsearch components
...
As of Spring Data Moore, a new reactive template and the
corresponding repositories support have been added.
This commit auto-configures a `ReactiveElasticsearchTemplate`
with the configuration properties under the
`spring.data.elasticsearch.client.reactive` namespace.
To enable this feature, applications require both Spring Data
Elasticsearch dependencies (typically
`spring-boot-starter-data-elasticsearch`) and dependencies
for a `WebClient` (often `spring-boot-starter-webflux`).
The support for the reactive Elasticsearch repositories is
also provided.
Closes gh-16214
2019-06-05 14:22:43 +02:00
Phillip Webb
3bfc9235df
Polish "Optimize CacheKey handling for immutable sources"
...
Make immutable properties more explicit and trust that they
truly won't change.
See gh-16717
2019-06-04 16:26:48 -07:00
dreis2211
44d832158a
Optimize CacheKey handling for immutable sources
...
Update `SpringIterableConfigurationPropertySource` so that cache keys
do not need to be checked if property sources are immutable.
See gh-16717
2019-06-04 16:26:43 -07:00
Phillip Webb
db75347eb6
Merge branch '2.1.x'
2019-06-04 14:41:20 -07:00
Phillip Webb
0ef331018e
Merge branch '2.0.x' into 2.1.x
2019-06-04 14:30:52 -07:00
Phillip Webb
7fc01971ed
Merge branch '1.5.x' into 2.0.x
2019-06-04 14:20:25 -07:00
Phillip Webb
d306b31ce9
Merge branch '2.1.x'
2019-06-04 02:08:00 -07:00
Phillip Webb
ccfbd03482
Merge branch '2.0.x' into 2.1.x
2019-06-04 02:07:14 -07:00
Phillip Webb
b442d3b906
Merge branch '1.5.x' into 2.0.x
2019-06-04 01:49:03 -07:00
Phillip Webb
5fba43aa31
Merge branch '1.5.x' into 2.0.x
2019-06-04 00:05:57 -07:00
Phillip Webb
af1a6d8649
Polish "Make it easier to set bufferRequestBody"
...
See gh-16972
2019-06-03 14:15:54 -07:00
kevinstrijbos
9f06514b89
Make it easier to set bufferRequestBody
...
Update `RestTemplateBuilder` to make it easier to set
the `bufferRequestBody` value on a underlying `ClientHttpRequestFactory`
See gh-16972
2019-06-03 14:14:34 -07:00
Phillip Webb
750d251ae8
Update JsonComponent documentation
...
See gh-16544
2019-06-03 13:08:07 -07:00
Brian Clozel
c74badd4f2
Auto-configure Elasticsearch REST client in Spring Data
...
This commit auto-configures the Elasticsearch REST client support
as a template for Spring Data Elasticsearch. As of this commit,
using the transport client is still possible but developers
should migrate.
This commit also removes the deprecated annotation on the
Elasticsearch auto-configuration for the transport client, since
this deprecation notice is already present on the configuration
property.
Closes gh-17024
Closes gh-16542
2019-06-03 21:20:06 +02:00
Stephane Nicoll
ae5b5be597
Reset flag after each test as well to avoid side effects
2019-06-03 13:29:35 +02:00