xline-kv / Xline

A geo-distributed KV store for metadata management
https://xline.cloud
Apache License 2.0
596 stars 74 forks source link

[feat]: move token authentication to the network layer #648

Closed themanforfree closed 7 months ago

themanforfree commented 8 months ago

Please briefly answer these questions: based on #645

codecov[bot] commented 8 months ago

Codecov Report

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

Comparison is base (f74fbda) 74.50% compared to head (be490b9) 74.38%. Report is 1 commits behind head on master.

Files Patch % Lines
crates/xline/src/server/kv_server.rs 31.70% 23 Missing and 5 partials :warning:
crates/xline/src/server/lock_server.rs 8.00% 23 Missing :warning:
crates/xline/src/storage/auth_store/store.rs 86.90% 11 Missing :warning:
crates/curp/src/client/tests.rs 91.48% 8 Missing :warning:
crates/xline-client/src/clients/kv.rs 81.48% 0 Missing and 5 partials :warning:
crates/xline/src/storage/compact/mod.rs 0.00% 4 Missing :warning:
crates/curp/src/rpc/connect.rs 57.14% 1 Missing and 2 partials :warning:
crates/xline-client/src/clients/auth.rs 71.42% 0 Missing and 2 partials :warning:
crates/xline-client/src/clients/lease.rs 83.33% 0 Missing and 2 partials :warning:
crates/xline/src/server/auth_server.rs 75.00% 1 Missing and 1 partial :warning:
... and 7 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #648 +/- ## ========================================== - Coverage 74.50% 74.38% -0.12% ========================================== Files 170 170 Lines 24827 24834 +7 Branches 24827 24834 +7 ========================================== - Hits 18497 18474 -23 - Misses 5188 5220 +32 + Partials 1142 1140 -2 ```

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