Commit Graph

21022 Commits

Author SHA1 Message Date
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
Andy Wilkinson
587e116be8 Merge pull request #18015 from dreis2211
* gh-18015:
  Remove reference to non-existent --edit option in CLI docs

Closes gh-18015
2019-08-30 09:52:35 +01: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
Andy Wilkinson
aa63261051 Merge pull request #17976 from nebhale
* gh-17976:
  Use exec when launching the JVM in CLI's shell script

Closes gh-17976
2019-08-29 13:50:51 +01: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
Andy Wilkinson
bd9f7a13f5 Merge pull request #17984 from dreis2211
* gh-17984:
  Test the Gradle Plugin against Gradle 5.6.1

Closes gh-17984
2019-08-29 12:53:01 +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
Stephane Nicoll
21302df854 Merge pull request #17968 from polarbear567
* pr/17968:
  Fix Undertow access log dir property name in doc

Closes gh-17968
2019-08-27 11:07:23 +02:00
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
8a879dd2df Merge pull request #17952 from htztomic
* pr/17952:
  Polish "Configure Issuer Validator for Resource Server"
  Configure Issuer Validator for Resource Server

Closes gh-17952
2019-08-23 19:35:13 -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
Stephane Nicoll
af38dddd67 Upgrade to nohttp 0.0.3.RELEASE
Closes gh-17905
2019-08-19 08:03:03 +02:00
Stephane Nicoll
47c3b1d0f0 Merge pull request #17875 from lijunyzzZ
* pr/17875:
  Remove redundant code

Closes gh-17875
2019-08-17 06:44:57 +02:00
lijuny
d33ed84f1f Remove redundant code
See gh-17875
2019-08-17 06:41:10 +02:00
Stephane Nicoll
3a20b1d90c Merge pull request #17861 from filiphr
* pr/17861:
  Map non-null LDAP properties

Closes gh-17861
2019-08-17 06:34:48 +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