140 changed files with 455 additions and 527 deletions
0
module/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointAccessIntegrationTests.java → integration-test/spring-boot-actuator-integration-tests/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointAccessIntegrationTests.java
0
module/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointAccessIntegrationTests.java → integration-test/spring-boot-actuator-integration-tests/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointAccessIntegrationTests.java
2
module/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointIntegrationTests.java → integration-test/spring-boot-actuator-integration-tests/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointIntegrationTests.java
2
module/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointIntegrationTests.java → integration-test/spring-boot-actuator-integration-tests/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointIntegrationTests.java
4
module/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointsAutoConfigurationIntegrationTests.java → integration-test/spring-boot-actuator-integration-tests/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointsAutoConfigurationIntegrationTests.java
4
module/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointsAutoConfigurationIntegrationTests.java → integration-test/spring-boot-actuator-integration-tests/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointsAutoConfigurationIntegrationTests.java
@ -1,24 +0,0 @@
@@ -1,24 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
/** |
||||
* Auto-configuration that extends health endpoints so that they can be used as |
||||
* availability probes. |
||||
*/ |
||||
@NullMarked |
||||
package org.springframework.boot.actuate.autoconfigure.availability; |
||||
|
||||
import org.jspecify.annotations.NullMarked; |
||||
@ -1,23 +0,0 @@
@@ -1,23 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
/** |
||||
* Auto-configuration for actuator health concerns. |
||||
*/ |
||||
@NullMarked |
||||
package org.springframework.boot.actuate.autoconfigure.health; |
||||
|
||||
import org.jspecify.annotations.NullMarked; |
||||
@ -1,23 +0,0 @@
@@ -1,23 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
/** |
||||
* Auto-configuration for actuator system concerns. |
||||
*/ |
||||
@NullMarked |
||||
package org.springframework.boot.actuate.autoconfigure.system; |
||||
|
||||
import org.jspecify.annotations.NullMarked; |
||||
@ -1,3 +0,0 @@
@@ -1,3 +0,0 @@
|
||||
# Failure Analyzers |
||||
org.springframework.boot.diagnostics.FailureAnalyzer=\ |
||||
org.springframework.boot.actuate.autoconfigure.health.NoSuchHealthContributorFailureAnalyzer |
||||
@ -1,23 +0,0 @@
@@ -1,23 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
/** |
||||
* Actuator support for system-related concerns. |
||||
*/ |
||||
@NullMarked |
||||
package org.springframework.boot.actuate.system; |
||||
|
||||
import org.jspecify.annotations.NullMarked; |
||||
12
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityProbesAutoConfiguration.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/AvailabilityProbesAutoConfiguration.java
12
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityProbesAutoConfiguration.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/AvailabilityProbesAutoConfiguration.java
10
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityProbesHealthEndpointGroup.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/AvailabilityProbesHealthEndpointGroup.java
10
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityProbesHealthEndpointGroup.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/AvailabilityProbesHealthEndpointGroup.java
10
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityProbesHealthEndpointGroups.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/AvailabilityProbesHealthEndpointGroups.java
10
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityProbesHealthEndpointGroups.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/AvailabilityProbesHealthEndpointGroups.java
6
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityProbesHealthEndpointGroupsPostProcessor.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/AvailabilityProbesHealthEndpointGroupsPostProcessor.java
6
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityProbesHealthEndpointGroupsPostProcessor.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/AvailabilityProbesHealthEndpointGroupsPostProcessor.java
10
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/DelegatingAvailabilityProbesHealthEndpointGroup.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/DelegatingAvailabilityProbesHealthEndpointGroup.java
10
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/DelegatingAvailabilityProbesHealthEndpointGroup.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/DelegatingAvailabilityProbesHealthEndpointGroup.java
4
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/GroupsHealthContributorNameValidator.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/GroupsHealthContributorNameValidator.java
4
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/GroupsHealthContributorNameValidator.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/GroupsHealthContributorNameValidator.java
8
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/HealthEndpointReactiveWebExtensionConfiguration.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/HealthEndpointReactiveWebExtensionConfiguration.java
8
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/HealthEndpointReactiveWebExtensionConfiguration.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/HealthEndpointReactiveWebExtensionConfiguration.java
8
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/HealthEndpointWebExtensionConfiguration.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/HealthEndpointWebExtensionConfiguration.java
8
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/HealthEndpointWebExtensionConfiguration.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/HealthEndpointWebExtensionConfiguration.java
4
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/NoSuchHealthContributorFailureAnalyzer.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/NoSuchHealthContributorFailureAnalyzer.java
4
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/NoSuchHealthContributorFailureAnalyzer.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/actuate/endpoint/NoSuchHealthContributorFailureAnalyzer.java
10
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityHealthContributorAutoConfiguration.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/application/AvailabilityHealthContributorAutoConfiguration.java
10
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/availability/AvailabilityHealthContributorAutoConfiguration.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/application/AvailabilityHealthContributorAutoConfiguration.java
10
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/system/DiskSpaceHealthContributorAutoConfiguration.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/application/DiskSpaceHealthContributorAutoConfiguration.java
10
module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/system/DiskSpaceHealthContributorAutoConfiguration.java → module/spring-boot-health/src/main/java/org/springframework/boot/health/autoconfigure/application/DiskSpaceHealthContributorAutoConfiguration.java
@ -0,0 +1,110 @@
@@ -0,0 +1,110 @@
|
||||
{ |
||||
"groups": [], |
||||
"properties": [ |
||||
{ |
||||
"name": "management.endpoint.health.probes.add-additional-paths", |
||||
"type": "java.lang.Boolean", |
||||
"description": "Whether to make the liveness and readiness health groups available on the main server port.", |
||||
"defaultValue": false |
||||
}, |
||||
{ |
||||
"name": "management.endpoint.health.probes.enabled", |
||||
"type": "java.lang.Boolean", |
||||
"description": "Whether to enable liveness and readiness probes.", |
||||
"defaultValue": true |
||||
}, |
||||
{ |
||||
"name": "management.endpoint.health.status.order", |
||||
"defaultValue": [ |
||||
"DOWN", |
||||
"OUT_OF_SERVICE", |
||||
"UP", |
||||
"UNKNOWN" |
||||
] |
||||
}, |
||||
{ |
||||
"name": "management.endpoint.health.validate-group-membership", |
||||
"type": "java.lang.Boolean", |
||||
"description": "Whether to validate health group membership on startup. Validation fails if a group includes or excludes a health contributor that does not exist.", |
||||
"defaultValue": true |
||||
}, |
||||
{ |
||||
"name": "management.health.defaults.enabled", |
||||
"type": "java.lang.Boolean", |
||||
"description": "Whether to enable default health indicators.", |
||||
"defaultValue": true |
||||
}, |
||||
{ |
||||
"name": "management.health.diskspace.enabled", |
||||
"type": "java.lang.Boolean", |
||||
"description": "Whether to enable disk space health check.", |
||||
"defaultValue": true |
||||
}, |
||||
{ |
||||
"name": "management.health.influxdb.enabled", |
||||
"type": "java.lang.Boolean", |
||||
"deprecation": { |
||||
"level": "error", |
||||
"reason": "InfluxDB support has been removed." |
||||
} |
||||
}, |
||||
{ |
||||
"name": "management.health.livenessstate.enabled", |
||||
"type": "java.lang.Boolean", |
||||
"description": "Whether to enable liveness state health check.", |
||||
"defaultValue": false |
||||
}, |
||||
{ |
||||
"name": "management.health.ping.enabled", |
||||
"type": "java.lang.Boolean", |
||||
"description": "Whether to enable ping health check.", |
||||
"defaultValue": true |
||||
}, |
||||
{ |
||||
"name": "management.health.probes.enabled", |
||||
"type": "java.lang.Boolean", |
||||
"description": "Whether to enable liveness and readiness probes.", |
||||
"defaultValue": false, |
||||
"deprecation": { |
||||
"level": "error", |
||||
"replacement": "management.endpoint.health.probes.enabled" |
||||
} |
||||
}, |
||||
{ |
||||
"name": "management.health.readinessstate.enabled", |
||||
"type": "java.lang.Boolean", |
||||
"description": "Whether to enable readiness state health check.", |
||||
"defaultValue": false |
||||
}, |
||||
{ |
||||
"name": "management.health.ssl.enabled", |
||||
"type": "java.lang.Boolean", |
||||
"description": "Whether to enable SSL certificate health check.", |
||||
"defaultValue": true |
||||
} |
||||
], |
||||
"hints": [ |
||||
{ |
||||
"name": "management.health.status.order", |
||||
"values": [ |
||||
{ |
||||
"value": "UNKNOWN" |
||||
}, |
||||
{ |
||||
"value": "UP" |
||||
}, |
||||
{ |
||||
"value": "DOWN" |
||||
}, |
||||
{ |
||||
"value": "OUT_OF_SERVICE" |
||||
} |
||||
], |
||||
"providers": [ |
||||
{ |
||||
"name": "any" |
||||
} |
||||
] |
||||
} |
||||
] |
||||
} |
||||
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
# Failure Analyzers |
||||
org.springframework.boot.diagnostics.FailureAnalyzer=\ |
||||
org.springframework.boot.health.autoconfigure.actuate.endpoint.NoSuchHealthContributorFailureAnalyzer |
||||
@ -1,2 +1,7 @@
@@ -1,2 +1,7 @@
|
||||
org.springframework.boot.health.autoconfigure.actuate.endpoint.AvailabilityProbesAutoConfiguration |
||||
org.springframework.boot.health.autoconfigure.actuate.endpoint.HealthEndpointAutoConfiguration |
||||
org.springframework.boot.health.autoconfigure.application.AvailabilityHealthContributorAutoConfiguration |
||||
org.springframework.boot.health.autoconfigure.application.DiskSpaceHealthContributorAutoConfiguration |
||||
org.springframework.boot.health.autoconfigure.application.SslHealthContributorAutoConfiguration |
||||
org.springframework.boot.health.autoconfigure.contributor.HealthContributorAutoConfiguration |
||||
org.springframework.boot.health.autoconfigure.registry.HealthContributorRegistryAutoConfiguration |
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue