Commit Graph

16531 Commits (3682985b935064a77bd928c0cb8e627109845f57)

Author SHA1 Message Date
Stephane Nicoll 08954fce85 Upgrade to Spring Framework 5.3.19
Closes gh-30516
3 years ago
Andy Wilkinson 27a936e466 Fix Elastic health indicator without RestHighLevelClient
Closes gh-28496
3 years ago
Stephane Nicoll 00a481e4e9 Upgrade to Reactor 2020.0.18
Closes gh-30604
3 years ago
Andy Wilkinson 562627fb42 Deprecate auto-configuration for RestHighLevelClient
Closes gh-28598
3 years ago
Andy Wilkinson 4e054385a4 Polish 3 years ago
Andy Wilkinson a7a71da9ef Polish "Bring back Elasticsearch RestClient auto-configuration"
See gh-28496
3 years ago
Filip Hrisafov eb3bf40bdb Bring back Elasticsearch RestClient auto-configuration
Prior to this commit, Spring Boot would only auto-configure the
`RestHighLevelClient` and `RestClientBuilder` if the
`RestHighLevelClient` was present. This was done in 1d73d4ed.

This commit brings back the exposing of the `RestClient` bean in when
exposing the `RestHighLevelClient` or when the `RestHighLevelClient`
is not present. It allows for using the auto-configuration and its
customizers of the `RestClientBuilder` in a similar way as it is done
for the `RestTemplateBuilder` and the `WebClient.Builder`.

The presence of the `elasticsearch-rest-high-level-client` module is
now optional. This opens the door for potentially adding support for
the new Elasticsearch Java Client[1] that is based on the same
`RestClient`.

The health contributor and its configuration has also been updated to
only depend on the low-level RestClient.

See gh-28496

[1] https://github.com/elastic/elasticsearch-java
3 years ago
Brian Clozel e0ae1d3501 Use auto-configured JSON codecs for GraphQlTester
Prior to this commit, the auto-configured
`ExecutionGraphQlServiceTester` would use a default Jackson
`ObjectMapper` provided by the builder for its JSON
serialization/deserialization needs. Other testers, like the
`HttpGraphQlTester` are based on auto-configured components which
already use the auto-configured `ObjectMapper`.

This commit uses the newly introduced `encoder(Encoder<?>)` and
`decoder(Decoder<?>)` builder methods to configure custom JSON codecs
honoring the application configuration.

Closes gh-30646
3 years ago
rstoyanchev b91bfc7067 Update WebMVC GraphQL autoconfig to the latest
As a result of changes for
https://github.com/spring-projects/spring-graphql/issues/342,
GraphQlWebSocketHandler now exposes a method to create the
WebSocketHttpRequestHandler, pre-configured with a context propagating
HandshakeInterceptor. This commit updates the autoconfig to use it.

Closes gh-30641
3 years ago
Stephane Nicoll 368ba019de Upgrade to Reactor 2020.0.18
Closes gh-30596
3 years ago
Stephane Nicoll a1fe2b8857 Upgrade to Reactor 2020.0.18
Closes gh-30587
3 years ago
Andy Wilkinson 6580f6c742 Align with latest changes in Micrometer 1.9 snapshots
See gh-30605
3 years ago
Andy Wilkinson 48f8021d88 Migrate @Local*Port annotations to spring-boot-test
Closes gh-29589
3 years ago
Andy Wilkinson b8b903527a Update tag keys to comply with Micrometer recommendations
Closes gh-30536
3 years ago
Stephane Nicoll 6f62e1c743 Start building against Spring Session 2021.2.0-RC1 snapshots
See gh-30611
3 years ago
Stephane Nicoll 2ed65b3035 Start building against Spring Security 2.7.0-RC1 snapshots
See gh-30609
3 years ago
Stephane Nicoll 8658765eb4 Start building against Spring Kafka 2.8.5 snapshots
See gh-30608
3 years ago
Stephane Nicoll 726c4e9ced Start building against Spring Retry 1.3.3 snapshots
See gh-30607
3 years ago
Stephane Nicoll 65efc75c6f Start building against Spring LDAP 2.4.0-RC1 snapshots
See gh-30606
3 years ago
Stephane Nicoll 454f409a14 Start building against Micrometer 1.9.0-RC1 snapshots
See gh-30605
3 years ago
Stephane Nicoll 719fb625ef Start building against Reactor 2020.0.18 snapshots
See gh-30604
3 years ago
Stephane Nicoll 2ded2bf71a Adapt to latest change in Spring Framework snapshots 3 years ago
Stephane Nicoll 2a36d3dd14 Start building against Spring Session 2021.1.3 snapshots
See gh-30603
3 years ago
Stephane Nicoll c080a29feb Start building against Spring Security 5.6.3 snapshots
See gh-30601
3 years ago
Stephane Nicoll e42eeca549 Start building against Spring Kafka 2.8.5 snapshots
See gh-30600
3 years ago
Stephane Nicoll 65e2c20ca8 Start building against Spring Data 2021.1.4 snapshots
See gh-30602
3 years ago
Stephane Nicoll 33994a9f54 Start building against Spring Retry 1.3.3 snapshots
See gh-30599
3 years ago
Stephane Nicoll 9eb6f714b5 Start building against Spring LDAP 2.3.7 snapshots
See gh-30598
3 years ago
Stephane Nicoll ccdd49040f Start building against Micrometer 1.8.5 snapshots
See gh-30597
3 years ago
Stephane Nicoll e735bb2fcd Start building against Spring Framework 5.3.19 snapshots
See gh-30517
3 years ago
Stephane Nicoll 13cd3d2ce0 Start building against Reactor 2020.0.18 snapshots
See gh-30596
3 years ago
Andy Wilkinson 7534e50d0b Merge branch '2.6.x' into 2.7.x
Closes gh-30621
3 years ago
Andy Wilkinson 7e44745816 Merge branch '2.5.x' into 2.6.x
Closes gh-30620
3 years ago
Andy Wilkinson b88f062f04 Polish "Remove assumptions about ordering when comparing JSON in tests"
See gh-30514
3 years ago
Vivek Gupta 5b3bc1a936 Remove assumptions about ordering when comparing JSON in tests
See gh-30514
3 years ago
Andy Wilkinson f209d77cb2 Merge branch '2.6.x' into 2.7.x
Closes gh-30617
3 years ago
Andy Wilkinson d6731805b6 Merge branch '2.5.x' into 2.6.x
Closes gh-30616
3 years ago
Andy Wilkinson 70fa7e5e93 Make properties field final
Closes gh-30615
3 years ago
Stephane Nicoll 6aa8436c6d Start building against Spring Session 2021.0.6 snapshots
See gh-30595
3 years ago
Stephane Nicoll 455c37645d Start building against Spring Security 5.5.6 snapshots
See gh-30593
3 years ago
Stephane Nicoll bb8be2425a Start building against Spring Kafka 2.7.13 snapshots
See gh-30592
3 years ago
Stephane Nicoll aab8fc80ec Start building against Spring Data 2021.0.11 snapshots
See gh-30594
3 years ago
Stephane Nicoll 0080e45172 Start building against Spring Retry 1.3.3 snapshots
See gh-30590
3 years ago
Stephane Nicoll 5b05304c2c Start building against Spring LDAP 2.3.7 snapshots
See gh-30589
3 years ago
Stephane Nicoll ea6e87adef Start building against Micrometer 1.7.11 snapshots
See gh-30588
3 years ago
Stephane Nicoll e70451635c Start building against Spring Framework 5.3.19 snapshots
See gh-30516
3 years ago
Stephane Nicoll 9dda20cfab Start building against Reactor 2020.0.18 snapshots
See gh-30587
3 years ago
Scott Frederick 90aee8ef2f Polish FailureAnalyzers deprecation message
Fixes gh-30578
3 years ago
Scott Frederick d67dcf16cd Migrate FailureAnalyzers to constructor injection
All `FailureAnalyzer` implementations should use constructor
injection for `BeanFactory` and `Environment` instead of implementing
`BeanFactoryAware` or `EnvironmentAware` interfaces.

Fixes gh-30585
3 years ago
Andy Wilkinson 612e4114d2 Merge branch '2.6.x' into 2.7.x
Closes gh-30584
3 years ago
Andy Wilkinson f027faafa2 Merge branch '2.5.x' into 2.6.x
Closes gh-30583
3 years ago
izeye 618d113fad Move Jetty 9 specific exclusions to correct dependency
See gh-30522
3 years ago
Andy Wilkinson 5a26e936de Merge branch '2.6.x' into 2.7.x
Closes gh-30582
3 years ago
Andy Wilkinson a2c08f9f99 Merge branch '2.5.x' into 2.6.x
Closes gh-30581
3 years ago
Andy Wilkinson 35154a96f3 Polish "Fix NPE in configprops endpoint"
See gh-30068
3 years ago
qxo a1fe05f40b Fix NPE in configprops endpoint
This works around spring-projects/spring-framework#28298. The bug
means that when a @Configuration class is annotated with
@ConfigurationProperties any bean defined by a static @Bean method
is considered to be annotated with @ConfigurationProperties.

See gh-30068
3 years ago
Andy Wilkinson dbc59052ba Polish "Add failure analyzer for missing web factory bean"
See gh-30358
3 years ago
Guirong Hu dfafccaba5 Add failure analyzer for missing web factory bean
See gh-30358
3 years ago
Andy Wilkinson febea4711e Make Reactive and ServletWebServerFactory extend marker interface
Closes gh-30579
3 years ago
Andy Wilkinson 8727361221 Polish "Order ExitCodeGenerators and return first non-zero exit code"
See gh-30457
3 years ago
dugenkui 6718b10fa9 Order ExitCodeGenerators and return first non-zero exit code
See gh-30457
3 years ago
Stephane Nicoll 245e602ae0 Merge branch '2.6.x' into 2.7.x
Closes gh-30573
3 years ago
luozhenyu 09daad0a16 Add metadata for management.endpoint.health.probes.add-additional-paths
See gh-30562
3 years ago
Moritz Halbritter 98bbbc910b Merge branch '2.6.x' into 2.7.x
Closes gh-30554
3 years ago
Moritz Halbritter c54b825a82 Merge branch '2.5.x' into 2.6.x
Closes gh-30553
3 years ago
dugenkui03 035a16278e Make ApplicationAvailabilityBean threadsafe
See gh-30489
3 years ago
Moritz Halbritter 1b5927b325 Merge branch '2.6.x' into 2.7.x
Closes gh-30552
3 years ago
Moritz Halbritter 99a1b98e03 Merge branch '2.5.x' into 2.6.x
Closes gh-30551
3 years ago
Moritz Halbritter 41ab46d0c7 Fix wrong replacement hint for 'spring.data.neo4j.username'
Closes gh-30550
3 years ago
Andy Wilkinson 71e52a475b Upgrade to Embedded Mongo 3.4.5
Closes gh-30546
3 years ago
Andy Wilkinson ffc0fafe1a Merge branch '2.6.x' into 2.7.x
Closes gh-30545
3 years ago
Andy Wilkinson 05d4093381 Merge branch '2.5.x' into 2.6.x
Closes gh-30544
3 years ago
Andy Wilkinson 83cfc951f8 Polish "Refer to list of internal proxies in reference documentation"
See gh-30461
3 years ago
Damiano Albani 91306b58d5 Refer to list of internal proxies in reference documentation
See gh-30461
3 years ago
Moritz Halbritter f8c54655f6 Merge branch '2.6.x' into 2.7.x
Closes gh-30542
3 years ago
Moritz Halbritter 53b2c85df0 Merge branch '2.5.x' into 2.6.x
Closes gh-30541
3 years ago
Chris Hut 65d8c76ac3 Add Tomcat locale mapping for Japanese to preserve UTF-8 charset
See gh-30535
3 years ago
Scott Frederick ef79a18514 Use provided scope for Maven core dependencies in Maven plugin
Fixes gh-29520
3 years ago
Scott Frederick 103c2bdd7d Use Tomcat SSLHostConfig API for SSL configuration
Closes gh-30531
3 years ago
Brian Clozel 1c71567c94 Support "application/graphql+json" media type in GraphQL HTTP mapping
As seen in spring-projects/spring-graphql#108, the GraphQL HTTP spec now
requires the "application/graphql+json" media type and accepts
"application/json" for backwards compatibility.

This commit updates the `RouterFunction` definition for the GraphQL HTTP
endpoints so that both types are accepted.

Closes gh-30407
3 years ago
Moritz Halbritter eedb8573b7 Polish documentation 3 years ago
Moritz Halbritter bd1424b004 Merge branch '2.6.x' into 2.7.x
Closes gh-30528
3 years ago
Moritz Halbritter bf3c2d713d Merge branch '2.5.x' into 2.6.x
Closes gh-30526
3 years ago
izeye 09d6215b65 Polish documentation
See gh-30498
3 years ago
Jonatan Ivanov d0bc31a5e9 Add support for Prometheus Exemplars
See gh-30472
3 years ago
Brian Clozel 51c45d5b10 Switch to Spring Framework 5.3.19-SNAPSHOT
See gh-30518
3 years ago
Stephane Nicoll 2a2c4be809 Merge branch '2.6.x' into 2.7.x
Closes gh-30510
3 years ago
Stephane Nicoll b2a4ae38e8 Merge branch '2.5.x' into 2.6.x
Closes gh-30509
3 years ago
izeye 40d0e38e76 Test Spring Boot Gradle Plugin against Gradle 7.4.2
See gh-30506
3 years ago
Stephane Nicoll 2c5398898b Polish "Deprecate running an application in the Maven JVM"
See gh-30479
3 years ago
Stephane Nicoll 09696c90c7 Deprecate running an application in the Maven JVM
This commit deprecates the "fork" property so that the application
always runs in a dedicated process. This aligns with the behaviour of
the Gradle plugin, and simplifies the lifecycle of certain features that
would not work in a non-forked process.

Closes gh-30479
3 years ago
Stephane Nicoll 1da5a7a600 Merge branch '2.6.x' into 2.7.x 3 years ago
Stephane Nicoll 546a7e5edb Merge branch '2.5.x' into 2.6.x 3 years ago
Stephane Nicoll 17936b855c Polish 3 years ago
Stephane Nicoll 9168e63e62 Upgrade to Spring Framework 5.3.18
Closes gh-30493
3 years ago
Stephane Nicoll 7ccbdda1e7 Upgrade to Spring Framework 5.3.18
Closes gh-30492
3 years ago
Stephane Nicoll 94c40c7234 Upgrade to Spring Framework 5.3.18
Closes gh-30491
3 years ago
Andy Wilkinson 2da44a0b4f Upgrade to Jackson Bom 2.13.2.20220328
Closes gh-30478
3 years ago
Andy Wilkinson 06c5e26f81 Upgrade to Jackson Bom 2.12.6.20220326
Closes gh-30477
3 years ago
Andy Wilkinson b9029fcf9e Merge branch '2.6.x' into 2.7.x
Closes gh-30476
3 years ago