dreis2211
26a22fa523
Test the Gradle Plugin against Gradle 5.6.1
...
See gh-17984
Closes gh-17984
2019-08-29 12:46:26 +01:00
Andy Wilkinson
bbec7b0f37
Merge branch '2.1.x'
...
Closes gh-17994
2019-08-29 12:30:06 +01:00
Andy Wilkinson
9961647c7f
Improve handling of reserved characters in MetaInfResourceManager
...
Previously, MetaInfResourceManager that we use with Undertow to serve
static resources from jar's META-INF/resources did not correctly
handle characters in the path that should be percent-encoded when
used in a URL.
This commit updates MetaInfResourceManager to encode the path before
it is used to create a URL. Prior to this encoding, encoded slashes
(%2F) are decoded as, unlike other encoded characters in the request's
URL, encoded slashes are not decoded prior to calling the
ResourceManager.
Fixes gh-17853
2019-08-29 12:13:40 +01:00
Stephane Nicoll
b57db504df
Fix broken build due to Kotlin upgrade
2019-08-29 10:01:16 +02:00
Stephane Nicoll
078d53a5f2
Upgrade to Kotlin 1.3.50
...
Closes gh-17982
2019-08-28 17:11:49 +02:00
Andy Wilkinson
11f67b8536
Upgrade to Kotlin Coroutines 1.3.0
...
Closes gh-17907
2019-08-28 11:22:13 +01:00
leoli
fac4b9c830
Upgrade to Git commit ID plugin 3.0.1
...
See gh-17981
2019-08-28 11:15:09 +01:00
Stephane Nicoll
96596f8ecc
Polish contribution
...
See gh-17962
2019-08-28 10:55:32 +02:00
Kant
7ee3656188
Polish
...
See gh-17962
2019-08-28 10:55:13 +02:00
Madhura Bhave
2726540e76
Merge branch '2.1.x'
...
Closes gh-17980
2019-08-28 13:13:48 +05:30
Madhura Bhave
674f2f5a6c
EndpointRequest should match @ServletEndpoint
...
This commit also changes the request matcher for MVC
endpoints to use an AntPathRequestMatcher instead of an
MvcRequestMatcher. The endpoint is always available
under the mapped endpoint path and this way the same matcher
can be used for both MVC and Jersey.
Fixes gh-17912
Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2019-08-28 11:48:53 +05:30
dreis2211
ec57f0c31f
Fix upstream RSocket method renames
...
See gh-17973
2019-08-27 13:12:52 +01:00
Vedran Pavic
cb3efc1ef6
Add dependency management for IBM DB2 JDBC driver
...
See gh-17782
2019-08-27 11:19:19 +02:00
Stephane Nicoll
cda310ba0a
Polish "Fix a broken Asciidoctor syntax"
...
See gh-17970
2019-08-27 11:11:57 +02:00
Johnny Lim
78a467f9d3
Fix a broken Asciidoctor syntax
...
See gh-17970
2019-08-27 11:10:39 +02:00
Stephane Nicoll
e92a530640
Merge branch '2.1.x'
...
Closes gh-17972
2019-08-27 11:07:45 +02:00
leoli
34d28f48ca
Fix Undertow access log dir property name in doc
...
See gh-17968
2019-08-27 11:06:16 +02:00
Madhura Bhave
46ea4a2501
isPublisherConfirms in RabbitProperties should not throw NPE
...
Fixes gh-17967
2019-08-27 08:39:55 +05:30
Phillip Webb
fb846f434f
Merge branch '2.1.x'
...
Fixes gh-17959
2019-08-25 21:37:07 -07:00
Phillip Webb
4c446c38a6
Only add management error page for Spring MVC
...
Move management `ErrorPage` registration from the
`WebMvcEndpointChildContextConfiguration` to
`WebMvcEndpointChildContextConfiguration` and only add it when the
error controller is registered.
Fixes gh-17938
2019-08-25 21:34:25 -07:00
Stephane Nicoll
7d994e607d
Restructure tests to exercise deprecated property in a dedicated test
...
See gh-17848
2019-08-24 08:22:28 +02:00
Madhura Bhave
21783faede
Merge branch '2.1.x'
...
Closes gh-17953
2019-08-23 19:44:16 -07:00
Madhura Bhave
28d374d84d
Polish "Configure Issuer Validator for Resource Server"
...
See gh-17952
2019-08-23 19:34:49 -07:00
HaiTao Zhang
b3d189cf87
Configure Issuer Validator for Resource Server
...
See gh-17952
2019-08-23 19:34:31 -07:00
Madhura Bhave
8954fe13e5
Polish "Support additional publisher confirm types"
...
See gh-17848
2019-08-23 18:44:42 -07:00
HaiTao Zhang
8c1c8a27d9
Support additional publisher confirm types
...
See gh-17848
2019-08-23 18:44:15 -07:00
Madhura Bhave
7829593746
Polish "Sanitize password in URI properties"
...
See gh-17939
2019-08-23 18:16:46 -07:00
HaiTao Zhang
d49a2ec98e
Sanitize password in URI properties
...
See gh-17939
2019-08-23 18:10:43 -07:00
Madhura Bhave
0fee0ca71c
Merge pull request #17915 from htztomic
...
* pr/17915:
Polish "Added support for devtools YAML configuration"
Added support for devtools YAML configuration
Closes gh-17915
2019-08-23 14:39:07 -07:00
Madhura Bhave
48b5b6a24c
Polish "Added support for devtools YAML configuration"
...
See gh-17915
2019-08-23 14:37:54 -07:00
HaiTao Zhang
00a3ad0fd1
Added support for devtools YAML configuration
...
See gh-17915
2019-08-23 14:33:39 -07:00
Andy Wilkinson
b54ff7c45f
Merge branch '2.1.x'
...
Closes gh-17950
2019-08-23 20:34:35 +01:00
Andy Wilkinson
608228d617
Improve handling of non-standard status codes in WebClient metrics
...
Fixes gh-17695
2019-08-23 20:28:26 +01:00
Andy Wilkinson
ba6fe60134
Merge branch '2.1.x'
...
Closes gh-17948
2019-08-23 19:15:02 +01:00
Andy Wilkinson
52050c173c
Fix spying on scoped beans with @SpyBean
...
Previously, when spying on a scoped bean the creation of the spy
would be performed using the scoped proxy. This would result in
the spy being unable to spy on any of the target bean's methods as
the scoped proxy's implementations of those methods would be final.
This commit updates MockitoPostProcessor so that the creation of the
spy and injection of the @SpyBean-annotated field is performed using
the scoped target. The scoped target has not be proxied so this
allows Mockito to spy on all of its methods.
Closes gh-17817
2019-08-23 19:03:08 +01:00
Andy Wilkinson
2d2e3b3d8b
Support parallel test execution with @AutoConfigureMockMvc
...
Previously, the deferred line writing that is used, to print MockMvc
results to the console assumed that each DeferredLinesWriter would
only be used by a single thread at a time. This assumption does not
hold true when using JUnit 5's parallel test exection if the tests
running in parallel share an application context. This resulted in
a concurrent modification exception if one thread was adding lines
to the output while another was iterating over them.
This commit updates DeferredLinesWriter so that it uses thread local
storage for the deferred lines. This ensures that each List of lines
is only ever accessed by a single thread.
Closes gh-16179
2019-08-23 14:12:54 +01:00
Stephane Nicoll
52bcdac7b0
Polish
2019-08-23 13:44:24 +02:00
LiangYong
12bfca56d6
Remove unnecessary null check
...
See gh-17916
2019-08-23 13:25:11 +02:00
Gang Zhang
2b29bea55c
Use putIfAbsent() instead of containsKey
...
See gh-17913
2019-08-23 13:21:23 +02:00
Andy Wilkinson
bac63cf79e
Merge branch '2.1.x'
...
Closes gh-17943
2019-08-23 11:29:24 +01:00
Andy Wilkinson
0fb0eb6e5b
Deprecate jackson.version in favour of new jackson-bom.version
...
The versions of Jackon's bom and the versions of Jackson are often
not the same. For example, at the time of writing, the latest bom
version is 2.9.9.20190807 but the latest version of Jackson's core
is 2.9.9 and the latest version of Jackson's databind is 2.9.9.3.
spring-boot-dependencies using a property, jackson.version, to control
the version of jackson-bom that is imported. To make it clear that the
version property controls the version of Jackson's bom and not of
Jackson itself, this commit deprecates jackson.version in favour of
a new jackson-bom.version property.
An additional benefit of this change is that it addresses a problem
when using Gradle and the dependency management plugin. Jackson's bom
uses a jackson.version property to control the version
of core Jackson modules. This names clashes with the name of the
property used by spring-boot-dependencies. Specifying a custom
jackson.version to control the version of the bom that is imported
would also have the unwanted side-effect of customizing the version of
the core Jackson modules declared in Jackson's bom.
Fixes gh-17808
2019-08-23 11:28:20 +01:00
Andy Wilkinson
c48228f645
Merge branch '2.1.x'
...
Closes gh-17942
2019-08-23 11:03:43 +01:00
Andy Wilkinson
ac0a22d603
Tolerate LCEMFB with null JpaVendorAdapter in JPA auto-config
...
Closes gh-17935
2019-08-23 10:39:40 +01:00
Phillip Webb
cb5ca7997b
Polish
2019-08-22 15:17:34 -07:00
Phillip Webb
6270f5008d
Polish lenient enum converter
...
See gh-17798
2019-08-22 14:42:07 -07:00
Andy Wilkinson
b43827d626
Configure ping (formerly application) health indicator by default
...
This commit renames ApplicationHealthIndicator to PingHealthIndicator
and changes the auto-configuration so that it is now always configured
by default.
Closes gh-17926
2019-08-22 14:50:10 +01:00
Andy Wilkinson
05e089601e
Remove default favicon and support for serving from classpath root
...
Closes gh-17925
2019-08-22 13:53:13 +01:00
Phillip Webb
e03f822c6d
Add support for health indicator groups
...
Update the `HealthEndpoint` to support health groups. The
`HealthEndpointSettings` interface has been replaced with
`HealthEndpointGroups` which provides access to the primary group
as well as an optional set of additional groups.
Groups can be configured via properties and may have custom
`StatusAggregator` and `HttpCodeStatusMapper` settings.
Closes gh-14022
Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-08-21 18:43:25 -07:00
Phillip Webb
f09e0264d9
Migrate HealthIndicator auto-configurations
...
Migrate all `HealthIndicator` configuration to `HealthContributor`
configurations instead.
See gh-14022
2019-08-21 18:43:25 -07:00
Phillip Webb
3c535e0de3
Add HealthContributor and refactor HealthEndpoint
...
Overhaul `HealthEndpoint` support to make it easier to support health
groups. Prior to this commit the `HealthIndicator` interface was used
for both regular indicators and composite indicators. In addition the
`Health` result was used to both represent individual, system and
composite health. This design unfortunately means that all health
contributors need to be aware of the `HealthAggregator` and could not
easily support heath groups if per-group aggregation is required.
This commit reworks many aspects of the health support in order to
provide a cleaner separation between a `HealthIndicator`and a
composite. The following changes have been made:
- A `HealthContributor` interface has been introduced to represent
the general concept of something that contributes health information.
A contributor can either be a `HealthIndicator` or a
`CompositeHealthContributor`.
- A `HealthComponent` class has been introduced to mirror the
contributor arrangement. The component can be either
`CompositeHealth` or `Health`.
- The `HealthAggregator` interface has been replaced with a more
focused `StatusAggregator` interface which only deals with `Status`
results.
- `CompositeHealthIndicator` has been replaced with
`CompositeHealthContributor` which only provides access to other
contributors. A composite can no longer directly return `Health`.
- `HealthIndicatorRegistry` has been replaced with
`HealthContributorRegistry` and the default implementation now
uses a copy-on-write strategy.
- `HealthEndpoint`, `HealthEndpointWebExtension` and
`ReactiveHealthEndpointWebExtension` now extend a common
`HealthEndpointSupport` class. They are now driven by a
health contributor registry and `HealthEndpointSettings`.
- The `HealthStatusHttpMapper` class has been replaced by a
`HttpCodeStatusMapper` interface.
- The `HealthWebEndpointResponseMapper` class has been replaced
by a `HealthEndpointSettings` strategy. This allows us to move
role related logic and `ShowDetails` to the auto-configure module.
- `SimpleHttpCodeStatusMapper` and `SimpleStatusAggregator`
implementations have been added which are configured via constructor
arguments rather than setters.
- Endpoint auto-configuration has been reworked and the
`CompositeHealthIndicatorConfiguration` class has been replaced
by `CompositeHealthContributorConfiguration`.
- The endpoint JSON has been changed make `details` distinct from
`components`.
See gh-17926
2019-08-21 18:43:25 -07:00
Andy Wilkinson
24b5b0d93e
Polish
2019-08-21 15:50:33 +01:00
Andy Wilkinson
87339405f3
Merge branch '2.1.x'
...
Closes gh-17928
2019-08-21 15:18:13 +01:00
Andy Wilkinson
abe3d38527
Fix OoM error when starting Tomcat with max int load on startup
...
Fixes gh-17927
2019-08-21 15:17:54 +01:00
dreis2211
6ef6875a60
Correct WebFlux response body method
...
See gh-17919
2019-08-21 11:07:48 +01:00
Andy Wilkinson
9ac6485768
Prioritise static resource locations over classpath for favicon.ico
...
Closes gh-17922
2019-08-21 10:42:32 +01:00
Madhura Bhave
55c6ee71c1
Include logger group with configuredLevel in docs
...
Closes gh-17772
2019-08-20 22:48:26 -07:00
Phillip Webb
5f88c592b3
Polish
2019-08-20 19:27:43 -07:00
Brian Clozel
e7c3ab3e27
Rename WebFlux response body methods
...
This commit adapts to recent changes in Spring Framework.
See spring-projects/spring-framework#23212
2019-08-20 13:03:24 +02:00
Stephane Nicoll
752bb0f5ab
Start building against Spring Kafka 2.3.0 snapshots
...
See gh-17902
2019-08-20 10:46:00 +02:00
Stephane Nicoll
9dd6edbe56
Start building against Spring Integration 5.2.0 snapshots
...
See gh-17901
2019-08-20 10:45:20 +02:00
Stephane Nicoll
b2e024f22e
Start building against Spring HATEOAS 1.0.0 snapshots
...
See gh-17904
2019-08-20 10:44:32 +02:00
Stephane Nicoll
e984874e96
Start building against Spring Data Moore snapshots
...
See gh-17900
2019-08-20 10:44:32 +02:00
Stephane Nicoll
3c0a41646b
Start building against Spring Batch 4.2.0 snapshots
...
See gh-17899
2019-08-20 10:44:27 +02:00
Stephane Nicoll
4b6e3b2a59
Start building against Reactor Dysprosium snapshots
...
See gh-17895
2019-08-20 10:01:31 +02:00
Andy Wilkinson
e805b6ea6e
Upgrade to Mockito 3.0.0
...
Closes gh-17803
2019-08-19 18:25:07 +01:00
Andy Wilkinson
7f8944d00f
Polish
2019-08-19 17:31:56 +01:00
Andy Wilkinson
cc3df98135
Merge branch '2.1.x'
2019-08-19 16:08:25 +01:00
Andy Wilkinson
ab87b2a39b
Polish
2019-08-19 16:05:43 +01:00
Andy Wilkinson
f916e1a1ce
Document response structure for retrieving a logger group
...
Closes gh-17909
2019-08-19 14:18:41 +01:00
Stephane Nicoll
3bc65f4fec
Upgrade to Kotlin coroutines 1.3.0-RC2
...
See gh-17907
2019-08-19 11:30:08 +02:00
Stephane Nicoll
a43e4c7a21
Start building against Spring Framework 5.2.0 snapshots
...
See gh-17896
2019-08-19 11:27:22 +02:00
Stephane Nicoll
7f06504006
Detect ConfigurationProperties using autowiring constructor
...
This commit improves InvalidConfigurationPropertiesException failure
analysis by adding a dedicated description when a single autowiring
constructor is found. When @Component is removed, such constructor is
used for properties binding and will not apply the same semantics as
before.
Closes gh-17750
2019-08-19 11:01:49 +02:00
LiangYong
a5746d0a03
Simplify some code
...
See gh-17893
2019-08-19 07:24:54 +02:00
thelproad
9c1f503e46
Simplify if statements
...
See gh-17884
2019-08-17 06:50:32 +02:00
Stephane Nicoll
fc0cee5ea7
Merge branch '2.1.x'
2019-08-17 06:47:33 +02:00
lijuny
d33ed84f1f
Remove redundant code
...
See gh-17875
2019-08-17 06:41:10 +02:00
dreis2211
d4affd7f85
Use hasSize() assertion in favor of length checks
...
See gh-17874
2019-08-17 06:39:41 +02:00
Stephane Nicoll
04b63cda8f
Merge branch '2.1.x'
...
Closes gh-17889
2019-08-17 06:38:00 +02:00
Filip Hrisafov
1ebbe9fc55
Map non-null LDAP properties
...
The userDn and password in LdapContextSource are not nullable. The
default values for userDn and password in LdapProperties are null. When
the values are set to null there will eventually be a
NullPointerException during
AbstractContextSource#setupAuthenticatedEnvironment since HashTable
doesn't allow null for values.
See gh-17861
2019-08-17 06:34:22 +02:00
Madhura Bhave
76dfe1aae4
Merge branch '2.1.x'
...
Closes gh-17887
2019-08-16 16:53:42 -07:00
Madhura Bhave
0187e5106d
Polish "Set up SpringLiquibase beans' dependencies by type rather than name"
...
See gh-17805
2019-08-16 16:43:50 -07:00
Andrii Hrytsiuk
b69f9e9fdf
Add missing javadoc
...
See gh-17805
2019-08-16 16:05:33 -07:00
Andrii Hrytsiuk
eaad22dd89
Set up SpringLiquibase beans' dependencies by type rather than name
...
See gh-17805
2019-08-16 16:05:33 -07:00
Madhura Bhave
dab815af40
Simplify mockmvc security in tests following upstream changes
...
SecurityMockMvcConfigurer now honors filter order so we can use that instead
of manually adding the filter.
2019-08-16 10:51:57 -07:00
Andy Wilkinson
a785a5b58a
Test the Gradle Plugin against Gradle 5.6
...
Closes gh-17883
2019-08-16 08:46:48 +01:00
dreis2211
56940fca97
Test the Gradle Plugin against Gradle 5.6
...
See gh-17876
2019-08-16 08:45:33 +01:00
Madhura Bhave
64e8b1d47c
Polish "Add properties for Jetty threadpool"
...
See gh-17871
2019-08-15 18:31:12 -07:00
HaiTao Zhang
1024d74742
Add properties for Jetty threadpool
...
See gh-17871
2019-08-15 18:30:57 -07:00
Madhura Bhave
09b690b3c9
Fix tests
2019-08-15 17:53:19 -07:00
Madhura Bhave
7494a2baad
Merge branch '2.1.x'
...
Closes gh-17880
2019-08-15 15:15:50 -07:00
Madhura Bhave
8d7deb7b67
Polish "Expand documentation on remote devtools"
...
See gh-17780
2019-08-15 15:11:10 -07:00
Sergei Petunin
ab33bc7deb
Expand documentation on remote devtools
...
See gh-17780
2019-08-15 15:09:43 -07:00
Madhura Bhave
eea83e935e
Resolve httpstatus error series using raw int code
...
See gh-16691
2019-08-15 10:44:46 -07:00
Madhura Bhave
186530478c
Bypass Spring security authentication for remote devtools endpoint
...
Closes gh-17878
2019-08-15 10:34:53 -07:00
Madhura Bhave
4b4dc28a86
Support non-standard error codes with AbstractErrorWebExceptionHandler
...
Fixes gh-16691
2019-08-15 08:21:04 -07:00
lijuny
64344214e1
Delete redundant variables
...
See gh-17864
2019-08-15 07:05:10 +02:00
Andy Wilkinson
ba4c5be2fd
Remove unused field
...
See gh-17562
2019-08-14 19:41:14 +01:00
Stephane Nicoll
6f28f41774
Polish "Simplify some code"
...
See gh-17860
2019-08-14 08:55:20 +02:00
jason
4bb842343a
Simplify some code
...
See gh-17860
2019-08-14 08:53:02 +02:00
lijuny
b26f887a2e
Simplify some code
...
See gh-17852
2019-08-14 08:48:16 +02:00
lijuny
200de49c11
Replace Collection#addAll to call constructor
...
See gh-17847
2019-08-14 08:42:13 +02:00
周武栋
6fab5b591b
Simplify some code
...
See gh-17837
2019-08-14 08:36:17 +02:00
Madhura Bhave
468b2e6d57
Merge branch '2.1.x'
...
Closes gh-17857
2019-08-13 15:15:14 -07:00
Madhura Bhave
3515ec1f29
Support relaxed binding for properties before environment is prepared
...
Fixes gh-17843
2019-08-13 14:54:27 -07:00
Stephane Nicoll
704992e657
Merge branch '2.1.x'
...
Closes gh-17855
2019-08-13 17:36:14 +02:00
Stephane Nicoll
fcf4680626
Polish "Document how to add metadata for collection and enum default values"
...
Closes gh-12874
2019-08-13 17:35:37 +02:00
Stephane Nicoll
ccf9b1b934
Merge branch '2.1.x'
...
Closes gh-17854
2019-08-13 17:23:07 +02:00
Stephane Nicoll
7aea432e3e
Promote dependency management plugin version to the bom
...
Closes gh-17842
2019-08-13 17:21:32 +02:00
Stephane Nicoll
463f94930c
Merge branch '2.1.x'
...
Closes gh-17850
2019-08-13 09:22:05 +02:00
Stephane Nicoll
25aecfeb35
Upgrade to Jackson 2.9.9.20190807
...
Closes gh-17698
2019-08-13 09:21:14 +02:00
Madhura Bhave
178746d678
Update Opaque Token Client Name following upstream changes
...
Closes gh-17846
2019-08-12 18:38:27 -07:00
Madhura Bhave
c178c9dd47
Merge branch '2.1.x'
2019-08-12 17:30:47 -07:00
Madhura Bhave
38d36ab18d
Document how to add metadata for collection and enum default values
...
Closes gh-12874
2019-08-12 17:26:39 -07:00
Brian Clozel
16f798dc11
Apply RSocket transport configuration on server
...
Fixes gh-17845
2019-08-12 21:11:59 +02:00
Stephane Nicoll
2059147421
Merge branch '2.1.x'
...
Closes gh-17840
2019-08-12 11:04:56 +02:00
Stephane Nicoll
56c2a52ea4
Polish "Fix syntax errors in docs"
...
Closes gh-17835
2019-08-12 10:54:33 +02:00
Stephane Nicoll
d02000ecc0
Merge branch '2.1.x'
...
Closes gh-17840
2019-08-12 10:36:06 +02:00
dreis2211
2e32af4737
Fix syntax errors in docs
...
See gh-17835
2019-08-12 10:34:46 +02:00
lijuny
d8baefc38a
Simplify some code
...
See gh-17834
2019-08-12 10:31:06 +02:00
dreis2211
b605cddb10
Polish some Collections API calls
...
See gh-17825
2019-08-11 10:36:10 +02:00
zhuzhuman
84eacc49ed
Simplify for statement with Collection copy
...
See gh-17827
2019-08-11 10:34:11 +02:00
lijuny
844a8d8027
Simplify some code
...
See gh-17832
2019-08-11 10:05:36 +02:00
Madhura Bhave
835108e522
Support binding of YAML style true/false values to 'ON'/'OFF'.
...
Fixes gh-17798
2019-08-09 16:19:15 -07:00
Stephane Nicoll
4928e958ce
Add reference to Pebble Templates to 3rd party starter list
...
Closes gh-17822
2019-08-09 09:28:23 +02:00
Stephane Nicoll
bf88149fb9
Upgrade to Couchbase Client 2.7.9
...
Closes gh-17795
2019-08-09 09:16:59 +02:00
Madhura Bhave
4208be0154
Merge branch '2.1.x'
...
Closes gh-17818
2019-08-08 16:26:53 -07:00
Madhura Bhave
47a9bb1c0e
Document that auto-configuration classes are not public API
...
Closes gh-16704
2019-08-08 16:26:04 -07:00
Madhura Bhave
7997971b0e
Merge branch '2.1.x'
...
Closes gh-17815
2019-08-08 15:16:20 -07:00
Madhura Bhave
1b62a05c40
Document Prometheus Pushgateway support
...
Closes gh-16853
2019-08-08 15:15:51 -07:00
Madhura Bhave
8a9c60a29a
Merge branch '2.1.x'
2019-08-08 11:52:50 -07:00
Madhura Bhave
541d3c4853
Fix typo
2019-08-08 11:52:05 -07:00
Stephane Nicoll
07cd67a3fe
Tolerate null startTime
...
This commit prevents a potential NPE if the startTime of the
MavenSession is not available and fallbacks to the current time. This
can happen when invoking the plugin with Maven embedded in an IDE.
Closes gh-17810
2019-08-08 17:32:04 +02:00
Stephane Nicoll
b8a1043e98
Merge branch '2.1.x'
...
Closes gh-17813
2019-08-08 16:33:31 +02:00
Stephane Nicoll
1b3a6d1616
Polish "Configure a temporary directory with Undertow"
...
See gh-17778
2019-08-08 16:29:43 +02:00
Andy Chen
0388f954af
Configure a temporary directory with Undertow
...
See gh-17778
2019-08-08 16:17:34 +02:00
Stephane Nicoll
1c8f727864
Polish "Simplify if statements"
...
See gh-17785
2019-08-08 14:35:29 +02:00
SaberXu
c6c3a91f8d
Simplify if statements
...
See gh-17785
2019-08-08 14:32:37 +02:00
Vedran Pavic
85a289f71a
Harmonize Spring Session flush mode properties javadoc
...
See gh-17797
2019-08-08 14:29:30 +02:00
Vedran Pavic
84dd1f2d29
Add support for configuring Spring Session JDBC flush mode
...
See gh-17797
2019-08-08 14:27:15 +02:00
Stephane Nicoll
71cf0a3ec8
Merge branch '2.1.x'
...
Closes gh-17812
2019-08-08 14:13:06 +02:00
Stephane Nicoll
994f08d234
Polish "Fix annotation lookup on proxied EndpointExtension"
...
See gh-17807
2019-08-08 13:58:03 +02:00
Jacques-Etienne Beaudet
9083da2876
Fix annotation lookup on proxied EndpointExtension
...
See gh-17807
2019-08-08 13:48:21 +02:00
Stephane Nicoll
845f2d0607
Upgrade to Rsocket 1.0.0-RC2
...
Closes gh-17800
2019-08-07 08:50:40 +02:00
Stephane Nicoll
b8a8df4118
Revert "Upgrade to Jackson 2.9.9.20190806"
...
This reverts commit 81239611a0
.
See gh-17698
2019-08-06 11:07:21 +02:00
Stephane Nicoll
81239611a0
Upgrade to Jackson 2.9.9.20190806
...
Closes gh-17698
2019-08-06 09:40:32 +02:00
Stephane Nicoll
94184ae38b
Upgrade to Spring Security 5.1.6
...
Closes gh-17794
2019-08-06 08:15:18 +02:00
Madhura Bhave
3c9774d73c
Upgrade to Spring Integration 5.2.0.M4
...
Closes gh-17584
2019-08-05 17:02:48 -07:00
Madhura Bhave
c5d1781ae1
Merge branch '2.1.x'
...
Closes gh-17793
2019-08-05 15:32:47 -07:00
陈其苗
77931a0981
Fix typo in assertion
...
See gh-17774
2019-08-05 15:30:33 -07:00
Bo Zhang
c19057e117
Simplify conditional statements
...
See gh-17779
2019-08-05 15:13:35 -07:00
Madhura Bhave
4002a66c8b
Upgrade to Spring Session Corn-M3
...
Closes gh-17348
2019-08-05 14:17:40 -07:00
Stephane Nicoll
602bf730f2
Upgrade to Webjars Locator Core 0.38
...
Closes gh-17792
2019-08-05 20:43:08 +02:00
Stephane Nicoll
60bb9e695b
Upgrade to Mariadb 2.4.3
...
Closes gh-17791
2019-08-05 20:43:08 +02:00
Stephane Nicoll
9226edf19b
Upgrade to Elasticsearch 6.8.2
...
Closes gh-17790
2019-08-05 20:43:08 +02:00
Stephane Nicoll
5ace0e5e0c
Upgrade to Johnzon Jsonb 1.1.13
...
Closes gh-17789
2019-08-05 20:43:08 +02:00
Stephane Nicoll
6a4fb6fcde
Upgrade to Rxjava2 2.2.11
...
Closes gh-17788
2019-08-05 20:43:08 +02:00
Stephane Nicoll
7874de4062
Restore tests that were failing with Java 13
...
Closes gh-17607
2019-08-05 20:43:08 +02:00
Stephane Nicoll
9a16a505ec
Upgrade to Hazelcast 3.12.2
...
Closes gh-17787
2019-08-05 20:43:08 +02:00
Madhura Bhave
e6dd6a3df8
Upgrade to Spring Security 5.2.0.M4
...
Closes gh-17349
2019-08-05 11:31:42 -07:00
Stephane Nicoll
7a3a66e43d
Upgrade to Spring Kafka 2.3.0.M4
...
Closes gh-17319
2019-08-05 20:15:11 +02:00
Stephane Nicoll
41e19a8298
Upgrade to Spring AMQP 2.2.0 M4
...
Closes gh-17583
2019-08-05 20:14:22 +02:00
Stephane Nicoll
766b6c394f
Upgrade to Rxjava2 2.2.11
...
Closes gh-17675
2019-08-05 20:01:56 +02:00
Stephane Nicoll
b1d298fdef
Upgrade to Johnzon Jsonb 1.1.13
...
Closes gh-17786
2019-08-05 20:00:43 +02:00
Madhura Bhave
5e52fedbac
Upgrade to Spring Session Bean-SR7
...
Closes gh-17581
2019-08-05 09:49:27 -07:00
Stephane Nicoll
134c534cc1
Upgrade to Spring Kafka 2.2.8
...
Closes gh-17645
2019-08-05 18:13:28 +02:00
Stephane Nicoll
1e74e294ae
Upgrade to Spring AMQP 2.1.8
...
Closes gh-17641
2019-08-05 18:12:49 +02:00
Stephane Nicoll
236efd2cf4
Upgrade to Spring Integration 5.1.7
...
Closes gh-17643
2019-08-05 18:12:17 +02:00
Stephane Nicoll
501d9ad628
Upgrade to Spring Data Moore-RC2
...
Closes gh-17350
2019-08-05 16:36:29 +02:00
Stephane Nicoll
aaf953338b
Upgrade to Spring HATEOAS 1.0.0.RC1
...
Closes gh-17755
2019-08-05 16:35:50 +02:00
Stephane Nicoll
854d6081c6
Upgrade to Byte Buddy 1.10.0
...
Closes gh-17716
2019-08-05 14:17:48 +02:00
Stephane Nicoll
9938c18968
Upgrade to Spring Data Lovelace-SR10
...
Closes gh-17353
2019-08-05 13:42:48 +02:00
Stephane Nicoll
5529596e17
Upgrade to Spring Framework 5.2.0 RC1
...
Closes gh-17280
2019-08-05 11:36:36 +02:00
Stephane Nicoll
3e8b599d95
Upgrade to AssertJ 3.13.2
...
Closes gh-17690
2019-08-04 13:38:38 +02:00
freekry
a9e7c4ec95
Fix typo in JsonComponent javadoc
...
See gh-17776
2019-08-04 08:59:40 +02:00
Stephane Nicoll
b15674d71e
Upgrade to Spring HATEOAS 0.25.2
...
Closes gh-17777
2019-08-04 08:56:05 +02:00
Phillip Webb
105df823ee
Polish
2019-08-03 15:42:22 +01:00
Phillip Webb
2cdceb92bf
Polish
2019-08-03 14:29:20 +01:00
Phillip Webb
b29e81fcd9
Allow defaultBindHandler to be specified on Binder
...
Allow a `defaultBindHandler` to be specified on the `Binder` instance
to save needing to pass it to each `bind` method call.
Closes gh-17773
2019-08-03 11:58:28 +01:00
Phillip Webb
fb6568be73
Improve PropertySourceLoader file extension error
...
Refine the `IllegalStateException` thrown from `PropertySourceLoader`
for unknown extensions to also indicated that folder references must end
in '/'.
Closes gh-17241
2019-08-03 11:36:36 +01:00
Stephane Nicoll
99f30700e2
Upgrade to Spring Batch 4.2.0.M3
...
Closes gh-17347
2019-08-03 10:54:40 +02:00
Madhura Bhave
ea244aa32b
Merge branch '2.1.x'
...
Closes gh-17769
2019-08-02 09:16:05 -07:00
Madhura Bhave
faaada1416
Remove liquibase check change log location
...
Missing change logs would lead to an exception even
if the checkChangeLogLocation was set to false. Spring Boot's check
would pass but Liquibase would fail later making this property redundant.
Fixes gh-16232
2019-08-02 09:03:45 -07:00
Stephane Nicoll
f021c227e1
Polish
2019-08-02 17:42:38 +02:00
Stephane Nicoll
45915d085e
Merge branch '2.1.x'
...
Closes gh-17767
2019-08-02 17:35:39 +02:00
Stephane Nicoll
eb26492eef
Polish
2019-08-02 17:31:07 +02:00
Stephane Nicoll
bacb4d1715
Polish "Refine back-off strategy of Neo4j SessionFactory"
...
See gh-17662
2019-08-02 17:15:22 +02:00
Michael Simons
274098f2e2
Refine back-off strategy of Neo4j SessionFactory
...
This commit separates the auto-configuration of the `SessionFactory` in
an isolated class so that the rest of the auto-configuration is still
applied if the user provides a custom `SessionFactory` bean.
See gh-17662
2019-08-02 17:12:01 +02:00
Stephane Nicoll
89aefa6cfb
Enable binding for scanned configuration properties
...
Closes gh-16822
2019-08-02 16:19:33 +02:00
Stephane Nicoll
2784fc1506
Merge branch '2.1.x'
...
Closes gh-17764
2019-08-02 13:57:22 +02:00
Stephane Nicoll
308a5e9360
Fix bean name for reactive Cassandra health indicator
...
Closes gh-17763
2019-08-02 13:56:16 +02:00
Stephane Nicoll
cdec8a9b46
Upgrade to Spring Framework 5.1.9
...
Closes gh-17351
2019-08-02 13:37:50 +02:00
Madhura Bhave
ce38891cdf
Merge pull request #17761 from htztomic
...
* pr/17761:
Polish "Support RFC 8414 in JwtDecoders and ClientRegistrations"
Support RFC 8414 in JwtDecoders and ClientRegistrations
Closes gh-17761
2019-08-01 18:33:44 -07:00
Madhura Bhave
e06b06d817
Polish "Support RFC 8414 in JwtDecoders and ClientRegistrations"
...
See gh-17761
2019-08-01 18:31:50 -07:00
HaiTao Zhang
8baec96453
Support RFC 8414 in JwtDecoders and ClientRegistrations
...
See gh-17761
2019-08-01 18:18:49 -07:00
Madhura Bhave
4e29f7b0ae
Merge branch '2.1.x'
...
Closes gh-17762
2019-08-01 16:05:19 -07:00
Madhura Bhave
80f568bd47
Clarify RestTemplateBuilder rootUri documentation
...
Closes gh-15343
2019-08-01 15:59:24 -07:00
Madhura Bhave
f7f858bce8
Merge branch '2.1.x'
...
Closes gh-17759
2019-08-01 12:44:18 -07:00
Madhura Bhave
5f3364326b
Configure interceptors for WelcomePageHandlerMapping
...
Fixes gh-16309
2019-08-01 12:27:53 -07:00
Phillip Webb
94b5ad0f7e
Fixup tests following upstream HATEOAS changes
...
See gh-17755
2019-08-01 15:32:39 +01:00
Stephane Nicoll
bee373d6cf
Start building against Spring HATEOAS 1.0 snapshots
...
See gh-17755
2019-08-01 15:19:41 +02:00
Stephane Nicoll
da0ab06d1a
Merge branch '2.1.x'
...
Closes gh-17754
2019-08-01 14:49:22 +02:00
Stephane Nicoll
f2fd169c3a
Rename restClient to elasticsearchRestClient
...
For consistency, similar beans have been renamed as well.
Closes gh-17751
2019-08-01 14:45:33 +02:00
Stephane Nicoll
1ec8e822a1
Fix broken build
2019-08-01 14:42:01 +02:00
Stephane Nicoll
48e07c8fda
Merge branch '2.1.x'
...
Closes gh-17753
2019-08-01 14:24:23 +02:00
Stephane Nicoll
fb0fccf3c7
Polish "Create RestClient from a RestHighLevelClient if available"
...
This significantly rework the auto-configuration to reflect the order
in which things are expected. Rather than keeping a conceptual cycle
between the builder and the two inner classes that are processed first,
the configuration is now split in three parts:
* The builder that is required and common
* The configuration when the HighLevelClient is available
* The RestClient configuration when that's not the case
See gh-17488
2019-08-01 14:16:22 +02:00
Dmytro Nosan
0e87b9c163
Create RestClient from a RestHighLevelClient if available
...
See gh-17488
2019-08-01 14:16:22 +02:00
Phillip Webb
34c31ce099
Remove BeanTypeRegistry
...
Remove `BeanTypeRegistry` and rely entirely on standard calls Spring
Framework APIs.
Closes gh-17594
2019-08-01 10:15:15 +01:00
Madhura Bhave
02fd0c45e4
Merge branch '2.1.x'
...
Closes gh-17748
2019-07-31 13:01:46 -07:00
Madhura Bhave
96235ea674
Fix ordering of JSON property source relative to servlet sources
...
Fixes gh-17652
2019-07-31 12:43:08 -07:00
Phillip Webb
da4f436140
Change SearchStrategy EXHAUSTIVE to TYPE_HIERARCHY
...
Fixup references following upstream Spring Framework change.
2019-07-31 15:11:43 +01:00
Stephane Nicoll
5926547767
Merge branch '2.1.x'
...
Closes gh-17745
2019-07-31 15:15:21 +02:00
Stephane Nicoll
0c560795fd
Harmonize settings.gradle documentation in Gradle getting started guide
...
See gh-17736
2019-07-31 15:11:53 +02:00
Dave Syer
e7b0450a7f
Add missing repositories to snapshot configuration
...
See gh-17736
2019-07-31 15:00:07 +02:00
Johnny Lim
2c2ee92a39
Remove ConditionEvaluationReportLoggingListener in a test
...
See gh-17742
2019-07-31 14:58:46 +02:00
Stephane Nicoll
f9e809b00e
Upgrade to Undertow 2.0.23.Final
...
Closes gh-17676
2019-07-31 14:51:58 +02:00
Stephane Nicoll
c08fe65429
Merge branch '2.1.x'
...
See gh-17744
2019-07-31 13:57:48 +02:00
Stephane Nicoll
dc4e67f5dd
Remove useless classpath override
2019-07-31 13:55:38 +02:00
Phillip Webb
890ea153bf
Allow endpoint @Selector to capture all paths
...
Update `@Selector` with a `match` attribute that can be used to select
all remaining path segments. An endpoint method like this:
select(@Selector(match = Match.ALL_REMAINING) String... selection)
Will now have all reaming path segments injected into the `selection`
parameter.
Closes gh-17743
2019-07-31 12:44:46 +01:00
Stephane Nicoll
44a0afcec3
Polish "Allow for custom EntityMapper bean"
...
See gh-17661
2019-07-31 10:46:29 +02:00
P.J. Meisch
a1cf665f98
Allow for custom EntityMapper bean
...
See gh-17661
2019-07-31 10:31:27 +02:00
Stephane Nicoll
f68c7a751f
Polish "Escape reserved asciidoc character in generated documentation"
...
See gh-17663
2019-07-31 10:17:14 +02:00
vivganes
b0fa58e861
Escape reserved asciidoc character in generated documentation
...
See gh-17663
2019-07-31 10:06:38 +02:00
Stephane Nicoll
69f3fe7a9c
Polish "Add dependency management for Kotlin Coroutines"
...
See gh-17701
2019-07-31 09:50:30 +02:00
Sebastien Deleuze
1acf78fb64
Add dependency management for Kotlin Coroutines
...
See gh-17701
2019-07-31 09:46:39 +02:00
Madhura Bhave
b444c3c545
Fix asciidoc section ids
2019-07-30 16:28:59 -07:00
Phillip Webb
ea5b624a39
Polish
2019-07-30 12:03:19 -07:00
Madhura Bhave
61b86ff231
Polish "Add support for configuring logging groups"
...
See gh-17515
Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2019-07-30 11:28:58 -07:00
HaiTao Zhang
b9047c22e0
Add support for configuring logging groups via endpoint
...
See gh-17515
2019-07-30 11:13:07 -07:00
Stephane Nicoll
8197feac15
Upgrade to Micrometer 1.2.0
...
Closes gh-17699
2019-07-30 17:46:14 +02:00
Stephane Nicoll
b405f8ecf2
Introduce PushRegistry abstraction
...
This commit introduces a separate layer between PushRegistry and
StepRegistry-based implementations.
See gh-17699
2019-07-30 17:39:47 +02:00
Stephane Nicoll
e52d398771
Adapt to recent changes in Spring Security snapshots
2019-07-30 17:36:51 +02:00
Stephane Nicoll
3774af4ae3
Upgrade to Maven Javadoc Plugin 3.1.1
...
Closes gh-17735
2019-07-30 16:30:13 +02:00
Stephane Nicoll
c467ecfae8
Upgrade to Xmlunit2 2.6.3
...
Closes gh-17734
2019-07-30 16:30:12 +02:00
Stephane Nicoll
c134622495
Upgrade to Spring Cloud Connectors 2.0.6.RELEASE
...
Closes gh-17733
2019-07-30 16:30:10 +02:00
Stephane Nicoll
4477d76b1f
Upgrade to Postgresql 42.2.6
...
Closes gh-17732
2019-07-30 16:30:09 +02:00
Stephane Nicoll
7e057dd3d8
Upgrade to Neo4j Ogm 3.2.0-RC1
...
Closes gh-17731
2019-07-30 16:30:07 +02:00
Stephane Nicoll
a5ddb5e408
Upgrade to Mongo Driver Reactivestreams 1.12.0-rc0
...
Closes gh-17730
2019-07-30 16:30:06 +02:00
Stephane Nicoll
2bfb41d542
Upgrade to Mongodb 3.11.0-rc0
...
Closes gh-17729
2019-07-30 16:30:04 +02:00
Stephane Nicoll
d78750fb9a
Upgrade to Pooled Jms 1.0.6
...
Closes gh-17728
2019-07-30 16:30:02 +02:00
Stephane Nicoll
af2427c5eb
Upgrade to Liquibase 3.7.0
...
Closes gh-17727
2019-07-30 16:30:00 +02:00
Stephane Nicoll
0994a04e46
Upgrade to Junit Jupiter 5.5.1
...
Closes gh-17726
2019-07-30 16:29:58 +02:00
Stephane Nicoll
0c4de28278
Upgrade to Jolokia 1.6.2
...
Closes gh-17725
2019-07-30 16:29:57 +02:00
Stephane Nicoll
d0a7d48036
Upgrade to Kotlin 1.3.41
...
Closes gh-17724
2019-07-30 16:29:55 +02:00
Stephane Nicoll
3d82d2a3c7
Upgrade to Hibernate 5.4.4.Final
...
Closes gh-17723
2019-07-30 16:29:54 +02:00
Stephane Nicoll
b5c83530b4
Upgrade to Elasticsearch 6.8.1
...
Closes gh-17722
2019-07-30 16:29:53 +02:00
Stephane Nicoll
b1cefc1e60
Upgrade to Ehcache3 3.8.0
...
Closes gh-17721
2019-07-30 16:29:52 +02:00
Stephane Nicoll
d145583d4e
Upgrade to Janino 3.0.15
...
Closes gh-17720
2019-07-30 16:29:50 +02:00
Stephane Nicoll
c3eba372c7
Upgrade to Tomcat 9.0.22
...
Closes gh-17719
2019-07-30 16:29:49 +02:00
Stephane Nicoll
2cb596644d
Upgrade to Solr 8.2.0
...
Closes gh-17718
2019-07-30 16:29:48 +02:00
Stephane Nicoll
995b3daa25
Upgrade to Commons Pool2 2.7.0
...
Closes gh-17717
2019-07-30 16:29:46 +02:00
Stephane Nicoll
d6b25a520b
Upgrade to Byte Buddy 1.9.16
...
Closes gh-17716
2019-07-30 16:29:45 +02:00
Stephane Nicoll
8d2cded501
Upgrade to Mysql 8.0.17
...
Closes gh-17715
2019-07-30 16:29:44 +02:00
Stephane Nicoll
f6c7b77e74
Upgrade to Joda Time 2.10.3
...
Closes gh-17714
2019-07-30 16:29:42 +02:00
Stephane Nicoll
85ea8a0b56
Upgrade to Jakarta Servlet Jsp Jstl 1.2.5
...
Closes gh-17713
2019-07-30 16:29:41 +02:00
Stephane Nicoll
31a011d427
Upgrade to Undertow 2.0.23.Final
...
Closes gh-17712
2019-07-30 16:29:40 +02:00
Stephane Nicoll
ea30be2690
Upgrade to Rxjava2 2.2.10
...
Closes gh-17711
2019-07-30 16:29:38 +02:00
Stephane Nicoll
a205aef08f
Upgrade to Netty 4.1.38.Final
...
Closes gh-17710
2019-07-30 16:29:37 +02:00
Stephane Nicoll
391186cd71
Upgrade to Commons Codec 1.13
...
Closes gh-17709
2019-07-30 16:29:36 +02:00
Stephane Nicoll
7f43d8a1bc
Upgrade to Jmustache 1.15
...
Closes gh-17708
2019-07-30 16:29:34 +02:00
Stephane Nicoll
40361e3556
Upgrade to Rabbit Amqp Client 5.7.3
...
Closes gh-17707
2019-07-30 16:29:33 +02:00
Stephane Nicoll
7b0fc2e8fb
Upgrade to Appengine Sdk 1.9.76
...
Closes gh-17706
2019-07-30 16:29:31 +02:00
Stephane Nicoll
912b54f15e
Upgrade to Cassandra Driver 3.7.2
...
Closes gh-17705
2019-07-30 16:29:30 +02:00
Stephane Nicoll
6e5ad13c0d
Merge branch '2.1.x'
...
Closes gh-17702
2019-07-30 15:28:29 +02:00
Stephane Nicoll
34ee27d0b7
Upgrade to Lettuce 5.1.8.RELEASE
...
Closes gh-17700
2019-07-30 15:26:53 +02:00
Stephane Nicoll
3e93d9e1b9
Upgrade to Reactor Dysprosium-M3
...
Closes gh-17638
2019-07-30 11:17:22 +02:00
Stephane Nicoll
fe515a301d
Upgrade to Reactor Californium-SR10
...
Closes gh-17639
2019-07-30 11:12:39 +02:00
dreis2211
8d2f2b75bd
Upgrade to AssertJ 3.13.1
...
See gh-17690
2019-07-30 09:48:33 +02:00
Madhura Bhave
b6754f6f20
Fix test
2019-07-29 14:48:25 -07:00
Madhura Bhave
805264a13c
Merge pull request #17646 from htztomic
...
* pr/17646:
Polish "Default password shouldn't be generated for resource server"
Default password should not be generated when using resource server
Closes gh-17646
2019-07-29 14:15:00 -07:00
Madhura Bhave
e184298c50
Polish "Default password shouldn't be generated for resource server"
...
See gh-17646
2019-07-29 14:13:35 -07:00
HaiTao Zhang
1b0cf7bd22
Default password should not be generated when using resource server
...
See gh-17646
2019-07-29 14:09:20 -07:00
Madhura Bhave
9000d7d845
Merge branch '2.1.x'
...
Closes gh-17693
2019-07-29 11:38:49 -07:00
Tomas Aschan
1b172dc4fe
Clarify documentation about specifying main class
...
See gh-17003
2019-07-29 11:36:26 -07:00
dreis2211
a938a8b79c
Fix checkstyle warning
...
See gh-17692
2019-07-29 16:48:57 +02:00
Phillip Webb
e5497665cf
Merge branch '2.1.x'
...
Closes gh-17688
Closes gh-17689
2019-07-29 14:48:26 +01:00
Phillip Webb
73efce6306
Upgrade to Undertow 2.0.22.Final
...
Closes gh-17676
2019-07-29 14:46:16 +01:00
Phillip Webb
d7ee504ee0
Only include our own mime mappings in Undertow
...
Update `UndertowServletWebServerFactory` so that only our own mime type
mappings are included. Prior to this commit both our mime mappings and
Undertow's default mime mappings would always be included.
Fixes gh-17687
2019-07-29 14:44:57 +01:00
Stephane Nicoll
c76133eb22
Upgrade to Xmlunit2 2.6.3
...
Closes gh-17686
2019-07-29 14:34:19 +02:00
Stephane Nicoll
42942ac076
Upgrade to Spring Cloud Connectors 2.0.6.RELEASE
...
Closes gh-17685
2019-07-29 14:34:19 +02:00
Stephane Nicoll
9af85534c1
Upgrade to Postgresql 42.2.6
...
Closes gh-17684
2019-07-29 14:34:19 +02:00
Stephane Nicoll
0620a21cc1
Upgrade to Pooled Jms 1.0.6
...
Closes gh-17683
2019-07-29 14:34:19 +02:00
Stephane Nicoll
7c499b1d01
Upgrade to Jolokia 1.6.2
...
Closes gh-17682
2019-07-29 14:34:19 +02:00
Stephane Nicoll
e11d180e2e
Upgrade to Janino 3.0.15
...
Closes gh-17681
2019-07-29 14:34:19 +02:00
Stephane Nicoll
ddf84ac685
Upgrade to Tomcat 9.0.22
...
Closes gh-17680
2019-07-29 14:34:19 +02:00
Stephane Nicoll
1f901d398b
Upgrade to Byte Buddy 1.9.16
...
Closes gh-17679
2019-07-29 14:34:19 +02:00
Stephane Nicoll
1afcf5291d
Upgrade to Mysql 8.0.17
...
Closes gh-17678
2019-07-29 14:34:19 +02:00
Stephane Nicoll
fd7ed9c8be
Upgrade to Joda Time 2.10.3
...
Closes gh-17677
2019-07-29 14:34:19 +02:00
Stephane Nicoll
77317a44d8
Upgrade to Rxjava2 2.2.10
...
Closes gh-17675
2019-07-29 14:15:12 +02:00
Stephane Nicoll
eb6a160c13
Upgrade to Netty 4.1.38.Final
...
Closes gh-17674
2019-07-29 14:15:11 +02:00
Stephane Nicoll
487aab4f0a
Upgrade to Appengine Sdk 1.9.76
...
Closes gh-17673
2019-07-29 14:15:10 +02:00
Phillip Webb
3b28b1cade
Don't use static final security matcher
...
Using static final matchers breaks the build because they have state
that's not reset across tests.
See gh-17525
2019-07-29 12:13:31 +01:00
Phillip Webb
6675f49334
Switch to multi-line security configuration
...
Now that we have lambda style security configuration we can further
improve readability by switching to one statement per line.
See gh-17525
2019-07-29 11:28:51 +01:00
Stephane Nicoll
6756385049
Merge branch '2.1.x'
...
Closes gh-17664
2019-07-29 11:35:11 +02:00
Stephane Nicoll
6356852e2f
Polish "Log health check failure with Reactive health indicators"
...
See gh-17635
2019-07-29 11:25:44 +02:00
Dmytro Nosan
fe1b9c9501
Log health check failure with Reactive health indicators
...
See gh-17635
2019-07-29 11:18:19 +02:00
dreis2211
eb9527a170
Fix deprecation warnings in spring-boot-actuator
...
See gh-17660
2019-07-28 15:22:37 +02:00
Stephane Nicoll
858199a2fa
Only configure Spring Data jdbc if a transaction manager is present
...
This commit adds an extra condition to JdbcRepositoriesAutoConfiguration
so that it doesn't scan for repositories if a transaction manager is not
available as this dependency is now mandatory.
Closes gh-17654
2019-07-28 09:59:19 +02:00
Stephane Nicoll
97907aac30
Polish
2019-07-28 09:47:04 +02:00
Johnny Lim
a80749ed81
Add missing assertion in dispatcherServletCustomConfig()
...
See gh-17648
2019-07-27 09:32:24 +02:00
Madhura Bhave
3423dbf6ac
Add transaction manager in Spring Data jdbc tests
...
See gh-17654
2019-07-27 09:06:01 +02:00
Madhura Bhave
39a7b9da38
Switch to lambda style security configuration
...
Closes gh-17525
2019-07-26 14:41:49 -07:00
Stephane Nicoll
b79de1e7e3
Fix broken build
2019-07-26 16:26:37 +02:00
Stephane Nicoll
dd5d55a2d8
Start building against Spring Kafka 2.2.8 snapshots
...
See gh-17645
2019-07-26 14:12:53 +02:00
Stephane Nicoll
4b6b5fc160
Start building against Spring Integration 5.1.7 snapshots
...
See gh-17643
2019-07-26 14:11:33 +02:00
Stephane Nicoll
aa5630b0e0
Start building against Spring AMQP 2.1.8 snapshots
...
See gh-17641
2019-07-26 14:09:42 +02:00
Stephane Nicoll
fc2c98ffad
Merge branch '2.1.x'
2019-07-26 12:08:03 +02:00
Stephane Nicoll
ac4dcfbf9a
Improve detection of NoSuchMethodError cause
...
Closes gh-17649
2019-07-26 12:01:35 +02:00
Stephane Nicoll
9e8649ccca
Start building against Reactor Californium snapshots
...
See gh-17639
2019-07-25 17:37:40 +02:00
Stephane Nicoll
2c0f1fb32c
Start building against Reactor Dysprosium snapshots
...
See gh-17638
2019-07-25 17:35:12 +02:00
Brian Clozel
5beb7edfbb
Reinstate RSocket codecs configuration ordering
...
Since spring-projects/spring-framework#23314 and the following commit
spring-projects/spring-framework@be4facef1b , the RSocket codec selection
is relaxed and the order of configured commits matters again.
This commit ensures that the CBOR codec is configured ahead of the JSON
codec so that it can be chosen first if no data mime type is specified
when a connection is established with a client requester.
2019-07-24 20:39:55 +02:00
Brian Clozel
1996952e68
Update RSocket configuration after Framework changes
...
Since spring-projects/spring-framework#23314 , the `RSocketStrategies`
provide more codecs by default, and there is no need to order them to
avoid conflicts during mime type selection.
This commit also ensures that the `PayloadDecoder.ZERO_COPY` is
configured on the RSocket server if the configured `DataBufferFactory`
is compatible with that strategy.
2019-07-24 15:51:27 +02:00
Dmytro Nosan
efce9388e7
Trim OAuth2 provider property whitespace
...
Update `OAuth2ClientPropertiesRegistrationAdapter` to trim whitespace
of the "provider" property.
See gh-17497
2019-07-24 14:32:41 +01:00
Stephane Nicoll
7a2f4e83d4
Upgrade to Jedis 3.1.0
...
Closes gh-17622
2019-07-24 14:44:04 +02:00
Phillip Webb
8bc780762a
Merge branch '2.1.x'
2019-07-24 11:42:48 +01:00
Phillip Webb
fb1dd8fe93
Merge branch '2.0.x' into 2.1.x
2019-07-24 11:41:32 +01:00
Phillip Webb
913e831f4e
Merge '1.5.x' into 2.0.x
2019-07-24 11:39:58 +01:00
Stephane Nicoll
ad51972e3b
Add reference to grizzly starter
...
Closes gh-17620
2019-07-24 11:44:54 +02:00
Stephane Nicoll
5ed3185d04
Merge branch '2.1.x'
...
Closes gh-17621
2019-07-24 11:37:13 +02:00
Stephane Nicoll
057ca8f6a8
Polish "Clarify description of "logging.file.max-history""
...
See gh-17567
2019-07-24 11:36:15 +02:00
lihongmingming
00a5528d7f
Clarify description of "logging.file.max-history"
...
See gh-17567
2019-07-24 11:36:15 +02:00
dreis2211
e47d56c76d
Extend JavaVersion tests
...
See gh-17612
2019-07-24 11:13:07 +02:00
dreis2211
c8097692ea
Align JavaVersion.NINE name with JDK versioning
...
See gh-17611
2019-07-24 11:12:02 +02:00
dreis2211
4805208716
Remove obsolete UnauthenticatedAccessExample
...
See gh-17614
2019-07-24 11:06:43 +02:00
Johnny Lim
43345b36e6
Polish
...
See gh-17616
2019-07-24 11:00:40 +02:00
Stephane Nicoll
f3a138da16
Skip Gradle Plugin test when building with JDK 13
...
See gh-16970
2019-07-24 08:49:52 +02:00
Stephane Nicoll
19eaf86efa
Update multi release test jar to include Java 12
...
See gh-16970
2019-07-24 08:06:22 +02:00
Andy Wilkinson
e7b94be9cd
Polish "Document `@EmbeddedKafka` and its interaction with Spring Boot"
...
See gh-15834
2019-07-23 17:20:46 +01:00
Artem Bilan
4e79408bb0
Document `@EmbeddedKafka` and its interaction with Spring Boot
...
See gh-15834
2019-07-23 16:59:04 +01:00
Phillip Webb
6c0dbacfce
Polish
2019-07-23 15:43:51 +01:00
Phillip Webb
0d92af7d55
Add hasJsonPath and doesNotHaveJsonPath asserts
...
Extend `JsonContentAssert` with `hasJsonPath` and `doesNotHaveJsonPath`
methods which can be used to check the path regardless of the value it
may or may not contain.
Prior to this commit there wasn't an easy way to assert that the
Jackson `@JsonInclude(JsonInclude.Include.NON_NULL)` annotation was
applied since `assertDoesNotHavePathValue` would pass for both
`{"name" : null}` and `{}`.
Closes gh-17608
2019-07-23 15:43:51 +01:00
Phillip Webb
900ec9f3ec
Fix error message formatting placeholders
...
Fix the formatting message placeholders to '%s' since '{}' isn't
supported by AssertJ.
See gh-15569
2019-07-23 15:43:51 +01:00
Stephane Nicoll
690019ba8f
Polish "Disable tests that are failing on Java 13"
...
See gh-17607
2019-07-23 15:51:21 +02:00
Stephane Nicoll
5f3fff6470
Disable tests that are failing on Java 13
...
Hazelcast YAML support does not work with Java 13 so this commit
disables relevant tests when Java 13 is detected
See https://github.com/hazelcast/hazelcast/issues/15348
See gh-17607
2019-07-23 12:41:24 +02:00
Stephane Nicoll
94c35ae1de
Polish "Make Actuator dedicated ConversionService configurable"
...
See gh-16449
2019-07-23 12:27:00 +02:00
chao.chang
2aea437536
Make Actuator dedicated ConversionService configurable
...
See gh-16449
2019-07-23 11:16:27 +02:00
Stephane Nicoll
38a42a8600
Improve NoSuchMethodError message parsing
...
Closes gh-17544
2019-07-23 10:42:33 +02:00
Stephane Nicoll
26ee9150b2
Document WebFilter is scanned by @WebFluxTest
...
See gh-17601
2019-07-23 09:01:32 +02:00
Stephane Nicoll
94a757113d
Document HandlerInterceptor is scanned by @WebMvcTest
...
See gh-17601
2019-07-23 08:57:09 +02:00
Dmytro Nosan
9d052bbe5e
Include WebFilter beans in WebFluxTest slice
...
See gh-17601
2019-07-22 12:38:48 -07:00
Dmytro Nosan
6859a89cf3
Include HandlerInterceptor beans in WebMvcTest slice
...
See gh-17600
2019-07-22 12:34:11 -07:00
Brian Clozel
53afbbe233
Update RouteMatcher configuration for RSocket
...
This commit updates the `RouteMatcher` configuration after the latest
Spring Framework changes. The default route matcher implementation based
on the `PathPattern` infrastructure is now tailored for the messaging
use case (path separator, path encoding options and trailing separator).
See spring-projects/spring-framework#23310
2019-07-22 15:30:40 +02:00
Stephane Nicoll
a1f32bbd7a
Merge branch '2.1.x'
...
Closes gh-17603
2019-07-22 15:29:58 +02:00
Stephane Nicoll
30fe10613d
Improve how to configure configuration keys of a custom starter
...
Closes gh-17573
2019-07-22 15:28:17 +02:00
Stephane Nicoll
300f07b2a8
Polish
2019-07-22 15:20:37 +02:00
Stephane Nicoll
3c7ac4fe7f
Polish
2019-07-22 13:17:51 +02:00
Stephane Nicoll
55079c3a80
Merge branch '2.1.x'
...
Closes gh-17602
2019-07-22 13:16:58 +02:00
Stephane Nicoll
1661da8774
Polish "Configure ActiveMQConnectionFactory properly without spring-jms"
...
See gh-17531
2019-07-22 13:09:31 +02:00
Dmytro Nosan
77b52b993b
Configure ActiveMQConnectionFactory properly without spring-jms
...
See gh-17531
2019-07-22 13:08:42 +02:00
Stephane Nicoll
0ff4484568
Merge branch '2.1.x'
...
Closes gh-17599
2019-07-22 10:27:04 +02:00
dreis2211
c2b6939ae1
Cover more known Java versions in JavaVersion
...
See gh-17590
2019-07-22 10:24:54 +02:00
Remko Popma
e69854fc30
Add reference to picocli starter
...
See gh-17591
2019-07-22 09:53:18 +02:00
adavid9
6211a682d6
Replace deprecated media type
...
See gh-17596
2019-07-21 18:28:10 +02:00
Johnny Lim
8f8b0b493e
Remove println invocations in tests
...
See gh-17592
2019-07-21 18:26:26 +02:00
Phillip Webb
ca5df3cc9c
Cache TypeExcludeFilter delegates
...
Cache TypeExcludeFilter delegates to save repeated calls to
`beanFactory.getBeansOfType`.
Closes gh-17595
2019-07-20 13:56:42 +01:00
Phillip Webb
ff9f5fd1c7
Polish OnBeanCondition
...
Polish `OnBeanCondition` and make it easier to remove `BeanTypeRegistry`
in the future.
See gh-17594
2019-07-20 13:36:56 +01:00
Andy Wilkinson
ff9d0cf49b
Merge branch '2.1.x'
...
Closes gh-17588
2019-07-19 15:44:19 +01:00
Andy Wilkinson
74f0e42c98
Make it clearer when there will be no auto-configured MessageSource
...
Closes gh-17485
2019-07-19 15:44:00 +01:00
Andy Wilkinson
78871d7a5d
Tighten up sourceDocumentExtensions used for single and multi-page docs
...
Previously, the sourceDocumentExtension used for the single-page
documentation was htmlsingleadoc and for the multi-page docs they
were adoc and htmladoc. When finding source files to render, the
Asciidoctor Maven Plugin looks for files with a name that ends with
one of the configured extensions. This resulted in the
index.htmlsingleadoc file matching the adoc extention in the
multi-page configuration in addition to the intended match for the
index.htmladoc. As a result both the single-page and multi-page
indexes were rendered when rendering the multi-page documentation.
In addition to this unwanted rendering, if the single-page index was
rendered after the multi-page index, the multi-page index would be
overwritten by the single-page index, leaving the multi-page docs with
the wrong index file. Asciidoctor uses File.listFiles() during its
source file discovery which is documented as having no guarantee
that the resulting array will be in any specific order. As a result,
there was also no guarantee about which index we'd end up with.
Closes gh-17263
2019-07-19 14:55:10 +01:00
Andy Wilkinson
ea1dc85d50
Isolate Jackson2ObjectMapperBuilder mutation
...
Previously, Jackson2ObjectMapperBuilder was a singleton bean. This
meant that if it was injected and mutated in one injection point,
usage in a subsequent injection point would see the previous
injection point's mutation which can lead to unexpected failures.
This commit updates the auto-configuration of the builder to make it
a protoype bean. Mutation of the builder that is intended to apply
globally should be made using a customizer.
Closes gh-17477
2019-07-19 13:57:55 +01:00
Andy Wilkinson
c7d2799f4e
Add configuration property for DispatcherServlet event publishing
...
Closes gh-17500
2019-07-19 13:11:19 +01:00
Stephane Nicoll
3dd5426ea5
Polish "Adjust to changes in Spring AMQP 2.2 snapshots"
...
See gh-17587
2019-07-19 13:20:25 +02:00
dreis2211
e71a417399
Adjust to changes in Spring AMQP 2.2 snapshots
...
See gh-17587
2019-07-19 13:19:57 +02:00
Stephane Nicoll
e5ca9df478
Merge branch '2.1.x'
2019-07-19 11:33:16 +02:00
Stephane Nicoll
8eb6886388
Fix code formating
2019-07-19 11:29:12 +02:00
Stephane Nicoll
cc5df880c7
Start building against Spring Integration 5.2 snapshots
...
See gh-17584
2019-07-19 11:26:43 +02:00
Stephane Nicoll
a88e231c75
Start building against Spring AMQP 2.2 snapshots
...
See gh-17583
2019-07-19 11:26:43 +02:00
Stephane Nicoll
e6a5895c05
Start build against Spring Session Bean snapshots
...
See gh-17581
2019-07-19 11:13:43 +02:00
Stephane Nicoll
32e00d5dd2
Start building against Spring Data Lovelace snapshots
...
See gh-17353
2019-07-19 11:11:42 +02:00
Stephane Nicoll
1d4e9cb6a4
Start building against Spring Framework 5.1 snapshots
...
See gh-17351
2019-07-19 11:10:58 +02:00
Andy Wilkinson
3dc20ff934
Recommend third-party tracing/observability solutions
...
Closes gh-17047
2019-07-19 10:04:27 +01:00
Stephane Nicoll
08afbe286c
Merge branch '2.1.x'
...
Closes gh-17580
2019-07-19 10:35:01 +02:00
Stephane Nicoll
b8d92cb0ae
Fix @DataJdbcTest to be transactional as advertized
...
Closes gh-17513
2019-07-19 10:33:59 +02:00
Stephane Nicoll
5903e9a57a
Polish
2019-07-19 10:33:52 +02:00
Andy Wilkinson
741d8735d2
Merge branch '2.1.x'
...
Closes gh-17576
2019-07-18 17:57:07 +01:00
dreis2211
43833c7bf0
Remove unused java-statsd-client dependencies
...
See gh-17508
2019-07-18 17:54:48 +01:00
Andy Wilkinson
41957ec2ad
Polish "Polish OutputCapture and its JUnit Jupiter extension"
...
See gh-17049
2019-07-18 17:46:56 +01:00
Sam Brannen
e1c595a67f
Polish OutputCapture and its JUnit Jupiter extension
...
- Polish Javadoc
- Improve error message in OutputCapture
- Use ExtensionContext.Store in OutputCaptureExtension
See gh-17049
2019-07-18 17:46:55 +01:00
Stephane Nicoll
4ce9c6edb3
Polish "Make layout parameter available as a user property"
...
See gh-17277
2019-07-18 18:20:06 +02:00
Marc Rohlfs
d2e34e6b07
Make layout parameter available as a user property
...
This commit allows the layout parameter of the Maven repackage goal to
be set from the command line.
See gh-17277
2019-07-18 18:20:06 +02:00
Andy Wilkinson
cc85746942
Merge branch '2.1.x'
...
Closes gh-17575
2019-07-18 17:17:05 +01:00
Andy Wilkinson
591250f75e
Polish "Hide loader classes from Tomcat's ServletContext resource paths"
...
See gh-17538
2019-07-18 17:05:31 +01:00
adavid9
a81325bbbc
Hide loader classes from Tomcat's ServletContext resource paths
...
See gh-17538
2019-07-18 17:05:27 +01:00
Andy Wilkinson
0f105f7471
Fail fast if spring.config.location uses unknown file extension
...
Closes gh-17241
2019-07-18 15:34:49 +01:00
Stephane Nicoll
dd2f20fcd2
Polish "Add support for configuring Tomcat's relaxed path and query chars"
...
See gh-17510
2019-07-18 16:00:06 +02:00
dirkdeyne
1fee797af7
Add support for configuring Tomcat's relaxed path and query chars
...
See gh-17510
2019-07-18 15:04:29 +02:00
Stephane Nicoll
be988d7072
Polish "Add HealthIndicator for Hazelcast"
...
See gh-17499
2019-07-18 15:00:53 +02:00
Dmytro Nosan
fca5a2b824
Add HealthIndicator for Hazelcast
...
See gh-17499
2019-07-18 14:58:18 +02:00
dreis2211
2038fac825
Remove testsupport.assertj package
...
See gh-17557
2019-07-18 14:20:28 +02:00
Andy Wilkinson
3bf5cf1124
Merge branch '2.1.x'
...
Closes gh-17562
2019-07-18 07:22:24 +01:00
Andy Wilkinson
b725c60177
Deprecate DeploymentInfo customization with reactive Undertow
...
Fixes gh-17555
2019-07-18 06:54:38 +01:00
Phillip Webb
a9ba7080ce
Merge branch '2.1.x'
2019-07-17 21:48:42 +01:00
Phillip Webb
30b5ba87ae
Merge branch '2.0.x' into 2.1.x
2019-07-17 21:48:01 +01:00
Phillip Webb
fd67f7ba3f
Merge branch '1.5.x' into 2.0.x
2019-07-17 21:47:04 +01:00
Phillip Webb
d567261790
Polish
2019-07-17 21:38:44 +01:00
Andy Wilkinson
dad7fb4f6d
Add NettyServerCustomizer beans to the auto-configured factory
...
Closes gh-17556
2019-07-17 14:58:11 +01:00
Andy Wilkinson
ea1139755d
Ensure that customizers registered multiple times are only called once
...
Closes gh-17264
2019-07-17 14:52:29 +01:00
Stephane Nicoll
62233a0750
Merge branch '2.1.x'
...
Closes gh-17554
2019-07-17 14:29:16 +02:00
Stephane Nicoll
b6ca1eadeb
Fix prefix for datasource metrics
...
Closes gh-17553
2019-07-17 14:28:12 +02:00
Stephane Nicoll
56ce2b8e3f
Polish "Add metrics support for idle jdbc connections"
...
See gh-17504
2019-07-17 14:14:47 +02:00
ayudovin
9acc02b5cc
Add metrics support for idle jdbc connections
...
See gh-17504
2019-07-17 14:14:47 +02:00
Andy Wilkinson
808b373def
Merge branch '2.1.x'
...
Closes gh-17552
2019-07-17 12:45:48 +01:00
Andy Wilkinson
9dabc0e14d
Cleared deferred lines after each test
...
Previously, DeferredLinesWriter would collect MockMvc output from
every test that has executed. If a test eventually failed, the
output from every test up to including the one that had failed would
be output, rather than just the output for the test that has just
failed.
This commit clears the deferred lines after each test, thereby
ensuring that when a failure occurs only the lines from the failing
test are output.
Fixes gh-17551
2019-07-17 12:29:41 +01:00
Stephane Nicoll
f32020aaad
Polish "Add reference to amqp-rabbit-spring-boot-autoconfigure"
...
See gh-17537
2019-07-17 11:30:57 +02:00
EugeneMsv
e632ea706d
Add reference to amqp-rabbit-spring-boot-autoconfigure
...
See gh-17537
2019-07-17 11:29:22 +02:00
Stephane Nicoll
cc6f321da4
Improve detection of NoSuchMethodError on Java 13
...
Closes gh-17544
2019-07-17 11:17:37 +02:00
Stephane Nicoll
3a49996dbd
Merge branch '2.1.x'
...
Closes gh-17547
2019-07-17 10:30:36 +02:00
Stephane Nicoll
a64317b114
Fix broken link to Spring Integration metrics section
...
Closes gh-17543
2019-07-17 10:26:40 +02:00
Andy Wilkinson
73f7a9318f
Merge branch '2.1.x'
...
Closes gh-17546
2019-07-17 09:07:28 +01:00
Andy Wilkinson
e84477cfe2
Only perform Quartz DataSource init when using JDBC store
...
Fixes gh-17545
2019-07-17 09:04:17 +01:00
Phillip Webb
74d00354f5
Refine BuildInfoMojo time property
...
Update `BuildInfoMojo` so that the time property now defaults to
`${session.request.startTime}` rather than the time the Mojo was
created. Also update javadoc to make it clear that any supplied
value will be passed to `Instant.parse`.
See gh-17390
2019-07-16 13:51:03 +01:00
Stephane Nicoll
1f7615a964
Polish "Add support for configuring Spring Session SaveMode"
...
See gh-17514
2019-07-16 11:30:38 +02:00
Vedran Pavic
e073792448
Add support for configuring Spring Session SaveMode
...
See gh-17514
2019-07-16 11:09:54 +02:00
wonwoo
93bcc3dcf5
Update documentation to use JUnit Jupiter
...
See gh-17507
2019-07-16 11:04:50 +02:00
dreis2211
4ec035977b
Polish testsupport.junit.platform package
...
See gh-17524
2019-07-15 21:35:25 +01:00
Andy Wilkinson
cbc17c237b
Make it easier to determine each servlet filter's order
...
Closes gh-17520
2019-07-15 17:10:32 +01:00
Andy Wilkinson
8aed06452d
Allow custom resource handlers to provide favicon.ico
...
Closes gh-17381
2019-07-15 14:18:45 +01:00
Stephane Nicoll
a3e94f4412
Harmonize component scan in slice tests
...
This commit updates ConfigurationPropertiesScanRegistrar to apply the
same component scan filters than the ones applied on standard classpath
scanning.
As a result, configuration properties scanning is automatically disabled
in slice tests and can be included by an explicit import or a dedicated
TypeFilter implementation if necessary.
Closes gh-16659
2019-07-15 15:05:12 +02:00
Phillip Webb
eff1147ccc
Rename classpath runner package
...
Remove `runner` since we're no longer tied to JUnit 4.
See gh-17491
2019-07-15 13:40:26 +01:00
Phillip Webb
1117fdb2b3
Make ModifiedClassPathExtension package private
...
Meta-annotate `ClassPathExclusions` and `ClassPathOverrides` with
so that the `ModifiedClassPathExtension` no longer needs to be
used directly.
See gh-17491
2019-07-15 13:38:26 +01:00
Phillip Webb
b6ec1332a0
Polish ModifiedClassPathClassLoader
...
Remove the `ModifiedClassPathClassLoaderFactory` in favor of
factory methods on `ModifiedClassPathClassLoader`.
See gh-17491
2019-07-15 13:37:34 +01:00
Phillip Webb
4fe5e9e31e
Remove direct junit-platform-launcher dependency
...
Replace any direct `junit-platform-launcher` dependencies and instead
rely on the test runner providing it. Launcher related class are not
handled via reflection.
This update allows us to workaround SUREFIRE-1679.
Closes gh-17517
2019-07-15 13:35:08 +01:00
Phillip Webb
543fcdbbfd
Delete internal OutputCaptureRule
...
Delete our internal `OutputCaptureRule` since we not longer have any
tests using it.
2019-07-15 00:36:13 +01:00
Phillip Webb
13b39cbbbf
Delete ModifiedClassPathRunner
...
Delete `ModifiedClassPathRunner` since we no longer have any tests
that use it.
See gh-17491
2019-07-15 00:33:00 +01:00
Phillip Webb
bd81bb90eb
Polish ModifiedClassPath support
...
See gh-17491
2019-07-15 00:32:34 +01:00
dreis2211
0f0278e69b
Migrate ModifiedClassPath tests to JUnit 5
...
Migrate the remaining JUnit 4 tests to JUnit 5, making use of the
new `ModifiedClassPathExtension`.
See gh-17491
2019-07-15 00:31:03 +01:00
dreis2211
2a4c48cb91
Add JUnit 5 ModifiedClassPathExtension
...
Add a JUnit 5 extension that allows tests to be run with a
modified classpath. Since JUnit 5 does not currently offer a way
to run tests with a different classpath, we instead fake the
original invocation and launch an entirely new run for each
method.
See gh-17491
2019-07-15 00:28:53 +01:00
dreis2211
90d824f6cb
Extract ModifiedClassPathClass logic
...
Extract classes from `ModifiedClassPathRunner` so that they can
be reused.
See gh-17491
2019-07-15 00:27:42 +01:00
dreis2211
ca1808ecae
Migrate to MockRestServiceServer
...
Migrate `RestClientTestWithoutJacksonIntegrationTests` to use
Spring's `MockRestServiceServer`.
See gh-17491
2019-07-15 00:26:16 +01:00
dreis2211
1bc9c8544e
Polish LoggingApplicationListenerTests
...
See gh-17491
2019-07-15 00:26:12 +01:00
dreis2211
b0bf2dd7ab
Migrate to ApplicationContextRunner
...
Migrate a new tests to use the `ApplicationContextRunner`.
See gh-17491
2019-07-15 00:26:08 +01:00
Phillip Webb
0cb6a7f47d
Polish
2019-07-15 00:24:19 +01:00
Phillip Webb
01933f9b06
Merge previously split strings
...
Merge some string lines that were previously split because of the
90 chars wide formatting.
2019-07-15 00:24:19 +01:00
Phillip Webb
c3816bfe7b
Polish output capture names
2019-07-15 00:24:18 +01:00
Phillip Webb
cdf43a7489
Polish
2019-07-14 19:42:56 +01:00
Phillip Webb
8d4a2add63
Allow OutputCaptureRule to be used with AssertJ
...
Update `OutputCaptureRule` so that it now implements
`CapturedOutput` and can be used directly with AssertJ.
Closes gh-17512
2019-07-14 19:42:42 +01:00
Stephane Nicoll
79b29396d0
Merge branch '2.1.x'
...
Closes gh-17506
2019-07-14 13:14:21 +02:00
dreis2211
e9203a280c
Test the Gradle Plugin against Gradle 5.5.1
...
See gh-17496
2019-07-14 13:13:17 +02:00
dreis2211
82047a2544
Polish
...
See gh-17505
2019-07-14 11:38:40 +02:00
Phillip Webb
b7e092e821
Fix upstream RSocket method renames
...
Align with the recent upstream Spring Framework changes triggered by
their issue #23170 .
2019-07-13 14:01:04 +01:00
Madhura Bhave
6164e3efe8
Merge branch '2.1.x'
2019-07-10 18:26:25 -07:00
Madhura Bhave
aebb60d8b8
Fix tests
...
Setting the log file name to a random value in smoke tests
doesn't work because the logger context has already been initialized.
2019-07-10 18:14:58 -07:00
Madhura Bhave
d590c3ed10
Merge branch '2.1.x'
...
Closes gh-17486
2019-07-10 15:32:22 -07:00
Madhura Bhave
773dda3d55
Log file location should be evaluated just once
...
Using a random value for the logfile name caused
the logfile endpoint to return a 404 as the name
was resolved from the environment on every request.
This commit registers a bean for LogFile which is then
used by the logfile endpoint.
Fixes gh-17434
2019-07-10 14:46:09 -07:00
Andy Wilkinson
dc0432665b
Use ephemeral ports rather than 8080 in our tests
...
Closes gh-17025
2019-07-10 17:22:40 +01:00
Brian Clozel
906f7637ed
Add synchronoss multipart dependency in webflux starter
...
Fixes gh-17484
2019-07-10 16:19:39 +02:00
Dmytro Nosan
8dd9c6baa1
Allow build.time to be disabled so BuildInfoMojo's output is repeatable
...
See gh-17390
2019-07-10 13:40:17 +01:00
Andy Wilkinson
1fffe0ab3e
Merge branch '2.1.x'
...
Closes gh-17482
2019-07-10 13:37:32 +01:00
Dmytro Nosan
93d0427fb5
Polish AbstractDependsOnBeanFactoryPostProcessor
...
See gh-17480
2019-07-10 13:36:57 +01:00
Andy Wilkinson
47f4bb0d64
Merge branch '2.1.x'
...
Closes gh-17481
2019-07-10 13:30:10 +01:00
Andy Wilkinson
f753c31988
Polish "Set up MongoClient beans' dependencies by type rather than name"
...
See gh-16627
2019-07-10 13:13:19 +01:00
ielatif
39f1039425
Set up MongoClient beans' dependencies by type rather than name
...
See gh-16627
2019-07-10 13:10:41 +01:00
Brian Clozel
32ecb63002
Add reactor-tools dependency for javadoc generation
...
See gh-17128
2019-07-10 13:59:45 +02:00
Andy Wilkinson
6adcd75481
Merge branch '2.1.x'
...
Closes gh-17479
2019-07-10 12:37:40 +01:00
Andy Wilkinson
80650f485d
Polish "Allow depended on beans to be identified by type"
...
See gh-17020
2019-07-10 12:25:57 +01:00
Dmytro Nosan
9923ffe9bd
Allow depended on beans to be identified by type
...
Prior to this commit, `AbstractDependsOnBeanFactoryPostProcessor`
could only identify depended on beans by name.
See gh-17020
2019-07-10 12:25:57 +01:00
Stephane Nicoll
acfb7f28f4
Merge branch '2.1.x'
...
Closes gh-17478
2019-07-10 12:49:13 +02:00
Stephane Nicoll
852f4a280c
Fix supported java version range in documentation
...
Closes gh-17476
2019-07-10 12:48:50 +02:00
Brian Clozel
3c28622ebc
Add support for reactor-tools debug agent
...
The `reactor-tools` dependency now brings a new Reactor Debug Agent
which instruments loaded classes for better Reactor stacktraces.
This commit removes the `spring.reactor.stacktrace-mode.enabled`
configuration property since the related Reactor Hook is about to be
removed.
As a replacement, we're introducing `spring.reactor.debug-agent.enabled`
which tells whether the Reactor Debug Agent should be loaded, given that
the `reactor-tools` dependency is available. This option is enabled by
default, since adding the dependency on classpath is a strong signal
already.
Fixes gh-17128
2019-07-10 12:06:26 +02:00
Brian Clozel
b1a3849b27
Disable Jackson XML support in RSocket codecs
...
Prior to this commit, having the `spring-boot-starter-rsocket` and the
`jackson-dataformat-xml` dependencies on classpath would result in a
`ClassCastException` when the RSocket auto-configuration tries to
configure Jackson CBOR codecs for RSocket strategies.
This commit disables the Jackson XML support for the CBOR codec in
RSocket.
Fixes gh-17425
2019-07-10 12:06:26 +02:00
Brian Clozel
2830847344
Optimize reactor operators in actuator support
...
This commit uses native Reactor operators `Mono.fromCallable` and
`subscribeOn` for better performance and support.
Fixes gh-17452
2019-07-10 12:06:26 +02:00
dreis2211
25586a2e23
Use Assertions.contentOf() where possible
...
See gh-17444
2019-07-10 06:40:52 +01:00
Johnny Lim
255469b82f
Add Javadoc `@since` tags for new additional Tomcat connectors methods
...
See gh-17473
2019-07-10 06:32:16 +01:00
dreis2211
32549cfc85
Remove folder that only contains package-info
...
See gh-17471
2019-07-10 06:24:40 +01:00
Andy Wilkinson
be3a737532
Merge branch '2.1.x'
...
Closes gh-17470
2019-07-09 20:05:30 +01:00
Andy Wilkinson
6748b20863
Prevent JUL loggers from being GCed once their level has been set
...
Fixes gh-17217
2019-07-09 19:51:55 +01:00
Stephane Nicoll
c7311631c0
Merge branch '2.1.x'
...
Closes gh-17467
2019-07-09 18:01:28 +02:00
Stephane Nicoll
3fb15a502b
Remove outdated reference to Guava in the reference guide
...
Closes gh-17446
2019-07-09 18:00:57 +02:00
Dmytro Nosan
fd9e8503bb
Polish BatchAutoConfiguration
...
See gh-17462
2019-07-09 16:56:16 +01:00
Andy Wilkinson
edff0f87e2
Merge branch '2.1.x'
...
Closes gh-17466
2019-07-09 16:52:13 +01:00
Andy Wilkinson
acd9b61c8e
Make Batch JPA auto-configuration back off without a DataSource
...
Fixes gh-17465
2019-07-09 15:46:45 +01:00
Andy Wilkinson
a40bc64f6e
Merge branch '2.1.x'
...
Closes gh-17463
2019-07-09 15:14:41 +01:00
Andy Wilkinson
c5241f0e82
Remove accidental usage of com.hazelcast.util.Base64
...
Closes gh-17461
2019-07-09 15:03:31 +01:00
Andy Wilkinson
d93c79316d
Align with body method changes in RequestBodySpec
...
Closes gh-17460
2019-07-09 12:13:23 +01:00
Andy Wilkinson
3e6c15c451
Deprecate auto-configuration for Joda-Time
...
Closes gh-17419
2019-07-09 11:52:36 +01:00
Andy Wilkinson
9f253603db
Drop -d option from CLI as it was not POSIX compliant
...
Closes gh-16663
2019-07-09 09:48:49 +01:00
Johnny Lim
426ef749db
Polish
...
See gh-17413
2019-07-09 07:40:30 +02:00
Madhura Bhave
939a247d87
Merge pull request #17448 from izeye
...
* pr/17448:
Fix typo
Closes gh-17448
2019-07-08 16:04:35 -07:00
Johnny Lim
e42f4d0279
Fix typo
...
See gh-17448
2019-07-08 16:04:12 -07:00
Andy Wilkinson
b0626bca32
Merge branch '2.1.x'
...
Closes gh-17454
2019-07-08 15:54:04 +01:00
Andy Wilkinson
02bea78229
Retain as much Batch auto-config as possible without Spring JDBC
...
Closes gh-17451
2019-07-08 15:35:16 +01:00
Andy Wilkinson
5b7c0e0c58
Merge branch '2.1.x'
...
Closes gh-17453
2019-07-08 14:44:34 +01:00
Andy Wilkinson
a023f308ed
Make JDBC-based batch configurer back off without a DataSource
...
Closes gh-17449
2019-07-08 14:43:26 +01:00
Andy Wilkinson
072453bf58
Polish "Add support for configuring a Batch-specific DataSource"
...
See gh-17375
2019-07-08 13:16:47 +01:00
Dmytro Nosan
f449665e2a
Add support for configuring a Batch-specific DataSource
...
See gh-17375
2019-07-08 13:15:24 +01:00
Andreas Gebhardt
ed7cfedb51
Fix JavaDoc within spring-boot-test-support
...
See gh-17443
2019-07-08 12:48:02 +01:00
Andy Wilkinson
3ba25b9ee9
Simplify class loading check in pooled DataSource condition
...
Closes gh-17284
2019-07-08 12:19:55 +01:00
Andy Wilkinson
638b4b8186
Rename methods to make copying behaviour more clear
...
Closes gh-17441
2019-07-05 19:09:19 +01:00
Andy Wilkinson
b39479bc07
Polish "Add config property for Kafka consumer isolation level"
...
See gh-17389
2019-07-05 17:23:45 +01:00
Ryan Dunckel
1b8f955fec
Add config property for Kafka consumer isolation level
...
See gh-17389
2019-07-05 17:16:58 +01:00
Andy Wilkinson
0d124e9857
Remove use of field injection from spring-boot-devtools
...
Closes gh-17442
2019-07-05 14:59:01 +01:00
Andy Wilkinson
bd22ca0268
Polish
2019-07-04 19:36:32 +01:00
Andy Wilkinson
2816635418
Polish
2019-07-04 17:51:20 +01:00
Andy Wilkinson
4b2a116fa7
Use String indexOf(char) and lastIndexOf(char) where possible
...
Closes gh-11416
2019-07-04 17:44:40 +01:00
Andy Wilkinson
6a777a7f9b
Disable HiddenHttpMethodFilter by default
...
HiddenHttpMethodFilter can be problematic as it causes early
consumption of a request body if the body may contain parameters. This
happens as the filter needs to read the parameters to see if an
_method parameter is present. The filter is only beneficial for web
applications that are the hidden HTTP method functionality but is
potentially detriimental to all applications that are not. As such
we no longer believe that it should be enabled by default and users
should be required to opt in.
Closes gh-16953
2019-07-04 14:50:01 +01:00
Andy Wilkinson
2af815f2cf
Merge branch '2.1.x'
...
Closes gh-17432
2019-07-04 12:56:22 +01:00
Andy Wilkinson
7f85aba546
Auto-configure Data Mongo if user provides MongoDbFactory but no client
...
Previously, if a user defined a MongoDbFactory bean but did not define
a client bean, MongoDataAutoConfiguration would back off leaving the
context without a MongoTemplate, etc.
This commit reworks the auto-configuration so that only the
auto-configuration of a MongoDbFactory is dependent on the existence
of a Mongo client bean. Auto-configuration of the other components
that depend on a MongoDbFactory will now continue in the absence of a
Mongo client bean.
Closes gh-17416
2019-07-04 12:36:03 +01:00
Andy Wilkinson
345c36828f
Polish "Use Spring 5 module of Jersey"
...
See gh-17412
2019-07-04 10:26:39 +01:00
dreis2211
7c6fd31d06
Use Spring 5 module of Jersey
...
See gh-17412
2019-07-04 10:26:28 +01:00
Andy Wilkinson
aa01bd3890
Polish "Polish GradleCompatibilityExtension's javadoc"
...
See gh-17411
2019-07-04 10:18:18 +01:00
dreis2211
dc4cc214fe
Polish GradleCompatibilityExtension's javadoc
...
See gh-17411
2019-07-04 10:13:17 +01:00
Andy Wilkinson
9d5fa98334
Merge branch '2.1.x'
...
Closes gh-17429
2019-07-04 10:07:40 +01:00
Andy Wilkinson
7553b60e68
Test the Gradle Plugin against Gradle 5.5
...
Closes gh-17428
2019-07-04 10:05:57 +01:00
Phillip Webb
4483f41791
Don't validate using BeanPropertyBindingResult
...
Update `ValidationBindHandler` so that a custom `AbstractBindingResult`
is used rather than `BeanPropertyBindingResult`. This allows us to
validate results, regardless of whether the actual bound instance has
public getters or setter.
Closes gh-17424
2019-07-03 21:59:08 -07:00
Madhura Bhave
3bd7760f9c
Polish "Allow Undertow's options to be configured via the environment
...
See gh-17356
2019-07-03 17:48:56 -07:00
HaiTao Zhang
417f4dd7fa
Allow Undertow's options to be configured via the environment
...
See gh-17356
2019-07-03 17:20:31 -07:00
Madhura Bhave
39b15af5d6
Polish "Provide links / when using a separate management port"
...
See gh-17418
2019-07-03 16:19:40 -07:00
HaiTao Zhang
c108629311
Provide links for actuators at / when using a separate management port
...
See gh-17418
2019-07-03 16:19:40 -07:00
Phillip Webb
edea223841
Merge branch '2.1.x'
...
Closes gh-17422
2019-07-03 16:06:19 -07:00
Phillip Webb
2f88dd735e
Polish
2019-07-03 15:52:51 -07:00
Phillip Webb
cd5f40aec2
Validate onFailure returned binding results
...
Update `ValidationBindHandler` so that any non-null result returned by
the parent `onFailure` method triggers re-validation.
Fixes gh-17421
2019-07-03 15:52:51 -07:00
Phillip Webb
d641a1e23a
Polish BindHandler javaodc
2019-07-03 15:52:51 -07:00
Andy Wilkinson
e0048f234b
Polish
2019-07-03 21:59:51 +01:00
Andy Wilkinson
c5cae28261
Add support for plain text thread dumps to the threaddump endpoint
...
When a request that accepts text/plain is received, the threaddump
endpoint will now return a thread dump in plain text. The format of
this text is modelled after the output produced by JVisualVM when
connecting to a remote process over JMX. Note that this output does
not include all of the information in, for example, JStack's output
as it is not available via Java 8's ThreadInfo API.
Rather than the custom formatting logic, using ThreadInfo's toString()
method was considered but its output is documented as being undefined
and implementation specific. The implementation used while developing
this feature produced output that did not match that of JStack or
JVisualVM and truncated stack traces quite considerably.
At the time of writing the format produced by the endpoint could be
consumed by both Thread Dump Analyzer [1] and https://fastthread.io .
Closes gh-2339
[1] https://github.com/irockel/tda
2019-07-03 21:51:56 +01:00
Phillip Webb
a66c4d3096
Unify method visibility of private classes
...
Apply checkstyle rule to ensure that private and package private
classes do not have unnecessary public methods. Test classes have
also been unified as much as possible to use default scoped
inner-classes.
Closes gh-7316
2019-07-03 11:39:47 -07:00
Andy Wilkinson
40f66c80f8
Merge branch '2.1.x'
...
Closes gh-17409
2019-07-02 17:34:25 +01:00
Andy Wilkinson
82fd4ce9b9
Fix empty context path warning when using Jetty with WebFlux
...
Previously, the context path was set to an empty string. The led to
Jetty logging a warning about an empty context path and then using
/ instead.
This commit avoids the warning while leaving the context path's end
result unchanged by setting the context path to /.
Closes gh-17399
2019-07-02 17:24:34 +01:00
Andy Wilkinson
e5549f7a21
Stop Jersey from pulling in duplicate classes with JDK 11+
...
Closes gh-17404
2019-07-02 16:17:13 +01:00
Andy Wilkinson
73cf11535d
Ensure that logging system tests do not leave log files open
...
See gh-17107
2019-07-02 16:03:30 +01:00
Andy Wilkinson
0b8247bd62
Merge branch '2.1.x'
...
Closes gh-17408
2019-07-02 14:11:23 +01:00
Andy Wilkinson
e57579461a
Prevent endpoint's shutdown() method from being a destroy method
...
Closes gh-17407
2019-07-02 14:05:49 +01:00
Andy Wilkinson
0f6d0d1fb8
Upgrade to Sqlite Jdbc 3.28.0
...
Closes gh-17406
2019-07-02 13:50:15 +01:00
Andy Wilkinson
9d4ea49dbb
Upgrade to Junit Jupiter 5.5.0
...
Closes gh-17405
2019-07-02 13:50:13 +01:00
Andy Wilkinson
c1313e481f
Upgrade to Jersey 2.29
...
Closes gh-17404
2019-07-02 13:50:12 +01:00
Andy Wilkinson
bb499194c2
Upgrade to Log4j2 2.12.0
...
Closes gh-17403
2019-07-02 13:50:10 +01:00
Andy Wilkinson
9b34bd7c59
Upgrade to Kafka 2.3.0
...
Closes gh-17402
2019-07-02 13:50:09 +01:00
Andy Wilkinson
4ab4198168
Switch to Infinispan's Spring 5 integration
...
Closes gh-17333
2019-07-02 12:50:12 +01:00
Andy Wilkinson
be320b8412
Merge branch '2.1.x'
...
Closes gh-17401
2019-07-02 11:48:01 +01:00
Andy Wilkinson
5997886897
Add dependency management for Infinispan's Spring 5 modules
...
This commit adds dependency management for Infinispan's Spring 5
modules that are introduced in 9.4.9.Final. It also removes redundant
exclusions for the dependency management for its Spring 4 modules.
Closes gh-17346
2019-07-02 11:41:33 +01:00
Vedran Pavic
8ed71b3c51
Start building against Spring Session Corn-M3 snapshots
...
See gh-17278
2019-07-02 09:33:16 +01:00
Andy Wilkinson
c29cdfa33c
Start building against Spring Batch 4.2.0.RC1 snapshots
...
See gh-17347
2019-07-02 09:01:48 +01:00
Andy Wilkinson
b3a3aec0e0
Start building against Spring Security 5.2.0.RC1 snapshots
...
See gh-17349
2019-07-02 08:12:08 +01:00
Andy Wilkinson
d4aa9825aa
Start building against Spring Data Moore-RC2 snapshots
...
See gh-17350
2019-07-02 08:11:32 +01:00
Andy Wilkinson
7d27c6ff92
Remove note about special handling of off as it no longer applies
...
Closes gh-17385
2019-07-02 08:07:15 +01:00
Phillip Webb
07acc4af08
Consistently coerce booleans to enums
...
Rename `StringToEnumIgnoringCaseConverterFactory` to
`LenientStringToEnumConverterFactory` and extended it to support
binding of YAML style 'true'/'false' values to 'ON'/'OFF'.
Closes gh-17385
2019-07-01 22:55:18 -07:00
Phillip Webb
46b250549d
Merge branch '2.1.x'
...
Closes gh-17396
2019-07-01 21:52:20 -07:00
Phillip Webb
206ba2ad86
Append chars not ints in getLettersAndDigits
...
Update `StringToEnumIgnoringCaseConverterFactory` so that the
`getLettersAndDigits` method correctly appends `char` elements
rather than `int` elements.
Closes gh-17327
2019-07-01 21:49:29 -07:00
Phillip Webb
c94a7dfa04
Allow binding to package private methods
...
Closes gh-17394
2019-07-01 18:44:35 -07:00
Phillip Webb
27cce996fb
Fix rsocket reference
...
See gh-12005
2019-07-01 12:00:04 -07:00
Phillip Webb
8d03214389
Import attributes from appendix files
...
See gh-12005
2019-07-01 11:59:59 -07:00
Phillip Webb
8fb181f31a
Escape new '{reference}' elements in asciidoc
...
See gh-17387
2019-07-01 11:43:27 -07:00
Phillip Webb
f20b100a25
Merge branch '2.1.x'
...
Closes gh-17387
2019-07-01 11:42:07 -07:00
Phillip Webb
88b6a3308c
Escape additional '{reference}' elements in asciidoc
...
Escape lines that look like variable references but should actually be
included verbatim.
Closes gh-17386
2019-07-01 11:39:49 -07:00
Phillip Webb
61b771042d
Restore version asciidoc variables
...
See gh-12005
2019-07-01 11:26:04 -07:00
Phillip Webb
c2e3354be0
Drop asciidoc partintro formatting
...
Since to no longer use docbook, we can't use `partintro`.
See gh-12005
2019-07-01 11:19:37 -07:00
Phillip Webb
fcbcc9d309
Merge branch '2.1.x'
...
Closes gh-17387
2019-07-01 11:04:54 -07:00
Phillip Webb
a81f37dd68
Escape '{reference}' elements in asciidoc files
...
Escape lines that look like variable references but should actually be
included verbatim.
Closes gh-17386
2019-07-01 11:02:05 -07:00
dreis2211
15d4764185
Avoid bindable properties check when target has null value
...
See gh-16447
2019-07-01 17:11:58 +01:00
陈其苗
f86cfff77f
Remove redundant invocation of getActiveProfiles
...
See gh-17271
2019-07-01 17:06:12 +01:00
Andy Wilkinson
cca005f756
Merge branch '2.1.x'
...
Closes gh-17383
2019-07-01 15:57:41 +01:00
Andy Wilkinson
34e0db2c25
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17382
2019-07-01 15:57:21 +01:00
Andy Wilkinson
0c44584b44
Merge branch '1.5.x' into 2.0.x
2019-07-01 15:57:00 +01:00
Andy Wilkinson
6791dbb786
Merge branch '2.1.x'
...
Closes gh-17381
2019-07-01 15:47:48 +01:00
Andy Wilkinson
4083c721f2
Fix URL normalization when replacing /./ with /
...
Previously, a regular expression of /./ was used to replace /./ with
/. The '.'' in the expression matches any single character so the
replacement was more broadly applicable than it should have been. For
example, /a/ would be replaced with /.
This commit uses Pattern.LITERAL to compile the regular expression
from the CURRENT_DIR (/./) contant. This allows the constant to be
used to check for occurances of /./ in the string before attempting
replacement, while also ensuring that the '.' is treated literally.
Closes gh-17341
2019-07-01 15:42:54 +01:00
Andy Wilkinson
df5d23ff6c
Polish "Migrate LogbackLoggingSystemTests to JUnit 5"
...
See gh-17107
2019-06-29 23:20:47 +01:00
Ilya Lukyanovich
569830cdca
Migrate LogbackLoggingSystemTests to JUnit 5
...
See gh-17107
2019-06-29 23:20:40 +01:00
Dmytro Nosan
011fea137e
Allow multiple values to be specified when configuring a default header
...
See gh-17286
2019-06-29 23:06:39 +01:00
Dmytro Nosan
1d9aae8282
Introduce RedisCacheManagerBuilderCustomizer
...
See gh-17287
2019-06-29 22:56:21 +01:00
Andy Wilkinson
71b09e39ae
Merge branch '2.1.x'
...
Closes gh-17370
2019-06-29 22:36:14 +01:00
Dmytro Nosan
ae184874e9
Polish WebServiceTemplateBuilder
...
See gh-17289
2019-06-29 22:19:03 +01:00
Andy Wilkinson
4c812b065d
Merge pull request #17322 from garyrussell
...
* gh-17322:
Auto-configure KLC with user-provided RecordInterceptor
Closes gh-17322
2019-06-29 22:06:25 +01:00
Gary Russell
eeda12bd58
Auto-configure KLC with user-provided RecordInterceptor
...
spring-kafka.2.3.0.M3 introduced a new property `RecordInterceptor` to
the container factory.
Auto-configure the property if a single instance is present.
See gh-17322
2019-06-29 22:05:33 +01:00
Andy Wilkinson
13bbfb7ede
Polish "Polish TomcatReactiveWebServerFactoryTests"
...
See gh-17336
2019-06-29 21:57:55 +01:00
Johnny Lim
0e7824cec1
Polish TomcatReactiveWebServerFactoryTests
...
See gh-17336
2019-06-29 21:56:19 +01:00
Andy Wilkinson
9f521430fa
Polish "Use @EmbeddedKafka for Integration Tests"
...
See gh-17355
2019-06-29 21:47:11 +01:00
Gary Russell
815834ab6e
Use @EmbeddedKafka for Integration Tests
...
`@EmbeddedKafka` now supports JUnit 5 without the need for a Spring
test application context. Remove the previous workaround that replaced
the JUnit4 `@ClassRule` and use `TopicBuilder` to build the
topic bean.
See gh-17355
2019-06-29 21:36:36 +01:00
Andy Wilkinson
6212901bc1
Polish "Add 'client-name' property to specify a Redis client name"
...
See gh-17330
2019-06-29 21:24:57 +01:00
Dmytro Nosan
f877caf118
Add 'client-name' property to specify a Redis client name
...
See gh-17330
2019-06-29 21:23:25 +01:00
Andy Wilkinson
e496203740
Merge branch '2.1.x'
...
Closes gh-17368
2019-06-29 21:19:13 +01:00
Johnny Lim
408035fb3f
Remove System.out.println() in a test
...
See gh-17358
2019-06-29 21:18:44 +01:00
Andy Wilkinson
ea7443bf01
Merge branch '2.1.x'
...
Closes gh-17367
2019-06-29 21:15:29 +01:00
Johnny Lim
8dea74a2e9
Add a missing quote in DebugLogbackConfigurator
...
See gh-17357
2019-06-29 21:14:42 +01:00
Andy Wilkinson
8f668610f7
Align RSocket auto-configuration latest Framework changes
...
Closes gh-17366
2019-06-29 21:09:54 +01:00
Andy Wilkinson
1fa48882bb
Merge branch '2.1.x'
...
See gh-17362
2019-06-29 20:39:19 +01:00
Andy Wilkinson
f4e7b80651
Merge branch '2.0.x' into 2.1.x
...
See gh-17361
2019-06-29 20:38:18 +01:00
Andy Wilkinson
761856ac70
Merge branch '1.5.x' into 2.0.x
2019-06-29 20:29:16 +01:00
Phillip Webb
605599138e
Merge branch '2.1.x'
2019-06-28 23:56:02 -07:00
Phillip Webb
92bff3c328
Merge branch '2.0.x' into 2.1.x
2019-06-28 23:42:28 -07:00
Phillip Webb
cfeb0239b7
Merge branch '1.5.x' into 2.0.x
2019-06-28 23:28:34 -07:00
Phillip Webb
a417e136a3
Merge branch '2.1.x'
2019-06-28 14:15:17 -07:00
Phillip Webb
9aa4887376
Merge branch '2.0.x' into 2.1.x
2019-06-28 14:14:52 -07:00
Phillip Webb
ed3e1e076d
Fix AbstractFilterRegistrationBean merge error
...
Merging 1.5.x accidentally broke `AbstractFilterRegistrationBean`
2019-06-28 14:13:59 -07:00
Phillip Webb
c62b6b4ccd
Merge branch '2.1.x'
2019-06-28 12:22:45 -07:00
Phillip Webb
de35efd1ef
Merge branch '2.0.x' into 2.1.x
2019-06-28 12:21:57 -07:00
Phillip Webb
bb34846630
Merge branch '1.5.x' into 2.0.x
2019-06-28 12:19:46 -07:00
Madhura Bhave
7e22901bb2
Fail build on unresolved documentation links
...
Closes gh-12005
2019-06-28 12:04:30 -07:00
rossdrew
d6977ea89f
Remove hyphenation of opaquetoken in OAuth2 property names
...
See gh-17290
2019-06-28 14:48:56 +01:00
Phillip Webb
8edf88a08b
Polish M2Eclipse ignore configuration
...
Pull all M2Eclipse ignore configuration up to the parent POM and
increase the version ranges covered.
2019-06-27 09:42:14 -07:00
Andy Wilkinson
66f1344f7c
Merge branch '2.1.x'
...
Closes gh-17335
Closes gh-17292
2019-06-27 12:00:34 +01:00
Andy Wilkinson
91786bc712
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17334
2019-06-27 11:39:17 +01:00
Andy Wilkinson
256a0d636d
Merge branch '1.5.x' into 2.0.x
2019-06-27 11:39:02 +01:00
HaiTao Zhang
d9048d2531
Provide ability to add additional connectors on reactive Tomcat
...
See gh-17323
2019-06-26 15:36:12 -07:00
Andy Wilkinson
361a9404fd
Merge branch '2.1.x'
...
Closes gh-17321
2019-06-26 17:40:44 +01:00
Andy Wilkinson
3fb06ee29e
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17320
2019-06-26 17:39:13 +01:00
Andy Wilkinson
4973a2b217
Merge branch '1.5.x' into 2.0.x
2019-06-26 17:37:39 +01:00
Andy Wilkinson
b67fedd749
Start building against Spring Kafka 2.3.0.M4 snapshots
...
See gh-17319
2019-06-26 16:55:48 +01:00
Madhura Bhave
d5c0009c6e
Rename samples to smoke tests
...
Closes gh-17197
2019-06-25 11:32:56 -07:00
Phillip Webb
0b720b99b2
Merge branch '2.1.x'
...
Closes gh-17308
2019-06-25 11:19:57 -07:00
Phillip Webb
02e705c8e4
Relax nohttp requirement for service.wsdl
...
Unfortunately https references cause eclipse errors so we need to
relax the requirement for this file.
Fixes gh-17307
2019-06-25 11:17:27 -07:00
Brian Clozel
9166b6d329
Polish "Make rSocketServerBootstrap @ConditionalOnMissingBean"
...
See gh-17301
2019-06-25 11:25:11 +02:00
Spencer Gibb
2cb6af959b
Make rSocketServerBootstrap @ConditionalOnMissingBean
...
7857dd2d72
broke gateway's ability to override the `SocketAcceptor`.
2019-06-24 16:13:36 -04:00
Andy Wilkinson
7405efa326
Ensure that each Tomcat customizer is only called once
...
Fixes gh-17264
2019-06-21 17:53:24 +01:00
Stephane Nicoll
e560b7f6ba
Remove public modifier on JUnit5 lifecycle methods
...
See gh-17292
2019-06-21 18:09:05 +02:00
Stephane Nicoll
403d868611
Polish "Use constants for HTTP headers"
...
See gh-17199
2019-06-21 16:20:46 +02:00
Johnny Lim
a57df0f595
Use constants for HTTP headers
...
See gh-17199
2019-06-21 15:58:34 +02:00
Stephane Nicoll
374e02cac8
Simplify HibernateJpaAutoConfiguration classes check
...
This commit removes the now outdated `HibernateEntityManagerCondition`
in favour of a simple check of `SessionImplementor`. As of
Hibernate 5.2, a single `hibernate-core` jar is required so a single
class check is enough.
Closes gh-17288
2019-06-21 15:26:07 +02:00
Stephane Nicoll
8a7609f940
Simplify HibernateJpaAutoConfiguration classes check
...
This commit removes the now outdated `HibernateEntityManagerCondition`
in favour of a simple check of `SessionImplementor`. As of
Hibernate 5.2, a single `hibernate-core` jar is required so a single
class check is enough.
Closes gh-17283
2019-06-21 15:22:28 +02:00
Brian Clozel
7857dd2d72
Update after RSocket changes in Spring Framework
...
Spring Framework recently removed the `MessageHandlerAcceptor` (which is
a sub-class of `RSocketMessageHandler`).
Instead of implementing directly the `SocketAcceptor` contract, it now
exposes them through `clientAcceptor()` and `serverAcceptor()` methods.
See gh-17280
2019-06-21 11:21:13 +02:00
Stephane Nicoll
62c70140c6
Upgrade to JUnit Jupiter 5.5.0-RC2
...
See gh-17266
2019-06-21 09:36:08 +02:00
Andy Wilkinson
0497936940
Start building against Spring Framework 5.2.0.RC1 snapshots
...
See gh-17280
2019-06-21 08:29:01 +01:00
Stephane Nicoll
9eb2650c0f
Merge branch '2.1.x'
2019-06-21 09:09:49 +02:00
Stephane Nicoll
86ace26049
Fix broken link to Spring Integration reference guide
...
Closes gh-17279
2019-06-21 09:09:01 +02:00
Andy Wilkinson
6d8ba654cc
Merge branch '2.1.x'
...
Closes gh-17276
2019-06-20 11:17:37 +01:00
Andy Wilkinson
a5ae1de706
Fix spring-boot-loader's tests on Windows
...
Closes gh-17275
2019-06-20 11:08:35 +01:00
Johnny Lim
f283aa18eb
Use "JUnit" instead of "Junit"
...
See gh-17272
2019-06-20 08:45:03 +02:00
Stephane Nicoll
ea9a0c7839
Fix @RegisterExtension on CliTester
...
This reverts commit dfa5480c
and rather make the field package private
so that the extension can be registered properly
Closes gh-17266
2019-06-19 20:44:52 +02:00
Stephane Nicoll
dfa5480c59
Remove useless @RegisterExtension on CliTester
...
Closes gh-17266
2019-06-19 16:05:16 +02:00
Stephane Nicoll
45d2f1d7d1
Merge branch '2.1.x'
...
Closes gh-17269
2019-06-19 15:31:50 +02:00
Stephane Nicoll
7e5ca6d280
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17268
2019-06-19 15:30:13 +02:00
Stephane Nicoll
11dee3c0d8
Merge branch '1.5.x' into 2.0.x
2019-06-19 15:27:49 +02:00
Stephane Nicoll
c9b8d98bcf
Upgrade to JUnit Jupiter 5.5.0-RC1
...
This commit also removes the workaround that required to exclude junit 4
explicitly now that a related issue in JUnit Jupiter has been fixed.
Closes gh-17266
2019-06-19 14:23:44 +02:00
Phillip Webb
59ca46ed54
Remove FIXME
2019-06-18 21:41:05 -07:00
Brian Clozel
809a3965c9
Add missing outcome tag for WebClient metrics
...
On error cases, the "outcome" tag would be missing from recorded metrics
for the `WebClient`.
This commit fixes this issue and improves the reference documentation by
mentioning the tag values used for error cases, when the client response
is not received (I/O errors, client error, etc).
Fixes gh-17219
2019-06-18 15:29:22 +02:00
Phillip Webb
82949b9cc4
Upgrade to Mariadb 2.4.2
...
Closes gh-17237
2019-06-17 20:56:14 -07:00
Phillip Webb
1e0cf960f0
Reinstate single page HTML and PDF docs
...
Closes gh-16854
2019-06-17 20:44:01 -07:00
Phillip Webb
e44caec60b
Merge branch '2.1.x'
...
Closes gh-17236
2019-06-17 19:51:51 -07:00
Phillip Webb
3eb7af1506
Upgrade to Infinispan 9.4.15.Final
...
Closes gh-17235
2019-06-17 19:42:33 -07:00
Phillip Webb
2c2b962204
Merge branch '2.1.x'
...
Closes gh-17232
2019-06-17 15:54:51 -07:00
Phillip Webb
d82ccf1405
Ensure META-INF/MANIFEST.MF remains as first entry
...
Update Gradle archive tasks to ensure that `META-INF/` and
`META-INF/MANIFEST.MF` remain as the first entries of the archive.
Prior to this commit, rewritten archives would violate the implicit
specification of `JarInputStream` that these entries should be first.
Fixes gh-16698
2019-06-17 15:48:14 -07:00
Phillip Webb
f4d9e1c650
Fix checkstyle violation
2019-06-17 14:45:17 -07:00
Phillip Webb
69fbd8f20c
Merge branch '2.1.x'
...
Closes gh-17227
Closes gh-17228
2019-06-17 11:53:16 -07:00
Phillip Webb
692bda1595
Polish "Fix connection timeout configuration for Netty"
...
See gh-16535
2019-06-17 11:26:36 -07:00
ayudovin
b0e4c716d3
Fix connection timeout configuration for Netty
...
Update `NettyWebServerFactoryCustomizer` to deal with the fact that
Netty treats `0` and negative connection timeout values differently to
Tomcat, Undertow and Jetty.
See gh-16535
2019-06-17 11:24:35 -07:00
ayudovin
c2d1cb2c70
Chain predicates in PropertyMapper when methods
...
Update `PropertyMapper` to correctly combine predicates when repeated
calls are made to `when` and `whenNot`. Prior to this commit, subsequent
invocations would replace the previous predicate.
Fixes gh-17225
2019-06-17 11:21:56 -07:00
Andy Wilkinson
bd14050859
Merge branch '2.1.x'
...
Closes gh-17224
2019-06-17 16:16:41 +01:00
Andy Wilkinson
88fbc529e6
Upgrade to Micrometer 1.1.5
...
Closes gh-17222
2019-06-17 16:15:44 +01:00
Andy Wilkinson
f07f030ba9
Merge branch '2.1.x'
...
Closes gh-17223
2019-06-17 16:08:42 +01:00
Andy Wilkinson
fe9db792ee
Complete dependency management for JavaBeans Activation Framework
...
Fixes gh-17062
2019-06-17 16:00:39 +01:00
Andy Wilkinson
a189e4cf96
Merge branch '2.1.x'
...
Closes gh-17220
2019-06-17 14:05:16 +01:00
Andy Wilkinson
645514f848
Polish "Honour base path from @WebAppConfiguration in @WebMvcTest"
...
See gh-16485
2019-06-17 13:54:41 +01:00
Lorenzo Dee
7340d546b8
Honour base path from @WebAppConfiguration in @WebMvcTest
...
See gh-16485
2019-06-17 13:37:55 +01:00
Andy Wilkinson
9d355f00e1
Merge branch '2.1.x'
...
Closes gh-17218
2019-06-17 13:19:45 +01:00
Andy Wilkinson
5dc2339ec2
Polish "Consider properties from @AutoConfigureTestDatabase"
...
See gh-16814
2019-06-17 11:38:13 +01:00
András Deák
92256c80d0
Consider properties from @AutoConfigureTestDatabase
...
Both Flyway and Liquibase makes use of DataSourceProperties to get
default properties. Previously, both used strictly the configuration
properties and failed to consider embedded datasource properties
autoconfigured by @AutoConfigureTestDatabase. In case a database layer
test e.g. @JdbcTest relies on the autoconfigured embedded datasource,
Flyway and Liquibase autoconfiguration fails as they are not aware of
the embedded datasource properties.
See gh-16814
2019-06-17 11:09:29 +01:00
Andy Wilkinson
f36af7b16d
Polish
2019-06-17 11:02:54 +01:00
Andy Wilkinson
78f51a490c
Merge branch '2.1.x'
...
Closes gh-17213
2019-06-17 10:59:16 +01:00
Andy Wilkinson
c2a4a3f630
Polish "Auto-configure caching in jOOQ sliced tests"
...
See gh-17066
2019-06-17 10:55:35 +01:00
Dmytro Nosan
4701d8f82a
Auto-configure caching in jOOQ sliced tests
...
See gh-17066
2019-06-17 10:55:35 +01:00
Andy Wilkinson
c62543b514
Merge branch '2.1.x'
...
Closes gh-17212
2019-06-17 10:47:22 +01:00
Andy Wilkinson
13a7a52c71
Revert "Work around Framework regression in handling of null model values"
...
This reverts commit 5fc67c545c
.
Closes gh-16991
2019-06-17 10:44:23 +01:00
Andy Wilkinson
ece8703278
Merge branch '2.1.x'
...
Closes gh-17211
2019-06-17 10:36:46 +01:00
Andy Wilkinson
7d59b78829
Fix handling of jar files with + chars in their path
...
Closes gh-17208
2019-06-17 10:31:51 +01:00
Johnny Lim
368c0eebe4
Fix typo
...
See gh-17132
2019-06-16 11:42:00 +02:00
Andy Wilkinson
801ce6d0a1
Upgrade to Spring Session Corn-M2
...
Closes gh-16587
2019-06-16 08:48:57 +01:00
Andy Wilkinson
84c6313332
Upgrade to Spring Session Bom Bean-SR6
...
Closes gh-17209
2019-06-16 08:47:40 +01:00
Andy Wilkinson
fa99bd1d89
Upgrade to Spring Integration 5.2.0.M3
...
Closes gh-17201
2019-06-15 10:44:09 +01:00
Andy Wilkinson
fa8dc04751
Upgrade to Spring Kafka 2.2.7.RELEASE
...
Closes gh-17206
2019-06-15 10:42:14 +01:00
Andy Wilkinson
e842dc7f0c
Upgrade to Spring Integration 5.1.6.RELEASE
...
Closes gh-17205
2019-06-15 10:42:14 +01:00
Andy Wilkinson
88df70c4d0
Upgrade to Spring Amqp 2.1.7.RELEASE
...
Closes gh-17204
2019-06-15 10:42:14 +01:00
Andy Wilkinson
d1dc457a87
Upgrade to Spring AMQP 2.2.0.M3
...
Closes gh-17203
2019-06-15 10:36:13 +01:00
Andy Wilkinson
c059c02dca
Upgrade to Spring Kafka 2.3.0.M3
...
Closes gh-17202
2019-06-15 10:35:41 +01:00
Andy Wilkinson
9fda7add5c
Upgrade to Spring Security 5.2.0.M3
...
Closes gh-16965
2019-06-15 10:35:01 +01:00
Phillip Webb
25839185c1
Fix checkstyle violation
2019-06-14 18:57:41 -07:00
Phillip Webb
0b3015e4ff
Polish Binder classes
...
Polish and rename some of the internal Binder classes to better reflect
their purpose. The `BeanBinder` is now called `DataObjectBinder` and
as a `JavaBeanBinder` implementation for setter based properties, and
a `ValueObjectBinder` implementation for constructor based properties.
2019-06-14 18:14:40 -07:00
Madhura Bhave
c6dae5764e
Add bindOrCreate for constructor based binding
...
Deprecate the existing `BindResult.orElseCreate` method in favor of
`bindOrCreate` methods on the `Binder`. These new methods allow us to
implement custom creation logic depending on the type of object being
bound. Specifically, it allows constructor based binding to create new
instances that respect the `@DefaultValue` annotations.
Closes gh-17098
Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2019-06-14 18:14:40 -07:00
Andy Wilkinson
38fb639147
Merge branch '2.1.x'
...
Closes gh-17196
2019-06-14 15:49:00 +01:00
Andy Wilkinson
1b495f5a42
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17195
2019-06-14 15:47:39 +01:00
Andy Wilkinson
4bae91d933
Merge branch '1.5.x' into 2.0.x
2019-06-14 15:47:22 +01:00
Andy Wilkinson
887e39f2fe
Update to Spring HATEOAS 1.0.0.M3
...
Closes gh-17075
2019-06-14 15:28:48 +01:00
Andy Wilkinson
96ac42e405
Upgrade to Spring Data Lovelace-SR9
...
Closes gh-17193
2019-06-14 15:24:32 +01:00
Andy Wilkinson
8bfe2fa9c9
Update to Spring Data Moore-RC1
...
Closes gh-16966
2019-06-14 15:21:12 +01:00
Andy Wilkinson
75da4468e5
Merge branch '2.1.x'
...
Closes gh-17192
2019-06-14 15:15:19 +01:00
Andy Wilkinson
d5d96dff96
Honor logback.debug property and write Logback statuses to console
...
Closes gh-16876
2019-06-14 15:12:05 +01:00
Andy Wilkinson
48adfe626c
Log H2 console path and JDBC URL on startup
...
Closes gh-17063
2019-06-14 13:42:01 +01:00
Andy Wilkinson
24bda8609b
Upgrade to Maven War Plugin 3.2.3
...
Closes gh-17190
2019-06-14 12:20:05 +01:00
Andy Wilkinson
e30e1aa60b
Upgrade to Mockito 2.28.2
...
Closes gh-17189
2019-06-14 12:20:05 +01:00
Andy Wilkinson
f5a675157d
Upgrade to Infinispan 9.4.14.Final
...
Closes gh-17188
2019-06-14 12:20:05 +01:00
Andy Wilkinson
8506d4247b
Upgrade to Hsqldb 2.5.0
...
Closes gh-17187
2019-06-14 12:20:05 +01:00
Andy Wilkinson
85c1b7e9dc
Upgrade to Hibernate Validator 6.0.17.Final
...
Closes gh-17186
2019-06-14 12:20:05 +01:00
Andy Wilkinson
908aca6b06
Upgrade to Hibernate 5.4.3.Final
...
Closes gh-17185
2019-06-14 12:20:05 +01:00
Andy Wilkinson
c9f0fe3c33
Upgrade to Jaybird 3.0.6
...
Closes gh-17184
2019-06-14 12:20:05 +01:00
Andy Wilkinson
ff1a8e7222
Upgrade to Jetty 9.4.19.v20190610
...
Closes gh-17183
2019-06-14 12:20:05 +01:00
Andy Wilkinson
a2baf33e28
Upgrade to Tomcat 9.0.21
...
Closes gh-17182
2019-06-14 12:17:59 +01:00
Andy Wilkinson
8caa25e379
Upgrade to Kafka 2.2.1
...
Closes gh-17181
2019-06-14 12:17:58 +01:00
Andy Wilkinson
0430b35325
Upgrade to Johnzon Jsonb 1.1.12
...
Closes gh-17180
2019-06-14 12:17:57 +01:00
Andy Wilkinson
4d0c08c4b7
Upgrade to Httpclient 4.5.9
...
Closes gh-17179
2019-06-14 12:17:56 +01:00
Andy Wilkinson
336563dff5
Upgrade to Artemis 2.9.0
...
Closes gh-17178
2019-06-14 12:17:55 +01:00
Andy Wilkinson
318bfbf139
Upgrade to Byte Buddy 1.9.13
...
Closes gh-17177
2019-06-14 12:17:54 +01:00
Andy Wilkinson
ff6f616d31
Upgrade to Undertow 2.0.21.Final
...
Closes gh-17176
2019-06-14 12:17:53 +01:00
Andy Wilkinson
e2c5af526f
Upgrade to Rxjava2 2.2.9
...
Closes gh-17175
2019-06-14 12:17:52 +01:00
Andy Wilkinson
a269752f56
Upgrade to Lettuce 5.1.7.RELEASE
...
Closes gh-17174
2019-06-14 12:17:50 +01:00
Andy Wilkinson
7872e6231c
Upgrade to Unboundid Ldapsdk 4.0.11
...
Closes gh-17173
2019-06-14 12:17:49 +01:00
Andy Wilkinson
11641714a6
Upgrade to Rabbit Amqp Client 5.7.1
...
Closes gh-17172
2019-06-14 12:17:48 +01:00
Andy Wilkinson
f8c87e7da7
Upgrade to Hazelcast 3.12.1
...
Closes gh-17171
2019-06-14 12:17:46 +01:00
Andy Wilkinson
daedb5d379
Upgrade to Appengine Sdk 1.9.75
...
Closes gh-17170
2019-06-14 12:17:45 +01:00
Andy Wilkinson
1950016b45
Upgrade to Couchbase Client 2.7.7
...
Closes gh-17169
2019-06-14 12:17:43 +01:00
Andy Wilkinson
1aa193e30b
Upgrade to Maven War Plugin 3.2.3
...
Closes gh-17168
2019-06-14 12:13:55 +01:00
Andy Wilkinson
a3bc383019
Upgrade to Neo4j Ogm 3.1.11
...
Closes gh-17167
2019-06-14 12:13:55 +01:00
Andy Wilkinson
491f5f3233
Upgrade to Infinispan 9.4.14.Final
...
Closes gh-17166
2019-06-14 12:13:55 +01:00
Andy Wilkinson
53c0860151
Upgrade to Hibernate Validator 6.0.17.Final
...
Closes gh-17165
2019-06-14 12:13:55 +01:00
Andy Wilkinson
bc713a6825
Upgrade to Jaybird 3.0.6
...
Closes gh-17164
2019-06-14 12:13:54 +01:00
Andy Wilkinson
8b44d07944
Upgrade to Jetty 9.4.19.v20190610
...
Closes gh-17163
2019-06-14 12:13:54 +01:00
Andy Wilkinson
24242ec476
Upgrade to Tomcat 9.0.21
...
Closes gh-17162
2019-06-14 12:09:44 +01:00
Andy Wilkinson
9a54ec2346
Upgrade to Solr 7.7.2
...
Closes gh-17161
2019-06-14 12:09:43 +01:00
Andy Wilkinson
34b55818d8
Upgrade to Johnzon Jsonb 1.1.12
...
Closes gh-17160
2019-06-14 12:09:42 +01:00
Andy Wilkinson
632d2665e8
Upgrade to Httpclient 4.5.9
...
Closes gh-17159
2019-06-14 12:09:40 +01:00
Andy Wilkinson
eec7cbb7e3
Upgrade to Byte Buddy 1.9.13
...
Closes gh-17158
2019-06-14 12:09:40 +01:00
Andy Wilkinson
9bcf7a2cfd
Upgrade to Undertow 2.0.21.Final
...
Closes gh-17157
2019-06-14 12:09:38 +01:00
Andy Wilkinson
48631c75d8
Upgrade to Rxjava2 2.2.9
...
Closes gh-17156
2019-06-14 12:09:37 +01:00
Andy Wilkinson
93dc36655a
Upgrade to Lettuce 5.1.7.RELEASE
...
Closes gh-17155
2019-06-14 12:09:36 +01:00
Andy Wilkinson
b347c4ddb5
Upgrade to Unboundid Ldapsdk 4.0.11
...
Closes gh-17154
2019-06-14 12:09:34 +01:00
Andy Wilkinson
27f05d335c
Upgrade to Appengine Sdk 1.9.75
...
Closes gh-17153
2019-06-14 12:09:33 +01:00
Andy Wilkinson
f43a1384a2
Upgrade to Couchbase Client 2.7.7
...
Closes gh-17152
2019-06-14 12:09:32 +01:00
Andy Wilkinson
e124269e15
Merge branch '2.1.x'
...
Closes gh-17151
2019-06-14 12:02:40 +01:00
Andy Wilkinson
b6d9c6ee6c
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17150
2019-06-14 12:01:43 +01:00
Andy Wilkinson
4828c19f8f
Merge branch '1.5.x' into 2.0.x
2019-06-14 12:00:45 +01:00
Stephane Nicoll
92e449127e
Upgrade to Spring Framework 5.2.0.M3
...
Closes gh-16963
2019-06-14 12:14:43 +02:00
Stephane Nicoll
0bda2d996a
Upgrade to Reactor Californium-SR9
...
Closes gh-16962
2019-06-14 12:13:17 +02:00
Stephane Nicoll
fc660bbe5c
Upgrade to Spring Framework 5.1.8.RELEASE
...
Closes gh-16961
2019-06-14 12:11:19 +02:00
Madhura Bhave
0d2e44151b
Fix tests following Spring Security changes
2019-06-13 16:09:57 -07:00
Madhura Bhave
4c7e457582
Improve analysis of tomcat bind exception
...
Using the throwOnFailure attribute on the tomcat connector, we can now
determine if the underlying exception was a BindException and throw
a PortInUseException instead of the generic WebServerException.
Closes gh-7130
2019-06-13 15:11:18 -07:00
gaurav bhatnagar
1ec5fb9972
Drop deprecated 'spring.version' POM property
...
See gh-17043
2019-06-13 08:59:00 -07:00
Phillip Webb
9db20313a1
Polish "Add Printer and Parser beans to conversion service"
...
Extract common registration code and make use of the Spring Framework
registration methods.
See gh-17064
2019-06-13 08:54:11 -07:00
Dmytro Nosan
955eaa87ae
Add Printer and Parser beans to conversion service
...
Update `WebMvcAutoConfiguration` and `WebFluxAutoConfiguration` so that
`Printer<T>` and `Parser<T>` beans are automatically registered with
the conversion service.
Prior to this commit only `GenericConverter`, `Converter` and
`Formatter` beans were automatically registered.
See gh-17064
2019-06-13 08:54:11 -07:00
Madhura Bhave
30cfe7b4c5
Polish
2019-06-13 08:02:26 -07:00
Stephane Nicoll
54c72cf39f
Polish
2019-06-13 15:24:04 +02:00
Stephane Nicoll
985c8f7598
Polish RSocket support
2019-06-13 15:11:00 +02:00
Andy Wilkinson
704b5fb2ee
Enable encoding of message/x.rsocket.routing.v0 requests
...
Closes gh-17135
2019-06-13 12:38:15 +01:00
Stephane Nicoll
4fd389dff4
Upgrade to Reactor Dysprosium-M2
...
Closes gh-16964
2019-06-13 11:15:30 +02:00
Stephane Nicoll
99b60383ea
Upgrade to Rsocket 0.12.2-RC4
...
Closes gh-17131
2019-06-13 11:15:30 +02:00
Andy Wilkinson
cffc870fd6
Fix test failures on Windows
...
Since the move to JUnit 5, a number of tests were failing on Windows.
The majority were failing due to open file handles preventing the
clean up of the tests' temporary directory. This commit addresses
these failures by updating the tests to close JarFiles, InputStreams,
OutputStreams etc.
A change has also been made to CachingOperationInvokerTests to make
a flakey test more robust. Due to System.currentTimeMillis() being
less precise on Windows than it is on *nix platforms, the test could
fail as it would not sleep for long enough for the TTL period to have
expired.
2019-06-13 09:24:31 +01:00
Andy Wilkinson
c56fbf8c3d
Allow Archives to be closed so they can release resources
...
Closes gh-17126
2019-06-13 09:22:54 +01:00
Stephane Nicoll
46c2da4a19
Polish "Use existing properties field"
...
See gh-17129
2019-06-13 09:54:51 +02:00
Ingyu Hwang
725cbd9bc8
Use existing properties field
...
See gh-17129
2019-06-13 09:54:31 +02:00
Phillip Webb
e0aa90cf32
Fix incomplete polish of RedisSessionProperties
...
Fix polish commit from 919913ae66
to correctly name the property
getter/setters.
See gh-17022
2019-06-12 17:43:11 -07:00
Madhura Bhave
b59dc5bce4
Update examples in documentation in accordance with JUnit 5
...
See gh-17096
2019-06-12 17:38:32 -07:00
Phillip Webb
919913ae66
Polish "Add session property for ConfigureRedisAction"
...
See gh-17022
2019-06-12 17:33:45 -07:00
Dmytro Nosan
a0fabc9851
Add session property for ConfigureRedisAction
...
Add a new property to `RedisSessionProperties` that allows the default
`ConfigureRedisAction` to be changed. Users can still also configure
the action using a `@Bean`.
See gh-17022
2019-06-12 17:31:39 -07:00
Phillip Webb
aad21d1996
Polish "Support default headers with RestTemplateBuilder"
...
Broaden the scope of customizer support so that instead of focusing
just on headers, we can now customize any outgoing `HttpClientRequest`.
Also update auto-configuration to automatically add any
`RestTemplateRequestCustomizer` beans to the builder.
See gh-17091
2019-06-12 16:34:31 -07:00
Ilya Lukyanovich
43b1a667ce
Support default headers with RestTemplateBuilder
...
Update `RestTemplateBuilder` so that it is easier to apply custom
headers to the outgoing request. The update is particularly useful
for setting the `User-Agent` header, for example so that a GitHub
username can be used when calling `api.github.com`.
See gh-17091
2019-06-12 13:49:39 -07:00
Andy Wilkinson
9b5cb4f9b8
Remove need for public constructor on inner-class
...
Closes gh-17086
2019-06-12 14:55:40 +01:00
Brian Clozel
7a9d1a1e34
Change default Freemarker template file extension
...
This commit changes the default file extension for Freemarker templates
from `*.ftl` to `*.ftlh`. This commit also enables by default the
Freemarker setting `"recognize_standard_file_extensions"` to ensure that
HTML escaping is performed by default in Spring Boot applications.
Applications should adapt to this change by changing the file extensions
of existing templates to `.ftlh`.
Closes gh-15131
2019-06-12 15:52:04 +02:00
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