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/06/29 09:03:00 UTC

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

Zsombor Gegesy created RANGER-2144:
--------------------------------------

             Summary: 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


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)