Commit Graph

21192 Commits (f07e01686ddf46bbcc1d6a153cca78e62aa80c6b)
 

Author SHA1 Message Date
dreis2211 26a22fa523 Test the Gradle Plugin against Gradle 5.6.1
See gh-17984

Closes gh-17984
5 years ago
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
5 years ago
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>
5 years ago
Stephane Nicoll 21302df854 Merge pull request #17968 from polarbear567
* pr/17968:
  Fix Undertow access log dir property name in doc

Closes gh-17968
5 years ago
leoli 34d28f48ca Fix Undertow access log dir property name in doc
See gh-17968
5 years ago
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
5 years ago
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
5 years ago
Madhura Bhave 28d374d84d Polish "Configure Issuer Validator for Resource Server"
See gh-17952
5 years ago
HaiTao Zhang b3d189cf87 Configure Issuer Validator for Resource Server
See gh-17952
5 years ago
Andy Wilkinson 608228d617 Improve handling of non-standard status codes in WebClient metrics
Fixes gh-17695
5 years ago
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
5 years ago
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
5 years ago
Andy Wilkinson ac0a22d603 Tolerate LCEMFB with null JpaVendorAdapter in JPA auto-config
Closes gh-17935
5 years ago
Andy Wilkinson abe3d38527 Fix OoM error when starting Tomcat with max int load on startup
Fixes gh-17927
5 years ago
Andy Wilkinson ab87b2a39b Polish 5 years ago
Stephane Nicoll af38dddd67 Upgrade to nohttp 0.0.3.RELEASE
Closes gh-17905
5 years ago
Stephane Nicoll 47c3b1d0f0 Merge pull request #17875 from lijunyzzZ
* pr/17875:
  Remove redundant code

Closes gh-17875
5 years ago
lijuny d33ed84f1f Remove redundant code
See gh-17875
5 years ago
Stephane Nicoll 3a20b1d90c Merge pull request #17861 from filiphr
* pr/17861:
  Map non-null LDAP properties

Closes gh-17861
5 years ago
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
5 years ago
Madhura Bhave fe63865500 Merge pull request #17805 from ahrytsiuk
* pr/17805:
  Polish "Set up SpringLiquibase beans' dependencies by type rather than name"
  Add missing javadoc
  Set up SpringLiquibase beans' dependencies by type rather than name

Closes gh-17805
5 years ago
Madhura Bhave 0187e5106d Polish "Set up SpringLiquibase beans' dependencies by type rather than name"
See gh-17805
5 years ago
Andrii Hrytsiuk b69f9e9fdf Add missing javadoc
See gh-17805
5 years ago
Andrii Hrytsiuk eaad22dd89 Set up SpringLiquibase beans' dependencies by type rather than name
See gh-17805
5 years ago
Andy Wilkinson 24f6c9e47f Merge pull request #17876 from dreis2211
* gh-17876:
  Test the Gradle Plugin against Gradle 5.6

Closes gh-17876
5 years ago
dreis2211 56940fca97 Test the Gradle Plugin against Gradle 5.6
See gh-17876
5 years ago
Madhura Bhave c4dd386ba8 Merge pull request #17780 from forketyfork
* pr/17780:
  Polish "Expand documentation on remote devtools"
  Expand documentation on remote devtools

Closes gh-17780
5 years ago
Madhura Bhave 8d7deb7b67 Polish "Expand documentation on remote devtools"
See gh-17780
5 years ago
Sergei Petunin ab33bc7deb Expand documentation on remote devtools
See gh-17780
5 years ago
Madhura Bhave 3515ec1f29 Support relaxed binding for properties before environment is prepared
Fixes gh-17843
5 years ago
Stephane Nicoll fcf4680626 Polish "Document how to add metadata for collection and enum default values"
Closes gh-12874
5 years ago
Stephane Nicoll 7aea432e3e Promote dependency management plugin version to the bom
Closes gh-17842
5 years ago
Stephane Nicoll 25aecfeb35 Upgrade to Jackson 2.9.9.20190807
Closes gh-17698
5 years ago
Madhura Bhave 38d36ab18d Document how to add metadata for collection and enum default values
Closes gh-12874
5 years ago
Stephane Nicoll 56c2a52ea4 Polish "Fix syntax errors in docs"
Closes gh-17835
5 years ago
Stephane Nicoll 0bdf2b8742 Merge pull request #17835 from dreis2211
* pr/17835:
  Fix syntax errors in docs

Closes gh-17835
5 years ago
dreis2211 2e32af4737 Fix syntax errors in docs
See gh-17835
5 years ago
Madhura Bhave 47a9bb1c0e Document that auto-configuration classes are not public API
Closes gh-16704
5 years ago
Madhura Bhave 1b62a05c40 Document Prometheus Pushgateway support
Closes gh-16853
5 years ago
Madhura Bhave 541d3c4853 Fix typo 5 years ago
Stephane Nicoll c04454dc19 Merge pull request #17778 from Roiocam
* pr/17778:
  Polish "Configure a temporary directory with Undertow"
  Configure a temporary directory with Undertow

Closes gh-17778
5 years ago
Stephane Nicoll 1b3a6d1616 Polish "Configure a temporary directory with Undertow"
See gh-17778
5 years ago
Andy Chen 0388f954af Configure a temporary directory with Undertow
See gh-17778
5 years ago
Stephane Nicoll b31c336234 Merge pull request #17807 from jebeaudet
* pr/17807:
  Polish "Fix annotation lookup on proxied EndpointExtension"
  Fix annotation lookup on proxied EndpointExtension

Closes gh-17807
5 years ago
Stephane Nicoll 994f08d234 Polish "Fix annotation lookup on proxied EndpointExtension"
See gh-17807
5 years ago
Jacques-Etienne Beaudet 9083da2876 Fix annotation lookup on proxied EndpointExtension
See gh-17807
5 years ago
Stephane Nicoll 5216574fc9 Merge branch '2.0.x' into 2.1.x 5 years ago
Stephane Nicoll 382ea22759 Merge branch '1.5.x' into 2.0.x 5 years ago
Stephane Nicoll 10a5cef4ef Fixup version numbers following release 5 years ago
Spring Buildmaster ef7b1bb4bc Next development version (v2.1.8.BUILD-SNAPSHOT) 5 years ago