xcherryio / xcherry

server and main repo of xCherry project
Apache License 2.0
26 stars 1 forks source link

Add RPC #97

Closed zklgame closed 10 months ago

zklgame commented 10 months ago

Why make this pull request?

Add RPC.

Java SDK Integ Test: https://github.com/xcherryio/sdk-java/pull/13

What has changed

[Summarize what components of the repo is updated]

[Link to xdb-apis/xdb-golang-sdk PRs if it's on top of any API changes]

How to test this pull request?

[If writing Integration test in Golang SDK repo, please provide link to the pull request of Golang SDK Repo]

[It's recommended to write integration test in Golang SDK repo, and enabled in this server repo first, without enabling in the SDK repo. After this PR is merged, enable and merge the integration test in the SDK repo]

[Alternatively if Java/other SDK repo is preferred, then just test locally against server PR. After the server PR is merged, merge the integration test in the SDK repo]

Checklist before merge

[ ] If applicable, merge the xdb-apis/xdb-golang-sdk PRs to main branch [ ] If applicable, merge the xdb-apis/xdb-apis PRs to main branch [ ] Update go.mod to use the commitID of the main branches for xdb-apis/xdb-golang-sdk

codecov[bot] commented 10 months ago

Codecov Report

Attention: 257 lines in your changes are missing coverage. Please review.

Comparison is base (689585f) 65.51% compared to head (7bf61e7) 63.29%.

Files Patch % Lines
service/api/service_impl.go 0.00% 105 Missing :warning:
...rsistence/sql/update_process_execution_from_rpc.go 0.00% 85 Missing :warning:
persistence/sql/get_latest_process_execution.go 0.00% 22 Missing :warning:
service/api/gin_handler.go 0.00% 22 Missing :warning:
persistence/sql/common.go 80.51% 10 Missing and 5 partials :warning:
persistence/sql/complete_execute.go 80.76% 3 Missing and 2 partials :warning:
utils/util.go 81.25% 2 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #97 +/- ## ========================================== - Coverage 65.51% 63.29% -2.22% ========================================== Files 77 80 +3 Lines 5849 6133 +284 ========================================== + Hits 3832 3882 +50 - Misses 1775 2008 +233 - Partials 242 243 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.