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

Give DistributedSearchTestCase / JettySolrRunner the ability to specify extra filters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.7, 6.0
    • 4.7, 6.0
    • Tests
    • None

    Description

      I want to write a test case based around my own custom request handler using AbstractFullDistribZkTestBase. The issue I'm running into is that for my request handler to work properly, it requires a custom filter to set some properties on the HttpServletRequest.

      AbstractFullDistribZkTestBase allows one to specify extra servlets, but not extra filters on the root servlet. It would be useful to allow the user to specify extra filters that run before the SolrDispatchFilter.

      Attachments

        1. SOLR-5548.patch
          7 kB
          Gregory Chanan

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: