Commit Graph

21482 Commits (1191282004ae73da56713a06633cc424b5287487)

Author SHA1 Message Date
Andy Wilkinson fe1f675c43 Upgrade to Neo4j Java Driver 5.9.0
Closes gh-35967
1 year ago
Andy Wilkinson 9fb9d5518d Upgrade to Mockito 5.4.0
Closes gh-35965
1 year ago
Andy Wilkinson a5df44cbca Upgrade to Maven War Plugin 3.4.0
Closes gh-35964
1 year ago
Andy Wilkinson 045307994b Upgrade to Maven Surefire Plugin 3.1.2
Closes gh-35963
1 year ago
Andy Wilkinson 0cac2e2603 Upgrade to Maven Source Plugin 3.3.0
Closes gh-35962
1 year ago
Andy Wilkinson 853db91e31 Upgrade to Maven Shade Plugin 3.5.0
Closes gh-35961
1 year ago
Andy Wilkinson b167c6e45d Upgrade to Maven Invoker Plugin 3.6.0
Closes gh-35960
1 year ago
Andy Wilkinson 3c482a024c Upgrade to Maven Failsafe Plugin 3.1.2
Closes gh-35959
1 year ago
Andy Wilkinson 559989a0ad Upgrade to Maven Dependency Plugin 3.6.0
Closes gh-35958
1 year ago
Andy Wilkinson 6745ec9224 Upgrade to Maven Assembly Plugin 3.6.0
Closes gh-35957
1 year ago
Andy Wilkinson 1e17d8eeea Upgrade to Liquibase 4.22.0
Closes gh-35956
1 year ago
Andy Wilkinson fdc6f54405 Upgrade to Kotlin Coroutines 1.7.1
Closes gh-35955
1 year ago
Andy Wilkinson e82bd223a0 Upgrade to Kafka 3.5.0
Closes gh-35954
1 year ago
Andy Wilkinson dfe317ef81 Upgrade to Jedis 4.4.3
Closes gh-35953
1 year ago
Andy Wilkinson fc269a5c69 Upgrade to Infinispan 14.0.11.Final
Closes gh-35952
1 year ago
Andy Wilkinson 152fc42d4e Upgrade to Hibernate 6.2.5.Final
Closes gh-35951
1 year ago
Andy Wilkinson 9d8caf1133 Upgrade to Hazelcast 5.3.1
Closes gh-35950
1 year ago
Andy Wilkinson e4b207e73b Upgrade to Git Commit ID Maven Plugin 6.0.0
Closes gh-35949
1 year ago
Andy Wilkinson 454aae92d6 Upgrade to Flyway 9.19.4
Closes gh-35948
1 year ago
Andy Wilkinson 3d336f9204 Upgrade to Elasticsearch Client 8.8.1
Closes gh-35947
1 year ago
Andy Wilkinson 6b1a1141aa Upgrade to Cassandra Driver 4.16.0
Closes gh-35946
1 year ago
Andy Wilkinson 57a44bf55d Upgrade to Build Helper Maven Plugin 3.4.0
Closes gh-35945
1 year ago
Andy Wilkinson fd2ae822f0 Upgrade to Brave 5.16.0
Closes gh-35944
1 year ago
Andy Wilkinson fe3579bd1e Upgrade to Angus Mail 2.0.2
Closes gh-35943
1 year ago
Stephane Nicoll 71597300f4 Merge branch '3.1.x' 1 year ago
Stephane Nicoll 30d5a988a9 Upgrade to Spring Retry 2.0.2
Closes gh-35753
1 year ago
Stephane Nicoll 139873733d Upgrade to Spring Data Bom 2023.0.1
Closes gh-35750
1 year ago
Stephane Nicoll 607c155d4c Upgrade to Spring Retry 2.0.2
Closes gh-35742
1 year ago
Stephane Nicoll 3194edefbd Upgrade to Spring LDAP 3.0.4
Closes gh-35741
1 year ago
Stephane Nicoll 381857b3d3 Upgrade to Spring Data Bom 2022.0.7
Closes gh-35738
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 8afbff3f28 Merge branch '3.1.x' 1 year ago
Phillip Webb 3d6c6a6611 Merge branch '3.0.x' into 3.1.x
Closes gh-35934
1 year ago
Phillip Webb af846da69b Merge branch '2.7.x' into 3.0.x
Closes gh-35933
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 abe417d9bc Merge branch '3.1.x' 1 year ago
Phillip Webb 1de7edb615 Remove accidentally committed code 1 year ago
Phillip Webb 23eb7ec1f8 Merge branch '3.1.x' 1 year ago
Phillip Webb 5d6a507142 Merge branch '3.0.x' into 3.1.x 1 year ago
Phillip Webb 48e13af8c4 Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb b8d2c279ee Update copyright year of changed files 1 year ago
Phillip Webb 854b29b8fb Polish 1 year ago
Scott Frederick fe927f0e06 Merge branch '3.1.x' 1 year ago
Scott Frederick e8301a065f Merge branch '3.0.x' into 3.1.x
Closes gh-35932
1 year ago
Scott Frederick fbba2df7bf Enable Gradle plugin tests on Java 20
Closes gh-35931
1 year ago
Phillip Webb 13f16da716 Merge branch '3.1.x' 1 year ago
Phillip Webb baddf4c857 Merge branch '3.0.x' into 3.1.x 1 year ago
Phillip Webb 0fd1c89889 Polish 1 year ago
Phillip Webb 9b72cc41ab Polish 'Add support for multiple tracing propagation formats'
See gh-35611
1 year ago
Jonatan Ivanov 85934c3919
Merge branch '3.1.x'
Closes gh-35930
1 year ago
Johnny Lim 06157837e5
Polish
See gh-35872
1 year ago
Phillip Webb 691b549e36 Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb f3f8610539 Polish 1 year ago
Moritz Halbritter 3664df61eb Polish API of SpanExporters and SpanProcessors 1 year ago
Stephane Nicoll fe65806582 Merge branch '3.1.x' 1 year ago
Sébastien Deleuze db8dee5aac Refine SpringApplication.Augmented.with Kotlin extension
This commit allows to specify multiple Kotlin classes.

See gh-35784
1 year ago
Moritz Halbritter 27add2bbe3 Rework @AutoConfigureObservability and tracing auto-configurations
@ConditionalOnEnabledTracing is now applied to the minimal amount of
beans. The beans which are annotated with it are beans that will lead
to span sending to backends.

This leaves the majority of the Micrometer Tracing, Brave and
OpenTelemetry infrastructure untouched in tests.

Closes gh-35354
1 year ago
Andy Wilkinson fb4b26a842 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 1652c27b3c Apply additional sources once when using SpringApplication.from()
Previously, when using SpringApplication.from() any additional
sources configured using with() would be applied to every
SpringApplication that was created within the scope of the call to
run(). This caused problems with Spring Cloud's bootstrap context
where the additional sources would be applied to both the user's
application and to the boostrap context's application.

This commit updates the hook that's used to apply the additional
sources so that it's only applied once. This results in the
additional sources only being added to the first SpringApplication
that is run.

Closes gh-35873
1 year ago
Moritz Halbritter c25b084391 Polish 1 year ago
Moritz Halbritter 929283f4dc Support overriding OTel SpanExporters
See gh-35596
1 year ago
Moritz Halbritter d51559956f Support overriding default OTel SpanProcessor
Also makes it easier to set the MeterProvider used in the default
SpanProcessor.

Closes gh-35560
1 year ago
Phillip Webb 0439b630d1 Merge branch '3.1.x'
Closes gh-35923
1 year ago
Phillip Webb c192fb85b2 Merge branch '3.0.x' into 3.1.x
Closes gh-35922
1 year ago
Phillip Webb 4c8b93b37d Merge branch '2.7.x' into 3.0.x
Closes gh-35920
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 c033484815 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 3d9a308053 Merge branch '3.0.x' into 3.1.x
Closes gh-35913
1 year ago
Andy Wilkinson eeea065595 Merge branch '2.7.x' into 3.0.x
Closes gh-35912
1 year ago
Andy Wilkinson e779fb0bc4 Validate constructor bound config props that implement Validator
Closes gh-33669
1 year ago
Andy Wilkinson 91fdae45b6 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 61752184f2 Merge branch '3.0.x' into 3.1.x
Closes gh-35911
1 year ago
Andy Wilkinson 7bb3caf914 Merge branch '2.7.x' into 3.0.x
Closes gh-35910
1 year ago
Andy Wilkinson ee606db34a Update Data REST starter description to mention Spring MVC
Closes gh-35678
1 year ago
Andy Wilkinson 740815da03 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 251b5f2d0f Merge branch '3.0.x' into 3.1.x
Closes gh-35909
1 year ago
Andy Wilkinson a5981a4dac Merge branch '2.7.x' into 3.0.x
Closes gh-35908
1 year ago
Andy Wilkinson 9feb84e234 Add DynmicPropertySource to ordered list of property sources
Closes gh-32901
1 year ago
Moritz Halbritter 6e86f5c444 Register uncategorized ObservationHandlers after categorized ones
Closes gh-34399
1 year ago
Moritz Halbritter 5bad242bfb Merge branch '3.1.x' 1 year ago
Moritz Halbritter be471c58fe Merge branch '3.0.x' into 3.1.x
Closes gh-35907
1 year ago
Moritz Halbritter 8cd8d21720 Add support for multiple tracing propagation formats
See gh-35611
1 year ago
Andy Wilkinson 2c06f274dc Merge branch '3.1.x' 1 year ago
Andy Wilkinson cb36df47c8 Merge branch '3.0.x' into 3.1.x
Closes gh-35905
1 year ago
Andy Wilkinson 6def7252d6 Merge branch '2.7.x' into 3.0.x
Closes gh-35904
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
Moritz Halbritter efcc65bc5b Apply filter order to ServerHttpObservationFilter
Closes gh-35067
1 year ago
Moritz Halbritter 140c37ceba Enable virtual threads on Jetty
Closes gh-35703
1 year ago
Moritz Halbritter 3e4a9f5204 Add property to limit maximum connections for Jetty
Closes gh-35899
1 year ago
Moritz Halbritter f81787e65d Enable virtual threads on Tomcat
Closes gh-35704
1 year ago
Moritz Halbritter 6e604ad65c Implement @ConditionalOnVirtualThreads
Closes gh-35892
1 year ago
Moritz Halbritter fb64f6744e Add 21 to JavaVersion
See gh-35892
1 year ago
Andy Wilkinson 0ce2b054d2 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 9b88128e3b Merge branch '3.0.x' into 3.1.x 1 year ago
Andy Wilkinson 4694e20628 Merge branch '2.7.x' into 3.0.x 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 67fc2f9346 Merge branch '3.1.x' 1 year ago
Stephane Nicoll f299a2473e Upgrade to Reactor Bom 2022.0.8
Closes gh-35747
1 year ago
Stephane Nicoll 61bae46deb Upgrade to Micrometer Tracing 1.1.2
Closes gh-35746
1 year ago
Stephane Nicoll b17c948d61 Upgrade to Micrometer 1.11.1
Closes gh-35745
1 year ago
Stephane Nicoll 4f3761c852 Upgrade to Logback 1.4.8
Closes gh-35885
1 year ago
Stephane Nicoll 9e642c9843 Upgrade to Hazelcast 5.2.4
Closes gh-35884
1 year ago
Stephane Nicoll 1093d172a4 Upgrade to Couchbase Client 3.4.7
Closes gh-35883
1 year ago
Stephane Nicoll d3ff04fa4b Upgrade to Reactor Bom 2022.0.8
Closes gh-35736
1 year ago
Stephane Nicoll 1900910008 Upgrade to Micrometer Tracing 1.0.7
Closes gh-35735
1 year ago
Stephane Nicoll 2d43f345de Upgrade to Micrometer 1.10.8
Closes gh-35734
1 year ago
Stephane Nicoll 7cf41e9e0a Upgrade to Logback 1.4.8
Closes gh-35881
1 year ago
Stephane Nicoll 10b66975dd Upgrade to Glassfish JAXB 4.0.3
Closes gh-35880
1 year ago
Stephane Nicoll 2dbfe54762 Upgrade to Couchbase Client 3.4.7
Closes gh-35879
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
Scott Frederick 4950e2a6b7 Merge branch '3.1.x' 1 year ago
Scott Frederick 7e6452edee Fix Redis URL property userinfo parsing
Fixes gh-35850
1 year ago
Andy Wilkinson b3e2f9a212 Merge branch '3.0.x' into 3.1.x
Closes gh-35868
1 year ago
Andy Wilkinson ac8ea1d841 Upgrade to Neo4j Java Driver 5.9.0
Closes gh-35867
1 year ago
Andy Wilkinson 21a54ec66d Merge branch '3.1.x' 1 year ago
Andy Wilkinson e12ae5add5 Merge branch '3.0.x' into 3.1.x
Closes gh-35865
1 year ago
Andy Wilkinson bdbbbc6470 Merge branch '2.7.x' into 3.0.x
Closes gh-35864
1 year ago
Andy Wilkinson 984dc1d58f Allow package-private main classes to be used with Devtools
Fixes gh-35858
1 year ago
Moritz Halbritter c73315b4a3 Add property to prevent observations starting with a prefix
For example, setting management.observations.enable.denied.prefix=false
will prevent all observations starting with 'denied.prefix'

Closes gh-34802
1 year ago
Moritz Halbritter 7b90fbb0b2 Add property to specify the order of ServerHttpObservationFilter
The property is named 'management.observations.http.server.filter.order'

Closes gh-35067
1 year ago
Andy Wilkinson 1955139b72 Start building against Spring Integration 6.1.1 snapshots
See gh-35859
1 year ago
Moritz Halbritter 491e12ab5e Add property to disable Spring Security observations
Setting 'management.observations.spring-security.enabled' installs an
ObservationPredicate, which prevents all observations starting with
'spring.security.' to be created.

Closes gh-34802
1 year ago
Moritz Halbritter 6eede829d2 Merge branch '3.1.x' 1 year ago
Sungchan Cho 96d5f8641c Fix typo in Docker Compose documentation
See gh-35818
1 year ago
Moritz Halbritter 5b06224af5 Add property for common key/values on observations
- Deprecates 'management.metrics.tags.*'

Closes gh-33241
1 year ago
Moritz Halbritter 214f06083b Auto-configure OtlpHttpSpanExporter only if property is set
- Remove the default value of 'management.otlp.tracing.endpoint'

Closes gh-35596
1 year ago
Stephane Nicoll cd018aff9c Merge branch '3.1.x' 1 year ago
Stephane Nicoll 71856687d7 Upgrade to Undertow 2.3.7.Final
Closes gh-35849
1 year ago
Stephane Nicoll c6bb958ce3 Upgrade to UnboundID LDAPSDK 6.0.9
Closes gh-35848
1 year ago
Stephane Nicoll 815fe626f8 Upgrade to Testcontainers 1.18.3
Closes gh-35847
1 year ago
Stephane Nicoll 9048686080 Upgrade to SQLite JDBC 3.41.2.2
Closes gh-35846
1 year ago
Stephane Nicoll bba8569c25 Upgrade to R2DBC Proxy 1.1.1.RELEASE
Closes gh-35845
1 year ago
Stephane Nicoll 009b4bbcd9 Upgrade to R2DBC MySQL 1.0.2
Closes gh-35844
1 year ago
Stephane Nicoll e51402ef59 Upgrade to R2DBC MSSQL 1.0.1.RELEASE
Closes gh-35843
1 year ago
Stephane Nicoll 10fbaea743 Upgrade to Netty 4.1.93.Final
Closes gh-35842
1 year ago
Stephane Nicoll dac5023c52 Upgrade to Lombok 1.18.28
Closes gh-35841
1 year ago
Stephane Nicoll 99aeb4eef6 Upgrade to Kafka 3.4.1
Closes gh-35840
1 year ago
Stephane Nicoll f3efc963b1 Upgrade to Json-smart 2.4.11
Closes gh-35839
1 year ago
Stephane Nicoll 63994f86bc Upgrade to Jersey 3.1.2
Closes gh-35838
1 year ago
Stephane Nicoll 4cdd2a86a2 Upgrade to JBoss Logging 3.5.1.Final
Closes gh-35837
1 year ago
Stephane Nicoll 68d82df065 Upgrade to Jaybird 5.0.2.java11
Closes gh-35836
1 year ago
Stephane Nicoll 2c013129c8 Upgrade to Jakarta Mail 2.1.2
Closes gh-35835
1 year ago
Stephane Nicoll 1468a63658 Upgrade to Jakarta Json 2.1.2
Closes gh-35834
1 year ago
Stephane Nicoll 3052bfed94 Upgrade to Jackson Bom 2.15.2
Closes gh-35833
1 year ago
Stephane Nicoll a8e924ca7e Upgrade to Infinispan 14.0.10.Final
Closes gh-35832
1 year ago
Stephane Nicoll 033b0b180b Upgrade to HSQLDB 2.7.2
Closes gh-35831
1 year ago
Stephane Nicoll cfdb61b50c Upgrade to Hibernate 6.2.4.Final
Closes gh-35830
1 year ago
Stephane Nicoll eae3453dfd Upgrade to Glassfish JAXB 4.0.3
Closes gh-35829
1 year ago
Stephane Nicoll 574094ec93 Upgrade to Git Commit ID Maven Plugin 5.0.1
Closes gh-35828
1 year ago
Stephane Nicoll 3d2c8d6941 Upgrade to Dropwizard Metrics 4.2.19
Closes gh-35827
1 year ago
Stephane Nicoll 633b7ba96f Upgrade to Byte Buddy 1.14.5
Closes gh-35826
1 year ago
Stephane Nicoll 8589401b65 Merge branch '3.1.x' 1 year ago
Stephane Nicoll 27ee605f91 Upgrade to Tomcat 10.1.9
Closes gh-35819
1 year ago
Stephane Nicoll 02a601eae3 Fix checkstyle violation 1 year ago
Scott Frederick 07c57577b0 Merge branch '3.1.x' 1 year ago
Scott Frederick 767ec4e22e Support encrypted PKCS8 private keys in SSL bundles
Properties `ssl.bundle.pem.mybundle.keystore.private-key-password`
and `ssl.bundle.pem.mybundle.truststore.private-key-password` have
been added for configuring the password required to decrypt an
encrypted private key.

Only PKCS8 private keys with encryption are supported. PKCS1 and EC
private keys with encryption are much more complex to decrypt, and
are not supported.

Fixes gh-35652
1 year ago
Stephane Nicoll 261cb721e9 Fix checkstyle violation 1 year ago
Stephane Nicoll ddeee2bcbf Upgrade to Undertow 2.3.7.Final
Closes gh-35814
1 year ago
Stephane Nicoll a720f3aa59 Upgrade to UnboundID LDAPSDK 6.0.9
Closes gh-35813
1 year ago
Andy Wilkinson 39276f8302 Adapt to deprecation of rejectIllegalHeader
Closes gh-35442
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 9f0a631700 Upgrade to Netty 4.1.93.Final
Closes gh-35811
1 year ago
Stephane Nicoll 00aaecbcdd Upgrade to Lombok 1.18.28
Closes gh-35810
1 year ago
Stephane Nicoll 496c0e709f Upgrade to JBoss Logging 3.5.1.Final
Closes gh-35809
1 year ago
Stephane Nicoll daebfb2885 Upgrade to Jakarta Mail 2.1.2
Closes gh-35808
1 year ago
Stephane Nicoll c2566ebffb Upgrade to Jakarta Json 2.1.2
Closes gh-35807
1 year ago
Stephane Nicoll 3ef975e596 Upgrade to Infinispan 14.0.10.Final
Closes gh-35806
1 year ago
Stephane Nicoll 5ea5f59328 Upgrade to HSQLDB 2.7.2
Closes gh-35805
1 year ago
Stephane Nicoll 30bd14e7c5 Upgrade to Git Commit ID Plugin 5.0.1
Closes gh-35804
1 year ago
Stephane Nicoll 766ac6343b Upgrade to Dropwizard Metrics 4.2.19
Closes gh-35803
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
Scott Frederick cae0b873a5 Merge branch '3.1.x' 1 year ago
Scott Frederick 8f31a5772e Set authSource in MongoDB Docker Compose connection details
When authentication credentials are provided in environment variables
for the official MongoDB Docker image, the authentication source must
also be set to the `admin` database.

Fixes gh-35777
1 year ago
Andy Wilkinson b9c2c289b3 Start working on Spring Boot 3.2
This commit also disables the creation of forward merge issues
when merging into main. Forward merge issues will be re-enabled
once 3.1.1 has been released.
1 year ago
Andy Wilkinson b9f7df6cc2 Merge branch '3.0.x'
Closes gh-35789
1 year ago
Andy Wilkinson fba0aa805f Merge branch '2.7.x' into 3.0.x
Closes gh-35788
1 year ago
Andy Wilkinson 5e97f869d0 Remove unnecessary usage of Supplier
Closes gh-35787
1 year ago
Andy Wilkinson 443d9f9bd2 Start building against Spring GraphQL 1.1.5 snapshots
See gh-35775
1 year ago
Andy Wilkinson ce85290d01 Merge branch '3.0.x'
Closes gh-35773
1 year ago
Andy Wilkinson 51e980200a Merge branch '2.7.x' into 3.0.x
Closes gh-35772
1 year ago
Andy Wilkinson ca50cd8c8a Stop using an infinite timeout for connecting to Hazelcast
Closes gh-35771
1 year ago
Moritz Halbritter ebbb4d319d Polish 1 year ago
Moritz Halbritter 2e37c0da18 Merge branch '3.0.x'
Closes gh-35769
1 year ago
Moritz Halbritter a9b4e9327c Merge branch '2.7.x' into 3.0.x
Closes gh-35768
1 year ago
twobiers 0dbc0fcf91 Move property notes up to external configuration section
See gh-35662
1 year ago
Moritz Halbritter 0cf93f1aa4 Merge branch '3.0.x'
Closes gh-35767
1 year ago
Steve Riesenberg ba9f92fa86 Improve OAuth2 Client section of docs
* Add an OpenID Connect login client example
* Update redirect-uri examples to match Security docs and not require
  any customization
* Update client-authentication-method for Spring Security 6 usage
* Update provider configuration example to align with Spring
  Authorization Server
* Format Java DSL according to Spring Security docs
* Use Kotlin DSL
* Update redirection endpoint base uri example to use ant pattern

See gh-35679
1 year ago
Moritz Halbritter 28a3cee5a2 Merge branch '3.0.x'
Closes gh-35766
1 year ago
Moritz Halbritter 85720a5d90 Merge branch '2.7.x' into 3.0.x
Closes gh-35765
1 year ago
Bernardo Bulgarelli 51afaa79a7 Add @AliasFor annotation to EndpointCloudFoundryExtension
See gh-35716
1 year ago
Moritz Halbritter 49597db77d Merge branch '3.0.x'
Closes gh-35764
1 year ago
Moritz Halbritter 9149fc3e77 Merge branch '2.7.x' into 3.0.x
Closes gh-35763
1 year ago
Moritz Halbritter 2927d50d18 Add JavaVersion.TWENTY
Closes gh-35758
1 year ago
Yanming Zhou 7a5f6d4123 Expose spring.ssl bundle keys
See gh-35667
1 year ago
Andy Wilkinson bd2fff1fd1 Fix `@ServiceConnection` in native tests
Using `@ServiceConnection` results in the definition of one or more
connection details beans. These bean definitions use an instance
supplier which is not supported by AOT. This results in a failure during
AOT processing.

This commit introduces a BeanRegistrationExcludeFilter to exclude from
AOT processing the beans created from a `@ServiceConnection`. They are
not needed as the registrar will run again in the native image and
define the beans at which point the use of an instance supplier is
supported again.

Fixes gh-35663
1 year ago
Andy Wilkinson 9731934360 Start building against Spring Session 3.1.1 snapshots
See gh-35755
1 year ago
Andy Wilkinson 7627a465b9 Start building against Spring Security 6.1.1 snapshots
See gh-35754
1 year ago
Andy Wilkinson b0ea771f21 Start building against Spring Retry 2.0.2 snapshots
See gh-35753
1 year ago
Andy Wilkinson e92ea34b98 Start building against Spring GraphQL 1.2.1 snapshots
See gh-35752
1 year ago
Andy Wilkinson 036b982dd7 Start building against Spring Framework 6.0.10 snapshots
This reverts commit bc63c511 as Framework's previous behavior has
been restored.

See gh-35751
1 year ago
Andy Wilkinson 3eaaf58536 Start building against Spring Data Bom 2023.0.1 snapshots
See gh-35750
1 year ago
Andy Wilkinson 59b676107f Start building against Spring Authorization Server 1.1.1 snapshots
See gh-35749
1 year ago
Andy Wilkinson e801b833f1 Start building against Spring AMQP 3.0.5 snapshots
See gh-35748
1 year ago
Andy Wilkinson 27a9ed8022 Start building against Reactor Bom 2022.0.8 snapshots
See gh-35747
1 year ago
Andy Wilkinson 26a0268ff9 Start building against Micrometer Tracing 1.1.2 snapshots
See gh-35746
1 year ago
Andy Wilkinson d77b37d039 Start building against Micrometer 1.11.1 snapshots
See gh-35745
1 year ago
Phillip Webb 1669b81af7 Add 'fromApplication' and 'with' Kotlin extension functions
Update `SpringApplicationExtensions.kt` with `fromApplication` and
`with` functions that make `SpringApplication.from(...)` easier to use
with Kotlin.

Fixes gh-35756
1 year ago
Phillip Webb ff35ed4be1 Merge branch '3.0.x' 1 year ago
Phillip Webb f641ce037d Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb 4eda5bd36f Polish 1 year ago
Andy Wilkinson e9cd0c1f3a Restore compatibility with Flyway 9.0.x
Closes gh-35721
1 year ago
Andy Wilkinson d32c7c52b7 Start building against Spring Session 3.0.2 snapshots
See gh-35744
1 year ago
Andy Wilkinson b4fc9d6c50 Start building against Spring Security 6.0.4 snapshots
See gh-35743
1 year ago
Andy Wilkinson e670a091d7 Start building against Spring Retry 2.0.2 snapshots
See gh-35742
1 year ago
Andy Wilkinson 185ca73445 Start building against Spring LDAP 3.0.4 snapshots
See gh-35741
1 year ago
Andy Wilkinson 3960f8630d Start building against Spring Integration 6.0.6 snapshots
See gh-35740
1 year ago
Andy Wilkinson 22e8a41efa Start building against Spring Framework 6.0.10 snapshots
This reverts commit 9d56b419 as Framework's previous behavior has
been restored.

See gh-35739
1 year ago
Andy Wilkinson d8078f1c12 Start building against Spring Data Bom 2022.0.7 snapshots
See gh-35738
1 year ago
Andy Wilkinson 225fa6fbb5 Start building against Spring AMQP 3.0.5 snapshots
See gh-35737
1 year ago
Andy Wilkinson 31f0a69469 Start building against Reactor Bom 2022.0.8 snapshots
See gh-35736
1 year ago
Andy Wilkinson c07d8bef17 Start building against Micrometer Tracing 1.0.7 snapshots
See gh-35735
1 year ago
Andy Wilkinson 538aad723a Start building against Micrometer 1.10.8 snapshots
See gh-35734
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 cdcebe452c Polish "Test Gradle plugin against Gradle 8.2-rc-1"
See gh-35708
1 year ago
rafaelrc7 ed47e09c13 Implement validity check to spring.rabbitmq.host config property
As discussed on issue #35628, at some point the host property accepted
multiple comma-separated hosts. However, this was not intended, and for
better clarification, it was decided to implement a clearer error
message for this situation.

See gh-35684
1 year ago
Andy Wilkinson 45ce18e1c7 Polish "Test Gradle plugin against Gradle 8.2-rc-1"
See gh-35708
1 year ago
Andy Wilkinson d6192a0fa1 Merge branch '3.0.x'
Closes gh-35708
1 year ago
Andy Wilkinson 5a793a6d49 Merge branch '2.7.x' into 3.0.x
Closes gh-35707
1 year ago
Andy Wilkinson 5623fe3b94 Test Gradle plugin against Gradle 8.2-rc-1
Closes gh-35699
1 year ago
Scott Frederick f29a0d8c29 Merge branch '3.0.x'
Closes gh-35690
1 year ago
Scott Frederick 6a763f9be4 Merge branch '2.7.x' into 3.0.x
Closes gh-35689
1 year ago
Scott Frederick c847db77e6 Correct precedence in description of MongoDB properties
Closes gh-35686
1 year ago
Scott Frederick a02eb48528 Fix building of MongoDB connection string with authentication db
This commit restores the previous behavior of MongoDB auto-
configuration, where the value of the
`spring.data.mongodb.authentication-database` is set in the
credentials when provided.

Fixes gh-35567
1 year ago
Scott Frederick 593fa1dc42 Allow Mongo database property to override database in URI
This commit restores the previous behavior of MongoDB auto-
configuration, where the value of the `spring.data.mongodb.database`
property takes precedence over the database specified in a
`spring.data.mongodb.uri` property.

Fixes gh-35566
1 year ago
Yanming Zhou e8659da59b Fix error in SSL bundle documentation
See gh-35665
1 year ago
Andy Wilkinson 0ec804f6c3 Upgrade to Testcontainers 1.18.2
Closes gh-35677
1 year ago
Andy Wilkinson f0c40a469b Merge branch '3.0.x'
Closes gh-35654
2 years ago
Andy Wilkinson a58e98af05 Fix binding to constructor bound lateinit properties
Closes gh-35603
2 years ago
Moritz Halbritter eb9077df86 Document how to customize the JDBC parameters when using Docker Compose
Closes gh-35636
2 years ago
Andy Wilkinson 127004b4c5 Merge branch '3.0.x'
Closes gh-35647
2 years ago
Andy Wilkinson 5ad0d49ec1 Fix hints for `@Bean` config props that could be constructor bound
Previously, if a `@ConfigurationProperties`-annotated `@Bean` method
returned a type that looked like it could be constructor bound, the
registered runtime hints were incorrect. With only the bean's class
to work with, the hints registrar would incorrectly determine that
the type would be constructor bound and would not register the hints
required for Java bean binding.

This commit updates the registrar to allow the caller to provide a
Bindable which knows both what should be bound and how it should be
bound, thereby allowing the registrar to generate the correct hints.
The tests for the AOT processor have also been updated to remove
duplication of the tests in BindableRuntimeHintsRegistrarTests and
to focus on the contribution creating Bindable instances with the
bind method that is required to produce the correct reflection hints.

Closes gh-35564

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson 1d2a41fd1a Merge branch '3.0.x'
Closes gh-35646
2 years ago
Andy Wilkinson eb60cf4988 Remove duplication of BindableRuntimeHintsRegistrarTests
There were several tests in CPBFIAPT that were duplicating tests in
BindableRuntimeHintsRegistrarTests. To test the AOT processor, all
that is really necessary is to assert that the expected types are
found and passed to BindableRuntimeHintsRegistrar. The tests for
BindableRuntimeHintsRegistrar are then responsible for asserting
that the expected hints are generated for the various different
types.

Closes gh-35645
2 years ago
Andy Wilkinson 75f55cc35a Merge branch '3.0.x'
Closes gh-35644
2 years ago
Andy Wilkinson f03f062770 Move BindMethod to context.properties.bind and expose on Bindable
Closes gh-35642

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson 604a1e9538 Merge branch '3.0.x'
Closes gh-35641
2 years ago
Phillip Webb 581a32b107 Polish ConfigurationPropertiesBean
Closes gh-35640
2 years ago
Andy Wilkinson fa49e2b6c6 Merge branch '3.0.x'
Closes gh-35639
2 years ago
Phillip Webb bfbae581d7 Extract BindMethodAttribute class
Create a `BindMethodAttribute` class to manage attribute logic.

Closes gh-35638
2 years ago
Andy Wilkinson 6a74f63143 Merge branch '3.0.x'
Closes gh-35634
2 years ago
Andy Wilkinson a9f89a1e3c Merge branch '2.7.x' into 3.0.x
Closes gh-35633
2 years 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
kitbolourchi 1ac6e9ebe1 Upgrade Kafka image used in integration tests
See gh-35625
2 years ago
Stephane Nicoll dcb97594c3 Merge branch '3.0.x'
Closes gh-35618
2 years ago
Stephane Nicoll 44c2090092 Polish "Fix description of build-image[-no-fork] Maven plugin goals"
See gh-35609
2 years ago
Thomas Kåsene e84025b1b8 Fix description of build-image[-no-fork] Maven plugin goals
See gh-35609
2 years ago
Scott Frederick 703883d302 Merge branch '3.0.x'
Closes gh-35610
2 years ago
Scott Frederick 72fd94f2b5 Align bean name with Spring Data Elasticsearch requirements
Fixes gh-33651
2 years ago
Moritz Halbritter 157b71b333 Add missing defaults for docker compose properties
Closes gh-35598
2 years ago
Moritz Halbritter b82e7a72b1 Move @Testcontainers before @SpringBootTest in documentation
Closes gh-35572
2 years ago
Moritz Halbritter d841490f5f Enable ZipkinProperties in ZipkinAutoConfiguration
Closes gh-35592
2 years ago
Moritz Halbritter ad108952c8 Fix JavaDoc in ServiceConnection
Closes gh-35594
2 years ago
Stephane Nicoll 9643dbeed2 Merge branch '3.0.x'
Closes gh-35590
2 years ago
Christoph Dreis b2b5728995 Remove unnecessary exclude from spring-restdocs-mockmvc
See gh-35568
2 years ago
Stephane Nicoll 7a9bb55fdf Merge branch '3.0.x'
Closes gh-35589
2 years ago
Johnny Lim 1b5fc89b43 Polish
See gh-35576
2 years ago
Eddú Meléndez a3caf8102e Polish
See gh-35577
2 years ago
Scott Frederick 0ca3ab7249 Polish Javadoc
See gh-35545
2 years ago
Phillip Webb 1ec78e5437 Add devtools and docker-compose to test maven repository
See gh-35548
2 years ago
Phillip Webb c2961a1e4a Exclude docker-compose and devtools during AOT processing
Update `ProcessAotMojo` so that `spring-boot-docker-compose` and
`spring-boot-devtools` are not included on the classpath.

Fixes gh-35548
2 years ago
Andy Wilkinson 713d74d794 Merge branch '3.0.x'
See gh-35554
2 years ago
Andy Wilkinson 54e769be3a Polish
See gh-35553
2 years ago
Andy Wilkinson dd74f8caba Merge branch '3.0.x'
Closes gh-35554
2 years ago
Andy Wilkinson af9cd8cf0b Merge branch '2.7.x' into 3.0.x
Closes gh-35553
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 b6e56c85a0 Upgrade to Json-smart 2.4.11
Closes gh-35551
2 years ago
Andy Wilkinson e6160fca8e Upgrade to Jersey 3.1.2
Closes gh-35550
2 years ago
Andy Wilkinson cc2bb7cade Upgrade to Json-smart 2.4.11
Closes gh-35549
2 years ago
Andy Wilkinson 75ffbc921d Account for new loggers property in FlywayPropertiesTets
See gh-35158
2 years ago
Phillip Webb e3aac5913e Polish property order
Keep "flyway teams" properties at the end.
2 years ago
Phillip Webb cf95ae92ea Allow flyway loggers to be configured and provide SLF4J default
Add `spring.flyway.loggers` property which can be used to configure
Flyway loggers and has a default value of "slf4j".

Closes gh-35158
2 years ago
Phillip Webb d7b4353e99 Polish "Add property defaults for Spring Authorization Server"
See gh-35460
2 years ago
Steve Riesenberg 42c3cba18e Add property defaults for Spring Authorization Server
See gh-35460
2 years ago
Phillip Webb 3b1f4e6296 Upgrade to Spring Batch 5.0.2
Closes gh-35309
2 years ago
Phillip Webb f88cc5eb94 Upgrade to Spring Batch 5.0.2
Closes gh-35300
2 years ago
Phillip Webb 0743da4987 Merge branch '3.0.x'
Closes gh-35546
2 years ago