Commit Graph

3110 Commits (0881b7c39023b757d1111a5603209785ebde4266)

Author SHA1 Message Date
Brian Clozel 0881b7c390 Revert "Consider only current context in WebFlux setup"
This reverts commit da4624a882.
6 years ago
Stephane Nicoll 03d6cd9f0b Merge branch '2.0.x' 6 years ago
Stephane Nicoll be00c1db63 Fix dependency between cache and hibernate
This commit fixes the ordering between `CacheAutoConfiguration` and
`HibernateJpaAutoConfiguration` so that the auto-configured
`CacheManager` is configured before Hibernate starts.

Closes gh-14181
6 years ago
Brian Clozel da4624a882 Consider only current context in WebFlux setup
This commit introduces a subclass of `DispatcherHandler` that only
considers the current context when looking for WebFlux infrastructure
beans.

This avoids issues where a child context (e.g. with Actuator) picks up
infrastructure beans from the parent context and exposes all endpoints
instead of getting only the ones from the current context.

Closes gh-14012
6 years ago
Stephane Nicoll 8fcd3fcd4c Fix javadoc generation on Java10+ 6 years ago
Stephane Nicoll 429cd8d114 Optimize use of Jackson ObjectMapper instances
Closes gh-1789
6 years ago
Johnny Lim 9602a32a8d Polish
Closes gh-14172
6 years ago
Stephane Nicoll 1b7f713487 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 5e7be50265 Restore trace request param behaviour with error controller
This commits restores the behaviour of Spring Boot 1.x with regards to
the "trace" request param used to add the stacktrace to the model.

This was inadvertently changed so that the stacktrace would be added
if the parameter wasn't set.

Closes gh-14171
6 years ago
Brian Clozel 53f3982748 Support Jetty RS as HTTP driver for WebClient
This commit adds a new auto-configuration choice for
`ClientHttpConnector`, this time using the Jetty RS HTTP client library
if available.

This is the best choice in case the application runs on a Jetty reactive
server, as both client and server will share resources.

Closes gh-14005
6 years ago
Sebastien Deleuze f74dd7d58c Manage dependency for Jetty RS HTTP client
This commit adds the Jetty RS HTTP client to the Spring Boot
dependency management. As of SPR-15092 and SPR-17124, this HTTP
client library is supported by Spring Framework.

This commit is first step towards supporting that library as
a driver for the WebClient / ClientHttpConnector auto-configuration.

See gh-14005
6 years ago
Stephane Nicoll 1bbe3afdec Merge branch '2.0.x' 6 years ago
Stephane Nicoll 9938d1f4b6 Order IntegrationAutoConfiguration properly
This commit makes sure that the auto-configuration for Spring
Integration runs after the datasource has been auto-configured if
necessary as there is an optional part that can initialize the jdbc
schema.

Closes gh-14175
6 years ago
Brian Clozel e2a7594246 Configure Reactor HTTP client resources
This commit adds support for the new `ReactorResourceFactory` and
ensures that such a bean is created and destroyed with the application
context. This will create a `ClientHttpConnector` bean, to be configured
on the `WebClient.Builder` instance - or let developers create their own
`ClientHttpConnector` bean to override that opinion.

By default, the `ReactorResourceFactory` is configured to participate
with the global resources, for better efficiency.

Closes gh-14058
6 years ago
Stephane Nicoll 6d4bab911c Polish "Add Kafka Streams auto-configuration"
Closes gh-14021
6 years ago
Gary Russell a7acbbd625 Add Kafka Streams auto-configuration
See gh-14021
6 years ago
Stephane Nicoll 597fe237b5 Polish "Add PropertyMapper.from(value)"
Closes gh-13837
6 years ago
Dmytro Nosan 1bd52bc432 Add PropertyMapper.from(value)
See gh-13837
6 years ago
Stephane Nicoll dd9209c7d9 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 000cb94323 Polish "Fix String concatenation in a loop"
Closes gh-14153
6 years ago
Hiroaki Yoshida 43acc37587 Fix String concatenation in a loop
See gh-14153
6 years ago
Johnny Lim c95b339f02 Polish
Closes gh-14149
6 years ago
Madhura Bhave 84901fa58e OnClassCondition report should only include relevant condition
Closes gh-11086
6 years ago
Madhura Bhave b03f8e4a4a Merge branch '2.0.x' 6 years ago
Madhura Bhave 55406d91d2 Consider dash & underscore when equating indexed elements
Fixes gh-14136
6 years ago
Stephane Nicoll fe81db59bb Merge branch '2.0.x' 6 years ago
Stephane Nicoll 3d7d1e070f Upgrade to Neo4j Ogm 3.1.2
Closes gh-14164
6 years ago
Brian Clozel 551689c38b Switch back to Spring Framework 5.1.0 SNAPSHOTs 6 years ago
Stephane Nicoll df6e2170a7 Polish 6 years ago
Stephane Nicoll 456f5ce2f4 Merge branch '2.0.x' 6 years ago
Hiroaki Yoshida 6e86ba12b7 Fix potential infinite recursive loop in toString
Closes gh-14152
6 years ago
Stephane Nicoll f5d922c712 Upgrade to Spring Integration 5.1.0.M2
Upgrade to M2 broke a test that was looking for a particular bean that
is configured by Spring Integration (`HeaderChannelRegistry`).

It looks like INT-4517 is related to the regression as it registers the
bean too late for the auto-configuration to see it.

This commit changes the condition to a more central bean that is created
very early on.

Closes gh-14142
6 years ago
Stephane Nicoll 4dc8b71200 Upgrade to Spring Security 5.1.0.RC1
Closes gh-14144
6 years ago
Stephane Nicoll 16374599d6 Upgrade to Spring Session Bean-M2
Closes gh-14123
6 years ago
Stephane Nicoll 579bed48a9 Upgrade to Spring Kafka 2.2.0.M2
Closes gh-14143
6 years ago
Stephane Nicoll 3085647024 Upgrade to Spring Amqp 2.1.0.M2
Closes gh-14155
6 years ago
Stephane Nicoll b60fbe5a1f Merge branch '2.0.x' 6 years ago
Stephane Nicoll b0d388830f Polish test 6 years ago
Stephane Nicoll c00dbc6c2f Fix merge commit 6 years ago
Stephane Nicoll d9a42a5165 Merge branch '2.0.x' 6 years ago
Stephane Nicoll e03f01564a Deprecate EntityManagerFactoryBeanCallback
Closes gh-14083
6 years ago
Stephane Nicoll f804d5ce4c Upgrade to Spring Data Lovelace RC2
Closes gh-14081
6 years ago
Stephane Nicoll e95661876c Merge branch '2.0.x' 6 years ago
Stephane Nicoll e034b383db Fix checkstyle violation
Closes gh-14125
6 years ago
Stephane Nicoll 91af9e2ca9 Merge branch '2.0.x' 6 years ago
Stephane Nicoll d80ed27339 Fix checkstyle violation 6 years ago
Stephane Nicoll b26dedb547 Merge branch '2.0.x' 6 years ago
Stephane Nicoll eedeaa29e5 Polish "Replace loops with Arrays.setAll where possible"
Closes gh-14125
6 years ago
dreis2211 0bc66dc4a9 Replace loops with Arrays.setAll where possible
See gh-14125
6 years ago
Marcel Overdijk b80f57f336 Fix typo
Closes gh-14138
6 years ago