[
https://issues.apache.org/jira/browse/RANGER-5230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fateh Singh resolved RANGER-5230.
---------------------------------
Resolution: Fixed
[https://github.com/apache/ranger/commit/3b3c515f0bce3cddcbc318945e6bb648c3f8d9ff]
[https://github.com/apache/ranger/commit/6a812eb0e42768119b93c3e3b2417e947211c9a9]
> 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
> Priority: Major
> Fix For: 3.0.0, 2.8.0
>
> Time Spent: 5h 20m
> Remaining Estimate: 0h
>
> {{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)