Andy Wilkinson
ecb7e240eb
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
59c66eaf41
Correct documented path for locked synchronizer's identity hashcode
...
Closes gh-15847
6 years ago
Andy Wilkinson
ebcc53a9b7
Include tasks with custom triggers in scheduledtasks endpoint output
...
Closes gh-15815
6 years ago
Stephane Nicoll
002fa405a8
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
ede23caace
Polish "Inject Map directly rather than via ObjectProvider"
...
Closes gh-15798
6 years ago
ayudovin
3a2e85ce75
Inject Map directly rather than via ObjectProvider
...
See gh-15798
6 years ago
Andy Wilkinson
f23a0a5969
Inject InfoContributorProperties more precisely
...
Closes gh-15750
6 years ago
Stephane Nicoll
6baa6b291e
Polish contribution
...
Closes gh-15695
6 years ago
Johnny Lim
af3ed9ff9f
Polish
...
See gh-15695
6 years ago
Phillip Webb
2f77ef7722
Merge branch '2.1.x'
6 years ago
Phillip Webb
9e58942698
Update copyright year for changed files
6 years ago
Phillip Webb
6a901199f5
Polish
6 years ago
Stephane Nicoll
5e736c0d1f
Merge branch '2.1.x'
6 years ago
Stephane Nicoll
6ad01a6dfc
Optimize ConditionalOnEnabledEndpoint usage
...
Closes gh-15451
6 years ago
Stephane Nicoll
2d2aa96c05
Allow ConditionalOnEnabledEndpoint to be set at class level
...
See gh-15451
6 years ago
Madhura Bhave
2dc7a89bd4
Merge branch '2.1.x'
6 years ago
Madhura Bhave
5b990605dc
Polish "Order actuator security config after resource-server config"
...
Closes gh-15472
6 years ago
Stephen Doxsee
4597e7cc82
Order actuator security config after resource-server config
...
See gh-15472
6 years ago
Stephane Nicoll
d57f831f50
Polish "Use Optional value in more functional style"
...
Closes gh-15575
6 years ago
igor-suhorukov
8ced867e95
Use Optional value in more functional style
...
See gh-15575
6 years ago
Stephane Nicoll
fd12e696b0
Polish "Replace redundant call to class isInstance() with instanceof"
...
Closes gh-15554
6 years ago
igor-suhorukov
7424f48803
Replace redundant call to class isInstance() with instanceof
...
See gh-15554
6 years ago
Stephane Nicoll
9d67400afa
Merge branch '2.1.x'
6 years ago
igor-suhorukov
e578d30722
Replace anonymous inner class with lambda
...
See gh-15438
6 years ago
Andy Wilkinson
3a7406fe3a
Merge branch '2.0.x' into 2.1.x
6 years ago
Andy Wilkinson
0741c90489
Avoid blocking on a Mono indefinitely
...
Closes gh-15535
6 years ago
Andy Wilkinson
9d2d6d5812
Merge branch '2.1.x'
6 years ago
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
Stephane Nicoll
1a0d53dec0
Replace ReflectionTestUtils usage by hasFieldOrPropertyWithValue
...
Closes gh-14696
6 years ago
Phillip Webb
18319ac276
Remove deprecated Endpoint ID methods
...
See gh-14773
6 years ago
Phillip Webb
1bf97e9b5e
Merge branch '2.0.x'
6 years ago
Phillip Webb
a00ee15e16
Use lowercase default endpoint paths
...
Update `MappingWebEndpointPathMapper` to use the lowercase version of
the endpoint ID when no explicit path mapping has been set. An endpoint
with the ID 'myEndpoint' will now be mapped to the path 'myendpoint'.
See gh-14773
6 years ago
Phillip Webb
df5dfbf4be
Support mixed case endpoint includes/excludes
...
Update `ExposeExcludePropertyEndpointFilter` so that mixed case
endpoint IDs are supported. Prior to this commit it was not easy for
an endpoint to be missed by the filter due to the formatting of the
property value.
See gh-14773
6 years ago
Phillip Webb
674a909bab
Support mixed case endpoint IDs with enabled
...
Update `OnEnabledEndpointCondition` so that mixed case endpoint IDs
are supported. Prior to this commit an
`InvalidConfigurationPropertyNameException` would be thrown when trying
to enabled or disable an endpoint with a camel case ID.
See gh-14773
6 years ago
Phillip Webb
138d85477d
Support mixed case endpoint IDs with time-to-live
...
Update the endpoint time-to-live binding logic so that mixed case
endpoint IDs are supported. Prior to this commit an
`InvalidConfigurationPropertyNameException` would be thrown when using
a camel case endpoint ID.
See gh-14773
6 years ago
Phillip Webb
3105a38884
Introduce EndpointID to enforce naming rules
...
Add an `EndpointID` class to enforce the naming rules that we support
for actuator endpoints. We now ensure that all endpoint names contain
only letters and numbers and must begin with a lower-case letter.
Existing public classes and interfaces have been changes so that String
based `endpointId` methods are deprecated and strongly typed versions
are preferred instead. A few public classes that we're not expecting
to be used directly have been changed without deprecated methods being
introduced.
See gh-14773
6 years ago
Phillip Webb
c5786c218d
Polish
6 years ago
Andy Wilkinson
7ad94299d6
Stop relying on server customizer ordering for Tomcat metrics binding
...
Closes gh-14784
6 years ago
Andy Wilkinson
2b11ee4389
Auto-configure binding of Micrometer's JettyServerThreadPoolMetrics
...
Closes gh-14591
6 years ago
Madhura Bhave
6df9555d6a
Update micrometer tests following upstream changes
6 years ago
Stephane Nicoll
0ff1b25f52
Polish "Improve Micrometer histogram properties support"
...
Closes gh-14139
6 years ago
Alexander Abramov
c1c79ab1c2
Improve Micrometer histogram properties support
...
This commit adds configuration properties for Micrometer histogram
settings: "minimumExpectedValue" and "maximumExpectedValue".
See gh-14139
6 years ago
Andy Wilkinson
19232ad87a
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
861587ec78
Allow @ConditionalOnEnabledEndpoint to be used on any component
...
Closes gh-14787
6 years ago
Andy Wilkinson
5e3b5ae14f
Polish
...
See gh-14780 and gh-14467
6 years ago
Andy Wilkinson
5f0d7dd6c7
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
2a2908e74e
Order MeterFilters and MeterRegistryCustomizers
...
Closes gh-14780
6 years ago
Phillip Webb
60719bd982
Upgrade to Dropwizard Metrics 4.0.3
...
Closes gh-14428
6 years ago
Andy Wilkinson
2216b78f1e
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
d3b3c8c64e
Honour management.metrics.web.server.auto-time-requests with WebFlux
...
Closes gh-13895
6 years ago
Stephane Nicoll
7da3396555
Merge branch '2.0.x'
6 years ago
dreis2211
55ec016bac
Remove unused fields in tests
...
Closes gh-14707
6 years ago
Phillip Webb
20ecf73cd1
Polish "Add Prometheus push gateway support"
...
Rework Prometheus push gateway support so that the central class can
be used outside of auto-configuration. The shutdown flags have also
been replaced with a single "shutdown-operation" property since it's
unlikely that both "push" and "delete" will be required.
It's also possible now to supply a `TaskScheduler` to the manager.
See gh-14353
6 years ago
David J. M. Karlsen
4e71981f77
Add Prometheus push gateway support
...
Add support for Prometheus push gateway so that short lived processes
(for example batch jobs) can still submit metrics to Prometheus.
Closes gh-14353
6 years ago
Stephane Nicoll
35752a54d2
Adapt to latest change in Micrometer 1.1
6 years ago
Phillip Webb
01b8667dd7
Update copyright year for changed files
6 years ago
Andy Wilkinson
72e2313fe8
Polish "Auto-configure Micrometer's Jersey 2 server instrumentation"
...
Closes gh-12482
6 years ago
Michael Weirauch
dd126faf5a
Auto-configure Micrometer's Jersey 2 server instrumentation
...
See gh-12482
Co-authored-by: Michael J. Simons <michael@simons.ac>
6 years ago
Stephane Nicoll
bdd8e53124
Improve filtering of actuator auto-configurations
...
This commit splits auto-configurations that require different
environments so that they can be filtered early.
Closes gh-12260
6 years ago
Stephane Nicoll
91b4dc2f69
Polish "Add reactive health indicator for Couchbase"
...
Closes gh-13926
6 years ago
Mikalai Lushchytski
20ff0d97e4
Add reactive health indicator for Couchbase
...
See gh-13926
6 years ago
Andy Wilkinson
c9da881322
Polish "Drop support for "all" from management.metrics.distribution.sla"
...
Closes gh-14684
6 years ago
artsiom
ccb964e886
Drop support for "all" from management.metrics.distribution.sla
...
See gh-14684
6 years ago
Andy Wilkinson
ef7c2bc6ea
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
e7f100d5d7
Improve test coverage of PropertiesMeterFilter
...
Closes gh-14689
6 years ago
Stephane Nicoll
5d0e812afe
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
1b10d3fcbf
Fix missing metadata for nested POJO
...
This commit fixes missing descriptions and default values when
applicable for `management.server.ssl`, `server.compression`,
`server.http2`, `server.servlet.jsp`, `server.servlet.session` and
`server.ssl`.
Those nested namespace are managed by a POJO that is declared outside
of the module of the target @ConfigurationProperties type using it. As
a result, the annotation processor has no access to the source model and
can't extract the description and the default value, if any.
This commit migrates the misleading field-level Javadoc to manual meta
data for the time being.
Closes gh-14669
6 years ago
Phillip Webb
d76bba5e6f
Migrate from ExpectedException rule to AssertJ
...
Replace ExpectedException JUnit rules with AssertJ exception
assertions.
Closes gh-14336
6 years ago
Johnny Lim
1e756db966
Use Commons Logging for OnlyOnceLoggingDenyMeterFilter
...
Closes gh-14637
6 years ago
Johnny Lim
698bbd6a9e
Polish
...
Closes gh-14597
6 years ago
Hanope
e5ed5ebf8b
Fix "Query Parameters" section name
...
Closes gh-14600
6 years ago
Stephane Nicoll
5765ed00e8
Polish
6 years ago
Andy Wilkinson
6e00d13d68
Polish
6 years ago
Andy Wilkinson
4c3e2d10d1
Auto-configure Micrometer's Elastic registry
...
Closes gh-14523
6 years ago
Andy Wilkinson
95ecbc736b
Update example for disk space health indicator to use DataSize
...
See gh-14549
6 years ago
Stephane Nicoll
47f9379305
Adapt to changes in latest Micrometer snapshot
...
See gh-14522
6 years ago
Andy Wilkinson
977f8b4479
Auto-configure Micrometer's Kafka consumer metrics
...
Closes gh-14525
6 years ago
Stephane Nicoll
cbae22f0c9
Polish "Migrate size properties to DataSize"
...
Closes gh-14549
6 years ago
Andy Wilkinson
258c4838b1
Auto-configure Micrometer's Log4j2 metrics
...
Closes gh-14524
6 years ago
Andy Wilkinson
fe75f966ff
Auto-configure Micrometer's Dynatrace meter registry
...
Closes gh-14522
6 years ago
Andy Wilkinson
426ff3ada7
Store ObjectProvider rather than their Streams to allow reuse
...
Generally speaking, methods on configuration classes will only be called once
and, therefore, it should be safe to hold a reference to a Stream for later
one-time usage. However, there are some scenarios in Spring Fu where functional
registration results in an attempt being made to use a Stream more than use.
This commit protects against multiple use by storing the ObjectProvider and
getting a new ordered Stream each time it's needed.
Closes gh-14467
6 years ago
Andy Wilkinson
cc6cf880cf
Stop using ObjectProvider<List> and ObjectProvider<Collection>
...
Closes gh-14467
6 years ago
Phillip Webb
bb19d5690c
Fix spring-boot-actuator-autoconfigure test logs
...
Add log4j to `spring-boot-actuator-autoconfigure` test scope so that
we get valid log output.
See gh-14148
6 years ago
Madhura Bhave
6c1915e81f
Merge branch '2.0.x'
6 years ago
Madhura Bhave
7af6665a0e
Ignore management.server.port for war
...
Fixes gh-14148
6 years ago
Stephane Nicoll
a170bfcc76
Deprecate micrometer meter's enabled flags
...
This commit deprecates the few 'enabled' flags that control whether
certain meter binders are registered in the context.
Metrics auto-configuration for the JVM, Logback and System-related
information have been moved to individual auto-configurations so that
they can be excluded rather than using the now deprecated flag.
This harmonizes our policy with regards to disabling behaviour,
especially since other similar auto-configurations do not have such
flag.
Closes gh-13408
6 years ago
Stephane Nicoll
45ef926a90
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
ff8b8c55c6
Remove reference to "management.metrics.binders.integration.enabled"
...
Closes gh-14319
6 years ago
Phillip Webb
c3de4c84f2
Polish
6 years ago
Madhura Bhave
f0d7533e0b
Merge branch '2.0.x'
6 years ago
Madhura Bhave
9c82d5c382
Make ApplicationContextServerWebExchangeMatcher and subclasses thread-safe
...
Fixes gh-14161
6 years ago
Andy Wilkinson
8ee4775820
Polish
6 years ago
Stephane Nicoll
1ceb076035
Harmonize Metrics test
...
This commit harmonizes metrics test to rely on `MetricRun.simple()`
rather than configuring a simple `MeterRegistry` manually. Rather than
applying related auto-configurations automatically, `MetricsRun` only
enable the absolute minimum.
See gh-14255
6 years ago
Stephane Nicoll
3d732e86f4
Merge branch '2.0.x'
6 years ago
Johnny Lim
ca57e58ee5
Polish
...
See gh-14293
6 years ago
Stephane Nicoll
4634811c7c
Polish
6 years ago
Stephane Nicoll
7bee9dfc22
Harmonize HTTP client metrics
...
This commit harmonizes the auto-configurations for RestTemplate and
WebClient in a single `HttpClientMetricsAutoConfiguration`. Doing so
allows to give a better scope for the shared `MeterFilter`.
As a result`WebClientMetricsAutoConfiguration` has moved to the `client`
package.
Closes gh-14269
6 years ago
Stephane Nicoll
6c26315cd1
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
0625443d27
Polish "Limit metrics collection of incoming requests"
...
Closes gh-14173
6 years ago
Dmytro Nosan
81a6701914
Limit metrics collection of incoming requests
...
See gh-14173
6 years ago
dreis2211
422a436df1
Polish some Collectors
...
See gh-13727
6 years ago
Stephane Nicoll
dd9209c7d9
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
000cb94323
Polish "Fix String concatenation in a loop"
...
Closes gh-14153
6 years ago
Hiroaki Yoshida
43acc37587
Fix String concatenation in a loop
...
See gh-14153
6 years ago
Stephane Nicoll
f5d922c712
Upgrade to Spring Integration 5.1.0.M2
...
Upgrade to M2 broke a test that was looking for a particular bean that
is configured by Spring Integration (`HeaderChannelRegistry`).
It looks like INT-4517 is related to the regression as it registers the
bean too late for the auto-configuration to see it.
This commit changes the condition to a more central bean that is created
very early on.
Closes gh-14142
6 years ago
Stephane Nicoll
b60fbe5a1f
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
b0d388830f
Polish test
6 years ago
Vedran Pavic
644ab5f3e4
Align SessionsEndpoint with Spring Session API improvements
...
This commit aligns SessionsEndpoint with
FindByIndexNameSessionRepository API improvements that simplifies
retrieval of sessions by principal name.
Closes gh-14124
6 years ago
Madhura Bhave
d724f154f4
Merge branch '2.0.x'
6 years ago
Madhura Bhave
b93c2b9a9f
Allow actuator endpoints to be used with mvcMatchers
...
This commit changes AbstractWebMvcEndpointHandlerMapping to
be a MatchableHandlerMapping. Additionally, EndpointRequest,
now delegates to MvcRequestMatcher for Spring MVC applications.
For all other applications, AntPathRequestMatcher is used as
a delegate.
Closes gh-13962
6 years ago
Johnny Lim
101cc59b7d
Polish
...
Closes gh-14023
6 years ago
Stephane Nicoll
a12ca0a0dc
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
a023bd030a
Add configurable timeout for Couchbase health indicator
...
This commit makes sure to use a configurable timeout to check if the
Couchbase cluster is up, rather than relying on the default that can be
quite long.
Closes gh-13879
6 years ago
Stephane Nicoll
14a9ec8711
Polish
6 years ago
Stephane Nicoll
e6b44189e0
Polish "Add global support for JMX unique names"
...
This commit ensures that the new "spring.jmx.unique-names" property
deprecates the Endpoint's specific property as they share the same goal.
If both are set with an incompatible value, an exception is thrown
inviting the user to update their configuration.
Closes gh-13990
6 years ago
Stephane Nicoll
624c1306fd
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
737b4a275b
Polish
6 years ago
Stephane Nicoll
0e750f982b
Merge branch '2.0.x'
6 years ago
Johnny Lim
7b6b91aae7
Return null immediately when sla is null in convertSla()
...
Closes gh-13991
6 years ago
Phillip Webb
1b91c0ceb7
Merge branch '2.0.x'
6 years ago
Phillip Webb
0ec22c8bf9
Polish copyright date on changed files
6 years ago
Phillip Webb
80da9cf5eb
Merge branch '2.0.x'
6 years ago
Phillip Webb
aeb885192e
Polish ternary expressions
6 years ago
Phillip Webb
a6c9c92f2e
Merge branch '2.0.x'
6 years ago
Phillip Webb
e6a68b39a3
Fix checkstyle javadoc issues
...
Fix checkstyle issues in javadoc following the spring-javaformat
upgrade.
See gh-13932
6 years ago
Phillip Webb
7fc455654a
Fix checkstyle ternary issues
...
Fix checkstyle issues with ternary expressions following the
spring-javaformat upgrade.
See gh-13932
6 years ago
Madhura Bhave
f2a9030788
Merge branch '2.0.x'
6 years ago
Madhura Bhave
e753b530fa
EndpointRequest should match links with trailing slash
...
Fixes gh-13921
6 years ago
Phillip Webb
b5b60c2053
Merge branch '2.0.x'
6 years ago
Phillip Webb
9a9111af21
Support path discovery for main dispatcher servlet
...
Add an `DispatcherServletPath` interface which provides a much more
consistent way to discover the path of the main dispatcher servet.
Prior to this commit, auto-configurations would often make use of the
`ServerProperties` class to discover the dispatcher servlet path. This
mechanism isn't very explicit and also makes it hard for us to relocate
that property in Spring Boot 2.1.
This commit also reverts most of fddc9e9c7e
since it is now clear that
the supporting multiple dispatcher servlet paths will be much more
involved that we originally anticipated.
Closes gh-13834
6 years ago
Phillip Webb
d37e717500
Polish
6 years ago
Stephane Nicoll
1e7aa7c4bc
Fix Spring Integration imports
6 years ago
Stephane Nicoll
af0aa11d15
Polish "Add reactive health indicator for Cassandra"
...
Closes gh-13864
6 years ago
artsiom
61c41555c8
Add reactive health indicator for Cassandra
...
See gh-13864
6 years ago
Stephane Nicoll
6dc0cb4f67
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
7176c54f5e
Polish "Add metric description and base unit to metrics endpoint"
...
Closes gh-13813
6 years ago
Johannes Edmeier
ab1f8cf77b
Add metric description and base unit to metrics endpoint
...
See gh-13813
6 years ago
Stephane Nicoll
ecb8da2536
Polish "Upgrade to Micrometer 1.0.6"
...
Closes gh-13819
6 years ago
Jon Schneider
f478911c54
Upgrade to Micrometer 1.0.6
...
See gh-13819
6 years ago
Madhura Bhave
9b6a069903
Merge branch '2.0.x'
6 years ago
Johnny Lim
86ccb26c58
Polish EndpointRequest.RequestMatcherFactory.antPath()
...
Closes gh-13775
6 years ago
Andy Wilkinson
6a189cee06
Merge branch '2.0.x'
6 years ago
Andy Wilkinson
a57d0f0853
Reinstate order of WebMvcMetricsFilter
...
Closes gh-13781
6 years ago
Stephane Nicoll
070c26d6c3
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
d6c7eff8f7
Add check for empty values for lookup
...
Closes gh-13419
6 years ago
Johnny Lim
58df752af4
Polish
...
See gh-13790
6 years ago
Stephane Nicoll
43091150d8
Merge branch '2.0.x'
6 years ago
Johnny Lim
f363fe7dd1
Polish
...
See gh-13790
6 years ago
Andy Wilkinson
ac1f2a5817
Polish
6 years ago
Madhura Bhave
d1b8558430
Make /health and /info insecure by default
...
Closes gh-13722
6 years ago
Stephane Nicoll
fa171671b1
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
e6ea28dec5
Polish
6 years ago
Johnny Lim
13202eb278
Prevent duplicate RequestMatcher in RequestMatcherFactory.antPath()
...
Closes gh-13706
6 years ago
Johnny Lim
f94ce495d8
Fix parameter order for RequestMatcherAssert.doesNotMatch()
...
Closes gh-13707
6 years ago
dreis2211
be837ccb4b
Use PropertySources.stream() where possible
...
Closes gh-13724
6 years ago
Andy Wilkinson
c1a81cfca0
Prohibit bean overriding by default and analyze override failures
...
Closes gh-13609
6 years ago
Johnny Lim
b87b23a44f
Fix parameter order for RequestMatcherAssert.doesNotMatch()
...
Closes gh-13707
6 years ago
Stephane Nicoll
60457f1d9a
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
44b9aa168e
Polish "Improve description of Endpoint exclude"
...
Closes gh-13619
6 years ago
Miguel Gomes
838e6cdbbb
Improve description of Endpoint exclude
...
See gh-13619
6 years ago
Brian Clozel
68a3c234be
Adapt to API changes in Reactor Netty
...
The following issue changed the SSL configuration API for both client
and server: https://github.com/reactor/reactor-netty/issues/370
6 years ago
Andy Wilkinson
fd624c20cf
Upgrade to Hikaricp 3.2.0
...
Closes gh-13695
6 years ago
Andy Wilkinson
b6b37c91bb
Upgrade to Flyway 5.1.3
...
Closes gh-13672
6 years ago
Madhura Bhave
4eff07f6c0
Merge branch '2.0.x'
6 years ago
Madhura Bhave
fddc9e9c7e
Support multiple paths in DispatcherServletPathProvider
...
Closes gh-13603
6 years ago
Johnny Lim
bb60edaca6
Polish
...
Closes gh-13534
7 years ago
Stephane Nicoll
d4d169277d
Merge branch '2.0.x'
7 years ago
Johnny Lim
b9ea0fd5a7
Polish
...
See gh-13534
7 years ago
Stephane Nicoll
9d3ba14686
Fix conditions for CachingConnectionFactory support
...
Closes gh-12161
7 years ago
Stephane Nicoll
defa171a32
Merge branch '2.0.x'
7 years ago
Johnny Lim
dd3bfdbe42
Use @ManagementContextConfiguration consistently
7 years ago
Brian Clozel
cb6c8f76e2
Configure X-Forwarded-* support with Reactor Netty
...
This commit configures the new X-Forwarded-* / Forwarded HTTP headers
support with Reactor Netty in its 0.8.0 version.
Closes gh-10900
7 years ago
Stephane Nicoll
c738b73c6f
Merge branch '2.0.x'
7 years ago
Johnny Lim
870d7fe16a
Use @SpringBootTest.properties in tests and samples
...
Closes gh-13453
7 years ago
Madhura Bhave
6eaae608b5
Merge branch '2.0.x'
7 years ago
Madhura Bhave
461202bc25
EndpointRequest uses empty servlet path if not available
...
Fixes gh-13399
7 years ago
Stephane Nicoll
0d63e7f592
Merge branch '2.0.x'
7 years ago
dreis2211
ba8a32fa4e
Replace commons-codec Base64 usage
...
See gh-13378
7 years ago
Phillip Webb
66be6c3396
Polish
7 years ago
Stephane Nicoll
83f7df920b
Merge branch '2.0.x'
7 years ago
Stephane Nicoll
bf56ec496d
Polish
7 years ago
Stephane Nicoll
47634f5587
Polish
7 years ago
Stephane Nicoll
1901008d6f
Merge branch '2.0.x'
7 years ago
Stephane Nicoll
fff06822dc
Polish
7 years ago
Stephane Nicoll
d84e2b90d7
Fix wrong usage of ManagementContextConfiguration
...
Closes gh-13366
7 years ago
Stephane Nicoll
3248400665
Merge branch '2.0.x'
7 years ago
Stephane Nicoll
b4f8361989
Make JMX metrics domain configurable
...
Closes gh-13356
7 years ago
Phillip Webb
ade1397ea2
Merge branch '2.0.x'
7 years ago
Phillip Webb
571c50e43f
Switch to functional web code to use static imports
...
Update the samples and tests to use the more idiomatic static import
style.
7 years ago
Brian Clozel
bd8106d77f
Upgrade to Spring Framework 5.1
...
As of Spring Framework 5.1, we're depending on the Reactor Californium
release train.
Reactor Netty is now at version 0.8 and changed its artifact
coordinates, package names and broke several APIs. Spring Framework is
now up-to-date with those changes and this commit does the same for
Spring Boot.
Note that in that process, the `NettyServerCustomizer` has been changed
since the former `HttpServerOptions.Builder` API is now gone from
Reactor Netty, and we're now relying on immutable server instances
instead of a stateful builder pattern.
See gh-13321
7 years ago
Andy Wilkinson
78b1a37d7d
Merge branch '2.0.x'
7 years ago
Andy Wilkinson
68cd27c47b
Do not require DataSourcePoolMetrics to auto-configure Hikari meters
...
Closes gh-13330
7 years ago
Vedran Pavic
205b1c1327
Upgrade to Hazelcast 3.10.1
...
Closes gh-13322
7 years ago
Johnny Lim
5d5a14e4f7
Make MetricsProperties fields final if possible
...
Closes gh-13324
7 years ago
Stephane Nicoll
f06627c408
Allow CompositeHealthIndicator to be created with a Map as before
...
See gh-4965
7 years ago
Johnny Lim
de01e7aad4
Polish
...
See gh-13243
7 years ago
Stephane Nicoll
f91b53747a
Merge branch '2.0.x'
7 years ago
Johnny Lim
f385a1cb11
Polish
...
Closes gh-13243
7 years ago
Phillip Webb
3702da4573
Formatting
7 years ago
Phillip Webb
2215709165
Merge branch '2.0.x'
7 years ago
Phillip Webb
9fd3b9103a
Format code
7 years ago