Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2646

Refactor: replace references to static configuration instance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • admin, audit, plugins
    • None

    Description

      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.

      Attachments

        Activity

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: