Commit Graph

18114 Commits (2.7.x)

Author SHA1 Message Date
Andy Wilkinson 45b62b1452 Clarify transfer of logging props from Environment to System props
Closes gh-32160
1 year ago
Stephane Nicoll 59c667caeb Start building against Spring Data Bom 2021.2.15 snapshots
See gh-36828
1 year ago
Stephane Nicoll aa50b3f846 Start building against Spring Batch 4.3.9 snapshots
See gh-36827
1 year ago
Stephane Nicoll 9ae960ea7d Start building against Spring AMQP 2.4.15 snapshots
See gh-36826
1 year ago
Stephane Nicoll 8bec4526d3 Start building against Reactor Bom 2020.0.35 snapshots
See gh-36825
1 year ago
Stephane Nicoll 3db0352806 Start building against Micrometer 1.9.14 snapshots
See gh-36824
1 year ago
Andy Wilkinson 68baa6e7df Make section IDs consistent in Maven Plugin docs and enforce it
Closes gh-26619
1 year ago
Moritz Halbritter 032d92a9fb Cleanup remote debug tunnel leftovers from devtools
Closes gh-36808
1 year ago
Andy Wilkinson 05244d7a5c Clarify which NoSQL stores are supported by Spring Data
Closes gh-29694
1 year ago
Andy Wilkinson 0ab7129dab Clarify treatment of nested directories for configtree with wildcards
Closes gh-28203
1 year ago
Andy Wilkinson b978950cb2 Clarify the effect of `@EnableWebMvc`
Closes gh-36506
1 year ago
Andy Wilkinson 8dec443e3b Document default for MVC and WebFlux date and time formatting
Closes gh-30041
1 year ago
Andy Wilkinson e7203e31c8 Correct documentation of default path matching strategy
Closes gh-32557
1 year ago
Andy Wilkinson 35d3cdbe74 Fail more helpfully when schema or data location is a directory
Previously a schema or data locatio that was a directory would
result in an attempt being made to apply the directory listing as
SQL scripts. This would typically result in a hard to diagnose
failure due to the directory listing not being valid SQL.

This commit updates the initializer to ignore locations for
which the Resources is not readable. This works as Framework's
Resource abstraction does not consider directory resources to be
readable.

Closes gh-36386
1 year ago
Andy Wilkinson db0ab9f580 Improve documentation for configuration of schema and data scripts
Closes gh-36176
1 year ago
Stephane Nicoll 5e11bac1da Polish "Configure ActiveMQConnectionFactory properly without spring-jms"
See gh-36767
1 year ago
Eddú Meléndez bcfaad2cb8 Configure ActiveMQConnectionFactory properly without spring-jms
Previously, if spring-jms is not available and a non-pool connection
factory is requested (the default), no `CachingConnectionFactory` is
created. This commit makes sure to separate the two conditions, so
that a connection factory can be obtained even if spring-jms is not
on the classpath.

See gh-36767
1 year ago
Stephane Nicoll 5ed5820f92 Clarify expected jar size in getting started doc
Closes gh-34514
1 year ago
Stephane Nicoll 1e5a72f1f8 Provide nested cause if datasource fails to provide DatabaseDriver
Closes gh-34728
1 year ago
Stephane Nicoll 97ce95c417 Polish "Upgrade to MariaDB 3.1.4"
See gh-36394
1 year ago
Stephane Nicoll d101004d5f Document @DataR2dbcTest support
Closes gh-35014
1 year ago
Stephane Nicoll 1ca763e5de Upgrade to MariaDB 3.1.4
Closes gh-36394
1 year ago
Stephane Nicoll 747dbc35fe Warmup connection pool in ConnectionPoolMetricsTests
Closes gh-36474
1 year ago
Stephane Nicoll fd88024402 Add @since for JavaVersion values
Closes gh-36608
1 year ago
Andy Wilkinson 80a6873a98 Upgrade to Testcontainers 1.18.3
Closes gh-36710
1 year ago
Andy Wilkinson f0d2f6e991 Upgrade to Spock Framework 2.3-groovy-3.0
Closes gh-36709
1 year ago
Andy Wilkinson 4b552d5c44 Upgrade to MockK 1.13.5
Closes gh-36708
1 year ago
Andy Wilkinson 2c7fe47529 Upgrade to Maven Resolver 1.9.14
Closes gh-36707
1 year ago
Andy Wilkinson 7fcf4c7dcf Upgrade to Maven Invoker 3.2.0
Closes gh-36706
1 year ago
Andy Wilkinson 59bd6879a2 Upgrade to Maven 3.9.4
Closes gh-36705
1 year ago
Andy Wilkinson a709625c24 Upgrade to Commons FileUpload 1.5
Closes gh-36704
1 year ago
Andy Wilkinson f24b56b541 Upgrade to API Guardian 1.1.2
Closes gh-36703
1 year ago
Andy Wilkinson 28b3054a9e Try to stabilize DataCouchbaseTestIntegrationTests
Closes gh-36662
1 year ago
Andy Wilkinson 21ce7a08fc Polish "Polish"
See gh-36620
1 year ago
Johnny Lim 5a205dbfd1 Polish
See gh-36620
1 year ago
rob-valor 4bbfc5e630 Correct RestTemplateBuilder#defaultHeader javadoc
Replace reactor.netty.http.client.HttpClientRequest with
org.springframework.http.client.ClientHttpRequest

See gh-36614
1 year ago
Andy Wilkinson c44e7376b4 Upgrade to Spring Asciidoctor Extensions 0.6.2
Closes gh-36625
1 year ago
Christoph Dreis 42e89079d3 Enable debug option for Kotlin in Gradle Plugin tests
See gh-36617
1 year ago
Stephane Nicoll 87554fb4dc Add test for RabbitMQ smoke test
Closes gh-36610
1 year ago
Francisco Bento 307d6c0a97 Fix Tomcat SSL protocol warn message
See gh-36572
1 year ago
Mahatma_Fatal_Error 98f76698c8 Fix server.forward-headers-strategy documentation
See gh-36564
1 year ago
Andy Wilkinson 5c6a9122cb Polish "Test Micrometer config to property exposure"
See gh-33743
1 year ago
Mirko Sobeck 19e70055a5 Test Micrometer config to property exposure
See gh-33743
1 year ago
Andy Wilkinson aae8665db1 Add missing management.metrics.export.wavefront properties
Closes gh-36498
1 year ago
Andy Wilkinson a6c19dae07 Add missing management.metrics.export.signalfx properties
Closes gh-36497
1 year ago
Stephane Nicoll 4d708641b3 Test Gradle plugin against Gradle 8.2.1
Closes gh-36548
1 year ago
Stephane Nicoll 854c162966 Polish "Fail fast if job name does not exist"
See gh-36060
1 year ago
Akshay Dubey c38cd74542 Fail fast if job name does not exist
See gh-36060
1 year ago
Andy Wilkinson a5d5908c27 Add missing management.metrics.export.atlas properties
Closes gh-36496
1 year ago
Stephane Nicoll cc77b8ace1 Polish contribution
See gh-36463
1 year ago
elevne d59cec9e01 Harmonize use of Stream in ConfigDataLocationBindHandler.onSuccess
See gh-36463
1 year ago
fzyzcjy e67bca121b Fix description of started and ready time metrics
See gh-36507
1 year ago
Andy Wilkinson 5a0f1bbe9b Polish "Correct description of overrides for spring.redis.url"
See gh-36477
1 year ago
Johnny Lim 1effd3723f Correct description of overrides for spring.redis.url
See gh-36477
1 year ago
Stephane Nicoll 7ec9f45929 Upgrade to Spring Security 5.7.10
Closes gh-36295
1 year ago
Stephane Nicoll 250868ad84 Upgrade to Spring AMQP 2.4.14
Closes gh-36399
1 year ago
Stephane Nicoll 09e5d38348 Polish "Replace @CsvSource with @ValueSource where feasible"
See gh-36062
1 year ago
Yanming Zhou acb7acd5d9 Replace @CsvSource with @ValueSource where feasible
@ValueSource is more appropriate for single parameter.

See gh-36062
1 year ago
Stephane Nicoll beb4010d07 Upgrade to Spring HATEOAS 1.5.5
Closes gh-36413
1 year ago
Stephane Nicoll 67bae9de36 Upgrade to Spring Data Bom 2021.2.14
Closes gh-36173
1 year ago
Stephane Nicoll b3513b5d89 Start building against Spring AMQP 2.4.14 snapshots
See gh-36399
1 year ago
Stephane Nicoll d45903060d Upgrade to Reactor Bom 2020.0.34
Closes gh-36172
1 year ago
Stephane Nicoll 324539e707 Upgrade to Rabbit AMQP Client 5.14.3
Closes gh-36316
1 year ago
Stephane Nicoll eb0e50f909 Upgrade to Neo4j Java Driver 4.4.12
Closes gh-36315
1 year ago
Stephane Nicoll 328d86092b Upgrade to Micrometer 1.9.13
Closes gh-36171
1 year ago
Stephane Nicoll 6d0d1ffbad Upgrade to Johnzon 1.2.21
Closes gh-36314
1 year ago
Stephane Nicoll 9142f1516e Upgrade to Janino 3.1.10
Closes gh-36313
1 year ago
Stephane Nicoll 2bc135c23b Upgrade to Groovy 3.0.18
Closes gh-36312
1 year ago
Stephane Nicoll 45cdb53e23 Upgrade to Elasticsearch 7.17.11
Closes gh-36311
1 year ago
Andy Wilkinson 9a03a353ec Start building against Spring Security 5.7.10 snapshots
See gh-36295
1 year ago
Andy Wilkinson 52f732920b Support multiple health groups with an additional path with Jersey
This commit knowingly makes breaking API changes to
JerseyHealthEndpointAdditionalPathResourceFactory. We considered
other options but they all had the potential to be backwards
incompatible in one way or another. Faced with that situation we
concluded that the likelihood of anyone using the modified API
directly is small enough to warrant making the breaking changes.
If it becomes apparent that we have misjudged things we can revisit
the changes in the future.

Closes gh-36250
1 year ago
Andy Wilkinson f4c996b432 Polish "Check for Class and ResolvableType object type attributes"
See gh-36224
1 year ago
Bernardo Bulgarelli 3a7185206e Check for Class and ResolvableType object type attributes
See gh-36224
1 year ago
Andy Wilkinson fe08c70973 Test Gradle plugin against Gradle 8.2
Closes gh-36207
1 year ago
Phillip Webb fc31e14e72 Polish 'Improve Kubernetes probe customization documentation'
See gh-34978
1 year ago
Ivo Smid 028ff3a7be Improve Kubernetes probe customization documentation
See gh-34978
1 year ago
Andy Wilkinson 1f75ba557e Document HTTP client auto-detection for RestTemplate and WebClient
Closes gh-34136
1 year ago
Phillip Webb 5d0640a356 Use MergedAnnotations for `@AliasFor` support
Update `ImportsContextCustomizer` to use `MergedAnnotations` so
that `@AliasFor` can be supported.

See gh-34917
1 year ago
Laurent Martelli 9baf23ccd5 Test that ImportsContextCustomizer can support @AliasFor
Add test to ensure that `ImportsContextCustomizer` can support
`@AliasFor` annotations.

See gh-34917
1 year ago
Andy Wilkinson a3990f16b9 Start building against Spring Data Bom 2021.2.14 snapshots
See gh-36173
1 year ago
Andy Wilkinson b9881fa6f0 Start building against Reactor Bom 2020.0.34 snapshots
See gh-36172
1 year ago
Andy Wilkinson 90760e834f Start building against Micrometer 1.9.13 snapshots
See gh-36171
1 year ago
Phillip Webb b6990940b1 Polish 'Choose SAML party based on entity ID rather than always using first'
See gh-35902
1 year ago
Lasse Lindqvist 864af59adc Choose SAML party based on entity ID rather than always using first
Update `Saml2RelyingPartyRegistrationConfiguration` so that
`RelyingPartyRegistrations` uses `collectionFromMetadataLocation`
rather than `fromMetadataLocation` and searches candidates for a
matching entity ID.

Prior to this commit, it was possible for the wrong provider to be
used if multiple candidates existed in the returned metadata.

See gh-35902
1 year ago
Phillip Webb 51ee702dac Allow configprops endpoint stringify primitive wrappers
Update `ConfigurationPropertiesReportEndpoint` so that primitive
wrapper input values in the Environment are stringified for display.

Fixes gh-36076
1 year ago
Andy Wilkinson b06e7e60f9 Polish "Fix asymmetry of equals when element has trailing dashes"
See gh-34804
1 year ago
Eyðun Nielsen a86429a62a Fix asymmetry of equals when element has trailing dashes
See gh-34804
1 year ago
Andy Wilkinson 362182efd8 Polish "Polish Kafka Properties Docs"
See gh-36032
1 year ago
Gary Russell 025063e708 Polish Kafka Properties Docs
There are 4 client types but there were a couple of places where not
all client types were mentioned (such as 'applies to producers,
consumers and admins').

See gh-36032
1 year ago
JuHyeong Ahn dbdb4d4e8d Fix typo in Using R2DBC
See gh-36019
1 year ago
Andy Wilkinson 996252f929 Stop using deprecated classifier property
Closes gh-36125
1 year ago
Andy Wilkinson 9e1f2c4257 Tolerate Flway 9.20
Closes gh-36029
1 year ago
Johnny Lim 59d4bf97a1 Add Javadoc since to ImageReference.inTaglessForm()
See gh-36048
1 year ago
Johnny Lim 4a2c9d99dc Remove redundant Files.delete() calls in tests
See gh-35986
1 year ago
Andy Wilkinson d2966e1cbf Polish "Replace calls to verifyComplete() to avoid indefinite blocking"
See gh-35915
1 year ago
ThomazPassarelli f9da30faf1 Replace calls to verifyComplete() to avoid indefinite blocking
See gh-35915
1 year ago
Andy Wilkinson f6841c3c16 Revert "Start building against Spring WS 3.1.7 snapshots"
This reverts commit 5e963b02a7.

See gh-35732
1 year ago
Andy Wilkinson 0fb4c9a095 Prohibit upgrades to RSocket 1.1.4
Closes gh-35798
1 year ago
Stephane Nicoll cb5330fd11 Upgrade to Spring Session Bom 2021.2.2
Closes gh-35731
1 year ago
Stephane Nicoll b0af370038 Upgrade to Spring Security 5.7.9
Closes gh-35730
1 year ago
Stephane Nicoll f206f1807f Upgrade to Netty 4.1.94.Final
Closes gh-35988
1 year ago
Stephane Nicoll 0dd93de05d Upgrade to Hazelcast 5.1.7
Closes gh-35987
1 year ago
Stephane Nicoll 33341f241d Upgrade to Spring Data Bom 2021.2.13
Closes gh-35728
1 year ago
Stephane Nicoll b4b6477899 Upgrade to Spring AMQP 2.4.13
Closes gh-35727
1 year ago
Phillip Webb efa072204a Don't migrate properties that cause a circular reference
Update `PropertiesMigrationReporter` so that properties are only
migrated automatically when they don't cause a circular reference.

Fixes gh-35919
1 year ago
Phillip Webb 2f39ebfe89 Polish 1 year ago
Phillip Webb b8d2c279ee Update copyright year of changed files 1 year ago
Phillip Webb f3f8610539 Polish 1 year ago
Phillip Webb 137f4ee451 Support reporting of custom Log4J2 log levels from the LoggersEndpoint
Support custom Log4J2 log levels by changing `LoggerConfiguration` so
that it can now report levels using a `LevelConfiguration` object
rather than the limited `LogLevel` enum.

The `Log4J2LoggingSystem` class now uses `LevelConfiguration.ofCustom`
for custom logging levels, rather than throwing an exception.

The `LoggersEndpoint` has also been updated so that it can return the
custom logger name.

Fixes gh-35227
1 year ago
Andy Wilkinson e779fb0bc4 Validate constructor bound config props that implement Validator
Closes gh-33669
1 year ago
Andy Wilkinson ee606db34a Update Data REST starter description to mention Spring MVC
Closes gh-35678
1 year ago
Andy Wilkinson 9feb84e234 Add DynmicPropertySource to ordered list of property sources
Closes gh-32901
1 year ago
Andy Wilkinson 088006ff60 Use ephemeral port for Hazelcast
When Hazelcast is started on a fixed port and that port is already in
use, it does not fail to start which makes the problem hard to
detect. A symptom of the problem is that clients will not be able to
connect and will either retry indefinitely or will timeout depending
on their configuration.

This commit updates the Hazelcast client tests to start the Hazelcast
instance on an ephemeral port and to customize the client
configuration with the instance's address before use. This should
allow the client tests to work reliably in an environment where
Hazelcast's default port is already in use.

Closes gh-35903
1 year ago
Andy Wilkinson 7d07c0d09c Polish configuration related to predictive test selection
Most notably, this commit splits the tests that use Spring REST Docs
out into a separate task for which predictive test selection is
disabled. This allows it to be cached and use Gradle's built-in
up-to-date checking, thereby avoiding the generation of new snippets
and the need to then run the asciidoctor and asciidoctorPdf tasks.

It also updates spring-boot-smoke-test-junit-vintage to disable
predictive test selection so that we can continue to assert that
the some tests were executed.

See gh-35869
1 year ago
Stephane Nicoll f2a44d7f06 Upgrade to Reactor Bom 2020.0.33
Closes gh-35726
1 year ago
Stephane Nicoll 7576117dd9 Upgrade to Micrometer 1.9.12
Closes gh-35725
1 year ago
Andy Wilkinson 984dc1d58f Allow package-private main classes to be used with Devtools
Fixes gh-35858
1 year ago
Stephane Nicoll ad0ce41f8a Upgrade to Undertow 2.2.25.Final
Closes gh-35801
1 year ago
Stephane Nicoll 1201d8fa01 Upgrade to UnboundID LDAPSDK 6.0.9
Closes gh-35800
1 year ago
Stephane Nicoll 0bd08a6233 Upgrade to Netty 4.1.93.Final
Closes gh-35797
1 year ago
Stephane Nicoll ef90c11a1a Upgrade to Lombok 1.18.28
Closes gh-35796
1 year ago
Stephane Nicoll 461f2fa054 Upgrade to Infinispan 13.0.18.Final
Closes gh-35795
1 year ago
Stephane Nicoll 9306d0868a Upgrade to Dropwizard Metrics 4.2.19
Closes gh-35794
1 year ago
Andy Wilkinson 5e97f869d0 Remove unnecessary usage of Supplier
Closes gh-35787
1 year ago
Andy Wilkinson ca50cd8c8a Stop using an infinite timeout for connecting to Hazelcast
Closes gh-35771
1 year ago
twobiers 0dbc0fcf91 Move property notes up to external configuration section
See gh-35662
1 year ago
Bernardo Bulgarelli 51afaa79a7 Add @AliasFor annotation to EndpointCloudFoundryExtension
See gh-35716
1 year ago
Moritz Halbritter 2927d50d18 Add JavaVersion.TWENTY
Closes gh-35758
1 year ago
Phillip Webb 4eda5bd36f Polish 1 year ago
Andy Wilkinson 5e963b02a7 Start building against Spring WS 3.1.7 snapshots
See gh-35732
1 year ago
Andy Wilkinson adc2077be3 Start building against Spring Session Bom 2021.2.2 snapshots
See gh-35731
1 year ago
Andy Wilkinson a47112bbeb Start building against Spring Security 5.7.9 snapshots
See gh-35730
1 year ago
Andy Wilkinson c680a892fe Start building against Spring Data Bom 2021.2.13 snapshots
See gh-35728
1 year ago
Andy Wilkinson a04f6b3b02 Start building against Spring AMQP 2.4.13 snapshots
See gh-35727
1 year ago
Andy Wilkinson 163f5052c1 Start building against Reactor Bom 2020.0.33 snapshots
See gh-35726
1 year ago
Andy Wilkinson d92012b82f Start building against Micrometer 1.9.12 snapshots
See gh-35725
1 year ago
Andy Wilkinson 5623fe3b94 Test Gradle plugin against Gradle 8.2-rc-1
Closes gh-35699
1 year ago
Scott Frederick c847db77e6 Correct precedence in description of MongoDB properties
Closes gh-35686
1 year ago
Andy Wilkinson f452a86175 Polish "Document audience support in Oauth2 resource server"
See gh-35286
2 years ago
Bikash Adhikari 13c5c6efb1 Document audience support in Oauth2 resource server
See gh-35286
2 years ago
Phillip Webb 418dd1ba5b Return 406 status code if welcome page is not accepted
Add `WelcomePageNotAcceptableHandlerMapping` which will return
an HTTP 406 status if a suitable welcome page is found but
cannot be accepted for the request.

An additional mapper is used so that we don't need to change
the order of the `WelcomePageHandlerMapping`. It's possible
that users may have additional root handler mappings
registered to run after the `WelcomePageHandlerMapping`
and we still need to respect those.

Fixes gh-35552
2 years ago
Andy Wilkinson cc2bb7cade Upgrade to Json-smart 2.4.11
Closes gh-35549
2 years ago
Andy Wilkinson d66563d544 Polish "Improve formatting of Kotlin permitAll example"
See gh-35454
2 years ago
Junsu Park 11a1de1e64 Improve formatting of Kotlin permitAll example
See gh-35454
2 years ago
Andy Wilkinson f5ff8007be Adapt to deprecation of rejectIllegalHeader
Closes gh-35442
2 years ago
Andy Wilkinson c631f04391 Upgrade to Spring Integration 5.5.18
Closes gh-35294
2 years ago
Stephane Nicoll 47cd3bb052 Upgrade to Netty 4.1.92.Final
Closes gh-35441
2 years ago
Stephane Nicoll a9739e109f Upgrade to Hazelcast 5.1.6
Closes gh-35440
2 years ago
Phillip Webb a75cd014fc Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 95d1cb9884 Merge branch '2.5.x' into 2.6.x 2 years ago