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

add more test case

This commit is contained in:
flystar32
2019-02-28 15:36:14 +08:00
parent 34e6f75421
commit cd02c50151
5 changed files with 108 additions and 7 deletions

View File

@@ -42,6 +42,8 @@ public class AcmPropertySourceLocator implements PropertySourceLocator {
CompositePropertySource compositePropertySource = new CompositePropertySource(
DIAMOND_PROPERTY_SOURCE_NAME);
acmIntegrationProperties.setActiveProfiles(environment.getActiveProfiles());
for (String dataId : acmIntegrationProperties.getGroupConfigurationDataIds()) {
loadDiamondDataIfPresent(compositePropertySource, dataId,
acmIntegrationProperties.getAcmProperties().getGroup(), true);