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

Refactored RPC Routing for grpc implementation #447

Merged
merged 8 commits into from
Oct 11, 2024
Merged

Conversation

rakhiagr
Copy link
Contributor

@rakhiagr rakhiagr commented Oct 9, 2024

Summary

Refactored RPC Routing for grpc implementation. It's just a copy of this PR #443. Difference is rather than having 2 different interfaces, we can have one single interface used by both Restli and grpc.

Follow up work is to refactor the code in metadata-store for DatasetAccountableOwnership

Testing Done

./gradlew build

Checklist

@codecov-commenter
Copy link

codecov-commenter commented Oct 9, 2024

Codecov Report

Attention: Patch coverage is 88.46154% with 3 lines in your changes missing coverage. Please review.

Project coverage is 67.59%. Comparing base (abfb659) to head (3ac2d74).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
...n/java/com/linkedin/metadata/dao/BaseLocalDAO.java 92.30% 1 Missing ⚠️
...ata/dao/ingestion/preupdate/PreUpdateResponse.java 50.00% 1 Missing ⚠️
.../ingestion/preupdate/PreUpdateRoutingAccessor.java 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #447      +/-   ##
============================================
+ Coverage     67.57%   67.59%   +0.01%     
- Complexity     1548     1572      +24     
============================================
  Files           138      142       +4     
  Lines          6082     6125      +43     
  Branches        659      660       +1     
============================================
+ Hits           4110     4140      +30     
- Misses         1693     1706      +13     
  Partials        279      279              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


public PreUpdateRoutingClient<? extends Message> preUpdateClient;

public enum RoutingAction {
Copy link
Contributor

Choose a reason for hiding this comment

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

do we still parse this action from annotation in models?

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 still in discussion.

@rakhiagr rakhiagr requested a review from JiaoMaWHU October 11, 2024 17:17
Copy link
Contributor

@JiaoMaWHU JiaoMaWHU left a comment

Choose a reason for hiding this comment

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

lgtm

@rakhiagr rakhiagr merged commit a4f22cc into master Oct 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants