Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5682

Make the admin InfoHandler more pluggable / derivable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      As of SOLR-5556 a user can specify the class of the admin InfoHandler, but can't easily override the individual handlers that it provides (the PropertiesRequestHandler, LoggingHandler, ThreadDumpHandler, SystemInfoHandler).

      Contrast this with say, the AdminHandlers, where a user can provide his/her own implementations of the underlying request handlers easily.

      I've run into this limitation in the following setup: I use derived versions of the various AdminHandlers, and would like to use the same implementations for the InfoHandler. I can do this by deriving from InfoHandler, but then I'd need to duplicate the handleRequestBody dispatching code. That's doable, but not as nice as what the AdminHandlers provides.

        Attachments

        1. SOLR-5682v2.patch
          5 kB
          Gregory Chanan
        2. SOLR-5682.patch
          5 kB
          Gregory Chanan

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              gchanan Gregory Chanan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: