Mudit Sharma created KNOX-2559:
----------------------------------

             Summary: Adding functionality to append headers in Configurable 
Dispatch
                 Key: KNOX-2559
                 URL: https://issues.apache.org/jira/browse/KNOX-2559
             Project: Apache Knox
          Issue Type: Improvement
            Reporter: Mudit Sharma


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to