官术网_书友最值得收藏!

Getting Started with Spring CLI and Actuator

In the previous chapters, we have seen several ways to create a Spring Boot application using the Spring Boot web-based interface, STS IDE, and Spring Boot CLI. In this chapter, we will discuss Spring Boot CLI a bit deeper and will also see how to install CLI in your machine and how to create a Spring Boot application using the CLI interface.

By the end of this chapter, you will understand how to install and use Spring Boot CLI to develop Spring applications with more simplicity and understand how you can run this application using the CLI. Also, you will get understanding of Spring Boot's production-ready feature, the Actuator. The Spring Boot Actuator provides many endpoints to look at what's going on with your application in production.

This chapter will cover the following points:

  • Getting started with using Spring Boot CLI:
    • Installing the Spring Boot CLI
  • Using the Initializr with the Spring Boot CLI
  • Spring Boot Actuator:
    • Taking Application's Insights
    • Enabling Spring Boot's Actuator in your application
    • Analyzing the Actuator's endpoints
    • Exposing configuration details
    • Exposing metrics endpoints
    • Exposing application information
    • Shutting down your application
    • Customizing your Actuator endpoints
  • Securing the Actuator endpoints
  • The Actuator with Spring Boot 2.X

Let's look at these topics in detail.

主站蜘蛛池模板: 广灵县| 南澳县| 自治县| 柯坪县| 敖汉旗| 固安县| 忻州市| 麦盖提县| 綦江县| 通海县| 方正县| 巴里| 汶上县| 镇巴县| 潍坊市| 北安市| 兰西县| 康马县| 濮阳县| 甘洛县| 巩义市| 汶川县| 龙江县| 崇阳县| 介休市| 崇义县| 阜康市| 齐河县| 八宿县| 奉贤区| 理塘县| 阳新县| 库尔勒市| 浮梁县| 青神县| 望都县| 六安市| 武隆县| 涪陵区| 杨浦区| 岫岩|