Phillip Webb
ffbd11caba
Document logger environment variable restrictions
...
Update the reference guide with a note about using environment variables
to configure logging.
Closes gh-17958
2019-08-31 07:43:42 -07:00
Andy Wilkinson
37d3ce03f8
Revert "Upgrade to Jetty 9.4.20.v20190813"
...
This reverts commit f6f99d7855
as 9.4.20
includes an incompatible class change where an abstract class in
Jetty's public API was changed to an interface, making it incompatible
with Framework 5.1.9.
See gh-18035
2019-08-31 11:00:12 +01:00
Andy Wilkinson
3fc4df9f66
Upgrade to Slf4j 1.7.28
...
Closes gh-18043
2019-08-31 08:29:37 +01:00
Andy Wilkinson
e12aa4fe51
Upgrade to Reactive Streams 1.0.3
...
Closes gh-18042
2019-08-31 08:29:36 +01:00
Andy Wilkinson
df186945b6
Upgrade to Neo4j Ogm 3.1.13
...
Closes gh-18041
2019-08-31 08:29:35 +01:00
Andy Wilkinson
1cf615059e
Upgrade to Jooq 3.11.12
...
Closes gh-18040
2019-08-31 08:29:35 +01:00
Andy Wilkinson
9c8b8ef6cf
Upgrade to Jboss Logging 3.3.3.Final
...
Closes gh-18039
2019-08-31 08:29:33 +01:00
Andy Wilkinson
f2ca07001d
Upgrade to Infinispan 9.4.16.Final
...
Closes gh-18038
2019-08-31 08:29:32 +01:00
Andy Wilkinson
07f3ba7c33
Upgrade to Hibernate 5.3.11.Final
...
Closes gh-18037
2019-08-31 08:29:31 +01:00
Andy Wilkinson
7948c0e399
Upgrade to Freemarker 2.3.29
...
Closes gh-18036
2019-08-31 08:29:30 +01:00
Andy Wilkinson
f6f99d7855
Upgrade to Jetty 9.4.20.v20190813
...
Closes gh-18035
2019-08-31 08:29:29 +01:00
Andy Wilkinson
5e2f18f48b
Upgrade to Groovy 2.5.8
...
Closes gh-18034
2019-08-31 08:29:28 +01:00
Andy Wilkinson
a2d452f160
Upgrade to Tomcat 9.0.24
...
Closes gh-18033
2019-08-31 08:29:27 +01:00
Andy Wilkinson
b33d376fbe
Upgrade to Undertow 2.0.25.Final
...
Closes gh-18032
2019-08-31 08:29:26 +01:00
Andy Wilkinson
bf27f23144
Upgrade to Rxjava2 2.2.12
...
Closes gh-18031
2019-08-31 08:29:25 +01:00
Andy Wilkinson
494eaf0df8
Upgrade to Netty 4.1.39.Final
...
Closes gh-18030
2019-08-31 08:29:24 +01:00
Andy Wilkinson
e9a2de0556
Upgrade to Dropwizard Metrics 4.0.6
...
Closes gh-18029
2019-08-31 08:29:23 +01:00
Andy Wilkinson
8956e3d216
Upgrade to Couchbase Client 2.7.9
...
Closes gh-18028
2019-08-31 08:29:22 +01:00
Andy Wilkinson
3d23277b8f
Tolerate invalid mimetype in Reactory Netty compression predicate
...
Fixes gh-18018
2019-08-31 08:18:18 +01:00
Phillip Webb
6ca92418b5
Document need to exactly JPA property names
...
Closes gh-17975
2019-08-30 21:56:18 -07:00
Phillip Webb
e4dfb74629
Polish
2019-08-30 21:29:54 -07:00
Phillip Webb
1ff784ff54
Remove MBean shutdown warning from documentation
...
Closes gh-17988
2019-08-30 21:27:51 -07:00
Phillip Webb
368eb566fb
Use versioned links in documentation
...
Update the reference documentation to use versioned links rather then
`/current/` whenever possible.
Closes gh-18000
2019-08-30 21:19:33 -07:00
Phillip Webb
348d65b4fe
Polish documentation
2019-08-30 19:13:12 -07:00
Phillip Webb
7f9d143e01
Polish documentation
...
Update reference documentation source to use consistent attribute names
and fix a few formatting issues.
2019-08-30 17:11:14 -07:00
Phillip Webb
db26d9dc91
Fix EndpointRequest ignore logic
...
Fixup ignore logic in `EndpointRequest`.
See gh-18012
2019-08-30 16:25:07 -07:00
Phillip Webb
572e491465
Remove Gemfire starter details from documentation
...
Closes gh-18002
2019-08-30 14:57:17 -07:00
Phillip Webb
dbccb705a8
Clarify "Web Application Conditions" documentation
...
Update the reference documentation so that "Web Application Conditions"
also covers reactive contexts.
Closes gh-18005
2019-08-30 14:52:27 -07:00
Phillip Webb
5938ca78b6
Fix request matcher management context support
...
Fix caching issues in `ApplicationContextRequestMatcher` and allow
subclasses to ignore an application context entirely. Update existing
matcher implementations so that they deal with the management context
correctly.
Prior to this commit, the `ApplicationContextRequestMatcher` would
return a context cached from the first request. It also didn't
provide any way to ignore a context. This meant that if the user was
running the management server on a different port the matching results
could be inconsistent depending on if the first request arrived on
the regular context or the management context. It also meant that we
could not distinguish between the regular context and the management
context when matching.
Closes gh-18012
2019-08-30 14:36:16 -07:00
dreis2211
b6fff67f6e
Remove reference to non-existent --edit option in CLI docs
...
See gh-18015
2019-08-30 09:52:24 +01:00
Phillip Webb
64d4bf823a
Reformat documentation to one sentence per line
...
Update reference documentation to use one sentence per line formatting
as recommended by the Asciidoctor team.
Closes gh-12445
2019-08-29 14:58:48 -07:00
Ben Hale
2a04d94cf1
Use exec when launching the JVM in CLI's shell script
...
Previously, when the Spring Boot CLI ran the Java command line for an
application it did a straight invocation which suppressed propagation of
signals to the JVM in certain circumstances (e.g within Docker containers).
This change prepends the command with exec which causes the Java process to
replace the script process in a shell ensuring that signals are propagated to
the Java process without suppression.
See gh-17976
Signed-off-by: Ben Hale <bhale@pivotal.io>
2019-08-29 13:49:46 +01:00
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
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
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
leoli
34d28f48ca
Fix Undertow access log dir property name in doc
...
See gh-17968
2019-08-27 11:06:16 +02: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
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
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
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
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
ac0a22d603
Tolerate LCEMFB with null JpaVendorAdapter in JPA auto-config
...
Closes gh-17935
2019-08-23 10:39:40 +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
Andy Wilkinson
ab87b2a39b
Polish
2019-08-19 16:05:43 +01:00
lijuny
d33ed84f1f
Remove redundant code
...
See gh-17875
2019-08-17 06:41:10 +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
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
dreis2211
56940fca97
Test the Gradle Plugin against Gradle 5.6
...
See gh-17876
2019-08-16 08:45:33 +01: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
3515ec1f29
Support relaxed binding for properties before environment is prepared
...
Fixes gh-17843
2019-08-13 14:54:27 -07: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
7aea432e3e
Promote dependency management plugin version to the bom
...
Closes gh-17842
2019-08-13 17:21:32 +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
38d36ab18d
Document how to add metadata for collection and enum default values
...
Closes gh-12874
2019-08-12 17:26:39 -07:00
Stephane Nicoll
56c2a52ea4
Polish "Fix syntax errors in docs"
...
Closes gh-17835
2019-08-12 10:54:33 +02:00
dreis2211
2e32af4737
Fix syntax errors in docs
...
See gh-17835
2019-08-12 10:34:46 +02: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
1b62a05c40
Document Prometheus Pushgateway support
...
Closes gh-16853
2019-08-08 15:15:51 -07:00
Madhura Bhave
541d3c4853
Fix typo
2019-08-08 11:52:05 -07: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
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
94184ae38b
Upgrade to Spring Security 5.1.6
...
Closes gh-17794
2019-08-06 08:15:18 +02:00
陈其苗
77931a0981
Fix typo in assertion
...
See gh-17774
2019-08-05 15:30:33 -07: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
9938c18968
Upgrade to Spring Data Lovelace-SR10
...
Closes gh-17353
2019-08-05 13:42:48 +02:00
Stephane Nicoll
b15674d71e
Upgrade to Spring HATEOAS 0.25.2
...
Closes gh-17777
2019-08-04 08:56:05 +02: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
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
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
80f568bd47
Clarify RestTemplateBuilder rootUri documentation
...
Closes gh-15343
2019-08-01 15:59:24 -07:00
Madhura Bhave
5f3364326b
Configure interceptors for WelcomePageHandlerMapping
...
Fixes gh-16309
2019-08-01 12:27:53 -07: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
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
Madhura Bhave
96235ea674
Fix ordering of JSON property source relative to servlet sources
...
Fixes gh-17652
2019-07-31 12:43:08 -07: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
Stephane Nicoll
f9e809b00e
Upgrade to Undertow 2.0.23.Final
...
Closes gh-17676
2019-07-31 14:51:58 +02:00
Stephane Nicoll
dc4e67f5dd
Remove useless classpath override
2019-07-31 13:55:38 +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
fe515a301d
Upgrade to Reactor Californium-SR10
...
Closes gh-17639
2019-07-30 11:12:39 +02:00
Tomas Aschan
1b172dc4fe
Clarify documentation about specifying main class
...
See gh-17003
2019-07-29 11:36:26 -07: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
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
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
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
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
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
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
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
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
dreis2211
c2b6939ae1
Cover more known Java versions in JavaVersion
...
See gh-17590
2019-07-22 10:24:54 +02: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
Stephane Nicoll
8eb6886388
Fix code formating
2019-07-19 11:29:12 +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
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
dreis2211
43833c7bf0
Remove unused java-statsd-client dependencies
...
See gh-17508
2019-07-18 17:54:48 +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
b725c60177
Deprecate DeploymentInfo customization with reactive Undertow
...
Fixes gh-17555
2019-07-18 06:54:38 +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
Stephane Nicoll
b6ca1eadeb
Fix prefix for datasource metrics
...
Closes gh-17553
2019-07-17 14:28:12 +02: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
a64317b114
Fix broken link to Spring Integration metrics section
...
Closes gh-17543
2019-07-17 10:26:40 +02:00
Andy Wilkinson
e84477cfe2
Only perform Quartz DataSource init when using JDBC store
...
Fixes gh-17545
2019-07-17 09:04:17 +01:00
dreis2211
e9203a280c
Test the Gradle Plugin against Gradle 5.5.1
...
See gh-17496
2019-07-14 13:13:17 +02: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
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
Dmytro Nosan
93d0427fb5
Polish AbstractDependsOnBeanFactoryPostProcessor
...
See gh-17480
2019-07-10 13:36:57 +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
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
852f4a280c
Fix supported java version range in documentation
...
Closes gh-17476
2019-07-10 12:48:50 +02: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
3fb15a502b
Remove outdated reference to Guava in the reference guide
...
Closes gh-17446
2019-07-09 18:00:57 +02: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
c5241f0e82
Remove accidental usage of com.hazelcast.util.Base64
...
Closes gh-17461
2019-07-09 15:03:31 +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
a023f308ed
Make JDBC-based batch configurer back off without a DataSource
...
Closes gh-17449
2019-07-08 14:43:26 +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
7553b60e68
Test the Gradle Plugin against Gradle 5.5
...
Closes gh-17428
2019-07-04 10:05:57 +01: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
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
e57579461a
Prevent endpoint's shutdown() method from being a destroy method
...
Closes gh-17407
2019-07-02 14:05:49 +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
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
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
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
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
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
Dmytro Nosan
ae184874e9
Polish WebServiceTemplateBuilder
...
See gh-17289
2019-06-29 22:19:03 +01:00
Johnny Lim
408035fb3f
Remove System.out.println() in a test
...
See gh-17358
2019-06-29 21:18:44 +01:00
Johnny Lim
8dea74a2e9
Add a missing quote in DebugLogbackConfigurator
...
See gh-17357
2019-06-29 21:14:42 +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
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
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
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
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
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
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
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
86ace26049
Fix broken link to Spring Integration reference guide
...
Closes gh-17279
2019-06-21 09:09:01 +02:00
Andy Wilkinson
a5ae1de706
Fix spring-boot-loader's tests on Windows
...
Closes gh-17275
2019-06-20 11:08:35 +01: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
Phillip Webb
3eb7af1506
Upgrade to Infinispan 9.4.15.Final
...
Closes gh-17235
2019-06-17 19:42:33 -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
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
88fbc529e6
Upgrade to Micrometer 1.1.5
...
Closes gh-17222
2019-06-17 16:15:44 +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
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
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
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
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
7d59b78829
Fix handling of jar files with + chars in their path
...
Closes gh-17208
2019-06-17 10:31:51 +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
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
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
96ac42e405
Upgrade to Spring Data Lovelace-SR9
...
Closes gh-17193
2019-06-14 15:24:32 +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
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
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
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
Andy Wilkinson
c12ccfb342
Close JarFile if failure occurs during construction
...
Fixes gh-17123
2019-06-12 12:59:14 +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
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
2833f60344
Avoid leaving streams open when writing libraries
...
Fixes gh-17115
2019-06-12 12:28:07 +01:00
Andy Wilkinson
7103eab2e6
Close JarFiles when looking for Class-Path manifest entries
...
Fixes gh-17095
2019-06-12 11:36:34 +01:00
dreis2211
23b09ecca6
Make dependency available for javadoc generation
...
See gh-17111
2019-06-12 08:18:26 +01:00
Andy Wilkinson
95d0e26c35
Fix command DevTools uses to shut down in-memory Derby DB
...
Closes gh-17099
2019-06-11 10:29:09 +01:00
Phillip Webb
fed11febec
Fix checkstyle violations
2019-06-07 12:48:55 -07:00