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 implement state api invoke function #235

Merged
merged 2 commits into from
Oct 8, 2021

Conversation

zach030
Copy link
Contributor

@zach030 zach030 commented Sep 29, 2021

What this PR does:
Support wasm function access cache through state API
Which issue(s) this PR fixes:
#192

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@mosn-community-bot
Copy link

Hi @zach030, welcome to mosn community, Please sign Contributor License Agreement!

After you signed CLA, we will automatically sync the status of this pull request in 3 minutes.

@seeflood
Copy link
Member

Thanks for your contribution!
@zhenjunMa @zu1k Hi guys, could u please review this PR?

@codecov-commenter
Copy link

Codecov Report

Merging #235 (dc7a9c4) into main (4bacab0) will decrease coverage by 1.07%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #235      +/-   ##
==========================================
- Coverage   56.56%   55.49%   -1.08%     
==========================================
  Files          51       53       +2     
  Lines        2215     2431     +216     
==========================================
+ Hits         1253     1349      +96     
- Misses        841      952     +111     
- Partials      121      130       +9     
Impacted Files Coverage Δ
pkg/wasm/imports.go 0.00% <0.00%> (ø)
pkg/grpc/api.go 72.69% <0.00%> (-4.60%) ⬇️
pkg/wasm/watcher.go 4.93% <0.00%> (-3.71%) ⬇️
pkg/runtime/runtime.go 51.94% <0.00%> (-3.51%) ⬇️
pkg/filter/network/tcpcopy/strategy/switch.go 86.36% <0.00%> (-3.04%) ⬇️
pkg/grpc/grpc.go 100.00% <0.00%> (ø)
pkg/runtime/options.go 0.00% <0.00%> (ø)
pkg/runtime/bindings/factory.go 100.00% <0.00%> (ø)
pkg/runtime/bindings/registry.go 100.00% <0.00%> (ø)
pkg/wasm/abi.go 8.69% <0.00%> (+0.36%) ⬆️
... and 1 more

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 4bacab0...dc7a9c4. Read the comment docs.

@zhenjunMa
Copy link
Contributor

@zach030 thanks!

@zhenjunMa zhenjunMa merged commit 3d71958 into mosn:main Oct 8, 2021
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