class ConfigCenterNode {

    public Collection<String> getAllSchemaConfigPaths(final Collection<String> schemaNames) {
        Collection<String> result = new ArrayList<>(Collections.singletonList(getSchemasPath()));
        for (String schemaName : schemaNames) {
            result.add(getSchemaNamePath(schemaName));
            result.add(getRulePath(schemaName));
            result.add(getDataSourcePath(schemaName));
            result.add(getTablePath(schemaName));
        }
        return result;
    }

}