|
|
@@ -228,16 +228,14 @@ You will see a new set of RESTful end points added to the application. These are
|
|
228
|
228
|
2013-08-01 08:03:42.845 INFO 43851 ... Mapped URL path [/shutdown] onto handler of type [class org.springframework.boot.ops.endpoint.ShutdownEndpoint]
|
|
229
|
229
|
```
|
|
230
|
230
|
|
|
231
|
|
-They include:
|
|
232
|
|
-- Errors
|
|
233
|
|
-- [Environment](http://localhost:8080/env)
|
|
234
|
|
-- [Health](http://localhost:8080/health)
|
|
235
|
|
-- [Beans](http://localhost:8080/beans)
|
|
236
|
|
-- [Info](http://localhost:8080/info)
|
|
237
|
|
-- [Metrics](http://localhost:8080/metrics)
|
|
238
|
|
-- [Trace](http://localhost:8080/trace)
|
|
239
|
|
-- [Dump](http://localhost:8080/dump)
|
|
240
|
|
-- Shutdown
|
|
|
231
|
+They include: errors, [environment](http://localhost:8080/env), [health](http://localhost:8080/health), [beans](http://localhost:8080/beans), [info](http://localhost:8080/info), [metrics](http://localhost:8080/metrics), [trace](http://localhost:8080/trace), [dump](http://localhost:8080/dump), and shutdown.
|
|
|
232
|
+
|
|
|
233
|
+It's easy to check the health of the app.
|
|
|
234
|
+
|
|
|
235
|
+```sh
|
|
|
236
|
+$ curl localhost:8080/health
|
|
|
237
|
+ok
|
|
|
238
|
+```
|
|
241
|
239
|
|
|
242
|
240
|
You can invoke shutdown through curl.
|
|
243
|
241
|
|