liubao68 commented on a change in pull request #2268:
URL:
https://github.com/apache/servicecomb-java-chassis/pull/2268#discussion_r585569857
##########
File path:
dynamic-config/config-cc/src/main/java/org/apache/servicecomb/config/archaius/sources/ConfigCenterConfigurationSourceImpl.java
##########
@@ -126,7 +128,23 @@ public void handle(String action, Map<String, Object>
parseConfigs) {
if (parseConfigs == null || parseConfigs.isEmpty()) {
return;
}
+
Map<String, Object> configuration =
ConfigMapping.getConvertedMap(parseConfigs);
+ List<String> fileSourceList = new ArrayList<>();
+
+ try {
+ fileSourceList = configCenterClient.getFileSources();
+ } catch (NullPointerException e) {
+ LOGGER.warn("No File Source Found!");
+ }
+
+ fileSourceList.forEach(fileName -> {
+ if (configuration.containsKey(fileName)) {
+ System.out.println("read yaml file: " + fileName);
Review comment:
remove this log
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]