-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'github-bk-bcs/master'
* github-bk-bcs/master: fix: 修复客户端查询标签时输入纯数字报错问题 (#3224) refactor: 批量删除配置文件成功提示文案修改 (#3228) fix: 处理文件型服务表格滚动 (#3227) fix: 客户端查询体验优化 (#3222) fix: 新增检测客户端查询名称接口 (#3221) fix: 修复客户端统计和查询内存和cpu数据展示问题 (#3213) fix: support dualstack ip and multi ip in complex network enviroment (#3220) fix: 删除文件后恢复后需定位到刚刚恢复的配置项--bug=124360863 (#3214) fix: 文件型配置列表高度需自适应--bug=124373229 (#3219) fix: 客户端查询支持拉取时间搜索 (#3211) feat:bcs-monitor 支持 cluster-manager节点池数目趋势图 api (#3181) fix: 修复客户端下钻以及过滤客户端上报时不完整的数据 (#3206) feat: 客户端查询添加配置拉取时间范围查询 (#3212) feat: 新增生成swagger文档 (#3173) 1. 补全标准运维 离线安装和bkrepo操作文档 (#3148) feat:bcs-ui 支持自定义注册前置 (#3208) feat: bscp supports file multiple match (#3185) refactor: 业务选择组件增加虚拟滚动 (#3209) fix: 客户端统计体验优化 (#3210) fix: 去掉客户端统计饼图和旭日图选中态的黑色边框 (#3207) fix: 套餐模板中的配置文件不应该支持添加到键值型服务当中--bug=124182747 (#3205) fix: 修复文件型配置表格边框问题 (#3204)
- Loading branch information
Showing
97 changed files
with
20,924 additions
and
5,978 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ init: | |
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install google.golang.org/grpc/cmd/[email protected] | ||
go install github.com/grpc-ecosystem/grpc-gateway/v2/[email protected] | ||
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.18.1 | ||
go install github.com/ifooth/grpc-gateway/v2/protoc-gen-openapiv2@v2.20.0-r2 | ||
@echo Download gotext | ||
go install golang.org/x/text/cmd/[email protected] | ||
|
||
|
@@ -81,6 +81,32 @@ pb: | |
@cd pkg/protocol && make clean && make | ||
@echo -e "\e[34;1mMake Protocol Done\n\033[0m" | ||
|
||
docs: api_docs bkapigw_docs | ||
|
||
api_docs: | ||
@mkdir -p ${PREFIX}/docs/swagger | ||
@protoc --proto_path=. --proto_path=pkg/thirdparty/protobuf/ \ | ||
--openapiv2_out docs/swagger \ | ||
--openapiv2_opt allow_merge=true \ | ||
--openapiv2_opt preserve_rpc_order=true \ | ||
--openapiv2_opt merge_file_name=api \ | ||
--openapiv2_opt output_format=json \ | ||
--openapiv2_opt include_without_visibility=true \ | ||
--openapiv2_opt visibility_restriction_selectors=BKAPIGW \ | ||
--openapiv2_opt use_go_templates=true pkg/protocol/config-server/*.proto | ||
|
||
bkapigw_docs: | ||
@mkdir -p ${PREFIX}/docs/swagger | ||
@protoc --proto_path=. --proto_path=pkg/thirdparty/protobuf/ \ | ||
--openapiv2_out docs/swagger \ | ||
--openapiv2_opt allow_merge=true \ | ||
--openapiv2_opt preserve_rpc_order=true \ | ||
--openapiv2_opt merge_file_name=bkapigw \ | ||
--openapiv2_opt output_format=json \ | ||
--openapiv2_opt include_without_visibility=false \ | ||
--openapiv2_opt visibility_restriction_selectors=BKAPIGW \ | ||
--openapiv2_opt use_go_templates=true pkg/protocol/config-server/*.proto | ||
|
||
.PHONY: gen | ||
gen: | ||
@go run scripts/gen/main.go | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.