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

Support gRPC test cases #81

Closed
LinuxSuRen opened this issue May 31, 2023 · 15 comments
Closed

Support gRPC test cases #81

LinuxSuRen opened this issue May 31, 2023 · 15 comments
Assignees
Labels
enhancement New feature or request glcc Special for https://www.gitlink.org.cn/glcc

Comments

@LinuxSuRen
Copy link
Owner

LinuxSuRen commented May 31, 2023

gRPC is a very popular protocol. It would be great if we could have this feature. Please feel free to see also the following ideas if you're interested in it:

  • Support all common feature of gRPC
  • CLI and server side supports both needed
  • VSCode extension support will be optinal
  • Have a good compitable with the current YAML specification
  • Docuemntation output

Online Meetings

@LinuxSuRen LinuxSuRen added the enhancement New feature or request label Jun 1, 2023
@LinuxSuRen LinuxSuRen self-assigned this Jun 14, 2023
@LinuxSuRen
Copy link
Owner Author

LinuxSuRen commented Jun 14, 2023

We only accept this proposal from GLCC 2023. Please feel free to see it if you're interested in it. By the way, only students could take it acorrding to the GLCC official rule.

See the details from here.

@LinuxSuRen LinuxSuRen pinned this issue Jun 14, 2023
@kaizhong2021
Copy link

I have submitted my application.

@LinuxSuRen
Copy link
Owner Author

See also the Twitter thread of this topic.

@LinuxSuRen LinuxSuRen added the glcc Special for https://www.gitlink.org.cn/glcc label Jun 26, 2023
@LinuxSuRen LinuxSuRen removed their assignment Jun 30, 2023
@LinuxSuRen
Copy link
Owner Author

Finally, @Ink-33 will take this issue. Please see the detail from #111

@LinuxSuRen
Copy link
Owner Author

LinuxSuRen commented Jul 3, 2023

hi @Ink-33 , I suggest we take an initial meeting to talk about this proposal. There are some potential outcomes from the meeting.

  • A discussed development plan which should contain timeline and keypoints.
  • The later meetings arrangment.
  • Any others.

Please pick up a time slot in Calendly.

Meeting link: https://meeting.tencent.com/dm/ZPyoVpZUqXni
Meeting record: https://www.bilibili.com/video/BV1xj411U7Wm/

@Ink-33
Copy link
Contributor

Ink-33 commented Jul 3, 2023

hi @Ink-33 , I suggest we take an initial meeting to talk about this proposal. There are some potential outcomes from the meeting.

  • A discussed development plan which should contain timeline and keypoints.
  • The later meetings arrangment.
  • Any others.

Please pick up a time slot in Calendly.

Thanks. I have picked a proper time slot through the calendly.

@Ink-33
Copy link
Contributor

Ink-33 commented Jul 5, 2023

Milestone:

  • Support .proto parsing and gRPC testsuite yaml parsing. (1.5 week)
  • Implement dynamic gRPC services request building. (1.5 week)
  • Support trigger gRPC testsuite through cli and rpc. (1 week)

@LinuxSuRen
Copy link
Owner Author

hi @Ink-33 Please feel free to see GRPC Server Reflection Protocol. In my view, it could help discover the gRPC service.

By the way, it would be more clear if it's confortable for you to put the date on your milestone list.

@LinuxSuRen
Copy link
Owner Author

I found another great tool grpcurl. I'm wondering if it's possible to reuse it.

@Ink-33
Copy link
Contributor

Ink-33 commented Jul 12, 2023

hi @Ink-33 Please feel free to see GRPC Server Reflection Protocol. In my view, it could help discover the gRPC service.

By the way, it would be more clear if it's confortable for you to put the date on your milestone list.

I will update it later.

There is something emergency that I have to put off the whole project for about 2 week, so the start time of first step may be set as the middle of this mouth.

@LinuxSuRen
Copy link
Owner Author

There is something emergency that I have to put off the whole project for about 2 week, so the start time of first step may be set as the middle of this mouth.

Sure. No problem. I could check the point if there is a clear timeline.

@Ink-33
Copy link
Contributor

Ink-33 commented Jul 12, 2023

I found another great tool grpcurl. I'm wondering if it's possible to reuse it.

I see. That project have done a lot of great work. I will try to reuse it.

@LinuxSuRen
Copy link
Owner Author

LinuxSuRen commented Jul 25, 2023

I find another type of RPC. BRPC was created by Baidu. We could try to support it after GLCC.

@LinuxSuRen
Copy link
Owner Author

hi @Ink-33 there are still some work need to do for this issue:

  • The unit tests are not enough
  • The server side which means the gRPC server
  • Document about how to use

@LinuxSuRen
Copy link
Owner Author

LinuxSuRen commented Oct 12, 2023

hi @Ink-33 Congrats! You did it. Thanks for your time on this project. Hopefully you learned something in this summer. And I'm looking forward to having more collaboration in this project or others.

Below are all the relevant pull requests.

https://github.com/LinuxSuRen/api-testing/pulls?q=is%3Apr+label%3Aglcc+is%3Aclosed

1697080129410

https://www.gitlink.org.cn/glcc/2023/result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request glcc Special for https://www.gitlink.org.cn/glcc
Projects
None yet
Development

No branches or pull requests

3 participants