Stephane Nicoll
6490edc16d
Polish
2021-06-04 17:46:42 +02:00
Andy Wilkinson
936c31c7a7
Prevent metrics failures from adversely affecting web responses
...
Fixes gh-24151
2021-05-19 13:14:52 +01:00
Stephane Nicoll
af70da0e92
Update copyright year of changed file
...
See gh-26321
2021-04-30 13:35:28 +02:00
Matthias Stock
6c8c735027
Fix typo in NamedContributors Javadoc
...
See gh-26321
2021-04-30 13:35:17 +02:00
Andy Wilkinson
1a84b0610e
Align PushGatewayManager's exception handling with PushMeterRegistry's
...
Previously, would log an error for any exception and also stop
publishing for an UnknownHostException. By constrast, Micrometer's
PushMeterRegistry treats all exceptions the same, logging a warning
and continuing with subsequent push attempts.
This commit updates the push gateway manager's behaviour to match
PushMeterRegistry. UknownHostExceptions no longer receive special
treatment and push (and delete) failures are now logged as warnings
rather than errors.
Fixes gh-25804
2021-03-31 17:01:08 +01:00
Phillip Webb
9c8a97809d
Consistent use of @deprecated since
...
Restore the patch version number for consistency with `@since`
tags.
See gh-25808
2021-03-30 09:20:30 -07:00
Andy Wilkinson
8b6eef6f1d
Consistent use of @deprecated since
...
See gh-25808
2021-03-30 09:22:45 +01:00
Phillip Webb
26dd1b9a26
Update deprecations with for removal targets
...
Update all deprecation tags to include a removal target.
Closes gh-25808
2021-03-29 15:44:58 -07:00
Phillip Webb
130cc5b036
Chain caught InvalidEndpointRequestExceptions
...
Update `AbstractWebMvcEndpointHandlerMapping` to chain any caught
InvalidEndpointRequestExceptions so that a more complete stacktrace
is available. The exception has also been updated to a
`ResponseStatusException` so that the reason can be propagated.
Fixes gh-25642
2021-03-24 12:22:26 -07:00
Phillip Webb
82127fdaa3
Update copyright year of changed files
2021-03-23 12:50:49 -07:00
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
2021-03-23 13:05:54 +00:00
Stephane Nicoll
f38e863fbc
Properly subscribe to CloseableConnectionFactory#close
...
Closes gh-25565
2021-03-10 15:03:27 +01:00
Stephane Nicoll
1ad5a3fe2e
Update copyright of changed file
...
See gh-24753
2021-01-18 17:01:31 +01:00
izeye
ddfa1e632b
Make MetricsClientHttpRequestInterceptor defensive against metrics recoding failures
...
See gh-24753
2021-01-18 17:00:26 +01:00
Phillip Webb
52e47c4275
Fix test for JSR-350 @Nonnull
...
Closes gh-24647
2021-01-06 12:33:25 -08:00
Phillip Webb
848ed65f5b
Add test for JSR-350 @Nonnull
...
Closes gh-24647
2021-01-06 12:04:58 -08:00
Phillip Webb
2ad9a47d08
Support JSR-305 annotations on endpoint methods
...
Update `OperationMethodParameter` to additionally support JSR-305 based
`@Nullable` annotations.
Closes gh-24647
2021-01-05 14:07:22 -08:00
Stephane Nicoll
ab99de4349
Polish
...
See gh-24418
2020-12-10 13:52:11 +01:00
Phillip Webb
5f351a6983
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24338
2020-12-04 18:21:57 -08:00
Phillip Webb
d8a05090b3
Fix checkstyle BDD Mockito violations
...
See gh-24337
2020-12-04 18:06:54 -08:00
Phillip Webb
837fc83527
Fix checkstyle header violations
...
See gh-24337
2020-12-04 18:05:53 -08:00
Stephane Nicoll
9b992af34b
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24250
2020-11-25 14:31:30 +01:00
Stephane Nicoll
d506f0c73e
Polish "Reduce redis health indicator info command result size"
...
See gh-24208
2020-11-25 14:27:07 +01:00
xJoeWoo
99cc3f4bfc
Reduce redis health indicator info command result size
...
See gh-24208
2020-11-25 14:23:57 +01:00
Andy Wilkinson
7efa1e47aa
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24222
2020-11-20 11:48:25 +00:00
Andy Wilkinson
12f2529be5
Allow actuator endpoint to have responses with custom HTTP statuses
...
Fixes gh-24123
2020-11-20 11:38:31 +00:00
Stephane Nicoll
76912d1952
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24193
2020-11-18 10:09:03 +01:00
Stephane Nicoll
d3440880c4
Polish "Avoid unnecessary pattern compilation in WebFluxTags"
...
See gh-24147
2020-11-18 09:58:03 +01:00
Peter Paul Bakker
b22bb7ea04
Avoid unnecessary pattern compilation in WebFluxTags
...
See gh-24147
2020-11-18 09:58:03 +01:00
Phillip Webb
b0c2687aa9
Update copyright year of changed files
2020-10-29 09:07:42 -07:00
Phillip Webb
363d35a0ac
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23444
2020-09-21 23:20:10 -07:00
Phillip Webb
b443d22c59
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23443
2020-09-21 23:19:41 -07:00
Phillip Webb
cc442c5c0d
Make HandlerFunctionDescription JDK 15 compatible
...
Update `HandlerFunctionDescription` so that it will work with JDK 15.
Closes gh-23442
2020-09-21 23:18:02 -07:00
Brian Clozel
62cb87bd95
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23252
2020-09-11 11:42:32 +02:00
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
2020-09-11 11:34:38 +02:00
Stephane Nicoll
652561c274
Review checkstyle rule to prevent non BDD mockito imports
...
Closes gh-20902
2020-09-01 11:50:14 +02:00
Andy Wilkinson
c74e0be0d2
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23094
2020-08-26 14:49:12 +01:00
Andy Wilkinson
04540887af
Widen timeout and delay to accommodate Windows' imprecision under load
...
Closes gh-23093
2020-08-26 14:48:33 +01:00
Stephane Nicoll
980ddcffd0
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22849
2020-08-10 16:05:13 +02:00
Stephane Nicoll
dd9c9fd171
Polish "Migrate legacy endpoint that have a dash in their id"
...
See gh-21615
2020-08-10 14:53:18 +02:00
Gabriele Bianchet-David
0f9f10f97e
Migrate legacy endpoint that have a dash in their id
...
See gh-21615
2020-08-10 14:42:46 +02:00
ksmilek
5cb1b41355
Fix wrong reference in `ReadinessStateHealthIndicator` javadoc
...
See gh-22760
2020-08-10 14:03:46 +02:00
Andy Wilkinson
7d25948ab5
Merge branch '2.2.x' into 2.3.x
...
Closes gh-22686
2020-07-31 12:24:34 +01:00
Andy Wilkinson
59b1df4548
Polish "Look in correct context when finding Liquibase beans"
...
See gh-22681
2020-07-31 12:20:58 +01:00
biergit
62156810cf
Look in correct context when finding Liquibase beans
...
See gh-22681
2020-07-31 12:20:09 +01:00
Phillip Webb
d2a7808098
Polish
2020-07-22 17:25:04 -07:00
Phillip Webb
217b2eff89
Merge branch '2.2.x' into 2.3.x
2020-07-22 17:03:23 -07:00
Phillip Webb
b5e70157dc
Update copyright year of changed files
2020-07-22 17:01:36 -07:00
Phillip Webb
51a26a4d5a
Polish
2020-07-22 17:01:19 -07:00
Brian Clozel
86d8366ee2
Polish support for reactive Elasticsearch healthcheck
...
Fixes gh-21042
2020-07-03 15:25:18 +02:00