3

Can anyone help me to figure out how to enable actuator endpoints without using autoconfiguration dependencies?

I'm working on a Spring-Boot 2 project but starter poms and autocnfiguration dependencies are forbidden.

Jonas
  • 121,568
  • 97
  • 310
  • 388
Lost_dev
  • 31
  • 1
  • Hello, @Lost_dev, have you found a sulution? Would be nice if you write an answer, as I've run into the same problem. – Bogdan Mart Jan 03 '21 at 13:12

1 Answers1

0

Try to adding this dependency :

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-actuator</artifactId>
    <version>2.1.0.RELEASE</version>
</dependency>

And add this on application.properties in order to enable all endpoints of actuator if you want enable all.

  management.endpoints.web.exposure.include=*
Jonathan JOhx
  • 5,784
  • 2
  • 17
  • 33
  • 1
    Thanks you Jonathan for your replay, but as I stated in the question starter POMs dependencies are not an option. – Lost_dev Nov 30 '18 at 13:08