19191 Commits

Author SHA1 Message Date
Stephane Nicoll
32b8150fac Start building against Spring Integration 6.0.0 snapshots
See gh-33146
2022-11-14 13:48:02 +01:00
Stephane Nicoll
455cccd11a Start building against Spring GraphQL 1.1.0 snapshots
See gh-33145
2022-11-14 13:48:02 +01:00
Stephane Nicoll
45f7c848b5 Start building against Spring Security 6.0.0 snapshots
See gh-33144
2022-11-14 13:48:02 +01:00
Stephane Nicoll
2cf0eafc25 Start building against Spring REST Docs 3.0.0 snapshots
See gh-33143
2022-11-14 13:48:01 +01:00
Stephane Nicoll
636568d3cc Start building against Spring Kafka 3.0.0 snapshots
See gh-33142
2022-11-14 13:48:00 +01:00
Stephane Nicoll
871abe729d Start building against Spring AMQP 3.0.0 snapshots
See gh-33141
2022-11-14 13:47:59 +01:00
Stephane Nicoll
261d7bae17 Start building against Spring Data 2022.0.0 snapshots
See gh-33140
2022-11-14 13:47:58 +01:00
Stephane Nicoll
e62b2d9df4 Start building against Spring WS 4.0.0 snapshots
See gh-33139
2022-11-14 13:47:57 +01:00
Stephane Nicoll
2d630f667c Start building against Spring LDAP 3.0.0 snapshots
See gh-33138
2022-11-14 13:47:56 +01:00
Stephane Nicoll
13b6e3fce1 Start building against Spring HATEOAS 2.0.0 snapshots
See gh-33137
2022-11-14 13:47:55 +01:00
Stephane Nicoll
3a6dd7e1a1 Start building against Spring Retry 2.0.0 snapshots
See gh-33149
2022-11-14 13:47:54 +01:00
Sébastien Deleuze
88cf2bbae9 Remove outdated native image documentation
See gh-33109
2022-11-11 18:30:11 +01:00
Andy Wilkinson
fe72f307f4 Avoid actuator beans being ineligible for post-processing
Closes gh-33110
2022-11-11 16:39:57 +00:00
Andy Wilkinson
b5e502d03b Make class package-private as it's returned from package-private method
Returning a private class from a package-private method causes the
AOT-generated source files to fail to compile as the private class is
not visible.

Closes gh-33106
2022-11-11 15:47:09 +00:00
Madhura Bhave
8cb615e9b6 Remove workarounds for SecurityContextRepository 2022-11-10 14:23:17 -08:00
Madhura Bhave
f4cf722c27 Align default security filter dispatcher types with Spring Security
Fixes gh-33090
2022-11-10 13:53:47 -08:00
Andy Wilkinson
d34ccb3880 Avoid duplicate test database replacement in native tests
Closes gh-33100
2022-11-10 19:25:36 +00:00
Phillip Webb
954ed3e15e Merge branch '2.7.x'
Closes gh-33102
2022-11-10 11:12:34 -08:00
Phillip Webb
9193e527cc Merge branch '2.6.x' into 2.7.x
Closes gh-33101
2022-11-10 11:12:25 -08:00
67
e55e23482a Fix kafka streams start description typo in documentation
See gh-33098
2022-11-10 11:11:13 -08:00
Andy Wilkinson
a2f65cd887 Consider user classes when finding bind constructor
Update `@Autowired` detection logic to consider all constructors and to
search user classes.

Fixes gh-33061

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2022-11-10 11:05:34 -08:00
Andy Wilkinson
d6ecdd5741 Remove old Jakarta EE 8 entries from spring-boot-dependencies
Closes gh-33094
2022-11-10 12:25:48 +00:00
Andy Wilkinson
5f6b63e277 Auto-configure span customizer beans
Closes gh-33087
2022-11-10 12:15:22 +00:00
Phillip Webb
e5a0b164ac Configure MeterBinders after beans have been created
Update `MeterRegistryPostProcessor` to configure `MeterRegistry` beans
in two distinct sweeps. The first sweep applies customizers and filters
as the `MeterRegistry` bean is initialized, the second sweep applies
`MeterBinder` beans once all singletons have been instantiated.

Prior to this commit, it was not possible for a `MeterBinder` bean to
directly or indirectly use a `MeterRegistry`. It was also possible for
bound meters to cause a deadlock during refresh processing if those
meters could be updated on a thread other than main, such as GC
notifications.

Fixes gh-30636
Fixes gh-33070
2022-11-10 11:39:12 +00:00
Andy Wilkinson
e60084112e Avoid NPE when TraceContext has deferred sampling
Closes gh-33093
2022-11-10 11:22:42 +00:00
Andy Wilkinson
6e4bece912 Make auto-configured OtelTracer back off when user defines a Tracer
Closes gh-33097
2022-11-10 11:20:39 +00:00
Andy Wilkinson
d91e16a6c5 Make auto-configured BraveTracer back off when user defines a Tracer
Closes gh-33095
2022-11-10 11:20:38 +00:00
Phillip Webb
3d2071d044 Migrate endpoints to return OperationResponseBody types
Update types returned from endpoints to implement the
`OperationResponseBody` interface. This ensures that they will be
serialized using the isolated actuator `ObjectMapper`.

See gh-20291
2022-11-09 22:17:16 -08:00
Phillip Webb
1f8493fb29 Support isolated actuator ObjectMapper
Add `OperationResponseBody` tagging interface that can be used
to trigger the use of an isolated ObjectMapper specifically for
actuator responses.

The isolated mapper is provided by an `EndpointObjectMapper`
bean which is auto-configured unless specifically disabled
by the user.

WebMVC, WebFlux and Jersey integrations have been updated
to provide a link between the `OperationResponseBody` type
and the endpoint `ObjectMapper`.

See gh-20291
2022-11-09 22:17:13 -08:00
Phillip Webb
72cbb8a5d8 Polish 2022-11-09 21:56:49 -08:00
Phillip Webb
79ff11cb2b Rename and relocate ExemplarsAutoConfiguration
Rename `ExemplarsAutoConfiguration` and relocate it to a diffent
package to make it clear that it is for Prometheus.
2022-11-09 18:03:09 -08:00
Scott Frederick
a53141f8a4 Fix JMX exposure default in config metadata and docs
Fixes gh-33072
2022-11-09 14:56:44 -06:00
Andy Wilkinson
21f0fdffa1 Upgrade to Spring Session 3.0.0-RC2
Closes gh-33034
2022-11-09 20:20:12 +00:00
Phillip Webb
883e97b166 Merge branch '2.7.x' 2022-11-09 11:40:56 -08:00
Phillip Webb
ea10a64a0c Merge branch '2.6.x' into 2.7.x 2022-11-09 11:39:53 -08:00
Phillip Webb
f423a26dd5 Polish 2022-11-09 11:39:48 -08:00
Andy Wilkinson
54aaaeec6f Upgrade to Spring Batch 6.0.0-RC2
Closes gh-332935
2022-11-09 19:32:44 +00:00
Andy Wilkinson
e25792ee58 Upgrade to Spring Security 6.0.0-RC2
Closes gh-33063
2022-11-09 19:32:44 +00:00
Andy Wilkinson
ac867c3c40 Polish 2022-11-09 19:32:44 +00:00
Phillip Webb
1adc7c7dd4 Merge branch '2.7.x' 2022-11-09 11:32:24 -08:00
Phillip Webb
0ef03d725f Merge branch '2.6.x' into 2.7.x 2022-11-09 11:31:55 -08:00
Phillip Webb
a431ae04e6 Polish 2022-11-09 11:30:11 -08:00
Andy Wilkinson
7eb0fe4c89 Contribute reflection hints for JsonComponent inner classes
Closes gh-33089
2022-11-09 19:24:15 +00:00
Scott Frederick
b882de7c68 Throw ContextLoadException on test context load failure
When a test context fails to load, a `ContextLoadException` should
be thrown so that Framework can catch it and call any registered
`ApplicationContextFailureProcessor`s.

Closes gh-31793
2022-11-09 13:10:11 -06:00
Andy Wilkinson
70f7258341 Simplify JacksonAutoConfiguration as we now require Jackson 2.14
See gh-33086
2022-11-09 17:31:04 +00:00
Andy Wilkinson
fcbc7dacf1 Add reflection hints for JsonTesters
Closes gh-32858
2022-11-09 15:15:29 +00:00
Stephane Nicoll
41e2423a0c Upgrade to Spring Framework 6.0.0-RC4
Closes gh-33023
2022-11-09 14:12:51 +01:00
Andy Wilkinson
60917bd114 Remove tests for Jackson 2.11
Closes gh-33086
2022-11-09 11:33:55 +00:00
Andy Wilkinson
112bed886c Merge branch '2.7.x'
Closes gh-33085
2022-11-09 10:37:40 +00:00
Andy Wilkinson
b1494d4a39 Merge branch '2.6.x' into 2.7.x
Closes gh-33084
2022-11-09 10:37:06 +00:00