This is an automated email from the ASF dual-hosted git repository.
wangdan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
from 84ce5fb97 feat(Ranger): Compatible with the old ACL and the new ACL
(#1379)
add ca6ee39de feat(Ranger): Support encode and decode Ranger policies
(#1378)
No new revisions were added by this update.
Summary of changes:
src/common/json_helper.h | 58 ++++--
.../ranger/access_type.cpp} | 29 ++-
src/{utils/math.h => runtime/ranger/access_type.h} | 31 +++-
src/runtime/ranger/ranger_resource_policy.cpp | 12 --
src/runtime/ranger/ranger_resource_policy.h | 28 ++-
.../ranger/ranger_resource_policy_manager.cpp | 80 +++++++-
.../ranger/ranger_resource_policy_manager.h | 32 ++++
src/runtime/test/CMakeLists.txt | 1 +
.../test/ranger_resource_policy_manager_test.cpp | 206 +++++++++++++++++++++
src/runtime/test/ranger_resource_policy_test.cpp | 52 +++---
10 files changed, 435 insertions(+), 94 deletions(-)
copy src/{utils/sys_exit_hook.h => runtime/ranger/access_type.cpp} (66%)
copy src/{utils/math.h => runtime/ranger/access_type.h} (50%)
create mode 100644 src/runtime/test/ranger_resource_policy_manager_test.cpp
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]