From dd6403d7ee731bb12d1633a26fcbb85c0dcbb9d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=AC=E6=89=AC=E6=89=AC=E6=89=AC=E6=89=AC?= <2269766985@qq.com> Date: Fri, 18 Oct 2024 14:21:30 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0v3.13.11=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=97=A5=E5=BF=97=20(#8227)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --story=119241405 --- docs/apidoc/apigw/definition.yaml | 6 +++--- docs/support-file/changelog/release.md | 2 +- docs/support-file/helm/Chart.yaml | 4 ++-- src/apimachinery/discovery/discovery.go | 6 ++++++ 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/apidoc/apigw/definition.yaml b/docs/apidoc/apigw/definition.yaml index 77c7d6967d..82783e0a7b 100644 --- a/docs/apidoc/apigw/definition.yaml +++ b/docs/apidoc/apigw/definition.yaml @@ -5,11 +5,11 @@ spec_version: 1 release: # 发布版本号; # 资源配置更新,需更新此版本号才会发布资源版本,此版本号和 sdk 版本号一致,错误设置会影响调用方使用 - version: 3.13.11-alpha1 + version: 3.13.11 # 版本标题 - title: "3.13.11-alpha1" + title: "3.13.11" # 版本描述 - comment: "3.13.11-alpha1" + comment: "3.13.11" # 定义网关基本信息,用于命令 `sync_apigw_config` apigateway: diff --git a/docs/support-file/changelog/release.md b/docs/support-file/changelog/release.md index b8af132f74..2c79acff1b 100644 --- a/docs/support-file/changelog/release.md +++ b/docs/support-file/changelog/release.md @@ -1,4 +1,4 @@ -## [Version: v3.13.11-alpha1] - 2024-10-15 +## [Version: v3.13.11] - 2024-10-18 **新增功能** - 添加CMDB数据同步服务 diff --git a/docs/support-file/helm/Chart.yaml b/docs/support-file/helm/Chart.yaml index dee5fce910..729c80358e 100644 --- a/docs/support-file/helm/Chart.yaml +++ b/docs/support-file/helm/Chart.yaml @@ -1,9 +1,9 @@ apiVersion: v2 -appVersion: 3.13.11-alpha1 +appVersion: 3.13.11 description: BlueKing Configuration Management DataBase (bk-cmdb) is an enterprise level configuration management serivce database. name: bk-cmdb type: application -version: 3.14.11-alpha1 +version: 3.14.11 dependencies: - name: common repository: https://charts.bitnami.com/bitnami diff --git a/src/apimachinery/discovery/discovery.go b/src/apimachinery/discovery/discovery.go index ed3ce795c7..4dfbf4c9ab 100644 --- a/src/apimachinery/discovery/discovery.go +++ b/src/apimachinery/discovery/discovery.go @@ -74,6 +74,12 @@ func NewServiceDiscovery(client *zk.ZkClient) (DiscoveryInterface, error) { if component == types.CC_MODULE_WEBSERVER && curServiceName != types.CC_MODULE_WEBSERVER { continue } + + // other service do not need to discover transfer service + if component == types.CC_MODULE_TRANSFERSERVICE && curServiceName != types.CC_MODULE_TRANSFERSERVICE { + continue + } + path := fmt.Sprintf("%s/%s", types.CC_SERV_BASEPATH, component) svr, err := newServerDiscover(disc, path, component) if err != nil {