ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsombor Gegesy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (RANGER-2144) Refactor DAO usage
Date Wed, 05 Sep 2018 21:21:00 GMT

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

Zsombor Gegesy updated RANGER-2144:
-----------------------------------
    Attachment:     (was: 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-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)

Mime
View raw message