[ 
https://issues.apache.org/jira/browse/RANGER-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Velmurugan Periasamy updated RANGER-2646:
-----------------------------------------
    Fix Version/s:     (was: master)
                   2.1.0

> 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
>            Priority: Major
>             Fix For: 2.1.0
>
>
> 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)

Reply via email to