Andy Wilkinson
33cf8b3bc4
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25765
4 years ago
Andy Wilkinson
bf6f36a783
Apply any root URI to RestTemplate metric's URI tag
...
Previously, a root URI configured via RestTemplateBuilder's rootUri
method and RootUriTemplateHandler was not taken into account when
generated the URI tag for RestTemplate request metrics.
This commit updates MetricsClientHttpRequestInterceptor to be aware
of RootUriTemplateHandler and capture the URI template once the
root URI has been applied.
Fixes gh-25744
4 years ago
Phillip Webb
26ee346510
Polish 'Support OpenMetrics text format with Prometheus'
...
Closes gh-25564
4 years ago
Andy Wilkinson
11b4a19dee
Support OpenMetrics text format with Prometheus
...
Update `PrometheusScrapeEndpoint` so that it can produce both classic
Prometheus text output as well as Openmetrics output.
See gh-25564
4 years ago
Phillip Webb
c81a0223cc
Refine 'Allow operations to produce different output'
...
Refine the new `Producible` support so that it can also be used with
`@ReadOperation`, `@WriteOperation` and `@DeleteOperation` annotations.
This update allows the same enum to be used both as an argument and as
an indicator of the media-types that an operation may produce.
Closes gh-25738
4 years ago
Andy Wilkinson
1ec49cee8b
Allow operations to produce different output
...
Update the actuator @Enpoint` infrastructure code so that operations
may inject enums that indicate the type of output to produce. A new
`Producible` interface can be implemented by any enum that indicates
the mime-type that an enum value produces.
The new `OperationArgumentResolver` provides a general strategy for
resolving operation arguments with `ProducibleOperationArgumentResolver`
providing support for `Producible` enums. Existing injection support has
been refactored to use the new resolver.
See gh-25738
4 years ago
Phillip Webb
663fd8ce5e
Update copyright year of changed files
4 years ago
Stephane Nicoll
2c8e78b082
Merge branch '2.4.x'
...
Closes gh-25574
4 years ago
Stephane Nicoll
6840440220
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25573
4 years ago
Stephane Nicoll
f38e863fbc
Properly subscribe to CloseableConnectionFactory#close
...
Closes gh-25565
4 years ago
Stephane Nicoll
36f8a7b9a6
Upgrade copyright year of changed files
...
See gh-25451
4 years ago
izeye
c823f44e76
Polish
...
See gh-25451
4 years ago
Andy Wilkinson
f09630f73c
Allow additional keys to be configured for value sanitization
...
Closes gh-25384
4 years ago
Andy Wilkinson
10ef991e1d
Sanitize sensitive portion of the value of url and urls keys
...
Closes gh-25387
4 years ago
izeye
9f0f7d59ef
Fix Javadoc since tag for ConfigurationPropertiesReportEndpointWebExtension
...
See gh-25314
4 years ago
Stephane Nicoll
a16a2de3c3
Merge branch '2.4.x'
...
Closes gh-25296
4 years ago
Stephane Nicoll
0bc03c7141
Associate application classloader to auto-configured Hazelcast instance
...
Closes gh-24836
4 years ago
Stephane Nicoll
b92bb9332b
Polish "Filter properties with a particular prefix"
...
See gh-24718
4 years ago
bono007
ad7c69a9cd
Filter properties with a particular prefix
...
This commit improves the configprops endpoint to allow filtering
properties based on a particular prefix
See gh-24718
4 years ago
Stephane Nicoll
948f61b4ca
Polish contribution
...
See gh-25006
4 years ago
dreis2211
634dd979d1
Migrate from deprecated methods in AbstractWebFluxEndpointHandlerMapping
...
See gh-25006
4 years ago
Andy Wilkinson
db781a0d84
Merge branch '2.4.x'
...
See gh-25077
4 years ago
Andy Wilkinson
788a42d694
Merge branch '2.3.x' into 2.4.x
...
See gh-25076
4 years ago
Andy Wilkinson
67479b6380
Add junit-platform-launcher dependency by convention
...
Closes gh-25074
4 years ago
Phillip Webb
61502bde9a
Replace deprecated constructor with mutate builder
...
Update `ControllerEndpointHandlerMapping` to use the new `mutate()`
builder rather than deprecated constructors.
Closes gh-24999
4 years ago
Phillip Webb
c9a2c4e326
Merge branch '2.4.x'
4 years ago
Phillip Webb
d06407ec0a
Update copyright year of changed files
4 years ago
Phillip Webb
ab0a628d81
Merge branch '2.4.x'
4 years ago
Phillip Webb
d95d7a0245
Update code for Spring Framework 5.3.4
...
See gh-24998
4 years ago
Andy Wilkinson
d15ec4cdb4
Upgrade to Liquibase 4.2.2
...
Closes gh-24952
4 years ago
Stephane Nicoll
012a199773
Remove Spring Data Solr support
...
In preparation to the upgrade to Spring Data 2021.0, this commit removes
auto-configuration for Spring Data Solr.
Closes gh-24939
4 years ago
Andy Wilkinson
48002e969f
Merge branch '2.4.x'
...
Closes gh-24882
4 years ago
Andy Wilkinson
3ad2832cb2
Fix pattern extraction when MVC is using a PathPatternParser
...
Fixes gh-24874
4 years ago
Stephane Nicoll
0669f5604d
Merge branch '2.4.x'
...
Closes gh-24873
4 years ago
Stephane Nicoll
59b01324ae
Merge branch '2.3.x' into 2.4.x
...
Closes gh-24872
4 years ago
Stephane Nicoll
1ad5a3fe2e
Update copyright of changed file
...
See gh-24753
4 years ago
izeye
ddfa1e632b
Make MetricsClientHttpRequestInterceptor defensive against metrics recoding failures
...
See gh-24753
4 years ago
Stephane Nicoll
2c2c160579
Remove deprecated code
...
See gh-24806
4 years ago
Phillip Webb
304c49d73f
Merge branch '2.4.x'
...
Closes gh-24795
4 years ago
Phillip Webb
26f143b8d3
Support @Name annotation on /actuator/configprops
...
Update `ConfigurationPropertiesReportEndpoint` so that supports
constructor parameters annotated with `@Name`.
Fixes gh-24713
4 years ago
Stephane Nicoll
632c1239e6
Polish "Add support for GET requests for /actuator/startup"
...
See gh-24717
4 years ago
bono007
4b8d6efc12
Add support for GET requests for /actuator/startup
...
See gh-24717
4 years ago
Phillip Webb
45ca4a5a56
Merge branch '2.4.x'
...
Closes gh-24673
4 years ago
Phillip Webb
ac4243d615
Merge branch '2.3.x' into 2.4.x
...
Closes gh-24672
4 years ago
Phillip Webb
52e47c4275
Fix test for JSR-350 @Nonnull
...
Closes gh-24647
4 years ago
Phillip Webb
2dfb9b0911
Merge branch '2.4.x'
...
Closes gh-24671
4 years ago
Phillip Webb
2b497b6aff
Merge branch '2.3.x' into 2.4.x
...
Closes gh-24670
4 years ago
Phillip Webb
848ed65f5b
Add test for JSR-350 @Nonnull
...
Closes gh-24647
4 years ago
Phillip Webb
bd3dd0a526
Merge branch '2.4.x'
...
Closes gh-24655
4 years ago
Phillip Webb
ab8080353e
Merge branch '2.3.x' into 2.4.x
...
Closes gh-24654
4 years ago
Phillip Webb
2ad9a47d08
Support JSR-305 annotations on endpoint methods
...
Update `OperationMethodParameter` to additionally support JSR-305 based
`@Nullable` annotations.
Closes gh-24647
4 years ago
Stephane Nicoll
5da27ea57a
Polish "Reduce the overhead of char[] creation"
...
See gh-24204
4 years ago
Marten Deinum
5121ca5d17
Reduce the overhead of char[] creation
...
See gh-24204
4 years ago
Phillip Webb
72d36e0c07
Update copyright year of changed files
4 years ago
Stephane Nicoll
105cf591bf
Merge branch '2.3.x'
...
See gh-24418
4 years ago
Stephane Nicoll
ab99de4349
Polish
...
See gh-24418
4 years ago
Stephane Nicoll
0d472d6f74
Start building against Spring Data 2020.0.2 snapshots
...
See gh-24284
4 years ago
Phillip Webb
30c27274e2
Merge branch '2.3.x'
...
Closes gh-24339
4 years ago
Phillip Webb
5f351a6983
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24338
4 years ago
Phillip Webb
d8a05090b3
Fix checkstyle BDD Mockito violations
...
See gh-24337
4 years ago
Phillip Webb
837fc83527
Fix checkstyle header violations
...
See gh-24337
4 years ago
dreis2211
0389a07f7c
Remove deprecated code in EndpointDiscoverer
...
See gh-24317
4 years ago
Scott Frederick
01478a25b4
Handle wrapper types in Env actuator
...
This commit modifies the actuator `EnvironmentEndpoint` to allow
primitive wrapper types to be serialized in the response data
structure.
Fixes gh-24307
4 years ago
Stephane Nicoll
b1678ee6ad
Merge branch '2.3.x'
...
Closes gh-24251
4 years ago
Stephane Nicoll
9b992af34b
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24250
4 years ago
Stephane Nicoll
d506f0c73e
Polish "Reduce redis health indicator info command result size"
...
See gh-24208
4 years ago
xJoeWoo
99cc3f4bfc
Reduce redis health indicator info command result size
...
See gh-24208
4 years ago
Andy Wilkinson
11c81ad245
Merge branch '2.3.x'
...
Closes gh-24223
4 years ago
Andy Wilkinson
7efa1e47aa
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24222
4 years ago
Andy Wilkinson
12f2529be5
Allow actuator endpoint to have responses with custom HTTP statuses
...
Fixes gh-24123
4 years ago
Stephane Nicoll
e708667fc0
Merge branch '2.3.x'
...
Closes gh-24194
4 years ago
Stephane Nicoll
76912d1952
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24193
4 years ago
Stephane Nicoll
d3440880c4
Polish "Avoid unnecessary pattern compilation in WebFluxTags"
...
See gh-24147
4 years ago
Peter Paul Bakker
b22bb7ea04
Avoid unnecessary pattern compilation in WebFluxTags
...
See gh-24147
4 years ago
dreis2211
5ef6e09c64
Fix deprecation warnings in javadoc comments
...
See gh-24120
4 years ago
Phillip Webb
b0c2687aa9
Update copyright year of changed files
4 years ago
Scott Frederick
1a3f810cd8
Prevent serialization exception from Env actuator
...
When `EnvironmentEndpoint` is building a response to return to the
web infrastructure, it creates a data structure containing all
property values from all property sources. Prior to this commit, it
was possible for the response data structure to contain property
values that were not serializable to JSON by Jackson, which would
cause an exception to be thrown by the web infrastructure. This
commit ensures the data structure is serializable to JSON by
ensuring property values are primitives or Strings, and returning
a placeholder value if a property value is of any other type.
Fixes gh-23805
4 years ago
Andy Wilkinson
7df18d9a91
Polish
4 years ago
Andy Wilkinson
2673bc00fd
Adapt to breaking change in Framework's RouterFunctions.Visitor
...
See gh-23774
4 years ago
Stephane Nicoll
34c4c3f235
Expose cache metrics for Redis
...
This commit adds support for Redis cache metrics. Users can opt-in for
statistics using the "spring.cache.redis.enable-statistics" property.
Closes gh-22701
4 years ago
Scott Frederick
b59e0bd3a6
Replace deprecated API in ElasticsearchReactiveHealthIndicator
...
Fixes gh-23537
4 years ago
Stephane Nicoll
35d41e4ae2
Remove code deprecated in Spring Boot 2.2
...
Closes gh-22034
4 years ago
dreis2211
ecee9c0f9b
Avoid unnecessary explicit initialization of Atomics
...
Constructor calls like new AtomicInteger(0) cause a volatile write that
can be saved in cases where the constructor parameter is the default
value.
See gh-23575
4 years ago
Stephane Nicoll
6f08e9709e
Polish "Improve Cassandra health indicator with more robust mechanism"
...
See gh-23041
4 years ago
tomekl007
8e5a041bb4
Improve Cassandra health indicator with more robust mechanism
...
See gh-23041
4 years ago
Madhura Bhave
7c22e71753
Polish "Deprecate EmbeddedDatabaseConnection#HSQL"
...
See gh-23565
4 years ago
Stephane Nicoll
366fec33d0
Adapt to API change in Spring Framework 5.3.0 snapshots
...
See gh-23534
4 years ago
Andy Wilkinson
ad6de10f14
Remove use of deprecated SDR API when describing request mappings
...
Closes gh-22654
4 years ago
Stephane Nicoll
4009acf025
Add support for Hazelcast
...
This commit upgrades to Hazelcast 4.0.3, yet keeping compatibility with
Hazelcast 3.x.
Closes gh-20856
Closes gh-23475
4 years ago
Phillip Webb
363d35a0ac
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23444
4 years ago
Phillip Webb
b443d22c59
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23443
4 years ago
Phillip Webb
cc442c5c0d
Make HandlerFunctionDescription JDK 15 compatible
...
Update `HandlerFunctionDescription` so that it will work with JDK 15.
Closes gh-23442
4 years ago
Phillip Webb
c284edde67
Update copyright year of changed files
4 years ago
Brian Clozel
20eb8d0fc2
Merge branch '2.3.x'
...
Closes gh-23253
4 years ago
Brian Clozel
62cb87bd95
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23252
4 years ago
David Good
775f0fa861
Improve sanitization for list of URI types
...
Prior to this commit, Actuator would sanitize properties values when
serializing them on the dedicated endpoint. Keys like "password" or
"secret" are entirely sanitized, but other keys like "uri" or "address"
are considered as URI types and only the password part of the user info
is sanitized.
This commit fixes the sanitization process where lists of such URI types
would not match the first entries of the list since they're starting
with `'['`. This commit improves the regexp matching process to sanitize
all URIs within a collection.
The documentation is also updated to better underline the processing
difference between complete sanitization and selective sanitization for
URIs.
Fixes gh-23037
4 years ago
Brian Clozel
d2e67ab84d
Align WebClient uri metric tag with RestTemplate
...
Prior to this commit, the `WebClientExchangeTags`, when given a request
without a string template, would only get the request path to create the
"uri" tag for metrics. This is inconsistent with the
`RestTemplateExchangeTags`, which are taking the full request URI minus
the protocol+host+port.
This commit aligns the `WebClientExchangeTags` behavior in this case.
Closes gh-22832
4 years ago
Stephane Nicoll
b9b7393053
Deprecate Cassandra health indicators that rely on Spring Data
...
With the introduction of health indicators that only require the
CqlSession, this commit deprecates the health indicators that require
Spring Data since the latter build on top of the former.
Closes gh-23226
4 years ago
Brian Clozel
1d73d4eda7
Remove Elasticsearch RestClient auto-configuration
...
Prior to this commit, Spring Boot would auto-configure both
Elasticsearch variants: `RestClient` ("Low Level" client) and
`RestHighLevelClient` ("High Level" client).
Since one can be derived from the other, this would create complex and
unclear situations depending on what developers provided with their
configuration.
`RestHighLevelClient` is mostly for actual use of the Elasticsearch API,
with support for specific methods and (de)serialization. On the other
hand, `RestClient` is merely wrapping the Apache HTTP client for
load-balancing support and low level HTTP features.
This commit completely removes the support for `RestClient` in Spring
Boot and now requires the presence of the
`org.elasticsearch.client:elasticsearch-rest-high-level-client`
dependency for REST client support with Elasticsearch.
Closes gh-22358
4 years ago
Brian Clozel
8dcb3312f2
Switch startup actuator endpoint to using HTTP POST
...
Closes gh-23213
4 years ago
Brian Clozel
676e1809fb
Add startup Actuator endpoint
...
This commit builds on top of gh-22603 and exposes data collected by the
`BufferingApplicationStartup` on a dedicated `"/startup"` Actuator
endpoint.
Closes gh-23213
4 years ago
Pradipta Sarma
2627bf896e
Removed some redundant 'else's using early return
...
See gh-22528
4 years ago
Andy Wilkinson
72c6435078
Polish
...
See gh-23157
4 years ago
Stephane Nicoll
f4c8668afd
Merge branch '2.3.x'
...
Closes gh-23157
4 years ago
Stephane Nicoll
652561c274
Review checkstyle rule to prevent non BDD mockito imports
...
Closes gh-20902
4 years ago
Phillip Webb
cf8776b83c
Expose originParents on actuator endpoints
...
Update `ConfigurationPropertiesReportEndpoint` and `EnvironmentEndpoint`
so that they expose `originParents` when they are available.
Closes gh-23018
4 years ago
Andy Wilkinson
6cfd2e3a33
Merge branch '2.3.x'
...
Closes gh-23095
4 years ago
Andy Wilkinson
c74e0be0d2
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23094
4 years ago
Andy Wilkinson
04540887af
Widen timeout and delay to accommodate Windows' imprecision under load
...
Closes gh-23093
4 years ago
Johnny Lim
e48af31ced
Polish
...
See gh-23081
4 years ago
Phillip Webb
ea8762c484
Update copyright year of changed files
4 years ago
Andy Wilkinson
e358144b2e
Polish "Exclude cookie headers by default from HTTP traces"
...
See gh-22829
4 years ago
Emily Tsanova
5ff515727d
Exclude cookie headers by default from HTTP traces
...
See gh-22829
4 years ago
Andy Wilkinson
969dd35e45
Upgrade to Mockito 3.4.6
...
Closes gh-22838
4 years ago
Stephane Nicoll
f2a52a87ec
Merge branch '2.3.x'
...
Closes gh-22850
4 years ago
Stephane Nicoll
980ddcffd0
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22849
4 years ago
Stephane Nicoll
dd9c9fd171
Polish "Migrate legacy endpoint that have a dash in their id"
...
See gh-21615
4 years ago
Gabriele Bianchet-David
0f9f10f97e
Migrate legacy endpoint that have a dash in their id
...
See gh-21615
4 years ago
Stephane Nicoll
13260eab46
Merge branch '2.3.x'
...
Closes gh-22846
4 years ago
ksmilek
5cb1b41355
Fix wrong reference in `ReadinessStateHealthIndicator` javadoc
...
See gh-22760
4 years ago
Phillip Webb
f7f4ff0ac9
Update copyright year of changed files
4 years ago
Stephane Nicoll
dac63fc3e5
Polish
4 years ago
Brian Clozel
fb1234a22c
Upgrade to Reactor 2020.0.0 SNAPSHOTs
...
See gh-22667
4 years ago
Andy Wilkinson
8b40427402
Merge branch '2.3.x'
...
Closes gh-22687
4 years ago
Andy Wilkinson
7d25948ab5
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22686
4 years ago
Andy Wilkinson
59b1df4548
Polish "Look in correct context when finding Liquibase beans"
...
See gh-22681
4 years ago
biergit
62156810cf
Look in correct context when finding Liquibase beans
...
See gh-22681
4 years ago
Stephane Nicoll
5777aa5615
Start building against Spring Data 2020.0.0 snapshots
...
See gh-22647
4 years ago
Stephane Nicoll
c6fde1e4d5
Polish "Update Neo4j health check to use the Neo4j Driver"
...
See gh-22302
4 years ago
Gerrit Meier
c5a7815e42
Update Neo4j health check to use the Neo4j Driver
...
This commit replaces the Neo4j-OGM based health checks with one based on
the Neo4j Java driver. A Reactive variant is also added in this commit.
See gh-22302
4 years ago
Stephane Nicoll
2756f5911f
Merge branch '2.3.x'
...
Closes gh-22627
4 years ago
Stephane Nicoll
12d78b26b9
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22626
4 years ago
Stephane Nicoll
16aa8fbc88
Fix actuator dependency on Jackson JSR 310 module
...
This commit harmonizes dependency declarations for Jackson in the
actuator. Both Jackson and JSR 310 are back to optional in the core
actuator module and mandatory when using the auto-configuration.
Closes gh-22624
4 years ago
Phillip Webb
3d7d9d064c
Update copyright year of changed files
4 years ago
Phillip Webb
14c1b0938a
Polish
4 years ago
Phillip Webb
da69286838
Merge branch '2.3.x'
4 years ago
Phillip Webb
d2a7808098
Polish
4 years ago
Phillip Webb
217b2eff89
Merge branch '2.2.x' into 2.3.x
4 years ago
Phillip Webb
b5e70157dc
Update copyright year of changed files
4 years ago
Phillip Webb
51a26a4d5a
Polish
4 years ago
Andy Wilkinson
0ac7178ae1
Merge branch '2.3.x'
...
Closes gh-22491
4 years ago
dreis2211
198131f5e4
Remove redundant compiler arguments in Gradle build files
...
See gh-22488
4 years ago
Andy Wilkinson
19ad163486
Merge branch '2.3.x'
...
Closes gh-22411
4 years ago
Andy Wilkinson
accc1f1ca8
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22410
4 years ago
Andy Wilkinson
21f733b89b
Merge branch '2.1.x' into 2.2.x
...
Closes gh-22409
4 years ago
Andy Wilkinson
179d2c79d6
Avoid trivialising what the reader's learning about
...
Closes gh-22408
4 years ago
Andy Wilkinson
cb7f99ad72
Polish "Measure with nanoseconds in HttpExchangeTracer"
...
See gh-22266
4 years ago
dreis2211
d72f5139f1
Measure with nanoseconds in HttpExchangeTracer
...
See gh-22266
4 years ago
Brian Clozel
3f93978e99
Merge branch '2.3.x'
...
Closes gh-22215
4 years ago
Brian Clozel
86d8366ee2
Polish support for reactive Elasticsearch healthcheck
...
Fixes gh-21042
4 years ago