Commit Graph

3171 Commits

Author SHA1 Message Date
Stephane Nicoll af426e383f Review slice documentation to clarify the scope and alternative options
Closes gh-13810
2018-08-24 18:05:05 +02:00
Stephane Nicoll 876def3693 Merge branch '2.0.x' 2018-08-24 17:08:45 +02:00
Stephane Nicoll f53e6c701f Improve actuator documentation about the types supported for endpoints
Closes gh-13896
2018-08-24 17:08:29 +02:00
Stephane Nicoll 086fec09ef Merge branch '2.0.x' 2018-08-24 16:41:13 +02:00
Stephane Nicoll f5482a33a3 Document custom DispatcherServlet requirement
Closes gh-14145
2018-08-24 16:38:24 +02:00
Stephane Nicoll 7eecfe3108 Polish
See gh-14184
2018-08-24 11:50:18 +02:00
Stephane Nicoll 82280e34c7 Merge branch '2.0.x' 2018-08-24 11:49:30 +02:00
Johnny Lim fb71174c24 Polish
Closes gh-14184
2018-08-24 11:48:41 +02:00
Stephane Nicoll 833e39eeb6 Let Hibernate configure the transaction manager on WebSphere
Closes gh-8926
2018-08-24 10:48:20 +02:00
Madhura Bhave fc4340c5d4 Rename OAuth2 resource server properties
Closes gh-14165
2018-08-23 16:51:27 -07:00
Stephane Nicoll 26353a8f35 Port test to use ehcache3
Hibernate 5.3 has deprecated the ehcache2 region factory so this commit
upgrades the integration test to use JCache instead.
2018-08-23 17:07:52 +02:00
Brian Clozel 0881b7c390 Revert "Consider only current context in WebFlux setup"
This reverts commit da4624a882.
2018-08-23 16:50:48 +02:00
Stephane Nicoll 03d6cd9f0b Merge branch '2.0.x' 2018-08-23 16:16:25 +02:00
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
2018-08-23 16:15:42 +02:00
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
2018-08-23 15:35:34 +02:00
Stephane Nicoll 8fcd3fcd4c Fix javadoc generation on Java10+ 2018-08-23 14:49:56 +02:00
Stephane Nicoll 429cd8d114 Optimize use of Jackson ObjectMapper instances
Closes gh-1789
2018-08-23 14:09:48 +02:00
Johnny Lim 9602a32a8d Polish
Closes gh-14172
2018-08-23 11:40:44 +02:00
Stephane Nicoll 1b7f713487 Merge branch '2.0.x' 2018-08-23 11:34:49 +02:00
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
2018-08-23 11:34:16 +02:00
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
2018-08-23 10:51:43 +02:00
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
2018-08-23 10:37:58 +02:00
Stephane Nicoll 1bbe3afdec Merge branch '2.0.x' 2018-08-23 10:27:47 +02:00
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
2018-08-23 10:27:25 +02:00
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
2018-08-22 19:14:34 +02:00
Stephane Nicoll 6d4bab911c Polish "Add Kafka Streams auto-configuration"
Closes gh-14021
2018-08-22 16:08:25 +02:00
Gary Russell a7acbbd625 Add Kafka Streams auto-configuration
See gh-14021
2018-08-22 15:41:42 +02:00
Stephane Nicoll 597fe237b5 Polish "Add PropertyMapper.from(value)"
Closes gh-13837
2018-08-22 15:40:36 +02:00
Dmytro Nosan 1bd52bc432 Add PropertyMapper.from(value)
See gh-13837
2018-08-22 15:27:00 +02:00
Stephane Nicoll dd9209c7d9 Merge branch '2.0.x' 2018-08-22 10:48:35 +02:00
Stephane Nicoll 000cb94323 Polish "Fix String concatenation in a loop"
Closes gh-14153
2018-08-22 10:47:05 +02:00
Hiroaki Yoshida 43acc37587 Fix String concatenation in a loop
See gh-14153
2018-08-22 10:46:14 +02:00
Johnny Lim c95b339f02 Polish
Closes gh-14149
2018-08-22 10:38:00 +02:00
Madhura Bhave 84901fa58e OnClassCondition report should only include relevant condition
Closes gh-11086
2018-08-21 18:59:34 -07:00
Madhura Bhave b03f8e4a4a Merge branch '2.0.x' 2018-08-21 12:56:27 -07:00
Madhura Bhave 55406d91d2 Consider dash & underscore when equating indexed elements
Fixes gh-14136
2018-08-21 12:53:25 -07:00
Stephane Nicoll fe81db59bb Merge branch '2.0.x' 2018-08-21 17:48:04 +02:00
Stephane Nicoll 3d7d1e070f Upgrade to Neo4j Ogm 3.1.2
Closes gh-14164
2018-08-21 17:43:47 +02:00
Brian Clozel 551689c38b Switch back to Spring Framework 5.1.0 SNAPSHOTs 2018-08-21 16:40:47 +02:00
Stephane Nicoll df6e2170a7 Polish 2018-08-21 10:09:50 +02:00
Stephane Nicoll 456f5ce2f4 Merge branch '2.0.x' 2018-08-21 10:03:12 +02:00
Hiroaki Yoshida 6e86ba12b7 Fix potential infinite recursive loop in toString
Closes gh-14152
2018-08-21 10:02:10 +02:00
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
2018-08-21 09:56:19 +02:00
Stephane Nicoll 4dc8b71200 Upgrade to Spring Security 5.1.0.RC1
Closes gh-14144
2018-08-21 09:54:34 +02:00
Stephane Nicoll 16374599d6 Upgrade to Spring Session Bean-M2
Closes gh-14123
2018-08-21 09:54:33 +02:00
Stephane Nicoll 579bed48a9 Upgrade to Spring Kafka 2.2.0.M2
Closes gh-14143
2018-08-21 09:02:32 +02:00
Stephane Nicoll 3085647024 Upgrade to Spring Amqp 2.1.0.M2
Closes gh-14155
2018-08-21 08:59:34 +02:00
Stephane Nicoll b60fbe5a1f Merge branch '2.0.x' 2018-08-20 17:00:36 +02:00
Stephane Nicoll b0d388830f Polish test 2018-08-20 17:00:21 +02:00
Stephane Nicoll c00dbc6c2f Fix merge commit 2018-08-20 15:04:08 +02:00
Stephane Nicoll d9a42a5165 Merge branch '2.0.x' 2018-08-20 15:03:24 +02:00
Stephane Nicoll e03f01564a Deprecate EntityManagerFactoryBeanCallback
Closes gh-14083
2018-08-20 14:54:32 +02:00
Stephane Nicoll f804d5ce4c Upgrade to Spring Data Lovelace RC2
Closes gh-14081
2018-08-20 11:29:51 +02:00
Stephane Nicoll e95661876c Merge branch '2.0.x' 2018-08-20 11:23:39 +02:00
Stephane Nicoll e034b383db Fix checkstyle violation
Closes gh-14125
2018-08-20 11:19:01 +02:00
Stephane Nicoll 91af9e2ca9 Merge branch '2.0.x' 2018-08-20 10:34:03 +02:00
Stephane Nicoll d80ed27339 Fix checkstyle violation 2018-08-20 10:33:46 +02:00
Stephane Nicoll b26dedb547 Merge branch '2.0.x' 2018-08-20 10:26:21 +02:00
Stephane Nicoll eedeaa29e5 Polish "Replace loops with Arrays.setAll where possible"
Closes gh-14125
2018-08-20 10:23:16 +02:00
dreis2211 0bc66dc4a9 Replace loops with Arrays.setAll where possible
See gh-14125
2018-08-20 10:16:50 +02:00
Marcel Overdijk b80f57f336 Fix typo
Closes gh-14138
2018-08-20 09:48:47 +02:00
dreis2211 a601bc863b Remove unused method in TypeUtils
Closes gh-14130
2018-08-19 15:39:39 +02:00
Stephane Nicoll 3ad3cfd7e2 Polish dependency management for OIDC starter
See gh-13830
2018-08-19 15:28:54 +02:00
Stephane Nicoll 70fe276d53 Merge branch '2.0.x' 2018-08-19 15:16:42 +02:00
Gerrit Meier 7e570acf07 Upgrade to Neo4j Ogm 3.1.1
Closes gh-14132
2018-08-19 15:14:45 +02:00
Vedran Pavic 644ab5f3e4 Align SessionsEndpoint with Spring Session API improvements
This commit aligns SessionsEndpoint with
FindByIndexNameSessionRepository API improvements that simplifies
retrieval of sessions by principal name.

Closes gh-14124
2018-08-18 11:27:35 +02:00
Vedran Pavic 94d45c7361 Start building against Spring Session Bean M2 snapshots
See gh-14123
2018-08-18 11:25:38 +02:00
Madhura Bhave f6f9f27189 Merge branch '2.0.x' 2018-08-17 16:04:43 -07:00
Madhura Bhave f7135ff18f Use ResolverStyle.SMART when a custom format is specified
Fixes gh-13970
2018-08-17 16:01:10 -07:00
Madhura Bhave 09e09bf430 Add starter for OpenID Connect/OAuth2 client
Closes gh-13830
2018-08-17 13:03:55 -07:00
artsiom 1c224e5fbb Add WebFluxRegistrations for custom WebFlux beans
This commit adds a new `WebFluxRegistrations` interface that
allows developers to register custom instances of key WebFlux
infrastructure components, such as `RequestMappingHandlerMapping`
and `RequestMappingHandlerAdapter`.

Closes gh-13997
2018-08-17 16:59:41 +02:00
Stephane Nicoll ba2f2a3727 Polish jaxb setup for JDK 9 and further 2018-08-17 16:17:00 +02:00
Brian Clozel 6ecbd8d21b Auto-Configure FormContentFilter in Spring MVC
Because `HttpPutFormContentFilter` has been deprecated in Spring
Framework 5.1, this commit updates the auto-configuration to replace it
with the new `FormContentFilter`. This new filter is building on the
previous one and supports HTTP DELETE requests as well.

Both filters should not be used in addition, so the former
configuration has been removed. This commit also adds configuration
metadata to let developers know about the configuration key change.

Closes: gh-13363
2018-08-17 15:25:14 +02:00
Stephane Nicoll 4fdb50417d Disable Groovy scripts for doc generation on Java11
See gh-14028
2018-08-17 15:16:07 +02:00
Stephane Nicoll d1ac774af2 Configure build to be compatible with Java 11
See gh-14028
2018-08-17 15:16:02 +02:00
Stephane Nicoll 930c838da9 Remove Narayana support
The Spring Boot integration is now handled by the Narayana project
itself at https://github.com/snowdrop/narayana-spring-boot

This commit removes our support.

Closes gh-12026
2018-08-17 15:08:55 +02:00
Stephane Nicoll 598f630b8c Upgrade to Hibernate 5.3.5.Final
Closes gh-14120
2018-08-17 13:53:04 +02:00
Stephane Nicoll 4e92d590ad Upgrade to Rest Assured 3.1.1
Closes gh-14119
2018-08-17 13:53:04 +02:00
Stephane Nicoll 0643d0a5d7 Upgrade to Rxjava2 2.2.0
Closes gh-14118
2018-08-17 13:53:04 +02:00
Stephane Nicoll d9a95df159 Upgrade to Xmlunit2 2.6.1
Closes gh-14117
2018-08-17 13:53:04 +02:00
Stephane Nicoll 29ee712a7c Upgrade to Selenium 3.14.0
Closes gh-14116
2018-08-17 13:53:04 +02:00
Stephane Nicoll 143f94aeb6 Upgrade to Selenium Htmlunit 2.32.1
Closes gh-14115
2018-08-17 13:53:04 +02:00
Stephane Nicoll 9b4a8e784e Upgrade to Lombok 1.18.2
Closes gh-14114
2018-08-17 13:53:04 +02:00
Stephane Nicoll 837d4d97da Upgrade to Pooled Jms Version 1.0.3
Closes gh-14113
2018-08-17 13:53:04 +02:00
Stephane Nicoll b20611633b Upgrade to Junit Jupiter 5.3.0-RC1
Closes gh-14112
2018-08-17 13:53:04 +02:00
Stephane Nicoll c399c73ee4 Upgrade to Jooq 3.11.4
Closes gh-14111
2018-08-17 13:53:04 +02:00
Stephane Nicoll 65528a1781 Upgrade to Kotlin 1.2.60
Closes gh-14110
2018-08-17 13:53:04 +02:00
Stephane Nicoll bbda4480a9 Upgrade to Influxdb Java 2.12
Closes gh-14109
2018-08-17 13:53:04 +02:00
Stephane Nicoll 409b684ecd Upgrade to Elasticsearch 6.3.2
Closes gh-14108
2018-08-17 13:53:04 +02:00
Stephane Nicoll ad33822df7 Upgrade to Groovy 2.5.2
Closes gh-14107
2018-08-17 13:53:04 +02:00
Stephane Nicoll 7454989c8e Upgrade to Log4j2 2.11.1
Closes gh-14106
2018-08-17 13:53:04 +02:00
Stephane Nicoll ddfb157717 Upgrade to Htmlunit 2.32
Closes gh-14105
2018-08-17 13:53:04 +02:00
Stephane Nicoll 5cb2c8ed4b Upgrade to Byte Buddy 1.8.17
Closes gh-14104
2018-08-17 13:53:04 +02:00
Stephane Nicoll 906b04e993 Upgrade to Mysql 8.0.12
Closes gh-14103
2018-08-17 13:53:04 +02:00
Stephane Nicoll 023a001ca5 Upgrade to Undertow 2.0.13.Final
Closes gh-14102
2018-08-17 13:53:04 +02:00
Stephane Nicoll 4485466fe4 Upgrade to Netty Tcnative 2.0.13.Final
Closes gh-14101
2018-08-17 13:53:04 +02:00
Stephane Nicoll 08bc604158 Upgrade to Hazelcast 3.10.4
Closes gh-14100
2018-08-17 13:53:04 +02:00
Stephane Nicoll cf8fb949ef Upgrade to Couchbase Client 2.6.1
Closes gh-14099
2018-08-17 13:53:04 +02:00
Brian Clozel 5e836b1231 Merge branch '2.0.x' 2018-08-17 13:41:36 +02:00
artsiom 51fd27fad4 Configure HiddenHttpMethodFilter for Spring WebFlux
Closes gh-14008
2018-08-17 13:40:43 +02:00