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: InvokeService support specific target address #739

Merged
merged 16 commits into from
Aug 22, 2022
Merged

feat: InvokeService support specific target address #739

merged 16 commits into from
Aug 22, 2022

Conversation

wenxuwan
Copy link
Member

@wenxuwan wenxuwan commented Jul 26, 2022

What this PR does:

user can specific provider ip address with set "rpc_target_address" in grpc header, layotto will send the request to specific ip address.

Which issue(s) this PR fixes:

Fixes #705

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@codecov
Copy link

codecov bot commented Jul 26, 2022

Codecov Report

Base: 60.56% // Head: 60.61% // Increases project coverage by +0.04% 🎉

Coverage data is based on head (55e2fde) compared to base (5d6b463).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #739      +/-   ##
==========================================
+ Coverage   60.56%   60.61%   +0.04%     
==========================================
  Files         133      133              
  Lines        8323     8327       +4     
==========================================
+ Hits         5041     5047       +6     
+ Misses       2705     2704       -1     
+ Partials      577      576       -1     
Impacted Files Coverage Δ
components/rpc/types.go 53.84% <ø> (ø)
components/rpc/invoker/mosn/mosninvoker.go 72.72% <100.00%> (+7.72%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@seeflood
Copy link
Member

Thanks!
@rayowang @MoonShining Could u help review this PR?

Copy link
Member

@seeflood seeflood left a comment

Choose a reason for hiding this comment

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

lgtm. We can improve this feature in the future.
For now, @kevinten10 needs this feature to do POC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can specify target address for rpc request
4 participants