Skip to content

Commit

Permalink
feat:grpc cnofig client support UpsertAndPublishConfig(for support du…
Browse files Browse the repository at this point in the history
…bbo3.x) (#101)
  • Loading branch information
chuntaojun authored Jan 15, 2024
1 parent b8983f9 commit 4185019
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 64 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.0
1.4.2-SNAPSHOT
3 changes: 3 additions & 0 deletions api/v1/config_manage/grpc_config_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ service PolarisConfigGRPC {
// 发布配置
rpc PublishConfigFile(ConfigFileRelease) returns (ConfigClientResponse) {}

// 发布配置
rpc UpsertAndPublishConfigFile(ConfigFilePublishInfo) returns (ConfigClientResponse) {}

// 订阅配置变更
rpc WatchConfigFiles(ClientWatchConfigFileRequest) returns (ConfigClientResponse) {}

Expand Down
2 changes: 2 additions & 0 deletions api/v1/service_manage/contract.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,6 @@ message InterfaceDescriptor {
string ctime = 7;
// 更新时间
string mtime = 8;
// 接口名称描述信息
string name = 9;
}
92 changes: 64 additions & 28 deletions source/go/api/v1/config_manage/grpc_config_api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

79 changes: 44 additions & 35 deletions source/go/api/v1/service_manage/contract.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4185019

Please sign in to comment.