You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandeep More (Jira)" <ji...@apache.org> on 2021/05/13 18:11:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Sandeep More updated KNOX-2559:
-------------------------------
    Fix Version/s: 1.6.0

> 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
>             Fix For: 1.6.0
>
>         Attachments: 0001-KNOX-2559-Added-functionality-to-append-headers-in-r.patch
>
>          Time Spent: 5h
>  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)