public Result<List<ConfigInfo>> getConfigList(ConfigInfo request, PluginType pluginType, boolean exactMatchFlag) {
        Result<?> result = checkConnection(request);
        if (!result.isSuccess()) {
            return new Result<>(result.getCode(), result.getMessage());
        }
        String requestGroup = request.getGroup();
        ConfigClient client = getConfigClient(request.getNamespace());
        if (client instanceof NacosClient) {
            requestGroup = NacosUtils.rebuildGroup(requestGroup);
        }
        Map<String, List<String>> configMap = client.getConfigList(request.getKey(), requestGroup, exactMatchFlag);
        List<ConfigInfo> configInfoList = new ArrayList<>();
        PluginConfigHandler handler = pluginType.getHandler();
        for (Map.Entry<String, List<String>> entry : configMap.entrySet()) {
            String group = entry.getKey();
            if (client instanceof NacosClient) {
                group = NacosUtils.convertGroup(group);
            } else if (client instanceof KieClient) {
                group = group.replace(KieConstants.CONNECTOR, KieConstants.SEPARATOR);
                group = group.replace(KieConstants.DEFAULT_LABEL_PRE, StringUtils.EMPTY);
            }
            if (!exactMatchFlag && !handler.verifyConfigurationGroup(group)) {
                continue;
            }
            for (String configKey : entry.getValue()) {
                if (!exactMatchFlag && !handler.verifyConfigurationKey(configKey)) {
                    continue;
                }
                ConfigInfo configInfo = handler.parsePluginInfo(configKey, group);
                if (!exactMatchFlag && !handler.filterConfiguration(request, configInfo)) {
                    continue;
                }
                configInfo.setNamespace(request.getNamespace());
                configInfoList.add(configInfo);
            }
        }
        return new Result<>(ResultCodeType.SUCCESS.getCode(), null, configInfoList);
    }
@Test
    public void getConfigList() {
        ConfigInfo configInfo = new ConfigInfo();
        configInfo.setGroup(GROUP);
        configInfo.setKey(KEY);
        configInfo.setPluginType(PluginType.SPRINGBOOT_REGISTRY.getPluginName());
        Result<List<ConfigInfo>> result = configService.getConfigList(configInfo, PluginType.SPRINGBOOT_REGISTRY, false);
        Assert.assertTrue(result.isSuccess());
        Assert.assertNotNull(result.getData());
        Assert.assertEquals(result.getData().size(), 1);
        ConfigInfo info = result.getData().get(0);
        Assert.assertEquals(info.getGroup(), GROUP);
        Assert.assertEquals(info.getKey(), KEY);
        Assert.assertEquals(info.getServiceName(), SERVICE_NAME);
        Assert.assertEquals(info.getAppName(), APP_NAME);
        Assert.assertNull(info.getEnvironment());
    }