1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

Update acm.adoc

This commit is contained in:
pbting 2018-11-22 17:26:54 +08:00 committed by GitHub
parent 2a0296d1c8
commit 0e4461e671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,9 +250,9 @@ DataId: com.infrastructure.alibaba:application.yaml
Content: owner.group: infrastructure
----
NOTE: 这个时候注意在轻量版配置中心填写的dataid的格式为${spring.application.group}:application.${file-extension} 或者
${spring.application.group}:${spring.application.name}.${file-extension}。如果有 `spring.profiles.active` 的配置dataid的格式还支持
${spring.application.group}:${spring.application.name}-${spring.profiles.active}.${file-extension}。 Group 的值目前只支持 DEFAULT_GROUP因此在使用过程中请额外注意该值配置的正确性不要和 `spring.application.group` 这个配置搞混了。
NOTE: 这个时候注意在轻量版配置中心填写的dataid的格式为`${spring.application.group}:application.${file-extension}` 或者
`${spring.application.group}:${spring.application.name}.${file-extension}` 。如果有 `spring.profiles.active` 的配置dataid的格式还支持
`${spring.application.group}:${spring.application.name}-${spring.profiles.active}.${file-extension}`。 Group 的值目前只支持 `DEFAULT_GROUP`,因此在使用过程中请额外注意该值配置的正确性,不要和 `spring.application.group` 这个配置搞混了。
启动 Spring Boot 应用测试的代码如下: