Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restructure proto of grpc for opensergo/opensergo-proto #4

Closed
wants to merge 7 commits into from

Conversation

jnan806
Copy link

@jnan806 jnan806 commented Sep 8, 2022

[ fixes #3 ] restructure proto of grpc for opensergo-proto


grp协议改造的任务列表

  • 移动grpcproto文件目录
  • 添加grpc-java
  • 配置grpc-javamaven 远程仓库的地址与权限配置 (需要由Maintainer完成)
  • 添加grpc-go
  • 配置grpc-go远程仓库的地址与权限配置 (需要由Maintainer完成)
  • 配置.github/workflows/ci-java.yml (需要由Maintainer完成)
  • 配置.github/workflows/ci-golang.yml (需要由Maintainer完成)

添加了 java 版本的 grpc-java,发布到 maven 中央仓库后,可直接被 opensergo-sdk-java 引用.


opensergo-grpc-java 步骤

  1. 新增 gprc-java 目录,并通过 pom.xml 构建为 java maven 项目
  2. grpc-java/pom.xml 文件中,配置grpc插件

@jnan806 jnan806 changed the title Add grpcStub of OpenSergo proto for Java restructure proto of grpc for opensergo/opensergo-proto Sep 13, 2022
@jnan806
Copy link
Author

jnan806 commented Sep 13, 2022

opensergo-grpc-go步骤

  1. 新建grpc-go目录
  2. opensergo/opensergo-go-sdk 中根据 opensergo/opensergo-proto 生成的 grpc代码 拷贝至 grpc-go 目录
  3. 修改go.modmodule名: github.com/opensergo/opensergo-go -> github.com/opensergo/opensergo-go/opensergo-grpc-go

@jnan806 jnan806 closed this Sep 13, 2022
@jnan806 jnan806 deleted the proto-stub-java branch September 13, 2022 01:50
@jnan806 jnan806 restored the proto-stub-java branch September 13, 2022 01:51
@jnan806 jnan806 reopened this Sep 13, 2022
@jnan806
Copy link
Author

jnan806 commented Sep 26, 2022

refer to #5

@jnan806 jnan806 closed this Sep 26, 2022
@jnan806 jnan806 deleted the proto-stub-java branch September 26, 2022 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant