-
Notifications
You must be signed in to change notification settings - Fork 1
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
Rpc replacement #110
base: dev
Are you sure you want to change the base?
Rpc replacement #110
Conversation
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Review 🔍
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. CI Failure Feedback 🧐
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
|
User description
This PR aims to tackle the issue of the codebase containing 2 RPC implementations. One of them can be removed, which should simplify things.
The 2 implementations are:
It was chosen to get rid of the JSON-RPC 2.0 implementation, as this would result in less code overall, as well as an ability to rely on a project that is maintained by a large organization and widely used.
PR Type
Enhancement, Tests
Description
Changes walkthrough 📝
users.pb.go
Add gRPC service definitions for user management.
internal/grpc/sophrosyne/v0/users.pb.go
users.
scans.pb.go
Add gRPC service definitions for scan operations.
internal/grpc/sophrosyne/v0/scans.pb.go
UserServiceServer.go
Add mock implementations for UserServiceServer.
internal/mocks/internal_/grpc/sophrosyne/v0/UserServiceServer.go
users.