Commit Graph

17427 Commits (9f91a1f0df7cad50b871dd91af4c6ba9d6125181)

Author SHA1 Message Date
Andy Wilkinson 3f23c08268 Merge branch '2.5.x' into 2.6.x
Closes gh-30788
3 years ago
Andy Wilkinson ce788657ce Improve diagnostics for map binding failures
Closes gh-30281
3 years ago
Moritz Halbritter afdb651b04 Auto-configure TracingObservationHandler for HTTP server and clients
- Auto-configures HttpServerTracingObservationHandler and
  HttpClientTracingObservationHandler into Micrometer Tracing. Both
  handlers are ordered before the DefaultTracingObservationHandler,
  which is only used as a fallback.
- The HttpServerHandler and HttpClientHandler implementations are
  auto-configured in the Brave and OpenTelemetry auto-configurations.

Closes gh-30784
3 years ago
Andy Wilkinson 331ec1ab21 Merge branch '2.7.x' 3 years ago
Misagh Moayyed d9ed4fbc2e Adjust mustache property name to match replacement
`spring.mustache.cache` should be replaced with
`spring.mustache.servlet.cache`, to avoid configuration warnings
on startup when using the properties migrator.

See gh-30774
3 years ago
Andy Wilkinson 4e193dc574 Merge branch '2.7.x' 3 years ago
Andy Wilkinson d0c9d5aabc Merge branch '2.6.x' into 2.7.x
Closes gh-30787
3 years ago
Andy Wilkinson 5c3be7c61e Merge branch '2.5.x' into 2.6.x
Closes gh-30786
3 years ago
Andy Wilkinson ffe0ec6d4d Use SearchStrategy in MethodValidationExcludeFilter byAnnotation
Closes gh-30631
3 years ago
Moritz Halbritter 35efc23deb Merge branch '2.7.x' 3 years ago
Moritz Halbritter e8b7843fe9 Merge branch '2.6.x' into 2.7.x
Closes gh-30782
3 years ago
Moritz Halbritter 63eb6b6ad9 Merge branch '2.5.x' into 2.6.x
Closes gh-30781
3 years ago
Moritz Halbritter 9b8b87009c Document support for Java 18
Closes gh-30548
3 years ago
Stephane Nicoll 4a3299a60f Merge branch '2.7.x' 3 years ago
Stephane Nicoll ce683c3b6f Upgrade to Maven Javadoc Plugin 3.4.0
Closes gh-30770
3 years ago
Stephane Nicoll 7ecb51ee39 Upgrade to Janino 3.1.7
Closes gh-30768
3 years ago
Stephane Nicoll 7f3922e2fa Upgrade to Infinispan 13.0.9.Final
Closes gh-30767
3 years ago
Stephane Nicoll d0e237be10 Upgrade to Flyway 8.5.9
Closes gh-30766
3 years ago
Stephane Nicoll f76371be76 Merge branch '2.7.x' 3 years ago
Stephane Nicoll b3e3581271 Polish "Add auto-configuration to Kafka Retry Topics"
See gh-29812
3 years ago
tomazfernandes bf46d7244a Add auto-configuration to Kafka Retry Topics
See gh-29812
3 years ago
Stephane Nicoll 020e3617af Merge branch '2.7.x' 3 years ago
Madhura Bhave 7a659e4e12 Polish "Add support for aud claim in resource server"
See gh-29084
3 years ago
Mushtaq Ahmed ee65627f4c Add support for aud claim in resource server
See gh-29084
3 years ago
Stephane Nicoll 58b069a994 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 9025d1d250 Fix deprecation warning
See gh-28851
3 years ago
Phillip Webb cd4ee99756 Merge branch '2.7.x' 3 years ago
Phillip Webb 504c4a33db Merge branch '2.6.x' into 2.7.x
Closes gh-30763
3 years ago
Phillip Webb c5d650a807 Merge branch '2.5.x' into 2.6.x
Closes gh-30762
3 years ago
Phillip Webb 77edb27a07 Fix package tangle caused by ApplicationContextFactory
Fix package tangle by changing `ApplicationContextFactory.DEFAULT` to
use `spring.factories` to discover implementations rather than needing
direct access to our own `ApplicationContext` classes.

Closes gh-30272
3 years ago
Phillip Webb c7374fd415 Update copyright year of changed files 3 years ago
Phillip Webb 7a6ca8ce25 Merge branch '2.7.x' 3 years ago
Phillip Webb dd5696b59b Update copyright year of changed files 3 years ago
Phillip Webb 36f1249fc6 Polish 3 years ago
Madhura Bhave dfd0e7b948 Merge branch '2.7.x' into main 3 years ago
Madhura Bhave 71acc90da8 Simplify SecurityAutoConfiguration
Closes gh-28851
3 years ago
Stephane Nicoll a1099e61e6 Upgrade to Spring Session 2021.2.0-RC1
Closes gh-30611
3 years ago
Stephane Nicoll 3731655b34 Upgrade to Spring Session 2021.1.3
Closes gh-30603
3 years ago
Stephane Nicoll 5c4b63be11 Upgrade to Spring Session 2021.0.6
Closes gh-30595
3 years ago
Stephane Nicoll 7f8e2d89b0 Merge branch '2.7.x' 3 years ago
Stefano Cordio 5729d57c50 Upgrade to Mockito 4.5.0
This commit also switches to use the Mockito bom.

See gh-30759
3 years ago
Brian Clozel ee274abe48 Upgrade to Spring for GraphQL 1.0.0-RC1
Closes gh-30463
3 years ago
Stephane Nicoll c5953623fa Upgrade to Postgresql 42.3.4
Closes gh-30758
3 years ago
Stephane Nicoll d69ca284b9 Upgrade to Lombok 1.18.24
Closes gh-30757
3 years ago
Stephane Nicoll bda0fbf22f Upgrade to Janino 3.1.7
Closes gh-30755
3 years ago
Moritz Halbritter bb4bccde6c Remove deprecated 'identityprovider' property
Closes gh-30751
3 years ago
Stephane Nicoll 1bd1b2a3a4 Upgrade to Lombok 1.18.24
Closes gh-30753
3 years ago
Stephane Nicoll 792ebdbbf8 Upgrade to Janino 3.1.7
Closes gh-30752
3 years ago
Moritz Halbritter 1950d06585 Merge branch '2.7.x' 3 years ago
Moritz Halbritter 6c400daa48 Rename 'identityprovider' property to 'asserting-party'
Rename spring.security.saml2.relyingparty.registration.*.identity-provider.*
to spring.security.saml2.relyingparty.registration.*.asserting-party.*

The old property names are still supported, but will lead to a warning
in the logs.

Closes gh-30642
3 years ago
Stephane Nicoll 1698faffee Merge branch '2.7.x' 3 years ago
Stephane Nicoll 38c2a5c14b Merge branch '2.6.x' into 2.7.x
Closes gh-30750
3 years ago
Stephane Nicoll d049ae8703 Merge branch '2.5.x' into 2.6.x
Closes gh-30749
3 years ago
rfigueroa ae267bfab2 Use eclipse-temurin in docker samples
As AdoptOpenJDK moved to the Eclipse Foundation, this commit updates the
docs to reflect that in docker file samples.

See gh-30748
3 years ago
Stephane Nicoll b3c1a8b2da Upgrade to Spring Integration 5.5.11
Closes gh-30704
3 years ago
Stephane Nicoll 245c6c97ec Upgrade to Spring Integration 5.5.11
Closes gh-30702
3 years ago
Stephane Nicoll 1e32f3b718 Upgrade to Spring Integration 5.5.11
Closes gh-30700
3 years ago
Stephane Nicoll 424acf1334 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 2d663f2e94 Upgrade to Spring Data 2021.2.0-RC1
Closes gh-30610
3 years ago
Stephane Nicoll 47bea5c8e2 Upgrade to MongoDB 4.6.0
Closes gh-30746
3 years ago
Brian Clozel 6bf6bde6bb Add new auto-configurations to imports
See gh-30453
3 years ago
Brian Clozel d137f92f66 Adapt to latest Spring for GraphQL changes
This commit adapts to changes done in spring-projects/spring-graphql#312
3 years ago
Stephane Nicoll ba38441a0a Upgrade to Spring Data 2021.1.4
Closes gh-30602
3 years ago
Stephane Nicoll 9f7a9546bd Upgrade to Spring Data 2021.0.11
Closes gh-30594
3 years ago
Stephane Nicoll 263efe2b86 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 558a80cfa3 Upgrade to Jackson 2.13.2.1
Closes gh-30741
3 years ago
Stephane Nicoll 6c706328d8 Upgrade to Spring HATEOAS 1.5.0-RC1
Closes gh-30745
3 years ago
Stephane Nicoll 00b175bb7f Upgrade to Jackson 2.13.2.1
Closes gh-30743
3 years ago
Stephane Nicoll d3a70c3793 Upgrade to Spring HATEOAS 1.4.2
Closes gh-30744
3 years ago
Brian Clozel 2dc2e5ab11 Auto-configure RSocketGraphQlClient
This commit contributes a `RSocketGraphQlClient.Builder` component to
the context, pre-configured with the `RSocketStrategies`, a customized
`RSocketConnector` and the expected data MIME type.

See gh-30453
3 years ago
Stephane Nicoll eb2f840446 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 9c3cce58ea Merge branch '2.6.x' into 2.7.x
Closes gh-30740
3 years ago
Stephane Nicoll 57b3cb5135 Polish "Fix incorrect link in kafka.adoc"
See gh-30674
3 years ago
Chanhyeong Cho 577f0add0c Fix incorrect link in kafka.adoc
See gh-30674
3 years ago
Stephane Nicoll b41d4d4f2a Merge branch '2.7.x' 3 years ago
Stephane Nicoll 69045e4eaf Polish "Allow disabling the Dynatrace instruments"
See gh-30637
3 years ago
Georg Pirklbauer 7a05faf079 Allow disabling the Dynatrace instruments
Since Micrometer version 1.9.0, the Dynatrace registry uses specialized
instruments by default, which ensures data is exported in an optimal
format. By using this new flag, users can switch back to the previous
behavior, which uses the original instruments from Micrometer.

See gh-30637
3 years ago
Stephane Nicoll a4cccc98c6 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 61915aa4d5 Update copyright year of changed files
See gh-30695
3 years ago
izeye ed412af138 Polish
See gh-30695
3 years ago
Stephane Nicoll 2ce840986f Merge branch '2.7.x' 3 years ago
Stephane Nicoll 4c5cb772ff Polish
See gh-30674
3 years ago
Stephane Nicoll 6e846384df Merge branch '2.7.x' 3 years ago
Stephane Nicoll d7b23edf8b Merge branch '2.6.x' into 2.7.x
Closes gh-30739
3 years ago
Stephane Nicoll 91625207b2 Merge branch '2.5.x' into 2.6.x
Closes gh-30738
3 years ago
Stephane Nicoll 1fa4701d6d Polish "Validate overrides against CharsetMapperDefault.properties"
See gh-30692
3 years ago
Guirong Hu 407ae3b04f Validate overrides against CharsetMapperDefault.properties
See gh-30692
3 years ago
dreis2211 a63e730136 Remove unused private methods
See gh-30655
3 years ago
Stephane Nicoll 3175fb8302 Merge branch '2.7.x' 3 years ago
Stephane Nicoll a0707124f2 Remove unused method
See gh-30655
3 years ago
Stephane Nicoll 58aa58c0d3 Upgrade to Spring Kafka 2.8.5
Closes gh-30608
3 years ago
Stephane Nicoll 8bdc4f4395 Upgrade to Spring AMQP 2.4.4
Closes gh-30703
3 years ago
Stephane Nicoll b098bf9283 Upgrade to Spring Security 2.7.0-RC1
Closes gh-30609
3 years ago
Stephane Nicoll d4f9420bef Upgrade to Spring LDAP 2.4.0-RC1
Closes gh-30606
3 years ago
Stephane Nicoll 52b54f434b Upgrade to Spring Kafka 2.8.5
Closes gh-30600
3 years ago
Stephane Nicoll 3438934a9e Upgrade to Spring AMQP 2.4.4
Closes gh-30701
3 years ago
Stephane Nicoll 1c6ef781cd Upgrade to Spring Security 5.6.3
Closes gh-30601
3 years ago
Stephane Nicoll 376aa199ba Upgrade to Spring LDAP 2.3.7
Closes gh-30598
3 years ago
Stephane Nicoll 0ad6ae9a03 Upgrade to Spring Kafka 2.7.13
Closes gh-30592
3 years ago
Stephane Nicoll 1c08f503ba Upgrade to Spring AMQP 2.3.16
Closes gh-30699
3 years ago
Stephane Nicoll c25a2eb274 Upgrade to Spring Security 5.5.6
Closes gh-30593
3 years ago
Stephane Nicoll 07ba83be5d Upgrade to Spring LDAP 2.3.7
Closes gh-30589
3 years ago
Stephane Nicoll 5d6885e9a3 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 24f2880c7a Upgrade to Spring Retry 1.3.3
Closes gh-30607
3 years ago
Stephane Nicoll e09840ae65 Upgrade to Undertow 2.2.17.Final
Closes gh-30732
3 years ago
Stephane Nicoll 6b007448d4 Upgrade to RSocket 1.1.2
Closes gh-30729
3 years ago
Stephane Nicoll cbf2da995b Upgrade to Postgresql 42.3.4
Closes gh-30728
3 years ago
Stephane Nicoll 390b97cb42 Upgrade to Pooled JMS 1.2.4
Closes gh-30727
3 years ago
Stephane Nicoll 5921eda8b9 Upgrade to Netty 4.1.76.Final
Closes gh-30726
3 years ago
Stephane Nicoll 53c38f7601 Upgrade to MIMEPull 1.10.0
Closes gh-30725
3 years ago
Stephane Nicoll 5737a92fa1 Upgrade to Maven Shade Plugin 3.3.0
Closes gh-30724
3 years ago
Stephane Nicoll 1b167bfdf2 Upgrade to Maven Clean Plugin 3.2.0
Closes gh-30723
3 years ago
Stephane Nicoll 313b203540 Upgrade to MariaDB 3.0.4
Closes gh-30722
3 years ago
Stephane Nicoll bb394b2294 Upgrade to Lombok 1.18.24
Closes gh-30721
3 years ago
Stephane Nicoll fe966bc24e Upgrade to Liquibase 4.9.1
Closes gh-30720
3 years ago
Stephane Nicoll 3ed0716646 Upgrade to Kotlin Coroutines 1.6.1
Closes gh-30719
3 years ago
Stephane Nicoll 8655cfd3f1 Upgrade to Jetty 9.4.46.v20220331
Closes gh-30717
3 years ago
Stephane Nicoll 95123c93b4 Upgrade to Jackson Bom 2.13.2.20220328
Closes gh-30716
3 years ago
Stephane Nicoll eb6603c265 Upgrade to Hibernate 5.6.8.Final
Closes gh-30715
3 years ago
Stephane Nicoll 79a3d098e6 Upgrade to H2 2.1.212
Closes gh-30714
3 years ago
Stephane Nicoll 634ba0ace1 Upgrade to Flyway 8.5.8
Closes gh-30713
3 years ago
Stephane Nicoll e918a4d21d Upgrade to Elasticsearch 7.17.2
Closes gh-30712
3 years ago
Stephane Nicoll 4c3a7670e2 Upgrade to Byte Buddy 1.12.9
Closes gh-30711
3 years ago
Stephane Nicoll 1dd859da10 Upgrade to AppEngine SDK 1.9.96
Closes gh-30710
3 years ago
Stephane Nicoll e46f92b278 Upgrade to Micrometer 1.9.0-RC1
Closes gh-30605
3 years ago
Stephane Nicoll 6cbb4a4f33 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 73b98d0cb8 Polish 3 years ago
Stephane Nicoll 7a6bb7208d Start building against Spring Integration 5.5.11 snapshots
See gh-30704
3 years ago
Stephane Nicoll f340a90ade Start building against Spring AMQP 2.4.4 snapshots
See gh-30703
3 years ago
Stephane Nicoll 140c14cefc Start building against Spring Integration 5.5.11 snapshots
See gh-30702
3 years ago
Stephane Nicoll aed4bc5696 Start building against Spring AMQP 2.4.4 snapshots
See gh-30701
3 years ago
Stephane Nicoll 8e1e909444 Start building against Spring Integration 5.5.11 snapshots
See gh-30700
3 years ago
Stephane Nicoll 5cdcdbdcf1 Start building against Spring AMQP 2.3.16 snapshots
See gh-30699
3 years ago
Stephane Nicoll 8c68b33240 Polish "Start building against Micrometer 1.10.0 snapshots"
See gh-30693
3 years ago
Marcin Grzejszczak 87991d93a5 Start building against Micrometer 1.10.0 snapshots
See gh-30693
3 years ago
Stephane Nicoll af7c20491b Upgrade to Undertow 2.2.17.Final
Closes gh-30690
3 years ago
Stephane Nicoll 7d8128adc8 Upgrade to RSocket 1.1.2
Closes gh-30688
3 years ago
Stephane Nicoll aa76f451e3 Upgrade to Pooled JMS 1.2.4
Closes gh-30687
3 years ago
Stephane Nicoll 5d430b4267 Upgrade to Netty 4.1.76.Final
Closes gh-30686
3 years ago
Stephane Nicoll 9a89e83be4 Upgrade to Jetty 9.4.46.v20220331
Closes gh-30684
3 years ago
Stephane Nicoll aa629c8510 Upgrade to Hibernate 5.6.8.Final
Closes gh-30683
3 years ago
Stephane Nicoll be5c168e8c Upgrade to AppEngine SDK 1.9.96
Closes gh-30682
3 years ago
Stephane Nicoll 1be434e0a3 Upgrade to Spring Retry 1.3.3
Closes gh-30599
3 years ago
Stephane Nicoll 9299329256 Upgrade to Spring Retry 1.3.3
Closes gh-30590
3 years ago
Stephane Nicoll be2b70452e Upgrade to Undertow 2.2.17.Final
Closes gh-30681
3 years ago
Stephane Nicoll ded1810bd1 Upgrade to RSocket 1.1.2
Closes gh-30679
3 years ago
Stephane Nicoll a913e4fdd5 Upgrade to Pooled JMS 1.2.4
Closes gh-30678
3 years ago
Stephane Nicoll 0389bc84db Upgrade to Netty 4.1.76.Final
Closes gh-30677
3 years ago
Stephane Nicoll a245028b05 Upgrade to Jetty 9.4.46.v20220331
Closes gh-30676
3 years ago
Stephane Nicoll c6473bb5b5 Upgrade to AppEngine SDK 1.9.96
Closes gh-30675
3 years ago
Stephane Nicoll 2fd04d9711 Upgrade to Micrometer 1.8.5
Closes gh-30597
3 years ago
Stephane Nicoll 5661c18d26 Upgrade to Micrometer 1.7.11
Closes gh-30588
3 years ago
Andy Wilkinson 4a401bfa16 Adapt to breaking changes in Spring Session Data Redis
See gh-30639
3 years ago
Brian Clozel eddb2b16ff Configure RSocket server support in GraphQL
This commit adds the RSocket server auto-configuration for GraphQL.

See gh-30453
3 years ago
Andy Wilkinson 7e97073994 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 74494f1d37 Merge branch '2.6.x' into 2.7.x
Closes gh-30671
3 years ago
Andy Wilkinson 1720290234 Merge branch '2.5.x' into 2.6.x
Closes gh-30670
3 years ago
Andy Wilkinson f7d181e65b Handle null additional properties more gracefully
Closes gh-30654
3 years ago
Andy Wilkinson 9658661bd4 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 7789a18d23 Merge branch '2.6.x' into 2.7.x
Closes gh-30667
3 years ago
Andy Wilkinson d4348279a7 Merge branch '2.5.x' into 2.6.x
Closes gh-30666
3 years ago
Andy Wilkinson 8f1b8622ba Ensure that webEnvironment=NONE creates non-web context
Previously, if spring.main.web-application-type was configured in
application.properties to servlet or reactive, setting
webEnvironment=NONE on @SpringBootTest would not work correctly and
a servlet or reactive web application context would be created
based on the value of spring.main.web-application-type.

This commit updates the test context bootstapper to set
spring.main.web-application-type to none when webEnvironment has been
set to none. This is done in the merged context configuration's
property source properties which are applied to the environment in a
high-precedence test property source that will override configuration
in application.properties.

Closes gh-29695
3 years ago
Andy Wilkinson 21ccd58f67 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 4545d39603 Merge branch '2.6.x' into 2.7.x
Closes gh-30665
3 years ago
Andy Wilkinson 887fa4a13f Merge branch '2.5.x' into 2.6.x
Closes gh-30664
3 years ago
Andy Wilkinson c8de843d85 Honor final web application type when creating context in tests
Previously, SpringBootContextLoader would configure its
SpringApplication with an ApplicationContextFactory that ignores
the WebApplicationType with which its called and instead returns a
hard-coded type of context based on the type of the
MergedContextConfiguration. This hard-coding would result in the
wrong type of context being used if a subsequent change was made to
the application's WebApplicationType, for example due to binding of
the spring.main.web-application-type configuration property.

This commit updates SpringBootContextLoader to configure
SpringApplication with an ApplicationContextFactory that takes the
WebApplicationType with which it is called into consideration.

Fixes gh-29170
3 years ago
Stephane Nicoll c654638654 Polish "Add link to @Order annotation"
See gh-30572
3 years ago
prd c72f3d79af Add link to @Order annotation
See gh-30572
3 years ago
Moritz Halbritter 3860eb211a Implement auto-configurations for Brave and OpenTelemetry
- Configure Zipkin
- Configure Wavefront
- Configure Brave
- Configure OpenTelemetry
- Configure Micrometer Tracing bridges for OpenTelemetry and Brave
- Create the ObservationHandler for tracing with Micrometer

Closes gh-30156
3 years ago
Scott Frederick f5f7fc8e9a Merge branch '2.7.x' 3 years ago
Scott Frederick d387b3fa81 Support configuration of web SSL using PEM-encoded certificates
This commit adds the ability to configure SSL in embedded web containers
using PEM-encoded certificate and private key files, as an alternative
to configuring SSL with Java KeyStore files.

Closes gh-29273
3 years ago
Scott Frederick 9aff0a998f Merge branch '2.7.x' 3 years ago
Scott Frederick f032690d0a Add support for CNB platform API 0.9
Fixes gh-30566
3 years ago
Andy Wilkinson 3d5086a42d Merge branch '2.7.x' 3 years ago
Andy Wilkinson ff40c8b6f5 Use MeterBinders to bind DataSource metrics
Closes gh-30282
3 years ago
Andy Wilkinson d1cd95eb13 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 5e76671859 Remove remaining code that was deprecated in 2.5
Closes gh-30442
3 years ago
Andy Wilkinson c37857c6c6 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 631b876165 Deprecate DatabaseDriver.GAE
Closes gh-29984
3 years ago
Moritz Halbritter 2c42be9392 Merge branch '2.7.x' 3 years ago
Moritz Halbritter 6c04241ad6 Merge branch '2.6.x' into 2.7.x
Closes gh-30652
3 years ago
Moritz Halbritter 9e98ccd8ab Merge branch '2.5.x' into 2.6.x
Closes gh-30651
3 years ago
Moritz Halbritter dfc0f21932 Fix language in WavefrontProperties
Closes gh-30649
3 years ago
Stephane Nicoll b5713ba5e7 Upgrade to Spring Framework 5.3.19
Closes gh-30518
3 years ago
Stephane Nicoll 138192230c Upgrade to Spring Framework 5.3.19
Closes gh-30517
3 years ago
Stephane Nicoll 08954fce85 Upgrade to Spring Framework 5.3.19
Closes gh-30516
3 years ago
Andy Wilkinson fe46392144 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 27a936e466 Fix Elastic health indicator without RestHighLevelClient
Closes gh-28496
3 years ago
Stephane Nicoll 62069ead48 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 00a481e4e9 Upgrade to Reactor 2020.0.18
Closes gh-30604
3 years ago
Andy Wilkinson 258ae5e153 Merge branch '2.7.x' 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 d5a92ccb8b Merge branch '2.7.x' 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
Brian Clozel e57bbdfcf5 Polish
See gh-29666
3 years ago
Brian Clozel 3485070aee Switch to Spring Kafka SNAPSHOTs
See gh-30645
3 years ago
Brian Clozel be88b62302 Switch to Spring Session SNAPSHOTs
See gh-30639
3 years ago
Brian Clozel f2e295802d Switch to Spring Security SNAPSHOTs
See gh-30633
3 years ago
Brian Clozel 305a0c5c96 Switch to Spring HATEOAS SNAPSHOTs
See gh-30632
3 years ago
Brian Clozel 2651068c17 Switch to Spring Data SNAPSHOTs
See gh-30634
3 years ago
Brian Clozel 77b7f2f1ce Switch to Spring Framework SNAPSHOTs
See gh-30624
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 44211564a4 Adapt to latest changes in Micrometer 2.0 snapshots
See gh-29666
3 years ago
Andy Wilkinson 6580f6c742 Align with latest changes in Micrometer 1.9 snapshots
See gh-30605
3 years ago
Andy Wilkinson b871a1e457 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 48f8021d88 Migrate @Local*Port annotations to spring-boot-test
Closes gh-29589
3 years ago
Andy Wilkinson 8d18e5fc0e Merge branch '2.7.x' 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 6d865c2646 Merge branch '2.7.x' 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 136189c86f Merge branch '2.7.x' 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 0dd9493dc1 Merge branch '2.7.x' 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 2dcc1ea257 Merge branch '2.7.x' 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 41213a8c4e Merge branch '2.7.x' 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 fac2430dff Merge branch 'gh-30358' 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 95c8d7f79d Merge branch '2.7.x' 3 years ago
Andy Wilkinson febea4711e Make Reactive and ServletWebServerFactory extend marker interface
Closes gh-30579
3 years ago
Andy Wilkinson e6b485b317 Merge branch '2.7.x' 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 3e67ffd233 Merge branch '2.7.x' 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 4307edbb1b Merge branch '2.7.x' 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 8f275353ef Merge branch '2.7.x' 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 d6f111ce59 Merge branch '2.7.x'
Closes gh-30547
3 years ago
Andy Wilkinson 71e52a475b Upgrade to Embedded Mongo 3.4.5
Closes gh-30546
3 years ago
Andy Wilkinson a70249e368 Merge branch '2.7.x' 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 43c647e898 Merge branch '2.7.x' 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
Moritz Halbritter 5ab9112bbc Add auto-configuration for Micrometer 2.0.0 Observation API
- Adds a ObservationRegistry bean
- Add support for ObservationRegistryCustomizers
- Enables timer creation for observations if micrometer-core is on
  the classpath
- Registers ObservationPredicate, GlobalTagsProvider and
  ObservationHandler on the MeterRegistry
- Applies grouping to the ObservationHandlers: MeterObservationHandler
  are added to a FirstMatchingCompositeObservationHandler
- If micrometer-tracing is on the classpath, the
  TracingObservationHandler are added to a
  FirstMatchingCompositeObservationHandler

Closes gh-29666
3 years ago
Moritz Halbritter 4a8901b94c Start building against Spring Batch 5.0.0-SNAPSHOT
See gh-30459
3 years ago
Scott Frederick e32511516e Merge branch '2.7.x' 3 years ago
Scott Frederick ef79a18514 Use provided scope for Maven core dependencies in Maven plugin
Fixes gh-29520
3 years ago
Scott Frederick 92936c6ed3 Merge branch '2.7.x' 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 5b05fd9fb2 Merge branch '2.7.x' 3 years ago
Moritz Halbritter eedb8573b7 Polish documentation 3 years ago
Moritz Halbritter 6fa696f13d Merge branch '2.7.x' 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
Moritz Halbritter 9791318e55 Merge branch '2.7.x' 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 ac93dc3252 Remove reference to spring.datasource.initialization-mode in tests
Closes gh-30511
3 years ago
Stephane Nicoll 535a9b7be0 Remove outdated reference to spring.datasource.initialization-mode
Closes gh-30435
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 5f66019706 Remove the ability to run an application in the Maven process
Closes gh-30501
3 years ago
Stephane Nicoll 6d7b14a5a2 Revert test assertion until we switch to framework snapshots 3 years ago
Stephane Nicoll 13c9c1adb5 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 2c5398898b Polish "Deprecate running an application in the Maven JVM"
See gh-30479
3 years ago
Stephane Nicoll c21b4a5280 Merge branch '2.7.x' 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 25d8888aff Merge branch '2.7.x' 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 ad95aded7e Merge branch '2.7.x' 3 years ago
Andy Wilkinson b9029fcf9e Merge branch '2.6.x' into 2.7.x
Closes gh-30476
3 years ago
Andy Wilkinson 64beaba99f Merge branch '2.5.x' into 2.6.x
Closes gh-30475
3 years ago
Andy Wilkinson 8cb11b74cd Polish "Make MustacheViewResolver bean back off without Spring MVC"
See gh-30456
3 years ago
Craig Andrews 7101b5099f Make MustacheViewResolver bean back off without Spring MVC
See gh-30456
3 years ago
Andy Wilkinson 24e6417ddc Adapt to latest changes in Spring for GraphQL snapshots
See gh-30463
3 years ago
Andy Wilkinson 42ae55895d Simplify resolution of the application's main class name
Closes gh-30467
3 years ago
Brian Clozel 93817c708e Switch to Spring for GraphQL 1.0.0-SNAPSHOT
See gh-30463
3 years ago
Brian Clozel 4466a0b041 Upgrade to GraphQL Java 18.0
Closes gh-30464
3 years ago
Andy Wilkinson fbb060e0fe Polish
See 5d8c1d9bd7.
3 years ago
Andy Wilkinson d9c2e7c85a Merge branch '2.7.x' 3 years ago
Andy Wilkinson 4722d9d17e Merge branch '2.6.x' into 2.7.x
Closes gh-30470
3 years ago
Andy Wilkinson 880d33f391 Merge branch '2.5.x' into 2.6.x
Closes gh-30469
3 years ago
Andy Wilkinson 05b7befc7a Fix javadoc of ResolveMainClassName setClasspath(Object)
Closes gh-30468
3 years ago
Andy Wilkinson 5d8c1d9bd7 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 2f3ae02385 Merge branch '2.6.x' into 2.7.x
Closes gh-30466
3 years ago
Andy Wilkinson 8f985474a6 Merge branch '2.5.x' into 2.6.x
Closes gh-30465
3 years ago
Andy Wilkinson d574563616 Document @ConstructorBinding and @DefaultValue with records
Closes gh-30460
3 years ago
Stephane Nicoll 6865f1f3d9 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 5466444826 Merge branch '2.6.x' into 2.7.x
Closes gh-30450
3 years ago
Stephane Nicoll 5dc4ff5366 Update copyright year of changed file
See gh-30446
3 years ago
Vikey Chen f9d1c400a7 Remove redundant Javadoc
See gh-30446
3 years ago
Moritz Halbritter be3523b1cd Move metric properties
- Moved from 'management.metrics.export.<product>' to
  'management.<product>.metrics.export'
- The default enabled property moved from 'management.metrics.export.defaults.enabled'
  to 'management.defaults.metrics.export.enabled'

Closes gh-30381
3 years ago
Moritz Halbritter 3af3b26f8e Merge branch '2.7.x' 3 years ago