Andy Wilkinson
35154a96f3
Polish "Fix NPE in configprops endpoint"
...
See gh-30068
4 years ago
qxo
a1fe05f40b
Fix NPE in configprops endpoint
...
This works around spring-projects/spring-framework#28298 . The bug
means that when a @Configuration class is annotated with
@ConfigurationProperties any bean defined by a static @Bean method
is considered to be annotated with @ConfigurationProperties .
See gh-30068
4 years ago
Moritz Halbritter
0ff8119a1b
Sort entries in additional-spring-configuration metadata alphabetically
...
Closes gh-30434
4 years ago
Stephane Nicoll
b97a3ae07a
Revert unnecessary suppress warnings
...
See https://github.com/spring-projects/spring-framework/issues/28079
4 years ago
Stephane Nicoll
71e6a836a6
Start building against Spring Framework 5.3.17 snapshots
...
See gh-30177
4 years ago
Stephane Nicoll
2620710480
Start building against Spring Framework 5.3.17 snapshots
...
See gh-30170
4 years ago
Andy Wilkinson
6eacc07de0
Fix handling of Flux responses from Actuator endpoints
...
Closes gh-30095
4 years ago
Moritz Halbritter
d14980ed5e
Polish "Tweak performance for Prometheus scraping endpoint"
...
See gh-30085
4 years ago
Peter Paul Bakker
fb3f3c52cf
Tweak performance for Prometheus scraping endpoint
...
Reduce the number of times capacity growth is needed inside the StringWriter.
A typical default SpringBoot Prometheus page has more than 11k characters.
Best performance results when no capacity growth is needed at all, so base
it on previous metrics page size plus some room for possible extra metric info.
See gh-30085
4 years ago
Stephane Nicoll
7f17f819a6
Polish "Enforce use of BDDMockito"
...
See gh-29178
4 years ago
Yanming Zhou
b49418aaaf
Enforce use of BDDMockito
...
1. Replace Mockito.verify*() with BDDMockito.then()
2. Replace Mockito.doReturn() with BDDMockito.willReturn()
3. Adjust checkstyle rule
See gh-29178
4 years ago
Stephane Nicoll
04ce0e65cd
Polish assertion
4 years ago
izeye
7fbb5749d1
Polish
...
See gh-29157
4 years ago
Stephane Nicoll
efa93506e6
Fix checkstyle violations
4 years ago
Madhura Bhave
4cc8012bfa
Handle WebServerNamespace in CachingOperationInvoker
...
Fixes gh-28882
4 years ago
Stephane Nicoll
1bb3f906a7
Polish
...
See gh-28836
4 years ago
Stephane Nicoll
667bca05ec
Polish "Add package info for Spring Data metrics support"
...
See gh-28756
4 years ago
charissathomas
42ae5114ef
Create package-info.java
...
Closes #28731
4 years ago
Andy Wilkinson
2cec3971d7
Prohibit unwanted dependencies in all modules not just starters
...
Closes gh-28658
4 years ago
Andy Wilkinson
b375f9fac0
Ignore parameters when checking if */* is accepted
...
Previously the parameters were not ignored so */*;q=0.8 was not
identified as accepting */*. As a result, the most recent producible
content type was returned rather than the default.
This commit updates the argument resolver to ignore parameters.
The default content type is now produced in response to a request
that accepts */*, irrespective of its parameters.
Fixes gh-28446
4 years ago
Leo Li
1586232761
Polish
...
See gh-28367
4 years ago
Phillip Webb
b68b3737d7
Sanitize flattened VCAP_SERVICES properties
...
Update `Sanitizer` to also include flattened `vcap.services.*`
properties.
Fixes gh-28085
4 years ago
Phillip Webb
4dc5142128
Prevent cache from consuming too much memory
...
Change the cache in `CachingOperationInvoker` to be a reference based
map and also clean stale entries when a specific threshold is met.
Fixes gh-28313
4 years ago
Andy Wilkinson
84b553a8ca
Upgrade to Jackson Bom 2.13.0
...
Closes gh-28298
4 years ago
Stephane Nicoll
cc8d7fc605
Polish contribution
...
See gh-28239
4 years ago
Leo Li
1770f065a5
Polish
...
See gh-28239
4 years ago
Andy Wilkinson
9c9fbf400e
Upgrade to Spring Java Format 0.0.29
...
Closes gh-28205
4 years ago
dreis2211
c5088a3bd3
Avoid explicit initialization of Atomics with their default values
...
See gh-28162
4 years ago
Stephane Nicoll
5d17257a52
Polish "Add Java InfoContributor"
...
See gh-28136
4 years ago
Jonatan Ivanov
fc87da7ef3
Add Java InfoContributor
...
See gh-28136
4 years ago
Andy Wilkinson
437a1601ef
Fix broken content negotiation for Prometheus with OpenMetrics
...
Update Prometheus `TextOutputFormat` so that OpenMetrics is used in
preference to text output when an appropriate accept header is found.
If the accept header contains `*/*` or is missing then the text format
will be used.
See gh-28130
4 years ago
Phillip Webb
d8141e6a8d
Allow Producible enums to indicate a default value
...
Add an `isDefault()` method to `Producible` which can be used to
indicate which of the enum values should be used when the accept header
is `*/*` or `null`.
Prior to this commit, the last enum value was always used as the
default.
See gh-28130
4 years ago
Madhura Bhave
ef2a5daa59
Polish
4 years ago
Phillip Webb
bbb4ac1542
Sanitize SPRING_APPLICATION_JSON by default
...
Update `Sanitizer` default keys to include `SPRING_APPLICATION_JSON`.
Fixes gh-28045
4 years ago
Phillip Webb
667e5ca30c
Polish
4 years ago
Phillip Webb
98a0e07dd5
Polish "Add startup time metrics"
...
See gh-27878
4 years ago
Phillip Webb
55a1ec72cc
Update copyright year of changed files
4 years ago
Phillip Webb
dfd36673f7
Update copyright year of changed files
4 years ago
Phillip Webb
cfeafee826
Polish
4 years ago
Stephane Nicoll
6c8c8502e3
Log failing calls to health indicators
...
Closes gh-22632
Co-authored-by: Madhura Bhave <bhavem@vmware.com>
4 years ago
dreis2211
cf0fcafd13
Polish
...
See gh-27940
4 years ago
Andy Wilkinson
c2361aeb04
Make WebMvcMetricsFilter set status consistently for all exceptions
...
Closes gh-27988
4 years ago
Stephane Nicoll
7957d97528
Polish
4 years ago
Stephane Nicoll
c62a6819fe
Polish "Add startup time metrics"
...
See gh-27878
4 years ago
bono007
2e67963bfe
Add startup time metrics
...
See gh-27878
4 years ago
Stephane Nicoll
b626adf1ee
Polish "Add support for configuring the path of disk space metrics"
...
See gh-27660
4 years ago
bono007
08251b26d0
Add support for configuring the path of disk space metrics
...
See gh-27660
4 years ago
Stephane Nicoll
726a2591fb
Start building against Micrometer 1.8.0-M3 snapshots
...
See gh-27931
4 years ago
Madhura Bhave
393081f2e6
Enable PathPattern based matching for MVC actuators
...
Closes gh-24645
4 years ago
Madhura Bhave
253f98c3e7
Add pluggable abstraction for applying custom sanitization rules
...
Closes gh-27840
4 years ago