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
This commit is contained in:
@@ -1083,7 +1083,7 @@ content into your application; rather pick only the properties that you need.
|
||||
# ----------------------------------------
|
||||
|
||||
# ENDPOINTS ({sc-spring-boot-actuator}/endpoint/AbstractEndpoint.{sc-ext}[AbstractEndpoint] subclasses)
|
||||
endpoints.enabled=true # Enable endpoints.
|
||||
endpoints.all.enabled=true # Enable all endpoints.
|
||||
endpoints.auditevents.enabled= # Enable the endpoint.
|
||||
endpoints.autoconfig.enabled= # Enable the endpoint.
|
||||
endpoints.beans.enabled= # Enable the endpoint.
|
||||
|
||||
@@ -208,12 +208,12 @@ NOTE: The prefix ‟`endpoints` + `.` + `name`” is used to uniquely identify t
|
||||
that is being configured.
|
||||
|
||||
By default, all endpoints except for `shutdown` are enabled. If you prefer to
|
||||
specifically "`opt-in`" endpoint enablement you can use the `endpoints.enabled` property.
|
||||
For example, the following will disable _all_ endpoints except for `info`:
|
||||
specifically "`opt-in`" endpoint enablement you can use the `endpoints.all.enabled`
|
||||
property. For example, the following will disable _all_ endpoints except for `info`:
|
||||
|
||||
[source,properties,indent=0]
|
||||
----
|
||||
endpoints.enabled=false
|
||||
endpoints.all.enabled=false
|
||||
endpoints.info.enabled=true
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user