Commit Graph

40407 Commits

Author SHA1 Message Date
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
Andy Wilkinson
1c3a4906fa Merge pull request #32861 from izeye
* gh-32861:
  Polish "Provide dependency management for missing Selenium modules"
  Provide dependency management for missing Selenium modules

Closes gh-32861
2022-11-08 17:35:48 +00:00
Andy Wilkinson
03d1631d4c Polish "Provide dependency management for missing Selenium modules"
See gh-32861
2022-11-08 17:35:36 +00:00
Andy Wilkinson
d38adacd41 Merge branch '2.7.x' 2022-11-08 17:31:44 +00:00
Andy Wilkinson
b0784733bf Merge branch '2.6.x' into 2.7.x 2022-11-08 17:31:24 +00:00
Andy Wilkinson
843493d915 Merge branch '2.7.x'
Closes gh-33075
2022-11-08 17:30:16 +00:00
Andy Wilkinson
00d22c9fc5 Merge branch '2.6.x' into 2.7.x
Closes gh-33074
2022-11-08 17:28:50 +00:00
Andy Wilkinson
f42e90a2b4 Add missing dependency management for Selenum
Closes gh-32721
2022-11-08 17:27:48 +00:00
Andy Wilkinson
eed86c0d0a Test Boot's Gradle plugin against Gradle 7.6-rc-2
Closes gh-33073
2022-11-08 16:46:22 +00:00
Scott Frederick
39ad955969 Update Paketo tests for Platform API 0.10
See gh-32949
2022-11-08 10:32:25 -06:00
Johnny Lim
4161f5bdf1 Provide dependency management for missing Selenium modules
See gh-32861
2022-11-08 15:11:21 +00:00