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

Included Entity type in the routing map #455

Merged
merged 3 commits into from
Oct 21, 2024
Merged

Conversation

rakhiagr
Copy link
Contributor

@rakhiagr rakhiagr commented Oct 21, 2024

Summary

Every dao has the registry and lambda logic, and the aspect routing may only be needed for specific asset, so we can reduce the number of calls by filtering out using entity and aspect to check whether the routing client exists.

Testing Done

./gradlew build
Unit test

Checklist

@codecov-commenter
Copy link

codecov-commenter commented Oct 21, 2024

Codecov Report

Attention: Patch coverage is 73.68421% with 5 lines in your changes missing coverage. Please review.

Project coverage is 67.53%. Comparing base (d4a2261) to head (14dadfd).

Files with missing lines Patch % Lines
...n/metadata/dao/ingestion/AspectCallbackMapKey.java 66.66% 2 Missing and 2 partials ⚠️
...din/metadata/restli/BaseAspectRoutingResource.java 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #455      +/-   ##
============================================
- Coverage     67.53%   67.53%   -0.01%     
- Complexity     1582     1589       +7     
============================================
  Files           142      143       +1     
  Lines          6160     6172      +12     
  Branches        667      669       +2     
============================================
+ Hits           4160     4168       +8     
- Misses         1717     1719       +2     
- Partials        283      285       +2     

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

Copy link
Contributor

@yihzhou yihzhou 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 842691e into master Oct 21, 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