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 10:17:00 UTC
[jira] [Created] (KNOX-2559) Adding functionality to append headers
in Configurable Dispatch
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)