Commit Graph

18062 Commits

Author SHA1 Message Date
Stephane Nicoll 8c29586699 Upgrade to Lettuce 5.0.5.RELEASE
Closes gh-14092
2018-08-17 11:34:40 +02:00
Stephane Nicoll a303109d93 Upgrade to Unboundid Ldapsdk 4.0.7
Closes gh-14091
2018-08-17 11:34:39 +02:00
artsiom d22c3e2787 Add property to disable HiddenHttpMethodFilter
Closes gh-14030
2018-08-17 10:29:06 +02:00
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
2018-08-17 10:28:36 +02:00
Madhura Bhave fe05fed76c Merge branch '2.0.x' 2018-08-16 16:44:03 -07:00
Madhura Bhave c7b4a992be Fix formatting 2018-08-16 16:43:31 -07:00
Madhura Bhave d724f154f4 Merge branch '2.0.x' 2018-08-16 15:45:20 -07:00
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
2018-08-16 15:41:02 -07:00
Madhura Bhave b6a6b9eb20 Merge branch '2.0.x' 2018-08-16 13:15:21 -07:00
Madhura Bhave a75a84781e Fix merge issue 2018-08-16 13:13:08 -07:00
Madhura Bhave 9ce56c649b Merge branch '2.0.x' 2018-08-16 13:10:40 -07:00
Madhura Bhave 2d3fbe6feb Merge branch '1.5.x' into 2.0.x 2018-08-16 13:10:11 -07:00
Madhura Bhave bd482d7063 Add DefaultHandlerExceptionResolver to child context
Fixes gh-14084
2018-08-16 13:02:02 -07:00
Andy Wilkinson 90608fa40e Align test with changes made in ab1f5931
See gh-13511
2018-08-16 20:47:08 +01:00
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
2018-08-16 20:01:24 +01:00
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
2018-08-16 20:01:24 +01:00
Brian Clozel ab1f5931a0 Disable DispatcherServlet shouldHandleFailure
This change broke a Spring Security sample, reverting it.

See gh-13511
2018-08-16 20:14:01 +02:00
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
2018-08-16 18:19:38 +02:00
Stephane Nicoll 13f08e4c89 Polish 2018-08-16 17:38:26 +02:00
Andy Wilkinson 98b9a57252 Start building against Spring Data Lovelace RC2 snapshots
See gh-14081
2018-08-16 16:33:55 +01:00
Stephane Nicoll 8ffd44077d Upgrade to gmavenplus-plugin 1.6.1 2018-08-16 17:25:28 +02:00
Stephane Nicoll 8f2ab952f5 Polish javadoc formatting 2018-08-16 17:19:25 +02:00
Stephane Nicoll 16331616dc Merge branch '2.0.x' 2018-08-16 16:31:57 +02:00
Stephane Nicoll 376ef83dc0 Merge branch '1.5.x' into 2.0.x 2018-08-16 16:31:39 +02:00
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
2018-08-16 16:29:02 +02:00
Stephane Nicoll dda66cc125 Polish "Add table for supported build tools"
Closes gh-14002
2018-08-16 16:28:23 +02:00
qct 685c3afdf8 Add table for supported build tools
See gh-14002
2018-08-16 16:27:56 +02:00
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
2018-08-16 14:55:57 +02:00
Stephane Nicoll dcd80c087e Harmonize task execution naming 2018-08-16 14:55:57 +02:00
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
2018-08-16 12:17:43 +01:00
Andy Wilkinson bb8dd25d24 Polish "Stop Elasticsearch REST client from pulling in commons-logging"
Closes gh-14004
2018-08-16 12:16:52 +01:00
Filip Procházka 7c43c89e11 Stop Elasticsearch REST client from pulling in commons-logging
See gh-14004
2018-08-16 12:16:31 +01:00
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
2018-08-16 11:29:56 +01:00
Andy Wilkinson 075a745e32 Polish "Allow properties to be configured using slice test annotations"
Closes gh-14052
2018-08-16 11:27:49 +01:00
artsiom 0cf1749e85 Allow properties to be configured using slice test annotations
See gh-14052
2018-08-16 11:27:49 +01:00
Andy Wilkinson 29d3ee1b41 Merge pull request #14035 from Johnny Lim
* gh-14035:
  Add "With an Immediate Pull Request"
2018-08-16 10:24:52 +01:00
Johnny Lim 5c47719e50 Add "With an Immediate Pull Request"
This commit also reorganises the "Please DO NOT Raise an Issue" cases.

Closes gh-14035
2018-08-16 10:24:23 +01:00
Andy Wilkinson 971caad6f8 Merge branch '2.0.x' 2018-08-16 10:19:05 +01:00
Andy Wilkinson 3e093035b4 Merge branch '1.5.x' into 2.0.x 2018-08-16 10:18:52 +01:00
Andy Wilkinson 91fcec8389 Merge pull request #14056 from Christoph Dreis
* gh-14056:
  Use Collections.list() where possible
2018-08-16 10:06:43 +01:00
dreis2211 d9939b00e2 Use Collections.list() where possible
Closes gh-14056
2018-08-16 10:05:40 +01:00
Stephane Nicoll 91e3856947 Polish 2018-08-16 10:52:09 +02:00
Andy Wilkinson 2cd74e4a26 Merge pull request #13498 from Eddú Meléndez
* gh-13498:
  Polish "Add support for multiple REST Docs configuration customizers"
  Add support for multiple REST Docs configuration customizers
2018-08-16 09:48:23 +01:00
Andy Wilkinson f10377bdb7 Polish "Add support for multiple REST Docs configuration customizers"
Closes gh-13498
2018-08-16 09:48:03 +01:00
Eddú Meléndez 4d310f0d5a Add support for multiple REST Docs configuration customizers
This commit introduces support for multiple configuration customizers
for REST Docs with MockMvc, WebTestClient, and REST Assured.

Closes gh-13498
2018-08-16 09:48:03 +01:00
Stephane Nicoll 6ac6d36395 Polish 2018-08-16 10:43:28 +02:00
Andy Wilkinson 0b6d675839 Merge pull request #14078 from Jan Groot
* gh-14078:
  Remove redundant spring-boot-starter dependencies from starters
2018-08-16 09:30:57 +01:00
Jan Groot 40d8726d47 Remove redundant spring-boot-starter dependencies from starters
Closes gh-14078
2018-08-16 09:30:54 +01:00
Brian Clozel 31a93035c1 Remove workaround for Netty resources cleanup
Closes gh-9146
2018-08-16 10:27:55 +02:00
Stephane Nicoll 9201db3200 Upgrade to Reactor Californium-M2
Closes gh-14077
2018-08-16 09:32:35 +02:00