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

Zsombor Gegesy updated RANGER-2144:
-----------------------------------
    Attachment: RANGER-2144.patch

> Refactor DAO usage
> ------------------
>
>                 Key: RANGER-2144
>                 URL: https://issues.apache.org/jira/browse/RANGER-2144
>             Project: Ranger
>          Issue Type: Improvement
>          Components: admin
>    Affects Versions: 1.0.0
>            Reporter: Zsombor Gegesy
>            Assignee: Zsombor Gegesy
>            Priority: Major
>              Labels: code-cleanup
>         Attachments: RANGER-2144.patch
>
>
> Currently, RangerDaoManagerBase is used to construct new DAO instances, 
> instead of relying on Spring to provide one for it. This would reduce the 
> code to write and run, and make it less interdependent, and simplifies the 
> tests, as less code would be needed to mock.
>  As RangerDaoManagerBase is used everywhere, and to avoid having huge 
> patches, it would be better do it in smaller steps.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to