Phillip Webb
4bcec6e0ee
Polish
2 years ago
Olga Maciaszek-Sharma
57dc274284
Switch to Spring Framework SNAPSHOTs
...
Switch to Spring Framework SNAPSHOTs and adapt to updated APIs.
See gh-31834
2 years ago
Andy Wilkinson
de672f4330
Merge branch '2.7.x'
...
Closes gh-31819
2 years ago
Andy Wilkinson
2e98cafcca
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31818
2 years ago
Andy Wilkinson
ab2b04fafd
Find health contributors in ancestor contexts in non-reactive apps
...
Previously, health contributors in a non-reative app were found by
retrieving them from the application context rather than via
dependency injection. This results in only contributors from the
current context being found, with contributors in ancestor contexts
ignored.
This commit moves to injection of the contributors, aligning the
behaviour with that of a reactive application.
Closes gh-27308
2 years ago
Vedran Pavic
f1bf80f5e1
Upgrade to Flyway 9.0.1
...
See gh-31723
2 years ago
Andy Wilkinson
18d3d4de5d
Merge branch '2.7.x'
...
Closes gh-31805
2 years ago
Andy Wilkinson
10e19d504a
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31804
2 years ago
Andy Wilkinson
628c2cd0b1
Ensure JMX endpoints are uniquely named in a context hierarchy
...
Closes gh-31718
2 years ago
Moritz Halbritter
5030cfedcc
Revert "Make MeterRegistry lazy in TimerObservationHandlerObservationRegistryCustomizer"
...
This reverts commit 04391275c1
.
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
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
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
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
08d37b7fb6
Merge branch '2.7.x'
...
Closes gh-31694
2 years ago
Andy Wilkinson
1c2b0ae705
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31693
2 years ago
Andy Wilkinson
7c55639167
Depend on log4j-api directly rather than via Elastic's transitives
...
Closes gh-31692
2 years ago
Andy Wilkinson
99fabfa934
Revert "Remove spring-aspects dependency following fix in Data JPA"
...
This reverts commit cd6c7cd6c9
.
The fix in Spring Data JPA is incomplete so we need to reinstate the
workaround.
2 years ago
Andy Wilkinson
cd6c7cd6c9
Remove spring-aspects dependency following fix in Data JPA
...
The recent changes in Spring Data JPA [1] mean that we no longer need
a dependency on spring-aspects for Data JPA's hint registration to
succeed.
5821272112
2 years ago
Andy Wilkinson
9b113272d1
Reinstate support for Hibernate Metrics
...
Closes gh-31675
2 years ago
Oliver Drotbohm
b10c57551c
Upgrade to Hibernate 6.1.1.Final
...
This commit makes the following potentially breaking changes:
- Dependency management for modules that do not exist in Hibernate
6.1 has been removed.
- Hibernate's modules are now in the org.hibernate.orm group. Users
not using the starter or using modules that are not in the starter
will have to update their build configuration accordingly.
- spring.jpa.hibernate.use-new-id-generator-mappings has been removed
as Hibernate no longer supports switching back to the old ID
generator mappings.
Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com>
Closes gh-31674
2 years ago
Andy Wilkinson
acd8d05315
Update copyright date of changed file
2 years ago
Andy Wilkinson
efc5391496
Adapt to deprecations in Framework's scheduling APIs
...
See gh-31241
2 years ago
Moritz Halbritter
8639552405
Start building against Micrometer Tracing 1.0.0-M6 snapshots
...
See gh-31657
2 years ago
Andy Wilkinson
2821629d54
Remove unchecked raw casts that are now redundant
...
Closes gh-31326
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
19b7e012f3
Upgrade to Prometheus Client 0.16.0
...
Closes gh-31597
2 years ago
Andy Wilkinson
e9136e023b
Adapt to trailing slashes no longer being matched by default
...
See gh-31563
2 years ago
Moritz Halbritter
04391275c1
Make MeterRegistry lazy in TimerObservationHandlerObservationRegistryCustomizer
...
Closes gh-31580
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
Stephane Nicoll
fe39598e81
Adapt to latest API change in Spring Framework
...
See https://github.com/spring-projects/spring-framework/issues/28585
2 years ago
Phillip Webb
b85469a5a5
Merge branch '2.7.x'
...
Closes gh-31502
2 years ago
Phillip Webb
d64f601dfd
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31501
2 years ago
Phillip Webb
aed4c47adb
Polish CompositeHandlerExceptionResolver
...
See gh-31495
2 years ago
Guirong Hu
3592292e4b
Use ExceptionHandler when Spring MVC uses a different management port
...
Update `CompositeHandlerExceptionResolver` to search for beans in
all contexts. Note that `BeanFactoryUtils.beansOfTypeIncludingAncestors`
cannot not be used since we need to pick up all beans, even if they
have the same name.
See gh-31495
2 years ago
Moritz Halbritter
bb6c56e5f0
Polish "Add WebClient based sender for Zipkin"
...
See gh-30792
2 years ago
StefanBratanov
12037bd131
Add WebClient based sender for Zipkin
...
See gh-30792
2 years ago
Moritz Halbritter
bc931cb32c
Revert "Polish EndpointRequest"
...
This reverts commit 35997a30a3
.
2 years ago
Moritz Halbritter
35997a30a3
Polish EndpointRequest
...
- Remove redundant cast
2 years ago
Moritz Halbritter
c8c552d95b
Polish ObservationAutoConfiguration
...
- Use a better name for the "only metrics, no tracing" case
2 years ago
Moritz Halbritter
06cdc91c85
Polish ObservationAutoConfiguration
...
- Use a better name for the "only metrics, no tracing" case
- Use more concrete return types
2 years ago
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
2 years ago
Johnny Lim
43c2f1c03c
Polish AutoConfigureObservability changes
...
See gh-31457
2 years ago
Johnny Lim
aab59c5f2e
Static-import Mockito.mock()
...
See gh-31443
2 years ago
Phillip Webb
657fa3e64e
Merge branch '2.7.x'
...
Closes gh-31409
2 years ago
Phillip Webb
7c91ebb1b0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31408
2 years ago
Phillip Webb
ae6311ddda
Prevent Logback from accidentally being used in Log4J2LoggingSystemTests
...
Update `Log4J2LoggingSystemTests` to exclude Logback and include
'log4j-slf4j-impl'. The `ModifiedClassPathClassLoader` has also been
updated so that it no longer automatically excludes `log4j` artifacts,
instead we now use `@ClassPathExclusions` on the relevant tests.
Fixes gh-19365
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
b536b209ab
Refine assertions on exception messages
2 years ago
Moritz Halbritter
42e8f65b80
Move @ConditionalOnClass from methods to inner classes
...
Closes gh-31353
2 years ago
Stephane Nicoll
063e56dbff
Polish
2 years ago
Andy Wilkinson
d4be484d27
Upgrade to AssertJ 3.23.1
...
Closes gh-31331
2 years ago
Moritz Halbritter
3799170c4d
Disable metrics and tracing in web endpoints integration tests
...
See gh-31308
2 years ago
Moritz Halbritter
8fab9f290c
Back off tracing auto-configurations if tracing is disabled
...
See gh-31308
2 years ago
Moritz Halbritter
b019ff6102
Wavefront sender configuration is no longer an auto-configuration
...
It's now a regular configuration class which is imported from
the Wavefront metrics and tracing auto-configurations
2 years ago
Moritz Halbritter
943e9033c0
Add @ConditionalOnEnabledTracing condition
...
See gh-31308
2 years ago
Moritz Halbritter
41e9867bc4
Register all ObservationHandler, regardless which context they use
...
Closes #31272
2 years ago
Moritz Halbritter
d1647cf68c
Don't back off on user-supplied SpanHandlers
...
Instead the auto-configuration now backs off only on ZipkinSpanHandler.
Closes gh-31273
2 years ago
Andy Wilkinson
91bb5aa222
Move auto-config of ReactiveElasticClient to elasticsearch pkg
...
Closes gh-28068
2 years ago
Phillip Webb
c56783064d
Support management contexts with AOT
...
Refactor child management configuration and add AOT generation support.
A new `ChildManagementContextInitializer` class now performs the child
context initialization and also handles AOT processing concerns.
Closes gh-31163
2 years ago
Andy Wilkinson
46c262d3cc
Merge branch '2.7.x'
...
Closes gh-31283
2 years ago
Andy Wilkinson
12eb7a8795
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31282
2 years ago
Andy Wilkinson
a651061e2c
Remove SpringApplicationHierarchyTests
...
Closes gh-31281
2 years ago
izeye
f720b65dfc
Auto-configure JvmCompilationMetrics
...
See gh-31151
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
Eddú Meléndez
154c84ffe2
Add package-info for o.s.b.a.a.metrics.graphql
...
See gh-31140
3 years ago
Andy Wilkinson
f9db6ad237
Merge branch '2.7.x'
...
Closes gh-31152
3 years ago
Andy Wilkinson
24dc525127
Fix conditions on auto-configured WebMvcMetricsFilter
...
Closes gh-31150
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
f8a41d34aa
Merge branch '2.7.x'
3 years ago
Stephane Nicoll
cbf415b850
Merge branch '2.7.x'
3 years ago
Stephane Nicoll
285378e4f9
Merge branch '2.6.x' into 2.7.x
...
Closes gh-31059
3 years ago
Stephane Nicoll
18129a5938
Merge branch '2.5.x' into 2.6.x
...
Closes gh-31058
3 years ago
Stephane Nicoll
22d187a38c
Polish "Add missing configuration properties for Statsd"
...
See gh-30898
3 years ago
izeye
d90ef6afb3
Add missing configuration properties for Statsd
...
See gh-30898
3 years ago
izeye
3c7465cb35
Polish OtlpPropertiesConfigAdapterTests
...
See gh-31057
3 years ago
Andy Wilkinson
ed705cc78e
Polish
3 years ago
Andy Wilkinson
a496cb9298
Merge branch '2.7.x'
3 years ago
Andy Wilkinson
2669f8c343
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30997
3 years ago
Andy Wilkinson
655ceefead
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30996
3 years ago
Andy Wilkinson
3f6fcac683
Polish "Extend documentation on Datadog metrics"
...
See gh-30879
3 years ago
Denis Washington
09db7e4001
Extend documentation on Datadog metrics
...
- Document that an application key must be set to publish metadata
for the exported metrics.
- Point out that using a non-US Datadog site (e.g., EU) requires
changing the `uri` property.
See gh-30879
3 years ago