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

Add support for Dapr InvokeService and InvokeBinding API #362

Merged
merged 10 commits into from
Dec 14, 2021

Conversation

seeflood
Copy link
Member

What this PR does:
Add support for Dapr InvokeService and InvokeBinding API

Which issue(s) this PR fixes:

#361

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@codecov
Copy link

codecov bot commented Dec 13, 2021

Codecov Report

Merging #362 (62da459) into main (124b22c) will increase coverage by 1.09%.
The diff coverage is 69.29%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #362      +/-   ##
==========================================
+ Coverage   56.53%   57.62%   +1.09%     
==========================================
  Files          47       48       +1     
  Lines        2220     2289      +69     
==========================================
+ Hits         1255     1319      +64     
- Misses        827      837      +10     
+ Partials      138      133       -5     
Impacted Files Coverage Δ
pkg/grpc/dapr/dapr_api.go 56.41% <56.41%> (ø)
pkg/grpc/default_api/api.go 76.05% <96.96%> (+4.23%) ⬆️
pkg/runtime/runtime.go 54.88% <100.00%> (+0.17%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 124b22c...62da459. Read the comment docs.

@seeflood seeflood mentioned this pull request Dec 14, 2021
4 tasks
@seeflood seeflood merged commit d1b13d5 into mosn:main Dec 14, 2021
@seeflood seeflood deleted the dapr_api branch December 14, 2021 08:00
"testing"
)

func Test_addPathSeparator(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

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

Why is there no test logic related to etcd, as this file is actually etcd_test.go?

}

func (d *daprGrpcAPI) startSubscribing() error {
// TODO
Copy link
Member

Choose a reason for hiding this comment

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

It's better to record what to do here, in case no one would know what to do here in the future

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.

4 participants