Commit Graph

18073 Commits (0881b7c39023b757d1111a5603209785ebde4266)
 

Author SHA1 Message Date
artsiom 51fd27fad4 Configure HiddenHttpMethodFilter for Spring WebFlux
Closes gh-14008
6 years ago
Stephane Nicoll 82e3a6a1a4 Polish 6 years ago
Brian Clozel 8c1df92566 Align with DispatcherServlet changes
The `shouldHandleFailure` configuration option has been removed from
`DispatcherServlet`.

See gh-13511
6 years ago
Stephane Nicoll f30453dc52 Upgrade to Spring Framework 5.1.0.RC2
Closes gh-14038
6 years ago
Stephane Nicoll 5cdff9bce6 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 22bc2bd7ba Upgrade to Httpasyncclient 4.1.4
Closes gh-14098
6 years ago
Stephane Nicoll 412ff051e3 Upgrade to Derby 10.14.2.0
Closes gh-14097
6 years ago
Stephane Nicoll b1805f4d37 Upgrade to Activemq 5.15.5
Closes gh-14096
6 years ago
Stephane Nicoll bffc542409 Upgrade to Jest 5.3.4
Closes gh-14095
6 years ago
Stephane Nicoll 05dfdfad1d Upgrade to Rxjava2 2.1.17
Closes gh-14094
6 years ago
Stephane Nicoll 83ee7fc934 Upgrade to Netty 4.1.28.Final
Closes gh-14093
6 years ago
Stephane Nicoll 8c29586699 Upgrade to Lettuce 5.0.5.RELEASE
Closes gh-14092
6 years ago
Stephane Nicoll a303109d93 Upgrade to Unboundid Ldapsdk 4.0.7
Closes gh-14091
6 years ago
artsiom d22c3e2787 Add property to disable HiddenHttpMethodFilter
Closes gh-14030
6 years ago
Stephane Nicoll 4bc5535c37 Rework "Remove redundant spring-boot-starter dependency"
This commit reworks 40d8726 as it has introduced an unfortunate side
effect for those who are using a starter with optional starter
dependencies.

`spring-boot-starter-web` defines the json and the tomcat starter. The
latter is part of a set of starters that do not bring the base starter
and the former can be excluded to use gson rather than jackson.

When such arrangement happens, spring-boot-starter-web no longer defines
the base starter (and therefore doesn't bring the core dependencies
that Spring Boot needs to bootstrap).

This commit reviews the starters that define optional starters and
reintroduce the base starter.

Closes gh-14076
6 years ago
Madhura Bhave fe05fed76c Merge branch '2.0.x' 6 years ago
Madhura Bhave c7b4a992be Fix formatting 6 years ago
Madhura Bhave d724f154f4 Merge branch '2.0.x' 6 years ago
Madhura Bhave b93c2b9a9f Allow actuator endpoints to be used with mvcMatchers
This commit changes AbstractWebMvcEndpointHandlerMapping to
be a MatchableHandlerMapping. Additionally, EndpointRequest,
now delegates to MvcRequestMatcher for Spring MVC applications.

For all other applications, AntPathRequestMatcher is used as
a delegate.

Closes gh-13962
6 years ago
Madhura Bhave b6a6b9eb20 Merge branch '2.0.x' 6 years ago
Madhura Bhave a75a84781e Fix merge issue 6 years ago
Madhura Bhave 9ce56c649b Merge branch '2.0.x' 6 years ago
Madhura Bhave 2d3fbe6feb Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave bd482d7063 Add DefaultHandlerExceptionResolver to child context
Fixes gh-14084
6 years ago
Andy Wilkinson 90608fa40e Align test with changes made in ab1f5931
See gh-13511
6 years ago
Andy Wilkinson 30ee481c98 Do not block in DSInitializedPublisher when EMF is using async bootstrap
Previously, we would retrieve the EntityManagerFactory’s DataSource as
soon as it was being post-processed. When the native
EntityManagerFactory is being bootstrapped asynchronously, this
retrieval would block until bootstrapping had completed. This negated
some of the benefits of asynchronous bootstrapping.

This commit updates DataSourceInitializedPublisher so that it only
accesses the EntityManagerFactory’s DataSource once its bootstrapping
has completed. This is achieved using a decorated JpaVendorAdapter
that is called one the boostrapping has completed.

Closes gh-14061
6 years ago
Andy Wilkinson f28528a527 Allow Data JPA's bootstrap mode to be configured via the environment
In Spring Data Lovelace, repositories' bootstrap mode can be
configured via @EnableJpaRepositories. This commit adds support for
configuring the mode via the environment rather than having to use
the annotation. Additionally, when deferred or lazy bootstrapping is
being used, the LocalContainerEntityManagerFactoryBean is configured
to use a bootstrap executor. This allows JPA's initialization to be
performed on a separate thread, allowing the rest of application
context initialization to proceed in parallel.

Closes gh-13833
6 years ago
Brian Clozel ab1f5931a0 Disable DispatcherServlet shouldHandleFailure
This change broke a Spring Security sample, reverting it.

See gh-13511
6 years ago
Brian Clozel f2511b7fa3 Improve Web DEBUG logging output configuration
Since SPR-16946, Spring Framework revisited the DEBUG logging output
developers get while working on Spring MVC and Spring WebFlux
applications.

This commit aligns to those changes where DEBUG output was produced
in Spring Boot (especially in `DefaultErrorWebExceptionHandler`).

This also enables DEBUG logging on the related packages when running an
application with Spring Boot Developer Tools, providing a better
development experience.

This is also adding the new `spring.insights.web.log-request-details`
configuration property, which logs additional information about the
incoming requests at the DEBUG and TRACE levels. Since that information
can be sensitive (e.g. credentials, tokens, etc.), this property is not
enabled by default nor activated by the Developer Tools.

Closes: gh-13511
6 years ago
Stephane Nicoll 13f08e4c89 Polish 6 years ago
Andy Wilkinson 98b9a57252 Start building against Spring Data Lovelace RC2 snapshots
See gh-14081
6 years ago
Stephane Nicoll 8ffd44077d Upgrade to gmavenplus-plugin 1.6.1 6 years ago
Stephane Nicoll 8f2ab952f5 Polish javadoc formatting 6 years ago
Stephane Nicoll 16331616dc Merge branch '2.0.x' 6 years ago
Stephane Nicoll 376ef83dc0 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 5780ed386b Merge pull request #14002 from qct:reference-fix-for-1.5.x
* pr/14002:
  Polish "Add table for supported build tools"
  Add table for supported build tools
6 years ago
Stephane Nicoll dda66cc125 Polish "Add table for supported build tools"
Closes gh-14002
6 years ago
qct 685c3afdf8 Add table for supported build tools
See gh-14002
6 years ago
Stephane Nicoll de470540ea Add auto-configuration support for TaskScheduler
This commit adds support for providing a default ThreadPoolTaskScheduler
with sensible defaults. A new TaskSchedulerBuilder is provided with
defaults from the `spring.task.scheduler.*` namespace and can be used
to create custom instances.

If no custom `TaskScheduler` bean is present, `@EnableScheduling` now
uses the auto-configured task scheduler.

Closes gh-1397
6 years ago
Stephane Nicoll dcd80c087e Harmonize task execution naming 6 years ago
Andy Wilkinson 8743f4dda9 Merge pull request #14004 from Filip Procházka
* gh-14004:
  Polish "Stop Elasticsearch REST client from pulling in commons-logging"
  Stop Elasticsearch REST client from pulling in commons-logging
6 years ago
Andy Wilkinson bb8dd25d24 Polish "Stop Elasticsearch REST client from pulling in commons-logging"
Closes gh-14004
6 years ago
Filip Procházka 7c43c89e11 Stop Elasticsearch REST client from pulling in commons-logging
See gh-14004
6 years ago
Andy Wilkinson 48f3e95791 Merge pull request #14052 from Artsiom Yudovin
* gh-14052:
  Polish "Allow properties to be configured using slice test annotations"
  Allow properties to be configured using slice test annotations
6 years ago
Andy Wilkinson 075a745e32 Polish "Allow properties to be configured using slice test annotations"
Closes gh-14052
6 years ago
artsiom 0cf1749e85 Allow properties to be configured using slice test annotations
See gh-14052
6 years ago
Andy Wilkinson 29d3ee1b41 Merge pull request #14035 from Johnny Lim
* gh-14035:
  Add "With an Immediate Pull Request"
6 years ago
Johnny Lim 5c47719e50 Add "With an Immediate Pull Request"
This commit also reorganises the "Please DO NOT Raise an Issue" cases.

Closes gh-14035
6 years ago
Andy Wilkinson 971caad6f8 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 3e093035b4 Merge branch '1.5.x' into 2.0.x 6 years ago