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

Adding functionality to append headers in Configurable Dispatch

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Hi, We are using Apache Knox to guardrail our perimeter for our Hadoop Cluster. As part of this we are abstracting out many APIs and putting them behind Knox

      We had a requirement where we want to append some service specific headers in the API calls before Knox submits it to the service. Livy had a similar implementation but Livy created a whole new Dispatcher to do this

      We have different APIs and different set of headers for all of them. We are suggesting to enlarge scope of current ConfigurableDispatcher to also allow one more param:

       

      <param>
      <name>requestAppendHeaders</name>
      <value>{"a":"b"}</value>
      </param>

       

      If given above param, Knox while submitting the request to the service, will add these headers along with the request

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mudit-97 Mudit Sharma
                Reporter:
                mudit-97 Mudit Sharma
              • 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 - 5h
                  5h