[
https://issues.apache.org/jira/browse/RANGER-4114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj updated RANGER-4114:
-------------------------------------
Attachment: RANGER-4114.patch
> 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
> Priority: Major
> Fix For: 3.0.0, 2.4.0
>
> Attachments: RANGER-4114.patch
>
>
> 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)