api-testing icon indicating copy to clipboard operation
api-testing copied to clipboard

Provide a gRPC endpoint to getting the version

Open LinuxSuRen opened this issue 2 years ago • 3 comments

Currently, we only have one endpoint for running the test cases. The VS Code extension could communicate with it. It would be great if the VS Code side could get the version and prompt users if they upgrade atest according to the version comparison.

Please feel free to read the following references before trying to fix this issue:

  • https://github.com/LinuxSuRen/api-testing/blob/master/pkg/server/server.proto
  • https://grpc.io/docs/languages/go/quickstart/

LinuxSuRen avatar Apr 25 '23 12:04 LinuxSuRen

I found out that this feature already exists. So we only need to let the vs-code extension to call it.

https://github.com/LinuxSuRen/vscode-api-testing

LinuxSuRen avatar Apr 26 '23 00:04 LinuxSuRen

hello, I would like to have a try~

is-shidian avatar Apr 30 '23 14:04 is-shidian

hello, I would like to have a try~

Thanks. The server side is ready. Please feel free to take a look at the vscode side. https://github.com/LinuxSuRen/vscode-api-testing

LinuxSuRen avatar May 01 '23 13:05 LinuxSuRen