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=*
Spring Boot 2.0.0.RC1 1) 2) .
, shutdown health info.
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
, .
, Spring Boot 2 ( 1.X , ). Spring Boot 2.X . Spring:
, /health /info, . management.endpoints.web.expose . Spring , WebSecurityConfigurerAdapter, Spring Boot auto-config. WebSecurityConfigurerAdapter, Spring , .)
Source: https://habr.com/ru/post/1693903/More articles:Toggle heart-shaped html code in javascript - javascriptКак искать строку/подстроку в результатах SSMS? - sql-serverПредотвращение клонирования приложения Android для клонирования приложений - androidHow to add a button to a div class when loading from Javascript? - javascriptYou need to forget about the configured Wi-Fi network programmatically in Android 6.0 - androidSpring Boot 2 - Drive metrics endpoint not working - spring-bootvisually displaying infinity in matlab - matlabCant removes docker images on azure, gives "Error: no such image" - dockerIs it correct to control the program flow based on the message from Exception? - javaIs it possible to define a “general” unwind mode in a storyboard? - iosAll Articles