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:
Stephane Nicoll
2017-08-16 13:41:32 +02:00
parent 151f7ef325
commit 74b552826b
3 changed files with 4 additions and 68 deletions

View File

@@ -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.

View File

@@ -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
----