...
|
...
|
@@ -48,6 +48,11 @@ public class ZkConfigCenterServiceImpl implements IZkConfigCenterService { |
|
|
try {
|
|
|
List<String> children = configCenterZkClient.getOnlineCuratorFrameworkByKey(clientKey).getChildren().forPath(root);
|
|
|
for (String name: children) {
|
|
|
|
|
|
if (name.indexOf(".") > -1) {
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
String curPath = ZKPaths.makePath(root, name);
|
|
|
|
|
|
List<String> sub = configCenterZkClient.getOnlineCuratorFrameworkByKey(clientKey).getChildren().forPath(curPath);
|
...
|
...
|
@@ -56,10 +61,6 @@ public class ZkConfigCenterServiceImpl implements IZkConfigCenterService { |
|
|
continue;
|
|
|
}
|
|
|
|
|
|
if (name.indexOf(".") > -1) {
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
ZkConfig zkConfig = new ZkConfig();
|
|
|
zkConfig.setName(name);
|
|
|
zkConfig.setRoot(curPath);
|
...
|
...
|
|