Phillip Webb
e3df6c5b6f
Move @ConstructorBinding annotation and support add default support
...
Relocate `@ConstructorBinding` from the `boot.context.properties`
package to `boot.context.properties.bind` and update the
`DefaultBindConstructorProvider` to support it.
Closes gh-32660
2 years ago
Brian Clozel
5cee828546
Fix javadoc warnings in HTTP Observation support
2 years ago
Brian Clozel
cbca457eff
Adapt to HTTP Observation changes in Framework
...
This commit adapts to the renames/package changes in the HTTP
Observation support in Spring Framework.
See spring-projects/spring-framework#29334
2 years ago
Andy Wilkinson
7852c45a77
Generate reflection hints for loggers endpoint's responses
...
Some of the types that are returned are hidden behind a
Map<String, Object> so the operation annotations already been marked
as reflective isn't sufficient.
This commit uses `@RegisterReflectionForBinding` to register the
types that are used as (nested) values in the response maps.
Closes gh-32486
2 years ago
Stephane Nicoll
cbf24bd1cd
Upgrade to Elasticsearch Client 8.4.3
...
Closes gh-32671
2 years ago
Johnny Lim
73fd760137
Polish HTTP client observability changes
...
See gh-32484
See gh-32518
Closes gh-32636
2 years ago
Brian Clozel
d25fc73dae
Upgrade to Neo4J Java Driver 5.0.0
...
Closes gh-32620
2 years ago
Andy Wilkinson
7c4e46e538
Allow thread dump endpoint to call ThreadMXBean in a native image
...
Closes gh-31680
2 years ago
Phillip Webb
e0b67889a8
Use Stream.toList instead of Stream.collect when possible
...
Update code to make use of `Stream.toList()` whenever possible.
Closes gh-28177
2 years ago
Andy Wilkinson
51df7813a5
Remove code deprecated in 2.x and add since and forRemoval attributes
...
Closes gh-32548
Closes gh-32549
2 years ago
Brian Clozel
5b092f5d80
Polish
...
See gh-32518
2 years ago
Brian Clozel
ceb1e5d223
Polish
...
See gh-32518
2 years ago
Brian Clozel
8b4a20d6cd
Use Observation infrastructure for instrumenting WebClient
...
As of spring-projects/spring-framework#28341 , `WebClient` is
instrumented directly for `Observation`.
This commit removes the custom `ExchangeFilterFunction` that previously
instrumented the client for metrics.
As a result, the relevant tag providers are now deprecated and adapted
as `ObservationConvention` for the time being.
Closes gh-32518
2 years ago
Brian Clozel
eac50a8f0c
Auto-configure Observation support for RestTemplate
...
Prior to this commit, Spring Boot would auto-configure a customizer that
instruments `RestTemplate` through a `RestTemplateBuilder`. This would
install a request interceptor that instrumented client exchanges for
producing metrics.
As of spring-projects/spring-framework#28341 , the instrumentation is
done at the `RestTemplate` level directly using the `Observation` API.
The `Tag` (now `KeyValue`) extraction, observation name and
instrumentation behavior now lives in the Spring Framework project.
This commit updates the auto-configuration to switch from Boot-specific
Metrics instrumentation to a generic Observation instrumentation.
As a migration path, some configuration properties are deprecated in
favor of the new `management.observations.*` namespace.
Closes gh-32484
2 years ago
Stephane Nicoll
bac1bfcd1c
Merge branch '2.7.x'
...
Closes gh-32514
2 years ago
Stephane Nicoll
eb4b0a3f3c
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32513
2 years ago
Stephane Nicoll
8f598f876b
Polish "Use non-blocking API in CouchbaseReactiveHealthIndicator"
...
See gh-32505
2 years ago
Mico Piira
f51c4c3df0
Use non-blocking API in CouchbaseReactiveHealthIndicator
...
See gh-32505
2 years ago
Andy Wilkinson
5cb68eab1e
Remove HotSpot specifics from HeapDumper strategy interface
...
Closes gh-27533
2 years ago
Madhura Bhave
b44a7e242c
Support Mongo's Stable API in MongoHealthIndicator
...
Closes gh-30849
2 years ago
Stephane Nicoll
26cec61f32
Adapt to API change in Spring Framework
...
See https://github.com/spring-projects/spring-framework/issues/29135
2 years ago
Andy Wilkinson
aafceb3868
Merge branch '2.7.x'
...
Closes gh-32285
2 years ago
Andy Wilkinson
f17df7bf30
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32284
2 years ago
Andy Wilkinson
23c2f73b3f
Update tests to allow them to run on Java 19
...
Closes gh-32280
2 years ago
Phillip Webb
46be4a3f30
Merge branch '2.7.x'
2 years ago
Johnny Lim
2273191c03
Polish
...
See gh-32215
2 years ago
Andy Wilkinson
25e6c533d9
Polish "Add path to DiskSpaceHealthIndicator's details and log message"
...
See gh-31998
2 years ago
rreich
36f9230f01
Add path to DiskSpaceHealthIndicator's details and log message
...
See gh-31998
2 years ago
Andy Wilkinson
795ea289db
Adapt to BindingReflectionHintsRegistrar moving package
2 years ago
Andy Wilkinson
cf8e84d406
Adapt to BindingReflectionHintsRegistrar moving into spring-core
2 years ago
Phillip Webb
44f1949c5e
Polish hint API calls
2 years ago
Madhura Bhave
47effdcade
Support role-based sanitization for actuator endpoints
...
Closes gh-32156
2 years ago
Stephane Nicoll
24a52aa66d
Annotate actuator internal infrastructure with @Reflective
...
This commit simplifies the registration of hints for the infrastructure
of the Actuator that is invoked via reflection.
2 years ago
Stephane Nicoll
6d2d67b0bc
Merge branch '2.7.x'
...
Closes gh-32050
2 years ago
Vedran Pavic
0e6cf07ec9
Polish LogFileWebEndpoint
...
See gh-32049
2 years ago
Andy Wilkinson
ba93e6c0ed
Restore support for Jersey
...
Closes gh-28637
2 years ago
Madhura Bhave
0991bd3983
Harmonize data configuration
...
Any classes that rely on Spring Data being on the classpath
have been moved under a data package.
Certain configuration properties have also been updated to
accurately reflect whether Spring Data is required for the
auto-configuration to work.
Closes gh-11574
2 years ago
Johnny Lim
6a4681baf5
Polish
...
See gh-31948
2 years ago
Brian Clozel
38f1bc9793
Reinstate Spring for GraphQL auto-configuration
...
This commit adds the Spring for GraphQL auto-configuration back
into Spring Boot 3.0, now that a 1.1.0 release is scheduled with the
required baseline. This release also needs GraphQL Java 19.0 as a
baseline.
Closes gh-31809
2 years ago
Phillip Webb
22144987e9
Update copyright year of changed files
2 years ago
Phillip Webb
e08c16dfd6
Polish
2 years ago
Phillip Webb
b68e43f5fd
Merge branch '2.7.x'
2 years ago
Phillip Webb
2382e8322b
Merge branch '2.6.x' into 2.7.x
2 years ago
Phillip Webb
2709f77ab9
Collect to named contributors to `LinkedHashMap`
...
Update `NamedContributorsMapAdapter` to collect items to a
`LinkedHashMap` rather than a `HashMap`.
See gh-31676
2 years ago
Stephane Nicoll
c413f9adbe
Merge branch '2.7.x'
...
Closes gh-31884
2 years ago
Stephane Nicoll
53a652ec65
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31883
2 years ago
Stephane Nicoll
9cb614c626
Migrate Hazelcast 3 sanity tests to Hazelcast 4
...
Closes gh-31881
2 years ago
Adrian Bob
aad9c8906a
Disable auto-detection in tests that start Hazelcast
...
This commit updates test configurations to disable auto-detection of
Hazelcast instances.
See gh-31863
2 years ago
Stephane Nicoll
782e3f75b6
Polish Hazelcast configuration
...
This commit updates the XSD to 4.2 and removes the "tcp-ip" network
option as it is disabled by default.
See gh-31863
2 years ago
Phillip Webb
94ca5b5b53
Merge branch '2.7.x'
...
Closes gh-31880
2 years ago
Phillip Webb
bfc703a40d
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31879
2 years ago
Phillip Webb
59c9a9cd8a
Polish "Call the value adapter during NamedContributorsMapAdapter construction"
...
See gh-31676
2 years ago
Guirong Hu
c530f12cc3
Call the value adapter during NamedContributorsMapAdapter construction
...
Update `NamedContributorsMapAdapter` so that the adapter function is
called only once per entry. Prior to this commit, the adapter was called
dynamically which made `CompositeHealthContributor` behave differently
from a regular `HealthContributor`.
See gh-31676
2 years ago
Phillip Webb
7377d85096
Merge branch '2.7.x'
...
Closes gh-31866
2 years ago
Phillip Webb
a4ef6a7c5c
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31865
2 years ago
Phillip Webb
f8412847dc
Update copyright year for "Fix typos in code and documentation"
...
See gh-31734
2 years ago
Marc Wrobel
dbfc6bded4
Fix typos in code and documentation
...
See gh-31734
2 years ago
Vedran Pavic
f1bf80f5e1
Upgrade to Flyway 9.0.1
...
See gh-31723
2 years ago
Andy Wilkinson
1acc7857e6
Merge branch '2.7.x'
...
Closes gh-31807
2 years ago
Andy Wilkinson
84efc89d76
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31806
2 years ago
Andy Wilkinson
bcbe072d96
Fix 500 from mappings endpoint with attributed WebFlux router function
...
Closes gh-31784
2 years ago
Andy Wilkinson
f29eed89ca
Reinstate merge of pull request #31713 from dreis2211
...
This reverts commit 8deef6cb42
.
2 years ago
Andy Wilkinson
8deef6cb42
Revert "Merge pull request #31713 from dreis2211"
...
This reverts commit 590bfd8a5c
, reversing
changes made to 993e1bf5f2
.
2 years ago
Andy Wilkinson
5c057a2730
Auto-configure the new Elasticsearch clients
...
This commit introduces auto-configuration for the new Elasticsearch
clients that are based upon their new Java client. The new Java
client builds on top of their existing low-level REST client,
replacing the high-level REST client which has been deprecated.
As part of introducing support for the new Elasticsearch client,
the auto-configuration for the templates (both imperative and
reactive) provided by Spring Data has also been updated to use the
new templates that build upon the new Java client.
As part of these changes, support for the high-level REST client and
the old Spring Data Elasticsearch templates has been removed. One
significant change is that the new reactive template is no longer
based on WebClient. As a result, the WebClient-specific configuration
property has been removed.
Closes gh-30647
Closes gh-28597
Closes gh-31755
2 years ago
Moritz Halbritter
0291388f2a
Polish
2 years ago
Moritz Halbritter
13c920b2a9
Add AOT support for ReactiveHealthEndpointWebExtension
...
See gh-31530
2 years ago
Stephane Nicoll
51cba6ec72
Polish "Add AOT support for actuator"
...
See gh-31671
2 years ago
Moritz Halbritter
584b7d1343
Add AOT support for actuator
...
Mainly adds reflection hints for the actuator infrastructure.
Also adds the OperationReflectiveProcessor, which registers the
@ReadMethod, @DeleteMethod and @WriteMethod annotated methods for
reflection and adds reflection hints for method return types.
See gh-31671
2 years ago
dreis2211
5adccb7857
Fix deprecations in javadocs
...
See gh-31713
2 years ago
Andy Wilkinson
3405a54f9e
Exclude Jetty toolchain dependencies in favor of official API artifacts
...
Closes gh-31720
2 years ago
Madhura Bhave
7c56a45d3e
Drop support for String path matching for MVC endpoints
...
Closes gh-31700
2 years ago
Stephane Nicoll
8e3aaf1cf4
Merge branch '2.7.x'
...
Closes gh-31707
2 years ago
Stephane Nicoll
3e4a5703c6
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31706
2 years ago
Stephane Nicoll
628a7b0c5c
Update copyright year of changed files
...
See gh-31516
2 years ago
“Jakub
ed7b333138
Add missing descriptions for HTTP Server and Data repositories metrics
...
See gh-31516
2 years ago
Stephane Nicoll
9cace34a19
Merge branch '2.7.x'
...
Closes gh-31705
2 years ago
Stephane Nicoll
b8647551cb
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31704
2 years ago
Johnny Lim
b17cb9b92b
Polish gh-31231
...
See gh-31540
2 years ago
Madhura Bhave
d66e108703
Revert actuator changes related to path pattern parsing
...
See gh-31547
2 years ago
Madhura Bhave
7954f5e566
Adapt to change in default strategy for URL path matching in Spring MVC
...
Closes gh-31547
2 years ago
Andy Wilkinson
efc5391496
Adapt to deprecations in Framework's scheduling APIs
...
See gh-31241
2 years ago
Moritz Halbritter
d58f33f1ce
Polish AbstractExposableEndpoint
2 years ago
Moritz Halbritter
96c0e4783b
Polish ShutdownEndpoint
2 years ago
Moritz Halbritter
8639552405
Start building against Micrometer Tracing 1.0.0-M6 snapshots
...
See gh-31657
2 years ago
Andy Wilkinson
7f00378eaf
Polish "Start building against Spring Data 2022.0.0-M5 snapshots"
...
See gh-31582
2 years ago
Andy Wilkinson
e9136e023b
Adapt to trailing slashes no longer being matched by default
...
See gh-31563
2 years ago
Andy Wilkinson
97d96eebdf
Adapt ControllerEndpointHandlerMapping to PathPatternParser default
...
See gh-31547
2 years ago
dreis2211
458f989cf3
Use switch expressions where appropriate
...
See gh-31527
2 years ago
Andy Wilkinson
631b1e0d76
Merge branch '2.7.x'
...
Closes gh-31526
2 years ago
Andy Wilkinson
1e08f545d0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31525
2 years ago
Andy Wilkinson
f49b16c645
Upgrade to Spring Java Format 0.0.34
...
Closes gh-31524
2 years ago
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
2 years ago
Phillip Webb
85dcbf6100
Merge branch '2.7.x'
...
Closes gh-31385
2 years ago
Phillip Webb
e0947459b6
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31384
2 years ago
Phillip Webb
9f8a262e6b
Log a warning when a health indicator takes too long to run
...
Update `HealthEndpointSupport` so that it logs a warning if a health
indicator takes too long to respond.
Fixes gh-31231
2 years ago
Stephane Nicoll
b0f5fb51fc
Adapt to deprecation of NestedServletException
2 years ago
Andy Wilkinson
bf56665718
Polish "Add PUT shutdown operation for Prometheus Push Gateway"
...
See gh-31104
3 years ago
Mattia Cansirro Cortorillo
0f99c43198
Add PUT shutdown operation for Prometheus Push Gateway
...
See gh-31104
3 years ago
Andy Wilkinson
4bb5ba2bd0
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
935d1264e0
Merge branch '2.6.x' into 2.7.x
3 years ago
Andy Wilkinson
3d203d0215
Polish
3 years ago
Andy Wilkinson
5dfa5adb75
Merge branch '2.7.x'
...
Closes gh-31178
3 years ago
Andy Wilkinson
455ee0ce22
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31177
3 years ago
Andy Wilkinson
ee45fd2fc8
Remove redundant throws declarations from internal APIs
...
Closes gh-31176
3 years ago
Andy Wilkinson
b3a4982f31
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31174
3 years ago
Andy Wilkinson
cbf42dea14
Update deprecation messages to change removal version from 2.8 to 3.0
...
Closes gh-30903
3 years ago
Andy Wilkinson
96c2d08fc4
Remove support for Solr as it is not compatible with Jetty 11
...
Closes gh-31054
3 years ago
Phillip Webb
ea41e89c6c
Merge branch '2.5.x' into 2.6.x
3 years ago
Phillip Webb
7d2f1bafc0
Update copyright year of changed files
3 years ago
Scott Frederick
8a1c8b5c2c
Fix deprecation warning
...
See gh-30978
3 years ago
Scott Frederick
8e38e28e94
Merge branch '2.7.x'
3 years ago
Scott Frederick
03deb1d067
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31089
3 years ago
Scott Frederick
f395cfa255
Merge branch '2.5.x' into 2.6.x
...
Closes gh-31088
3 years ago
Scott Frederick
50e27333d2
Tolerate failures when recording WebClient metrics
...
Fixes gh-30978
3 years ago
Andy Wilkinson
3892b56a32
Adapt to breaking changes in Couchbase Driver 3.3
...
See gh-31031
3 years ago
Andy Wilkinson
c2a3652709
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
7e88daf288
Update messages for APIs deprecated in 2.7
...
In all likelihood there will not be a 2.9 release so this commit
updates the message for deprecations made in 2.7 to indicate that
removal will not occur until 3.0.
See gh-30903
3 years ago
Andy Wilkinson
69a88b1938
fixup! Upgrade to Couchbase Client 3.3.0
3 years ago
Andy Wilkinson
3db1715694
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
833e3aec27
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30887
3 years ago
Andy Wilkinson
d10addffe3
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30886
3 years ago
christophejan
a1f3d68ead
Improve debug logging of requests to actuator endpoints on WebFlux
...
See gh-30880
3 years ago
Andy Wilkinson
4a030343d3
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
c61cd7761e
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30883
3 years ago
Andy Wilkinson
5258cd2814
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30882
3 years ago
Andy Wilkinson
0e7c3547dd
Prohibit usage of Micrometer nullability annotations
...
Closes gh-30881
3 years ago
Andy Wilkinson
541ab69aff
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
4cd850cfc0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30851
3 years ago
Andy Wilkinson
fa327a783d
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30850
3 years ago
Andy Wilkinson
4fd2e0c916
Polish "Fix typos"
...
See gh-30773
3 years ago
Andy Wilkinson
f6d24dc1a8
Fix typos
...
See gh-30773
3 years ago
Phillip Webb
c7374fd415
Update copyright year of changed files
3 years ago
Phillip Webb
7a6ca8ce25
Merge branch '2.7.x'
3 years ago
Phillip Webb
dd5696b59b
Update copyright year of changed files
3 years ago
Stephane Nicoll
2d663f2e94
Upgrade to Spring Data 2021.2.0-RC1
...
Closes gh-30610
3 years ago
Andy Wilkinson
fe46392144
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
27a936e466
Fix Elastic health indicator without RestHighLevelClient
...
Closes gh-28496
3 years ago
Andy Wilkinson
258ae5e153
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
562627fb42
Deprecate auto-configuration for RestHighLevelClient
...
Closes gh-28598
3 years ago
Brian Clozel
77b7f2f1ce
Switch to Spring Framework SNAPSHOTs
...
See gh-30624
3 years ago
Andy Wilkinson
44211564a4
Adapt to latest changes in Micrometer 2.0 snapshots
...
See gh-29666
3 years ago
Andy Wilkinson
6580f6c742
Align with latest changes in Micrometer 1.9 snapshots
...
See gh-30605
3 years ago
Andy Wilkinson
8d18e5fc0e
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
b8b903527a
Update tag keys to comply with Micrometer recommendations
...
Closes gh-30536
3 years ago
Moritz Halbritter
5ab9112bbc
Add auto-configuration for Micrometer 2.0.0 Observation API
...
- Adds a ObservationRegistry bean
- Add support for ObservationRegistryCustomizers
- Enables timer creation for observations if micrometer-core is on
the classpath
- Registers ObservationPredicate, GlobalTagsProvider and
ObservationHandler on the MeterRegistry
- Applies grouping to the ObservationHandlers: MeterObservationHandler
are added to a FirstMatchingCompositeObservationHandler
- If micrometer-tracing is on the classpath, the
TracingObservationHandler are added to a
FirstMatchingCompositeObservationHandler
Closes gh-29666
3 years ago
Moritz Halbritter
e431842668
Merge branch '2.7.x'
3 years ago
Moritz Halbritter
45f393b76b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30437
3 years ago
Moritz Halbritter
c003d5b533
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30436
3 years ago
Moritz Halbritter
0ff8119a1b
Sort entries in additional-spring-configuration metadata alphabetically
...
Closes gh-30434
3 years ago
Andy Wilkinson
64888b0deb
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30433
3 years ago