标签: spring spring-boot
创建多个对等配置文件的标准命名约定是什么。
application-peer1-test.properties或application-peer1_test.properties
application-peer1-test.properties
application-peer1_test.properties
答案 0 :(得分:2)
配置文件的命名由您决定。
我认为在这种情况下,最佳做法是不要混合使用不同的方法,而最佳名称应该是application-peer1-test.properties