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
Phillip Webb
4072588c29
Polish "Fix invalid Zipkin Reporter back-off behavior"
...
See gh-35455
2 years ago
ryosuke-hasebe
903e19854d
Fix invalid Zipkin Reporter back-off behavior
...
Update `ReporterConfiguration` so that `spanReporter` back off
if a `Reporter` bean is defined. Prior to this commit, only
`AsyncReporter` beans would be considered.
See gh-35455
2 years ago
Phillip Webb
9bacf4218c
Set 'spring.docker.compose.readiness.wait' property in devtools
...
Default 'spring.docker.compose.readiness.wait' to `ONLY_IF_STARTED`
when using devtools.
See gh-35435
2 years ago
Andy Wilkinson
6ad71c9b0c
Reduce number of CLI calls to improve startup time with devtools
...
Update `DockerComposeLifecycleManager` so that `docker ps` is
not called multiple times.
See gh-35435
2 years ago
Phillip Webb
b0c76c1f79
Cache docker commands to improve startup time with devtools
...
Update `DockerCli` so that the docker commands are cached. This helps
improve startup time when using devtools with docker compose.
See gh-35435
2 years ago
Phillip Webb
a8602a1814
Allow docker compose service readiness checks to be bypassed
...
Add `spring.docker.compose.readiness.wait` property that can be used to
determine how Spring Boot should wait for docker compose services to
become ready.
Fixes gh-35545
2 years ago
Phillip Webb
6b0b6ccf49
Move docker compose readiness code and make it package-private
...
The `ReadinessCheck` interface has been removed making the dedicated
package less necessary. By relocating the code we can make more of it
pacakge-private.
See gh-35544
2 years ago
Phillip Webb
060581d078
Remove pluggable docker compose ReadinessCheck
...
Remove pluggable `ReadinessCheck` interface and only use the
`TcpConnectServiceReadinessCheck` implementation for now. We
may re-introduce pluggable checks in a future version.
See gh-35544
2 years ago
Andy Wilkinson
3d41e41b94
Polish
...
Make logger a static field.
2 years ago
Johnny Lim
54f85b1181
Fix since version for ImageReference
...
See gh-35459
2 years ago
Andy Wilkinson
1097164a0e
Merge branch '3.0.x'
...
Closes gh-35457
2 years ago
Andy Wilkinson
aabb164892
Merge branch '2.7.x' into 3.0.x
...
Closes gh-35456
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
Stephane Nicoll
7c62a6ad3d
Upgrade to Spring Integration 6.1.0
...
Closes gh-35314
2 years ago
Phillip Webb
ae90add7c7
Polish
2 years ago
Phillip Webb
595fc13b34
Future proof SpringApplication.from(...) by returning a wrapper type
...
Update `SpringApplication.run` to that it returns a wrapper which
provides access to the `ApplicationContext` rather than the
`ApplicationContext` directly.
This should provide a natural place to add more accessors in the future
should we need to.
Closes gh-35451
2 years ago
Ben Gilbert
7674c55cd7
Align spring.flyway.execute-in-transaction property with Flyway default
...
See gh-35447
2 years ago
Andy Wilkinson
f5ff8007be
Adapt to deprecation of rejectIllegalHeader
...
Closes gh-35442
2 years ago
Sébastien Deleuze
becff01db1
Improve Kotlin Testcontainers samples
...
Make those code samples more idiomatic.
See gh-35446
2 years ago
Andy Wilkinson
c631f04391
Upgrade to Spring Integration 5.5.18
...
Closes gh-35294
2 years ago
Andy Wilkinson
541c58336b
Upgrade to Undertow 2.3.6.Final
...
Closes gh-35450
2 years ago
Andy Wilkinson
7ce95225cb
Upgrade to Spring Session 3.1.0
...
Closes gh-35317
2 years ago
Andy Wilkinson
b4b870a531
Upgrade to Spring GraphQL 1.2.0
...
Closes gh-35312
2 years ago
Andy Wilkinson
df35f035b4
Upgrade to Spring Authorization Server 1.1.0
...
Closes gh-35308
2 years ago
Brian Clozel
b26115711f
Remove unnecessary test for GraphQL Connection
...
This commit removes an unnecessary test that checks for the pagination
and Connection support in Spring for GraphQL. After a change in
spring-projects/spring-graphql#707 , we no longer can test this in
isolation, nor does it make sense to test this integration that
deeply.
See gh-35449
2 years ago
Andy Wilkinson
99b2de02b3
Upgrade to Undertow 2.3.6.Final
...
Closes gh-35448
2 years ago
Andy Wilkinson
6c7e151cb2
Upgrade to Spring GraphQL 1.1.4
...
Closes gh-35303
2 years ago
Andy Wilkinson
1dbe09c553
Revert "Upgrade to Testcontainers 1.18.1"
...
This reverts commit a6db093ec4
.
See gh-35430
2 years ago
Andy Wilkinson
37cc6b6a70
Merge branch '3.0.x'
...
Closes gh-35444
2 years ago
Andy Wilkinson
c39a37cd23
Exclude developmentOnly dependences from AOT processing classpaths
...
Fixes gh-35433
2 years ago
Stephane Nicoll
2de6577140
Upgrade to Spring Security 6.1.0
...
Closes gh-35316
2 years ago
Stephane Nicoll
416b9122ac
Upgrade to Netty 4.1.92.Final
...
Closes gh-35443
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
08c3cccc92
Merge branch '3.0.x'
2 years ago
Phillip Webb
4e305cc209
Merge branch '2.7.x' into 3.0.x
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
Phillip Webb
8316a96515
Polish
2 years ago
Phillip Webb
25b0a4a67b
Merge branch '2.5.x' into 2.6.x
...
Fixes gh-35438
2 years ago
Andy Wilkinson
086b1e5f58
Stop WebFilterChainPostProcessor from causing eager init
...
Fixes gh-35437
2 years ago
Phillip Webb
1ca1145875
Test compatibility with SnakeYAML 1.32 and 1.33 versions
...
Closes gh-35434
2 years ago