public Result<Boolean> publishConfig(ConfigInfo request) {
        Result<Boolean> checkResult = checkConnection(request);
        if (!checkResult.isSuccess()) {
            return checkResult;
        }
        String group = request.getGroup();
        ConfigClient client = getConfigClient(request.getNamespace());
        if (client instanceof NacosClient) {
            group = NacosUtils.rebuildGroup(request.getGroup());
        }
        boolean result = client.publishConfig(request.getKey(), group, request.getContent());
        if (result) {
            return new Result<>(ResultCodeType.SUCCESS.getCode(), null, true);
        }
        return new Result<>(ResultCodeType.MODIFY_FAIL.getCode(), null, false);
    }
@Test
    public void addConfig() {
        ConfigInfo configInfo = new ConfigInfo();
        configInfo.setGroup(GROUP);
        configInfo.setKey(KEY);
        configInfo.setContent(CONTENT);
        configInfo.setPluginType(PluginType.SPRINGBOOT_REGISTRY.getPluginName());
        Result<Boolean> result = configService.publishConfig(configInfo);
        Assert.assertTrue(result.isSuccess());
        Assert.assertTrue(result.getData());
    }