Commit Graph

2435 Commits (9308904af7708385a5cf835276cd63dd64df907d)

Author SHA1 Message Date
Madhura Bhave ed734d7e43 Trace filter ignores invalid requests
Fixes gh-12987
7 years ago
Brian Clozel 751a2b438e Upgrade duplicate finder maven plugin to 1.3.0
Closes gh-13411
7 years ago
Brian Clozel 59746de63b Backport web server configuration doc changes
Closes gh-13401
7 years ago
Rossen Stoyanchev a4ee33bf56 Follow-up dates for web server config documentation
See gh-13315
7 years ago
Stephane Nicoll 34167dc163 Polish 7 years ago
Stephane Nicoll a9e56aa089 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 5c96943e59 Merge branch '1.5.x' into 2.0.x 7 years ago
Phillip Webb a0b6547aca Don't fail build on duplicate module-info classes
Update the duplicate-finder-maven-plugin configuration to ignore
module-info classes.

Closes gh-13403
7 years ago
Madhura Bhave cb621024e4 Include error stacktrace by default when devtools is in use
Fixes gh-828
7 years ago
Phillip Webb 375769ed5a Merge branch '2.0.x' 7 years ago
Phillip Webb dc1c459cde Polish "Fix caching issues with map property sources"
Refine the property source cache key fix so that a copy of the
key is only taken when the values change. This allows us to
retain the previous performance optimization of not creating
unnecessary string arrays.

Closes gh-13344
7 years ago
Fahim Farook c556d2b58f Fix caching issues with map property sources
Update `SpringIterableConfigurationPropertySource` so that the cache
key from a `MapPropertySource` is invalidated when the map contents
changes.

Prior to this commit, the actual keys of the map were used as the key.
This meant that if the underlying map changed, they key wouldn't be
invalidated because it ultimately pointed to the same object instance.

See gh-13344
7 years ago
Madhura Bhave 9570cd4172 Add saaj and jax-ws to webservices starter
Closes gh-13360
7 years ago
Madhura Bhave 6eaae608b5 Merge branch '2.0.x' 7 years ago
Madhura Bhave 461202bc25 EndpointRequest uses empty servlet path if not available
Fixes gh-13399
7 years ago
Brian Clozel 0004550f7b Document Reactor Netty server configuration
This commit regroups the documentation on how to configure a web server
in Spring Boot. The same concepts apply, whether the server is
Tomcat/Netty/Jetty/Undertow, or if it's deployed for a Servlet or
Reactive web application.

Closes gh-13315
7 years ago
Brian Clozel fe3de2816c Merge branch '2.0.x' 7 years ago
Brian Clozel 7cbbd95fc9 Ignore invalid Accept headers in WebFlux error handling
Prior to this commit, the `DefaultErrorWebExceptionHandler` would parse
the HTTP "Accept" headers when routing the request to the error handler;
if an error occured during parsing, an `InvalidMediaTypeException` would
be thrown and break the error handling for this request.

This commit ignores those exceptions and makes sure that the error
handling function does not override the response status or the error
itself with those exceptions.

Closes: gh-13372
7 years ago
Stephane Nicoll ab19db19a3 Move Hibernate settings to a dedicated class
Closes gh-1327
7 years ago
Andy Wilkinson cf8c0acdc5 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 47615154de Upgrade to Mongodb 3.6.4
Closes gh-13397
7 years ago
Andy Wilkinson fd56e79f7a Upgrade to Mariadb 2.2.5
Closes gh-13396
7 years ago
Andy Wilkinson 6d0d66cb28 Upgrade to Narayana 5.8.2.Final
Closes gh-13395
7 years ago
Andy Wilkinson a4a6f482c6 Upgrade to Hsqldb 2.4.1
Closes gh-13394
7 years ago
Andy Wilkinson ecd8760514 Upgrade to Hibernate Validator 6.0.10.Final
Closes gh-13393
7 years ago
Andy Wilkinson 50f3f50ebb Upgrade to Activemq 5.15.4
Closes gh-13392
7 years ago
Andy Wilkinson 2b4d51e763 Upgrade to Rxjava2 2.1.14
Closes gh-13391
7 years ago
Andy Wilkinson d79f2401be Upgrade to Netty 4.1.25.Final
Closes gh-13390
7 years ago
Andy Wilkinson 2d4f1bb043 Upgrade to Unboundid Ldapsdk 4.0.6
Closes gh-13389
7 years ago
Andy Wilkinson 27b5fdd1e1 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 42c2059dd8 Merge branch '2.0.x' 7 years ago
Stephane Nicoll f6c99361a4 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 0d63e7f592 Merge branch '2.0.x' 7 years ago
dreis2211 ba8a32fa4e Replace commons-codec Base64 usage
See gh-13378
7 years ago
Phillip Webb e0ae805924 Update copyright header 7 years ago
Phillip Webb 66be6c3396 Polish 7 years ago
Madhura Bhave 26b826e017 Merge branch '2.0.x' 7 years ago
Madhura Bhave d0a2a8e929 Document ConfigurableServletWebServerFactory variants
Closes gh-13083
7 years ago
Brian Clozel 56ab0da287 Support EncodedResourceResolver in resource chain
As of https://jira.spring.io/browse/SPR-16381, Spring Framework now
supports both gzip and Brotli as compression formats for static
resources resolved by the resource chain.

The `GzipResourceResolver` has been deprecated and replaced by the
`EncodedResourceResolver`. This commit uses this new resolver and adapts
the configuration key to reflect those changes.

Note that this resolver is now configured ahead of the
`VersionResourceResolver`.

Closes gh-13242
7 years ago
Dmytro Nosan 5b159a6bd0 Use Duration in HttpWebServiceMessageSenderBuilder
Closes gh-13364
7 years ago
Stephane Nicoll 909722f143 Polish 7 years ago
Stephane Nicoll e9c3df4ad2 Polish "Add duration support for setConnectTimeout and setReadTimeout"
Closes gh-13355
7 years ago
Dmytro Nosan 36f3c1b883 Add duration support for setConnectTimeout and setReadTimeout
See gh-13355
7 years ago
Stephane Nicoll 8691d01aaf Polish "Add duration support for setConnectTimout and setReadTimeout"
See gh-13355
7 years ago
Stephane Nicoll 83f7df920b Merge branch '2.0.x' 7 years ago
Stephane Nicoll bf56ec496d Polish 7 years ago
Stephane Nicoll 47634f5587 Polish 7 years ago
Stephane Nicoll 1901008d6f Merge branch '2.0.x' 7 years ago
Stephane Nicoll fff06822dc Polish 7 years ago
Stephane Nicoll d84e2b90d7 Fix wrong usage of ManagementContextConfiguration
Closes gh-13366
7 years ago
Stephane Nicoll 51cf4e5d74 Polish "Add support to set visibility via JacksonProperties"
Closes gh-13214
7 years ago
Eddú Meléndez ca3659059a Add support to set visibility via JacksonProperties
This commit allows to configure properties visibility.

See gh-13214
7 years ago
Stephane Nicoll 3248400665 Merge branch '2.0.x' 7 years ago
Stephane Nicoll b4f8361989 Make JMX metrics domain configurable
Closes gh-13356
7 years ago
Stephane Nicoll c612ed2695 Polish "RestTemplateCustomizers should be applied at the end"
Closes gh-13358
7 years ago
Dmytro Nosan ce3420748f RestTemplateCustomizers should be applied at the end
See gh-13358
7 years ago
Phillip Webb ade1397ea2 Merge branch '2.0.x' 7 years ago
Phillip Webb 571c50e43f Switch to functional web code to use static imports
Update the samples and tests to use the more idiomatic static import
style.
7 years ago
Phillip Webb 2274ac5214 Move spring-javaformat plugins to root POM
Relocate spring-javaformat plugins to the root of the project.

Closes gh-13306
7 years ago
Phillip Webb d47e7ebb5b Merge branch '2.0.x' 7 years ago
Phillip Webb e1d21e52d5 Allow multi-value spring.profiles properties
Update `ConfigFileApplicationListener` to correctly load properties
that have `spring.profiles` values containing a list.

Prior to this commit the loaded would attempt to add the same document
twice resulting in a "property source cannot be added relative to
itself" error.

Closes gh-13362
7 years ago
Phillip Webb a12baed5de Merge branch '2.0.x' 7 years ago
Phillip Webb c1ab3eab69 Polish 7 years ago
Phillip Webb 67b548dafb Protect against infinite property include loop
Update `ConfigFileApplicationListener` to ensure that a
`spring.profiles.include` property that refers to an already processed
profile doesn't cause an infinite loop.

Closes gh-13361
7 years ago
Madhura Bhave 378c4c9535 Stop included profiles overriding active profiles
Update `ConfigFileApplicationListener` so that `spring.profiles.include`
properties do not override higher priority active profiles.

This commit also changes when profiles get added to the environment.
Profiles are now added to the environment at the time of profile
processing so that they get logged in the order that they are processed.

Closes gh-13151
7 years ago
Brian Clozel 87af880446 Reactor BOM is now declaring reactor-netty 0.8
See gh-13321
7 years ago
Madhura Bhave 360d392eb1 Merge branch '2.0.x' 7 years ago
Madhura Bhave 60a4d67b13 Handle special characters in TraceableHttpServletRequest
Fixes gh-13273
7 years ago
Phillip Webb ef5301d079 Add saaj and jax-ws dependencies for Java 9 build
Add test dependencies for saaj-impl and jax-ws since Java 9+ no longer
includes them.

See gh-1270
7 years ago
Andy Wilkinson ebb99d1c20 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 1a0dfa06ab Add log4j-jul to Log4j 2 starter
Closes gh-12659
7 years ago
Phillip Webb 1d35b629bb Merge branch '2.0.x' 7 years ago
Phillip Webb abe92eba2e Protect Inet test against "helpful" DNS resolvers
Update `InetAddressFormatterTests` to ensure that DNS resolvers that
return a "help" page for missing domains don't cause the build to fail.

Closes gh-11897
7 years ago
Brian Clozel bd8106d77f Upgrade to Spring Framework 5.1
As of Spring Framework 5.1, we're depending on the Reactor Californium
release train.
Reactor Netty is now at version 0.8 and changed its artifact
coordinates, package names and broke several APIs. Spring Framework is
now up-to-date with those changes and this commit does the same for
Spring Boot.

Note that in that process, the `NettyServerCustomizer` has been changed
since the former `HttpServerOptions.Builder` API is now gone from
Reactor Netty, and we're now relying on immutable server instances
instead of a stateful builder pattern.

See gh-13321
7 years ago
Andy Wilkinson 0f321abe66 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 70c0d6a005 Test the Gradle plugin against Gradle 4.8
Closes gh-13359
7 years ago
Andy Wilkinson 00449bef6a Use app…DefaultJvmArgs as convention for start script's defaultJvmOpts
Closes gh-12631
7 years ago
Andy Wilkinson aee6aecfc2 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 624946a779 Upgrade to Maven Invoker Plugin 3.1.0
Closes gh-12687
7 years ago
Stephane Nicoll 93396aef51 Polish 7 years ago
Andy Wilkinson b38f60a631 Merge branch '2.0.x' 7 years ago
Andy Wilkinson d54072e0a8 More accurately document buildInfo's effect on up-to-date checking
Closes gh-13152
7 years ago
Stephane Nicoll ee158df993 Merge branch '2.0.x' 7 years ago
Dmytro Nosan 20003489be Auto-configure jOOQ with TransactionListenerProvider
Closes gh-13331
7 years ago
Andy Wilkinson d0ce919d8c Merge branch '2.0.x' 7 years ago
Andy Wilkinson 0df37b917b Ignore unresolvable placeholders during property binding
Closes gh-13122
7 years ago
Andy Wilkinson 9c8d2c8016 Improve analysis of bind failures caused by a conversion failure
Closes gh-13357
7 years ago
Andy Wilkinson 92629ac5af Merge branch '2.0.x' 7 years ago
Andy Wilkinson ea51cfabca Avoid uri tag explosion when use of path variable is undetected
Previously, WebMvcTags would fall back to using the request’s path
info if Spring MVC’s best matching path pattern attribute was not
available. For non-Spring MVC web frameworks that support path
variables, such as Jersey, this led to an explosion of URI tags that
could exhaust the heap.

Closes gh-12447
7 years ago
Stephane Nicoll 4a6102091e Merge branch '2.0.x' 7 years ago
Stephane Nicoll bc59434bcc Start building against Spring Framework 5.0.7 snapshots
See gh-13353
7 years ago
Stephane Nicoll 99f0270fce Merge branch '2.0.x' 7 years ago
Stephane Nicoll a9b2826c26 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll 8bcea0d8cc Polish "Add auto-configuration for WebServiceTemplate"
Closes gh-1270
7 years ago
Stephane Nicoll ef9c1a8e35 Extract ClientHttpRequestFactory detection to its own class
See gh-12707
7 years ago
dnosan c9df1c551a Add auto-configuration for WebServiceTemplate
See gh-12707
7 years ago
Stephane Nicoll 283ceaa071 Merge branch '2.0.x' 7 years ago
dreis2211 8bb7b8af51 Remove usage of deprecated Matchers class
Closes gh-13345
7 years ago
Stephane Nicoll d924c89525 Merge branch '2.0.x' 7 years ago
dreis2211 29605bacd2 Polish stream creation in some PropertySources
Closes gh-13343
7 years ago