-
Notifications
You must be signed in to change notification settings - Fork 172
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
feature: support dapr state api #377
Conversation
Signed-off-by: zach <[email protected]>
Signed-off-by: zach <[email protected]>
Thanks for your contribution ! |
ok |
@zach030 please fix the failed ci first |
Yes. But I don't know the reason of CI failure now 🥲 |
should be cause by cel-go version, you can check cel-go version in the go.sum |
我查了一下,我的这次修改引入了对dapr的依赖: 然后我对比了一下v0.7.3和v0.5.1 google/cel-go@v0.5.1...v0.7.3 |
替换成0.5.1看dapr那边会不会报错 |
Signed-off-by: zach <[email protected]>
Signed-off-by: zach <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #377 +/- ##
==========================================
- Coverage 57.61% 54.21% -3.41%
==========================================
Files 107 108 +1
Lines 5762 5921 +159
==========================================
- Hits 3320 3210 -110
- Misses 2105 2382 +277
+ Partials 337 329 -8
Continue to review full report at Codecov.
|
@wenxuwan already fixed ci failure |
ok, i will review asap |
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
Signed-off-by: zach <[email protected]>
…nto feature_dapr_state_api Signed-off-by: zach <[email protected]>
@seeflood 移除了加密部分的代码,还有对 |
FYI, I removed some unused code,e.g. |
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
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
* dapr/state:add get/save state dapr api Signed-off-by: zach <[email protected]> * dapr/state:add query/delete state Signed-off-by: zach <[email protected]> * dapr/state_api:replace cel-go with v0.5.1 Signed-off-by: zach <[email protected]> * dapr/state_api:fix state api ut Signed-off-by: zach <[email protected]> * dapr/state_api:init slice with cap Signed-off-by: zach <[email protected]> * dapr/state_api: remove encrypt dependency Signed-off-by: zach <[email protected]> * remove unused code * add comments Co-authored-by: seeflood <[email protected]> # Conflicts: # pkg/grpc/dapr/dapr_api_state.go # pkg/grpc/dapr/dapr_api_unimplement.go # pkg/grpc/default_api/api.go # pkg/grpc/default_api/api_state.go
* dapr/state:add get/save state dapr api Signed-off-by: zach <[email protected]> * dapr/state:add query/delete state Signed-off-by: zach <[email protected]> * dapr/state_api:replace cel-go with v0.5.1 Signed-off-by: zach <[email protected]> * dapr/state_api:fix state api ut Signed-off-by: zach <[email protected]> * dapr/state_api:init slice with cap Signed-off-by: zach <[email protected]> * dapr/state_api: remove encrypt dependency Signed-off-by: zach <[email protected]> * remove unused code * add comments Co-authored-by: seeflood <[email protected]>
What this PR does:
feature:
default_api
QueryStateAlpha1
and add some missing error-msg constsWhich issue(s) this PR fixes:
Fixes #361
Special notes for your reviewer:
Does this PR introduce a user-facing change?: