Madhan Neethiraj created RANGER-4114:
----------------------------------------
Summary: Consistent use of plugin property prefix in context
enrichers
Key: RANGER-4114
URL: https://issues.apache.org/jira/browse/RANGER-4114
Project: Ranger
Issue Type: Improvement
Components: plugins
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
Ranger plugins read configurations (like URL to Ranger) from properties having
prefix {_}'ranger.plugin.' + serviceType{_}. serviceType is provided as a
parameter when a plugin is instantiated, which results in plugin to use the
given serviceType in property prefix - for example __
{_}ranger.plugin.hive.policy.rest.url{_}. However, context enrichers (like
tag-enrichers) don't use the same property prefix; instead, derive the prefix
from serviceType found in the policies downloaded from Ranger. Though these
approaches usually arrive at the same property prefix, it will help or the
plugin library to use consistent property prefix across all references.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)