jcasbin / redis-adapter

Redis adapter for Casbin
https://github.com/casbin/jcasbin
Apache License 2.0
5 stars 7 forks source link

feat: support `BatchAdapter` #16

Closed imp2002 closed 1 year ago

imp2002 commented 1 year ago

Fix: https://github.com/jcasbin/redis-adapter/issues/15

Implements BatchAdapter then it will be execute sync with Enforce.

casbin-bot commented 1 year ago

@tangyang9464 please review

codecov[bot] commented 1 year ago

Codecov Report

Base: 59.09% // Head: 59.09% // No change to project coverage :thumbsup:

Coverage data is based on head (1bf6fb4) compared to base (bbe12d2). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #16 +/- ## ======================================= Coverage 59.09% 59.09% ======================================= Files 3 3 Lines 132 132 Branches 26 26 ======================================= Hits 78 78 Misses 37 37 Partials 17 17 ``` | [Impacted Files](https://codecov.io/gh/jcasbin/redis-adapter/pull/16?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jcasbin) | Coverage Δ | | |---|---|---| | [src/main/java/org/casbin/adapter/RedisAdapter.java](https://codecov.io/gh/jcasbin/redis-adapter/pull/16/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jcasbin#diff-c3JjL21haW4vamF2YS9vcmcvY2FzYmluL2FkYXB0ZXIvUmVkaXNBZGFwdGVyLmphdmE=) | `62.22% <ø> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jcasbin). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jcasbin)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

hsluoyz commented 1 year ago

:tada: This PR is included in version 1.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: