You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Zsombor Gegesy (JIRA)" <ji...@apache.org> on 2018/09/05 21:21:00 UTC

[jira] [Updated] (RANGER-2144) Refactor DAO usage

     [ 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-3.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-3.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)