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

Give DistributedSearchTestCase / JettySolrRunner the ability to specify extra filters

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.7, 6.0
    • Fix Version/s: 4.7, 6.0
    • Component/s: Tests
    • Labels:
      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

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              gchanan Gregory Chanan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment