更新时间:2021-06-25 21:29:59
封面
版权信息
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
Getting Started with Spring Boot 2.0
Introducing Spring Boot
Simplifying Spring application development using Spring Boot
The essential key components of Spring Boot
Spring Boot Starters
Spring Boot Starter Parent POM
Spring Boot auto-configuration
Enabling Spring Boot auto-configuration
Spring Boot CLI
Spring Boot Actuator
Setting up a Spring Boot workspace
Setting up Spring Boot with Maven
Setting up Spring Boot with Gradle
Developing your first Spring Boot application
Using a web interface for Spring Initializr
Creating a Spring Boot project using the STS IDE
Implementing the REST service
New features in Spring Boot 2.0
Summary
Customizing Auto-Configuration in Spring Boot Application
Understanding auto-configuration
Learning how auto-configuration works
Customizing Spring Boot
Customizing using Spring Boot properties
Replacing generated beans
Disabling specific auto-configuration classes
Changing a library's dependencies
Externalizing configuration with properties
Order of evaluation for overridden properties
Renaming application.properties in the Spring application
Externally configuring application properties
Using the @EnableConfigurationProperties annotation
Fine-tuning with logging
Logging output
Using YAML for configuration
YAML for properties
Multiple profiles inside a single YAML file
Customizing application error pages
Getting Started with Spring CLI and Actuator
Getting started with using Spring Boot CLI
Installing the Spring Boot CLI
Manually installing from a downloaded distribution
Installation with SDKMAN!
Installing with OSX Homebrew
MacPorts installation
Command-line completion
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
Enabling or disabling endpoints
Changing endpoint IDs
Changing the sensitivity of the Actuator's endpoints
Writing custom health indicators
Creating a custom endpoint
Securing the Actuator endpoints
The Actuator with Spring Boot 2.X
Getting Started with Spring Cloud and Configuration
Cloud-native application architecture
Microservices architecture
Microservice benefits
Microservice challenges
Introduction to Spring Cloud
Building blocks of the cloud and microservice applications
Usages of Spring Cloud
Configuring the Spring Cloud application
Creating the configuration producer Spring Cloud Config Server
Project setup and dependencies
Implementing Cloud Config Server
Configuring the application.properties file
Creating a Git repository as configuration storage
Running your configuration application
Configuring multiple repositories using patterns
Authentication
Force-pull property