Andy Wilkinson
9a33d1a2f9
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
8c68da0882
Avoid blocking on a Mono indefinitely
...
Closes gh-15535
6 years ago
Andy Wilkinson
de599819ae
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
33fb1fa9a3
Avoid creating meter binders before registry has been customized
...
Previously, MeterRegistryPostProcessor would trigger the creation of all
meter binders and meter registry customizers before applying the
customizers and calling the binders. In some situations with complex
dependency graphs where the creation of a binder and the injection of
its dependencies inadvertently triggered some meter binding, this
could result in meters being bound before the registry had been
customized.
This commit reworks MeterRegistryPostProcessor and MeterRegistryConfigurer
to defer the retrieval of registry customizers and meter binders until
just before they are needed. As a result, customizers are now retrieved
and applied before the binders are retrieved.
Closes gh-15483
6 years ago
Andy Wilkinson
064f6478df
Move back to JUnit 4 until SUREFIRE-1614 has been resolved
...
See gh-14736
See gh-14737
See gh-14738
6 years ago
Andy Wilkinson
2b453bbb16
Minimise dependencies on Log4j2
...
Closes gh-15441
6 years ago
Andy Wilkinson
71b29684b3
Remove redundant field type configuration
...
See gh-15435
6 years ago
Andy Wilkinson
55d7c19c06
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
d05ae40c99
Remove redundant field type and optional configuration
...
See gh-15435
6 years ago
Andy Wilkinson
393decff35
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
ef4ea591b3
Mark nested optional fields as optional
...
See gh-15435
6 years ago
igor-suhorukov
2b1653d009
Simplify code by using try-with-resources statement
...
Closes gh-15427
6 years ago
igor-suhorukov
5c1813aef8
Replace this lambda with a method reference
...
See gh-15401
6 years ago
Madhura Bhave
59d2b0a3fb
Upgrade tests to Junit5
...
See gh-14737
6 years ago
Andy Wilkinson
5c986b5030
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
42b58f6d27
Add JAXB API dependency that is no longer transitive via testcontainers
...
See gh-15371
6 years ago
Andy Wilkinson
0f474ec08f
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
07065532fe
Replace accidental use of code shaded by Testcontainers
...
See gh-15371
6 years ago
dreis2211
f57f16c190
Avoid premature declaration of variables
...
Closes gh-15215
6 years ago
Stephane Nicoll
7939b8b4da
Polish "Rename logging.file to logging.file.name"
...
Closes gh-15089
6 years ago
TwinProduction
21da4a5d12
Rename logging.file to logging.file.name
...
See gh-15089
6 years ago
Phillip Webb
ba1ef52e39
Merge branch '2.0.x'
6 years ago
Phillip Webb
74376aa023
Polish
6 years ago
Madhura Bhave
427d494d57
Merge branch '2.0.x'
6 years ago
Madhura Bhave
02a1c43587
Fix tests
6 years ago
Madhura Bhave
fc6c07ad3c
Merge branch '2.0.x'
6 years ago
Madhura Bhave
decaacddce
Account for application path for Jersey servlet endpoints
...
Closes gh-14895
6 years ago
Brian Clozel
d12e42e8d5
Polish
...
Closes gh-15211
6 years ago
artsiom
0a4ba499df
Add Actuator health checks for Elasticsearch REST clients
...
This commit adds `ElasticsearchRestHealthIndicator`, a new
`HealthIndicator` for Elasticsearch, using the Elasticsearch "low level
rest client" provided by the
`"org.elasticsearch.client:elasticsearch-rest-client"` dependency.
Note that Spring Boot will auto-configure both low and high level REST
clients, but since the high level one is using the former, a single
health indicator will cover both cases.
See gh-15211
6 years ago
Stephane Nicoll
114347107e
Polish key description
6 years ago
Alon Bar-Lev
108f28417e
Allow to disable SSL client authentication on the management port
...
When server and management are at different ports, and when server
requires TLS client authentication, then there is no simple method to
disable TLS client authentication for management port.
This commit adds an additional "none" option to ssl.client-auth.
Example:
server.port=8080
server.ssl.enabled=true
server.ssl.client-auth=need
management.server.port=8081
management.server.ssl.enabled=true
management.server.ssl.client-auth=none
See gh-14985
6 years ago
Stephane Nicoll
476fe6ed17
Stop configuring metrics if hibernate is not available
...
Closes gh-15317
6 years ago
Stephane Nicoll
5f145ac482
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
b103e0c869
Polish "Unwrap DataSource target rather than plain instanceof calls"
...
Closes gh-15227
6 years ago
dreis2211
17f04b8b75
Replace DirectFieldAccessor usages by hasFieldOrPropertyWithValue
...
Closes gh-15312
6 years ago
Andy Wilkinson
dad6d4beca
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
2b22b23aad
Polish
6 years ago
Andy Wilkinson
1c4a26557c
Polish
6 years ago
Andy Wilkinson
c1bbcb6908
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
4bc32e6358
Use a HandlerInterceptor for timing long tasks
...
Closes gh-15204
6 years ago
Andy Wilkinson
5a246ce24d
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
8772f90e2f
Polish
6 years ago
Andy Wilkinson
1797040e1a
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
a54de61e61
Polish
...
Revert change inadvertently committed as part of gh-15017
6 years ago
Andy Wilkinson
deeb961c6e
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
1f39b5dd7a
Align MeterRegistryConfigurer's javadoc with its implementation
...
Closes gh-15017
6 years ago
Phillip Webb
dbf09de203
Merge branch '2.0.x'
6 years ago
Phillip Webb
e87664f295
Add JettyAccessLogCustomizer
...
Add a `JettyAccessLogCustomizer` to customize management access logs
when the management server is running on a different port.
Closes gh-15041
6 years ago
Phillip Webb
c64a007e12
Format POM file
6 years ago
Brian Clozel
8e86bcafc1
Improve actuator endpoint mapping debug logging
...
Closes gh-14292
6 years ago
dreis2211
3b4b0641d9
Polish some Map operations
...
Closes gh-15153
6 years ago
Johnny Lim
fd5aa3ebf1
Polish
...
See gh-15134
6 years ago
Stephane Nicoll
2c3b455b8b
Merge branch '2.0.x'
6 years ago
Johnny Lim
8470d649bc
Polish
...
See gh-15134
6 years ago
Stephane Nicoll
f42a653604
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
f5ba9952db
Make UndertowAccessLogCustomizer conditional on class
...
Closes gh-15065
6 years ago
Phillip Webb
f3fa20b2d1
Polish
6 years ago
Andy Wilkinson
290e8886c9
Polish "Handle StepRegistry connect/read timeout deprecation"
...
Closes gh-14886
6 years ago
artsiom
fe63342f52
Handle StepRegistry connect/read timeout deprecation
...
See gh-14886
6 years ago
Andy Wilkinson
de674db454
Merge branch '2.0.x'
6 years ago
dreis2211
62ca9e47b8
Use MeterRegistry.isClosed() for tests
...
Closes gh-14975
6 years ago
dreis2211
fb03139c59
Fix MetricsAutoConfigurationTests
...
Closes gh-14972
6 years ago
Phillip Webb
c393f6262e
Merge branch '2.0.x'
6 years ago
Phillip Webb
33c7a74bee
Update copyright year for changed files
6 years ago
Vedran Pavic
6e967fe860
Upgrade to Hazelcast 3.11
...
Closes gh-14949
6 years ago
dreis2211
4857b45ea5
Replace lambdas with method reference or call
...
Closes gh-14937
6 years ago
Andy Wilkinson
4d9714a0cb
Start building against Micrometer snapshots for 1.1.0
...
See gh-14890
6 years ago
Andy Wilkinson
cefc7842d6
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
9b8ead825c
Polish
6 years ago
Andy Wilkinson
3177584588
Back off auto-config of Log4J2Metrics when context is backed by SLF4J
...
Closes gh-14883
6 years ago
Johnny Lim
c8c3f59e93
Polish
...
Closes gh-14884
6 years ago
Stephane Nicoll
474da80b4d
Revert "Restructure of security packages"
...
See gh-14412
6 years ago
Stephane Nicoll
fd0e8815b1
Polish
6 years ago
Stephane Nicoll
5f2517f889
Auto-configure AppOptics metrics
...
Closes gh-14819
6 years ago
Stephane Nicoll
134682a7de
Add error metadata for properties removed recently
6 years ago
Andy Wilkinson
bd0a41d82d
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
d4cad5e916
Polish "Servlet path not explicitly required for EndpointRequest"
...
Closes gh-14503
6 years ago
Madhura Bhave
0fd873f0f9
Servlet path not explicitly required for EndpointRequest
6 years ago
Andy Wilkinson
98d95268e1
Align with changes to CouchbaseReactiveHealthIndicator
...
Closes gh-14799
6 years ago
Johnny Lim
7f9671fd14
Polish
...
Closes gh-14843
6 years ago
Hanope
c3f3240e2c
Fix typos
...
closes gh-14844
6 years ago
Phillip Webb
29707bf75a
Complete restructure of security packages
...
Complete the restructuring of the security auto-configuration
packages by removing the direct import of web configuration from
the main security auto-configuration.
Closes gh-14412
6 years ago
Madhura Bhave
f835f82582
Preliminary restructure of security packages
...
Restructure the security auto-configuration packages to better reflect
the part of the system that the configuration applies to.
See gh-14412
6 years ago
Phillip Webb
d558a1a762
Merge branch '2.0.x'
6 years ago
Phillip Webb
8ecb659a35
Deprecate SecurityPrerequisite
...
Deprecate `SecurityPrerequisite` interface since we don't support it
in Spring Boot 2.
Closes gh-14846
6 years ago
Phillip Webb
6b37d87497
Allow multiple endpoint PathMapper beans
...
Update `WebEndpointDiscoverer` and related classes to that multiple
`PathMapper` beans can be registered. Mappers are now tried in order
until one returns a non-null value.
Closes gh-14841
6 years ago
Phillip Webb
f0f999a27d
Merge branch '2.0.x'
6 years ago
Phillip Webb
5d219bcd19
Polish
6 years ago
Phillip Webb
734e9e4b74
Merge branch '2.0.x'
6 years ago
Phillip Webb
b25e222136
Retain original case when mapping endpoint paths
...
Update `MappingWebEndpointPathMapper` to keep the original case rather
than using a lower-case version.
Closes gh-14773
6 years ago
Stephane Nicoll
e901a0bd0e
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
935d621a42
Fix mapping of Wavefront base properties
...
Closes gh-14839
6 years ago
Stephane Nicoll
94b2092218
Add base test for StepRegistryPropertiesConfigAdapter
6 years ago
Andy Wilkinson
1e2d5a1382
Auto-configure Micrometer's HumioMeterRegistry
...
Closes gh-14804
6 years ago
Stephane Nicoll
edf4045c3b
Add missing tests for Kairos config adapter
...
Closes gh-14821
6 years ago
Andy Wilkinson
e53e8bf79f
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
0fedf8d2af
Keep Liquibase-specific DataSource open for use by LiquibaseEndpoint
...
Closes gh-13832
6 years ago
Andy Wilkinson
a4eb636913
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
6d98851fb5
Use Couchbase's DiagnosticsReport to determine its health
...
Previously, Couchbase's health was determined by retrieving the bucket info
from the cluster info. This retrieval could take over one minute in some
cases even when Couchbase is health. This latency is too large for a health
check.
The Couchbase team have recommended the of a Cluster#diagnostics instead.
This provides a much lower latency view of the cluster's health. This
commit updates CouchbaseHealthIndicator to use Cluster#diagnostics while
retaining support, in a deprecated form, for the old info-based mechanism
should anyone want to opt back into that in 2.0.x.
Closes gh-14685
6 years ago
Stephane Nicoll
89349c6eb9
Auto-configure KairosDB metrics
...
Closes gh-14821
6 years ago