KNOX-1356 - Fix X-Forwarded-Context header (Marco Gaido via Sandeep More)
authorSandeep More <more@apache.org>
Wed, 13 Jun 2018 15:49:05 +0000 (11:49 -0400)
committerSandeep More <more@apache.org>
Wed, 13 Jun 2018 15:49:05 +0000 (11:49 -0400)
gateway-service-definitions/src/main/resources/services/sparkhistoryui/1.4.0/service.xml

index aa370a1..c1972f3 100644 (file)
         </route>
         <route path="/sparkhistory/history/**?**">
             <rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/headers" to="response.headers"/>
+            <rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/rqheaders" to="request.headers"/>
         </route>
         <route path="/sparkhistory/history/**/?**">
             <rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/headers/jobs" to="response.headers"/>
+            <rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/rqheaders" to="request.headers"/>
         </route>
         <route path="/sparkhistory/history/**/jobs/**?**">
             <rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/headers/jobs" to="response.headers"/>
+            <rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/rqheaders" to="request.headers"/>
         </route>
     </routes>
 </service>