Stephane Nicoll
656c4b9390
Polish
2022-11-11 18:29:35 +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
Phillip Webb
91ed54821c
Merge pull request #33098 from iamgd67
...
* pr/33098:
Fix kafka streams start description typo in documentation
Closes gh-33098
2022-11-10 11:11:59 -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
12c77dba1c
Support isolated actuator ObjectMapper
...
Closes gh-20291
2022-11-09 22:19:32 -08:00
Phillip Webb
82254e3b4d
Update smoketests to test isolated actuator object mapper use
...
See gh-32297
See gh-20291
2022-11-09 22:17:16 -08: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
Andy Wilkinson
6423535f67
Delete temp directory after MavenBuild has exected
...
Closes gh-33083
2022-11-09 10:35:56 +00:00
Phillip Webb
32b9945632
Polish
2022-11-08 23:15:30 -08:00
Phillip Webb
0e6d3697e4
Merge pull request #33080 from ueberfuhr
...
* pr/33080:
Polish 'Add reflection hints for PropertyNamingStrategies'
Add reflection hints for PropertyNamingStrategies
Closes gh-33080
2022-11-08 23:09:38 -08:00
Phillip Webb
0d5c13cb28
Polish 'Add reflection hints for PropertyNamingStrategies'
...
See gh-33080
2022-11-08 23:09:27 -08:00
Ralf Ueberfuhr
e9bca3e6de
Add reflection hints for PropertyNamingStrategies
...
See gh-33080
2022-11-08 23:03:54 -08:00
Andy Wilkinson
50bb317215
Upgrade to Reactor Bom 2022.0.0
...
Closes gh-32939
2022-11-08 20:32:25 +00:00
Andy Wilkinson
546853bba5
Upgrade to Spring Integration 6.0.0-RC2
...
Closes gh-33009
2022-11-08 20:31:45 +00:00
Andy Wilkinson
c1cf939199
Merge branch '2.7.x'
...
Closes gh-33076
2022-11-08 17:38:57 +00:00