You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Mudit Sharma (Jira)" <ji...@apache.org> on 2021/03/24 11:52:00 UTC
[jira] [Comment Edited] (KNOX-2559) Adding functionality to append
headers in Configurable Dispatch
[ https://issues.apache.org/jira/browse/KNOX-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17307766#comment-17307766 ]
Mudit Sharma edited comment on KNOX-2559 at 3/24/21, 11:51 AM:
---------------------------------------------------------------
Have raised a patch to address this. [~krisden] / [~smore] / [~smolnar] can you please review this
was (Author: mudit-97):
Have raised a patch to address this. [~krisden] / [~smore] can you please review this
> 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
> Priority: Major
> Attachments: 0001-KNOX-2559-Added-functionality-to-append-headers-in-r.patch
>
> Time Spent: 10m
> 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)