-
Notifications
You must be signed in to change notification settings - Fork 58
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
Conversation
Codecov ReportAttention: Patch coverage is
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. |
dao-api/src/main/java/com/linkedin/metadata/dao/ingestion/preupdate/PreUpdateResponse.java
Outdated
Show resolved
Hide resolved
dao-api/src/main/java/com/linkedin/metadata/dao/ingestion/preupdate/PreRoutingInfo.java
Outdated
Show resolved
Hide resolved
|
||
public PreUpdateRoutingClient<? extends Message> preUpdateClient; | ||
|
||
public enum RoutingAction { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
...api/src/main/java/com/linkedin/metadata/dao/ingestion/preupdate/PreUpdateAspectRegistry.java
Outdated
Show resolved
Hide resolved
...api/src/main/java/com/linkedin/metadata/dao/ingestion/preupdate/PreUpdateAspectRegistry.java
Outdated
Show resolved
Hide resolved
dao-api/src/main/java/com/linkedin/metadata/dao/ingestion/preupdate/PreRoutingInfo.java
Outdated
Show resolved
Hide resolved
dao-api/src/main/java/com/linkedin/metadata/dao/BaseLocalDAO.java
Outdated
Show resolved
Hide resolved
restli-resources/src/main/java/com/linkedin/metadata/restli/BaseAspectRoutingResource.java
Outdated
Show resolved
Hide resolved
...api/src/main/java/com/linkedin/metadata/dao/ingestion/preupdate/PreUpdateAspectRegistry.java
Outdated
Show resolved
Hide resolved
...api/src/main/java/com/linkedin/metadata/dao/ingestion/preupdate/PreUpdateAspectRegistry.java
Outdated
Show resolved
Hide resolved
dao-api/src/main/java/com/linkedin/metadata/dao/ingestion/preupdate/PreUpdateRoutingClient.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
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