Fateh Singh created RANGER-5230:
-----------------------------------
Summary: Support synchronous policy cache download for testing
plugins
Key: RANGER-5230
URL: https://issues.apache.org/jira/browse/RANGER-5230
Project: Ranger
Issue Type: Improvement
Components: Ranger
Reporter: Fateh Singh
Assignee: Fateh Singh
{{Aim is to reduce time spent by tests in waiting for the plugin to sync
policy/tag changes}}
{{RangerBasePlugin.refreshPoliciesAndTags()}} updates policies and tags on
demand. A configuration should be introduced to enable such refresh from all
RangerBasePlugin API that evaluates policies - like {{{}isAccessAllowed(){}}},
{{{}evalDataMaskPolicies(){}}}, {{{}evalRowFilterPolicies(){}}},
{{{}evalAuditPolicies(){}}}, {{{}getResourceACLs(){}}}. The configuration can
be named like
{{{}ranger.plugin.<serviceType>.plugin.cache.refresh.mode=async|sync{}}}{{{}refreshPoliciesAndTags(){}}}
is currently unused; it was added in RANGER-2349
--
This message was sent by Atlassian Jira
(v8.20.10#820010)