Brian Clozel
ce9626d00f
Disable JMX by default
...
This commit switches the default value for the `spring.jmx.enabled`
configuration property.
JMX is now disabled by default and can be enabled with
`spring.jmx.enabled=true`.
Closes gh-16090
6 years ago
Stephane Nicoll
715db153e3
Polish "Remove code deprecated in 2.1"
...
Closes gh-16013
6 years ago
Stephane Nicoll
7b0004d6c3
Fix formatting
6 years ago
Andy Wilkinson
f2e3e274a8
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
53326695ea
Polish
6 years ago
Madhura Bhave
6f045d8891
Merge branch '2.1.x'
6 years ago
Madhura Bhave
c3e47541ad
EndpointRequest should check that the request is to the mgmt context
...
Fixes gh-15702
6 years ago
Andy Wilkinson
de0c065625
Inject single-use configuration dependencies into bean methods
...
Closes gh-15751
6 years ago
Andy Wilkinson
e6764bdc5a
Merge branch '2.1.x'
6 years ago
Andy Wilkinson
55426208ab
Provide type information for optional thread dump endpoint response fields
...
Closes gh-15989
6 years ago
Madhura Bhave
862ffcbbf4
Merge branch '2.1.x'
6 years ago
Madhura Bhave
bbe555a4f5
Split Jersey management context configuration
...
This commit splits the management context configuration for jersey
into two separate configurations depending on if the type is SAME or
CHILD. The configuration for the SAME context should only kick in if
there is no existing ResourceConfig bean.
Fixes gh-15891
6 years ago
Andy Wilkinson
22192c2b5c
Polish "Make auto-config of RestTemplate metrics back off with no builder bean"
...
Closes gh-15842
6 years ago
Raheela
8f3c4dbc64
Make auto-config of RestTemplate metrics back off with no builder bean
...
See gh-15842
6 years ago
Madhura Bhave
4d69e127c8
Merge branch '2.1.x'
6 years ago
Madhura Bhave
26da45aa9a
Configure a JerseyApplicationPath bean for the actuators
...
This commit also ensures that Jersey-based actuator endpoints are
available before the user has configured a `ResourceConfig` bean
Fixes gh-15625
Fixes gh-15877
6 years ago
Stephane Nicoll
380d7ec01c
Merge branch '2.1.x'
6 years ago
Johnny Lim
885c28891b
Polish
...
Closes gh-15873
6 years ago
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