How to enable all endpoints in a drive (Spring Boot 2.0.0 RC1)

I upgraded to Spring Boot 2.0.0 RC1 from 1.5.10 and I am stuck with the drive in the latest version. How to enable the inclusion and inclusion of all end points of the actuator?

The only endpoints that are displayed are:

{"_ links": {"self": {"href": " http://127.0.0.1:8080/actuator ", "templated": false}, "health": {"href": " http: / /127.0.0.1:8080/actuator/health "," templated ": false}," info ": {" href ":" http://127.0.0.1:8080/actuator/info "," templated ": false} }}

These are my application.properties files. Any ideas?

#The three first ones seem to be obsolete
endpoints.configprops.enabled=true
endpoints.beans.enabled=true
endpoints.shutdown.enabled=true

management.endpoints.enabled-by-default=true
management.endpoints.sensitive=false
management.endpoints.enabled=true

management.endpoint.configprops.enabled=true
management.endpoint.beans.enabled=true
management.endpoint.shutdown.enabled=true

management.endpoints.web.exposure.include=*
+4
2

Spring Boot 2.0.0.RC1 1) 2) .

, shutdown health info.

:

management.endpoints.web.expose=*
# if you'd like to expose shutdown:
# management.endpoint.shutdown.enabled=true

, (!) Spring Boot 2.0.0.RC2:

management.endpoints.web.exposure.include=*
# if you'd like to expose shutdown:
# management.endpoint.shutdown.enabled=true

, .

+9

, Spring Boot 2 ( 1.X , ). Spring Boot 2.X . Spring:

, /health /info, . management.endpoints.web.expose . Spring , WebSecurityConfigurerAdapter, Spring Boot auto-config. WebSecurityConfigurerAdapter, Spring , .)

0

Source: https://habr.com/ru/post/1693903/


All Articles