[ 
https://issues.apache.org/jira/browse/KNOX-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17344045#comment-17344045
 ] 

ASF subversion and git services commented on KNOX-2559:
-------------------------------------------------------

Commit b55e9ce16c46b630bf9295b011cdcfd2b250e5b3 in knox's branch 
refs/heads/master from mudit-97
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=b55e9ce ]

KNOX-2559: Added functionality to append headers in request in Config… (#423)

* KNOX-2559: Added functionality to append headers in request in 
ConfigurableDispatch

* Addressed Comments

* Changed Append headers string format

Co-authored-by: mudit.sharma <[email protected]>

> 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
>            Assignee: Mudit Sharma
>            Priority: Major
>         Attachments: 
> 0001-KNOX-2559-Added-functionality-to-append-headers-in-r.patch
>
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>
> 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