Commit Graph

3423 Commits (d10ba396731e96a22466a5a0741ea759541bd8a8)

Author SHA1 Message Date
Stephane Nicoll 5f56adc334 Add activation API to WebServices samples on Java 11+
Closes gh-14308
6 years ago
Stephane Nicoll 7ff41e7c8c Polish 6 years ago
Stephane Nicoll ca8be3f6bd Polish "Add Health details using maps"
Closes gh-14305
6 years ago
Michael Pratt 5c86f9eca4 Add Health details using maps
See gh-14305
6 years ago
Stephane Nicoll 45204d7ee0 Harmonize JAXB version in dependency management
Closes gh-14308
6 years ago
Stephane Nicoll 3469142fec Partially revert 59d911d
This commit restores the public `UsesUnsafeJava` and flag it as
deprecated.

Closes gh-14072
6 years ago
Stephane Nicoll 5df75e74ae Update property description 6 years ago
Stephane Nicoll 9da0b25890 Merge branch '2.0.x' 6 years ago
Stephane Nicoll c410f7d153 Merge branch '1.5.x' into 2.0.x 6 years ago
Johnny Lim 49c760d275 Update @since tag
This commit updates @since tag in CloudServiceConnectorsAutoConfiguration
as it has been renamed in cfd0ab7646.

Closes gh-14297
6 years ago
Madhura Bhave f0d7533e0b Merge branch '2.0.x' 6 years ago
Madhura Bhave 9c82d5c382 Make ApplicationContextServerWebExchangeMatcher and subclasses thread-safe
Fixes gh-14161
6 years ago
Phillip Webb 9d1b3a2b49 Merge branch '2.0.x' 6 years ago
Phillip Webb cafff43022 Update copyright header of changed files 6 years ago
Phillip Webb 9af6b3422f Polish 6 years ago
Madhura Bhave 75937f5b5c Make jmsListenerContainerFactory @ConditionalOnSingleCandidate
Closes gh-12700
6 years ago
Phillip Webb 59b5c54489 Upgrade to Rabbit AMQP Client to 5.4.0
Closes gh-14303
6 years ago
Phillip Webb 0cd64ea690 Merge branch '2.0.x' 6 years ago
Phillip Webb 45613f8c3c Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 8ee4775820 Polish 6 years ago
Brian Clozel 2af8a9617b Revert temporary workaround for reactor resources
This switches back the Reactor resources on global by default.

See gh-14058
See SPR-17199
6 years ago
Stephane Nicoll 3e745eefc0 Upgrade to Spring Batch 4.1.0.M3
Closes gh-14296
6 years ago
Stephane Nicoll 1ceb076035 Harmonize Metrics test
This commit harmonizes metrics test to rely on `MetricRun.simple()`
rather than configuring a simple `MeterRegistry` manually. Rather than
applying related auto-configurations automatically, `MetricsRun` only
enable the absolute minimum.

See gh-14255
6 years ago
Stephane Nicoll c0e45b7333 Adapt to Spring Framework API change 6 years ago
Stephane Nicoll cb7de2a963 Allow binding number to DataSize
Closes gh-14294
6 years ago
Stephane Nicoll 8771b34c15 Polish "Align max HTTP header size configuration"
Closes gh-14234
6 years ago
qct dbbb378650 Align max HTTP header size configuration
See gh-14234
6 years ago
Johnny Lim 5427d778fe Polish
Closes gh-14293
6 years ago
Stephane Nicoll 3d732e86f4 Merge branch '2.0.x' 6 years ago
Johnny Lim ca57e58ee5 Polish
See gh-14293
6 years ago
Stephane Nicoll e0ee4f22a5 Merge branch '2.0.x' 6 years ago
Johnny Lim 3eef927499 Use InvalidEndpointRequestException for MetricsEndpoint
Closes gh-14291
6 years ago
Brian Clozel 1a20e7efa1 Merge branch '2.0.x' 6 years ago
Kedar Joshi 72ebfb0332 Update default compressible media types
Closes gh-14278
6 years ago
Stephane Nicoll 3dfece779c Upgrade to Kotlin 1.2.61
Closes gh-14290
6 years ago
Stephane Nicoll 960acb0cbf Merge branch '2.0.x' 6 years ago
Stephane Nicoll 42bf594d96 Polish condition name
See gh-14285
6 years ago
artsiom 11f0f668ff Throw an exception on invalid syntax in SPRING_APPLICATION_JSON
Closes gh-14251
6 years ago
Stephane Nicoll 5a1aefc76f Merge branch '2.0.x' 6 years ago
Stephane Nicoll ddeae9b58e Polish "Fix WSDL locations condition to work with a list"
Closes gh-14285
6 years ago
Eneias Cordeiro da Silva 80358f7fbf Fix WSDL locations condition to work with a list
See gh-14285
6 years ago
Stephane Nicoll 143ca5d1fa Merge branch '2.0.x' 6 years ago
Stephane Nicoll 6078865372 Merge branch '1.5.x' into 2.0.x 6 years ago
Johnny Lim d510bc71b1 Polish
Closes gh-14271
6 years ago
Stephane Nicoll 7dff13b632 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 8950c3ebb4 Polish
See gh-14271
6 years ago
Stephane Nicoll 314cd34716 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 00233cd57e Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave f3dbd946de Document how to test secure mockmvc tests
See gh-14227
6 years ago
Stephane Nicoll 8b753297c3 Merge branch '2.0.x' 6 years ago
Stephane Nicoll ea2fb620b4 Clarify structure of prefixes
Closes gh-14258
6 years ago
Stephane Nicoll 4634811c7c Polish 6 years ago
Stephane Nicoll 7bee9dfc22 Harmonize HTTP client metrics
This commit harmonizes the auto-configurations for RestTemplate and
WebClient in a single `HttpClientMetricsAutoConfiguration`. Doing so
allows to give a better scope for the shared `MeterFilter`.

As a result`WebClientMetricsAutoConfiguration` has moved to the `client`
package.

Closes gh-14269
6 years ago
Stephane Nicoll 2fc557a5a9 Improve WebSocket documentation for reactive applications
Closes gh-14069
6 years ago
Stephane Nicoll 374cf2c781 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 6d637bc53b Add missing condition
Closes gh-14264
6 years ago
Madhura Bhave b16927ce91 Add @WithMockUser to tests
See gh-14227
6 years ago
Madhura Bhave 8f946260d2 Update copyright year for changed files 6 years ago
Madhura Bhave 0384a88b57 Include web security config classes in @WebMvcTest
Security config classes are not included when the
secure flag is set to false.

Closes gh-6514
6 years ago
Madhura Bhave d91c71b508 Deprecate secure flag on @WebMvcTest
Closes gh-14227
6 years ago
Phillip Webb 174f53e1cf Merge branch '2.0.x' 6 years ago
Phillip Webb 2e2f91d4a0 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 6c26315cd1 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 0625443d27 Polish "Limit metrics collection of incoming requests"
Closes gh-14173
6 years ago
Dmytro Nosan 81a6701914 Limit metrics collection of incoming requests
See gh-14173
6 years ago
asomov 46c30d01e9 Upgrade to SnakeYAML 1.23
Closes gh-14224
6 years ago
Stephane Nicoll 0590c4de32 Merge branch '2.0.x' 6 years ago
Stephane Nicoll f9081a2c23 Revert "Polish some joining collectors"
See gh-14221
6 years ago
Stephane Nicoll cfd0ab7646 Remove `spring.cloud.enabled` property
This commit removes an undocumented property and rename the Spring
Cloud Service Connectors auto-configuration.

Closes gh-14219
6 years ago
Madhura Bhave a33e58fc45 Deprecate OAuth2 login redirect-uri-template
This property is deprecated in favor of
`spring.security.oauth2.client.registration.login.*.redirect-uri

Closes gh-14226
6 years ago
Madhura Bhave a54898b8f5 Remove explicit call to `authorizationCodeGrant`
See gh-13812
6 years ago
Madhura Bhave f5deebf0cb Support authorization_code grant for OAuth2 client
This commit also refactors OAuth2 client properties. With
the added support for authorization_code clients, client
registrations are now divided into `login` and `authorization_code`.
An environment post processor is used for backward compatibility with
old Open ID Connect login clients.

Closes gh-13812
6 years ago
Stephane Nicoll 5af7835e83 Merge branch '2.0.x' 6 years ago
dreis2211 afda71e419 Polish some joining collectors
Closes gh-14221
6 years ago
Stephane Nicoll b7ae55866e Polish "Improve Kafka Auto-configuration"
Closes gh-14215
6 years ago
Gary Russell 59c6dc5c7a Improve Kafka Auto-configuration
- transaction manager
- error handler
- after rollback processor

See gh-14215
6 years ago
Stephane Nicoll e8d21fc964 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 3997b3ae5e Polish 6 years ago
Stephane Nicoll 56329e67d7 Polish "Add support for com.mongodb.client.MongoClient"
Closes gh-14176
6 years ago
Christoph Strobl d549e6001a Add support for com.mongodb.client.MongoClient
Next to com.mongodb.MongoClient the MongoDB Java driver offers the
com.mongodb.client.MongoClient as entry point for database and
collection operations. Spring Data MongoDB supports
c.m.client.MongoClient via its MongoDbFactory using
SimpleMongoClientDbFactory.

The MongoAutoConfiguration now backs off if any of those two clients is
already defined in the Application context allowing
MongoDataAutoConfiguration to pick up the users driver implementation of
choice.

See gh-14176
6 years ago
Johnny Lim 46415cb859 Add Spring Boot starter for Narayana in doc
Closes gh-14220
6 years ago
Stephane Nicoll dd94adbc11 Merge branch '2.0.x' 6 years ago
Stephane Nicoll ff11166af8 Restore RabbitMQ advanced starter as it is compatible with Spring Boot 2 6 years ago
Madhura Bhave f3fa952cbc Support WebExceptionHandler in @WebFluxTest
Closes gh-13627
6 years ago
Madhura Bhave 35d7bb7f34 Polish "issuer uri in reactive resource-server config"
Closes gh-14199
6 years ago
artsiom 04b7c4c6d9 Support issuer uri in reactive OAuth2 resource-server config 6 years ago
Stephane Nicoll db27d8fdf8 Revert "Polish dependency management for OIDC starter"
This reverts commit 3ad3cfd7e2.

Closes gh-14137
6 years ago
Stephane Nicoll 20c8f61473 Merge branch '2.0.x' 6 years ago
dreis2211 70add0617a Collapse identical catch blocks
Closes gh-14213
6 years ago
Dave Syer c7b7a1402a Make some nested private classes package private
Closes gh-13795
6 years ago
Stephane Nicoll d9c0dbb99d Polish "Polish some Collectors"
Closes gh-13727
6 years ago
dreis2211 422a436df1 Polish some Collectors
See gh-13727
6 years ago
Johnny Lim cf17106d8d Polish
Closes gh-14212
6 years ago
Stephane Nicoll a86d7cdb97 Add execution id to `repackage` goal
Closes gh-14210
6 years ago
Johnny Lim fe3fe0fa63 Polish
Closes gh-14202
6 years ago
Madhura Bhave cf31325e5d Polish "OIDC issuer uri in OAuth resource server config"
Closes gh-14190
6 years ago
artsiom 0c299bbc1f Support OIDC issuer uri in OAuth resource server config 6 years ago
mhyeon.lee c827530f4b Add user-info-authentication-method
Closes gh-13865
6 years ago
Madhura Bhave d07e2fa0b2 Polish "OAuth2 client secret should not be required"
Closes gh-14156
6 years ago
artsiom 6be4307712 OAuth2 client secret property should not be required 6 years ago
Madhura Bhave caf7221485 Update OAuth2 config following changes in Spring Security DSL
Closes gh-14169
6 years ago
Stephane Nicoll dea67e9aca Merge branch '2.0.x' 6 years ago
Stephane Nicoll af426e383f Review slice documentation to clarify the scope and alternative options
Closes gh-13810
6 years ago
Stephane Nicoll 876def3693 Merge branch '2.0.x' 6 years ago
Stephane Nicoll f53e6c701f Improve actuator documentation about the types supported for endpoints
Closes gh-13896
6 years ago
Stephane Nicoll 086fec09ef Merge branch '2.0.x' 6 years ago
Stephane Nicoll f5482a33a3 Document custom DispatcherServlet requirement
Closes gh-14145
6 years ago
Stephane Nicoll 7eecfe3108 Polish
See gh-14184
6 years ago
Stephane Nicoll 82280e34c7 Merge branch '2.0.x' 6 years ago
Johnny Lim fb71174c24 Polish
Closes gh-14184
6 years ago
Stephane Nicoll 833e39eeb6 Let Hibernate configure the transaction manager on WebSphere
Closes gh-8926
6 years ago
Madhura Bhave fc4340c5d4 Rename OAuth2 resource server properties
Closes gh-14165
6 years ago
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.
6 years ago
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
dreis2211 a601bc863b Remove unused method in TypeUtils
Closes gh-14130
6 years ago
Stephane Nicoll 3ad3cfd7e2 Polish dependency management for OIDC starter
See gh-13830
6 years ago
Stephane Nicoll 70fe276d53 Merge branch '2.0.x' 6 years ago
Gerrit Meier 7e570acf07 Upgrade to Neo4j Ogm 3.1.1
Closes gh-14132
6 years ago
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
6 years ago
Vedran Pavic 94d45c7361 Start building against Spring Session Bean M2 snapshots
See gh-14123
6 years ago
Madhura Bhave f6f9f27189 Merge branch '2.0.x' 6 years ago
Madhura Bhave f7135ff18f Use ResolverStyle.SMART when a custom format is specified
Fixes gh-13970
6 years ago
Madhura Bhave 09e09bf430 Add starter for OpenID Connect/OAuth2 client
Closes gh-13830
6 years ago
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
6 years ago
Stephane Nicoll ba2f2a3727 Polish jaxb setup for JDK 9 and further 6 years ago
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
6 years ago
Stephane Nicoll 4fdb50417d Disable Groovy scripts for doc generation on Java11
See gh-14028
6 years ago
Stephane Nicoll d1ac774af2 Configure build to be compatible with Java 11
See gh-14028
6 years ago
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
6 years ago
Stephane Nicoll 598f630b8c Upgrade to Hibernate 5.3.5.Final
Closes gh-14120
6 years ago
Stephane Nicoll 4e92d590ad Upgrade to Rest Assured 3.1.1
Closes gh-14119
6 years ago
Stephane Nicoll 0643d0a5d7 Upgrade to Rxjava2 2.2.0
Closes gh-14118
6 years ago
Stephane Nicoll d9a95df159 Upgrade to Xmlunit2 2.6.1
Closes gh-14117
6 years ago
Stephane Nicoll 29ee712a7c Upgrade to Selenium 3.14.0
Closes gh-14116
6 years ago
Stephane Nicoll 143f94aeb6 Upgrade to Selenium Htmlunit 2.32.1
Closes gh-14115
6 years ago
Stephane Nicoll 9b4a8e784e Upgrade to Lombok 1.18.2
Closes gh-14114
6 years ago
Stephane Nicoll 837d4d97da Upgrade to Pooled Jms Version 1.0.3
Closes gh-14113
6 years ago
Stephane Nicoll b20611633b Upgrade to Junit Jupiter 5.3.0-RC1
Closes gh-14112
6 years ago
Stephane Nicoll c399c73ee4 Upgrade to Jooq 3.11.4
Closes gh-14111
6 years ago
Stephane Nicoll 65528a1781 Upgrade to Kotlin 1.2.60
Closes gh-14110
6 years ago
Stephane Nicoll bbda4480a9 Upgrade to Influxdb Java 2.12
Closes gh-14109
6 years ago
Stephane Nicoll 409b684ecd Upgrade to Elasticsearch 6.3.2
Closes gh-14108
6 years ago
Stephane Nicoll ad33822df7 Upgrade to Groovy 2.5.2
Closes gh-14107
6 years ago
Stephane Nicoll 7454989c8e Upgrade to Log4j2 2.11.1
Closes gh-14106
6 years ago
Stephane Nicoll ddfb157717 Upgrade to Htmlunit 2.32
Closes gh-14105
6 years ago
Stephane Nicoll 5cb2c8ed4b Upgrade to Byte Buddy 1.8.17
Closes gh-14104
6 years ago
Stephane Nicoll 906b04e993 Upgrade to Mysql 8.0.12
Closes gh-14103
6 years ago
Stephane Nicoll 023a001ca5 Upgrade to Undertow 2.0.13.Final
Closes gh-14102
6 years ago
Stephane Nicoll 4485466fe4 Upgrade to Netty Tcnative 2.0.13.Final
Closes gh-14101
6 years ago
Stephane Nicoll 08bc604158 Upgrade to Hazelcast 3.10.4
Closes gh-14100
6 years ago
Stephane Nicoll cf8fb949ef Upgrade to Couchbase Client 2.6.1
Closes gh-14099
6 years ago
Brian Clozel 5e836b1231 Merge branch '2.0.x' 6 years ago
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 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
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
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 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 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 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 971caad6f8 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 3e093035b4 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 91e3856947 Polish 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
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
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
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
Stephane Nicoll c00fc6449b Merge branch '2.0.x' 6 years ago
dreis2211 59d911d6e0 Remove @UsesUnsafeJava annotations
Closes gh-14072
6 years ago