Madhan Neethiraj created RANGER-2646:
----------------------------------------
Summary: Refactor: replace references to static configuration
instance
Key: RANGER-2646
URL: https://issues.apache.org/jira/browse/RANGER-2646
Project: Ranger
Issue Type: Improvement
Components: admin, audit, plugins
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
Ranger modules plugins/admin/audit obtain configurations from a static instance
of RangerConfiguration class. While this is convenient, it limits the usability
of the classes in different contexts, due to indirect dependency on
global/static state. Static method RangerConfiguration.getInstance() should be
removed, all its usage should be updated with an alternate mechanism that
doesn't rely on global/static state.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)