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

Implement gRPC for echo and version APIs #322

Merged

Conversation

JayKaku
Copy link
Contributor

@JayKaku JayKaku commented Nov 20, 2023

@stefanprodan here is the restructured api to api/http and api/grpc along with adding functionality of version and echo api

@Rachitmehrotra
Copy link

@stefanprodan please review this.

pkg/api/grpc/echo.go Outdated Show resolved Hide resolved
@JayKaku
Copy link
Contributor Author

JayKaku commented Nov 24, 2023

@stefanprodan added logger and config to ehco

pkg/api/grpc/echo.go Outdated Show resolved Hide resolved
)

type echoServer struct {
echo.UnimplementedEchoServiceServer
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this call Unimplemented?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's something protoc-gen-grpc-go compiler now throws an error for in newer version must be embedded to have forward compatible implementations., it act as a placeholder or a default behavior for any methods that have not yet been implemented in your code

@Rachitmehrotra
Copy link

@stefanprodan please review

@stefanprodan
Copy link
Owner

stefanprodan commented Dec 17, 2023

Tests panic here podinfo/pkg/api/grpc/echo.go:18

@Prashant-Dwivedi-08-01
Copy link
Contributor

@stefanprodan can you please review it once again

@Rachitmehrotra
Copy link

@stefanprodan please review

@JayKaku
Copy link
Contributor Author

JayKaku commented Feb 1, 2024

@stefanprodan could you please review and let us know? Thanks!

@Prashant-Dwivedi-08-01
Copy link
Contributor

@stefanprodan Could you please review it once, so that we can go ahead with next set APIs, it has been a while now. Thanks.

@Rachitmehrotra
Copy link

@stefanprodan please review this; we want to contribute more .

@stefanprodan
Copy link
Owner

Hey sorry for the delay, I've been busy with work and didn't had time left for podinfo. Can you please rebase with master and force push so the test will run. Thanks for your patience!

@JayKaku JayKaku force-pushed the feature/grpc-version-echo-apis branch from 4856301 to 2251bee Compare February 24, 2024 18:21
@JayKaku
Copy link
Contributor Author

JayKaku commented Feb 24, 2024

Hey sorry for the delay, I've been busy with work and didn't had time left for podinfo. Can you please rebase with master and force push so the test will run. Thanks for your patience!

Done! Force pushed the branch after a rebase with the master

@stefanprodan stefanprodan changed the title Feature added grpc version echo apis Implement gRPC for echo and version APIs Feb 25, 2024
@stefanprodan stefanprodan added the enhancement New feature or request label Feb 25, 2024
Copy link
Owner

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @JayKaku and @Rachitmehrotra 🏅

@stefanprodan stefanprodan merged commit 532db40 into stefanprodan:master Feb 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants