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

Consistent use of plugin property prefix in context enrichers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.4.0
    • plugins
    • None

    Description

      Ranger plugins read configurations (like URL to Ranger) from properties having prefix 'ranger.plugin.' + serviceType. serviceType is provided as a parameter when a plugin is instantiated, which results in plugin to use the given serviceType in property prefix - for example _ ranger.plugin.hive.policy.rest.url{_}. However, context enrichers (like tag-enrichers) don't use the same property prefix; instead, derive the prefix from serviceType found in the policies downloaded from Ranger. Though these approaches usually arrive at the same property prefix, it will help or the plugin library to use consistent property prefix across all references.

      Attachments

        1. RANGER-4114.patch
          12 kB
          Madhan Neethiraj

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m