Move configuration information out of the application deployment package to a centralized location. This pattern can provide opportunities for easier management and control of configuration data, and for sharing configuration data across applications
SpringBoot系列之外部配置用法简介 引用Springboot官方文档的说法,官方文档总共列举了如下用法: 1.Devtools global settings properties on your home directory (~/.spring-boot-devtools.properties when devtools is active). 2.@TestPropertySource annotations on your tests. 3.properties attribut