Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1728

Allow custom parameters to be passed to dispatches

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • None
    • None

    Description

      Breaking this out from KNOX-1559 where the changes were included. 

      This allows for <param> to be set for dispatches both in service.xml and topology xml files. This sets the ground work for KNOX-1559 and others to use the parameters for customization of behavior. It avoids the need to hardcode additional parameters when customizing dispatches.

      An example from KNOX-1559 could be something like this:

      <dispatch classname="org.apache.knox.gateway.dispatch....">
        <param>
          <name>excludeRequestHeaders</name>
          <value>Authorization,Content-Length</value>
        </param>
        <param>
          <name>excludeResponseHeaders</name>
          <value>SET-COOKIE,WWW-AUTHENTICATE</value>
        </param>
        <param>
          <name>removeUrlEncoding</name>
          <value>true</value>
        </param>
      </dispatch>

      Attachments

        1. KNOX-1728.patch
          26 kB
          Kevin Risden
        2. KNOX-1728.patch
          27 kB
          Kevin Risden
        3. KNOX-1728.patch
          27 kB
          Kevin Risden

        Issue Links

          Activity

            People

              krisden Kevin Risden
              krisden Kevin Risden
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: