O'Reilly logo

Learning Spring Boot by Greg L. Turnquist

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding production-ready support

So, is anything missing? Well, in the previous chapter, we added @Grab("spring-boot-actuator") and @Grab("spring-boot-starter-remote-shell"), and it created a slew of extra HTTP endpoints. While Gradle isn't quite as concise as Groovy Grape, it's not that hard. Just add the following dependencies to build.gradle:

compile("org.springframework.boot:spring-boot-starter-actuator")
compile("org.springframework.boot:spring-boot-starter-remote-shell")

These two Spring Boot starters activate Spring Boot Actuator as well the CRaSH remote shell support.

In the previous chapter, we saw some detailed screenshots and explored how to view these endpoints in our browser. All this is quite useful. However, one thing that was mentioned ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required