Skip to content

Commit 74b5528

Browse files
committed
Remove EndpointProperties
`EndpointProperties` is a left over of the infrastructure in 1.x and is no longer used. Besides the `endpoints.enabled` property is now `endpoints.all.enabled`. Closes gh-10016
1 parent 151f7ef commit 74b5528

File tree

3 files changed

+4
-68
lines changed

3 files changed

+4
-68
lines changed

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/EndpointProperties.java

Lines changed: 0 additions & 64 deletions
This file was deleted.

spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ content into your application; rather pick only the properties that you need.
10831083
# ----------------------------------------
10841084
10851085
# ENDPOINTS ({sc-spring-boot-actuator}/endpoint/AbstractEndpoint.{sc-ext}[AbstractEndpoint] subclasses)
1086-
endpoints.enabled=true # Enable endpoints.
1086+
endpoints.all.enabled=true # Enable all endpoints.
10871087
endpoints.auditevents.enabled= # Enable the endpoint.
10881088
endpoints.autoconfig.enabled= # Enable the endpoint.
10891089
endpoints.beans.enabled= # Enable the endpoint.

spring-boot-docs/src/main/asciidoc/production-ready-features.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,12 @@ NOTE: The prefix ‟`endpoints` + `.` + `name`” is used to uniquely identify t
208208
that is being configured.
209209

210210
By default, all endpoints except for `shutdown` are enabled. If you prefer to
211-
specifically "`opt-in`" endpoint enablement you can use the `endpoints.enabled` property.
212-
For example, the following will disable _all_ endpoints except for `info`:
211+
specifically "`opt-in`" endpoint enablement you can use the `endpoints.all.enabled`
212+
property. For example, the following will disable _all_ endpoints except for `info`:
213213

214214
[source,properties,indent=0]
215215
----
216-
endpoints.enabled=false
216+
endpoints.all.enabled=false
217217
endpoints.info.enabled=true
218218
----
219219

0 commit comments

Comments
 (0)