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

feat: add grpc server #26

Open
wants to merge 3 commits into
base: team/networking-dev
Choose a base branch
from

Conversation

lucido-simon
Copy link

@lucido-simon lucido-simon commented May 30, 2022

Related issues :

Close #24

Overall explanation of your work :

This PR just defines the endpoints ( gRPC service ) declared in the networking's protobuf.

Technical decisions you've made and why :

We use tonic as the gRPC server for its popularity and simple usage.

Tasks lists :

  • Create cargo project
  • Add tonic & tokio as dependencies
  • Add services from the protobuf

- Create cargo project
- Add tonic & tokio as dependencies
- Add services from the protobuf

The services are only placeholders, they do not do anything.

Signed-off-by: Simon LUCIDO <[email protected]>
@lucido-simon lucido-simon requested a review from RedbeanGit May 30, 2022 07:03
@lucido-simon lucido-simon linked an issue May 30, 2022 that may be closed by this pull request
2 tasks
Cargo.toml Outdated Show resolved Hide resolved
proto/api.proto Outdated Show resolved Hide resolved
build.rs Outdated Show resolved Hide resolved
@@ -0,0 +1,14 @@
[package]

Choose a reason for hiding this comment

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

Maybe we should create one project per service instead of one big project shared between all teams. @do3-2021/kudo-agent-team, @do3-2021/kudo-cli-team, @do3-2021/kudo-controller-team, @do3-2021/kudo-scheduler-team

Copy link
Author

Choose a reason for hiding this comment

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

This is a good point. We need to discuss it with everybody on the project. Although we can merge this PR and change directory layout later ?

Choose a reason for hiding this comment

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

There may be quite a few changes once the multi-service organization is defined. I think we need to talk about this BEFORE we merge

@lucido-simon lucido-simon added enhancement New feature or request team/networking Relative to networking team team-pr labels May 30, 2022
Change proto filename to be clearer and avoid confusion
when merging with other branches.

Signed-off-by: Simon LUCIDO <[email protected]>
@lucido-simon lucido-simon requested a review from RedbeanGit May 30, 2022 09:16
@RedbeanGit
Copy link

I think we can close this PR as it's no longer relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request team/networking Relative to networking team team-pr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create basic gRPC server
2 participants