[
https://issues.apache.org/jira/browse/KNOX-2258?focusedWorklogId=397642&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-397642
]
ASF GitHub Bot logged work on KNOX-2258:
----------------------------------------
Author: ASF GitHub Bot
Created on: 04/Mar/20 15:25
Start Date: 04/Mar/20 15:25
Worklog Time Spent: 10m
Work Description: abhi2196 commented on pull request #277: KNOX-2258 -
Add filter for Location header
URL: https://github.com/apache/knox/pull/277#discussion_r387739244
##########
File path:
gateway-service-definitions/src/main/resources/services/livy/0.4.0/rewrite.xml
##########
@@ -49,4 +49,10 @@
<rewrite template="{$frontend[url]}/livy/ui/"/>
</rule>
+ <filter name="LIVYSERVER/livy/outbound/headers">
Review comment:
Sure Added the relevant change.
But not sure why it is working in my test cluster without calling this
filter explicitly in route path, are these filters/rules applied by default
based on matched pattern ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 397642)
Remaining Estimate: 45h 40m (was: 45h 50m)
Time Spent: 2h 50m (was: 2h 40m)
> Add new rewrite rule in Livy service for handling redirect requests to /ui
> --------------------------------------------------------------------------
>
> Key: KNOX-2258
> URL: https://issues.apache.org/jira/browse/KNOX-2258
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Abhishek Shukla
> Assignee: Abhishek Shukla
> Priority: Major
> Labels: livy
> Fix For: 1.4.0
>
> Time Spent: 2h 50m
> Remaining Estimate: 45h 40m
>
> Livy Knox Trusted Proxy Url:
> {noformat}
> https://<KNOX_HOST:KNOX_PORT>/gateway/default/livy
> {noformat}
> Redirects to
> {noformat}
> https://<LIVY_HOST>:<LIVY_PORT>/ui
> {noformat}
> And Exposes Livy Server Port URL, We should add new rewrite rule in the Livy
> service to handle this redirect.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)