Commit Graph

18055 Commits (f9207dd9463ca4de51c7f9cddae4e2decfdb1d62)
 

Author SHA1 Message Date
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
Andy Wilkinson 91fcec8389 Merge pull request #14056 from Christoph Dreis
* gh-14056:
  Use Collections.list() where possible
6 years ago
dreis2211 d9939b00e2 Use Collections.list() where possible
Closes gh-14056
6 years ago
Stephane Nicoll 91e3856947 Polish 6 years ago
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
6 years ago
Andy Wilkinson f10377bdb7 Polish "Add support for multiple REST Docs configuration customizers"
Closes gh-13498
6 years ago
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
6 years ago
Stephane Nicoll 6ac6d36395 Polish 6 years ago
Andy Wilkinson 0b6d675839 Merge pull request #14078 from Jan Groot
* gh-14078:
  Remove redundant spring-boot-starter dependencies from starters
6 years ago
Jan Groot 40d8726d47 Remove redundant spring-boot-starter dependencies from starters
Closes gh-14078
6 years ago
Brian Clozel 31a93035c1 Remove workaround for Netty resources cleanup
Closes gh-9146
6 years ago
Stephane Nicoll 9201db3200 Upgrade to Reactor Californium-M2
Closes gh-14077
6 years ago
Madhura Bhave 64f9d33956 Merge branch '2.0.x' 6 years ago
Madhura Bhave ff2b392324 Merge pull request #14067 from izeye
* gh-14067:
  Polish
6 years ago
Johnny Lim 5f3f1a1f11 Polish
Closes gh-14067
6 years ago
Stephane Nicoll 5ae4b43877 Upgrade to Assertj 3.11.0
Closes gh-14073
6 years ago
Andy Wilkinson 0ba6d8da4a Switch to Yahoo for OIDC as Google's cert is not yet trusted by Java 11
Until the fix for JDK-8209506 [1] is available in Java 11 builds,
SSL connections to services using Google's SSL certificate do not work
due to a lack of trust. This affects both our OAuth2 client samples
which were using https://accounts.google.com as an OpenID Connect
provider.

This commit switches the two samples to use Yahoo in place of Google.

See gh-14028

[1] https://bugs.openjdk.java.net/browse/JDK-8209506
6 years ago
Stephane Nicoll 4a68e2e4a1 Merge branch '2.0.x' 6 years ago
Stephane Nicoll ca4ca15ef2 Restore Jade Templates starter as it is compatible with Spring Boot 2 6 years ago