[ 
https://issues.apache.org/jira/browse/KNOX-2258?focusedWorklogId=397444&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-397444
 ]

ASF GitHub Bot logged work on KNOX-2258:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Mar/20 10:04
            Start Date: 04/Mar/20 10:04
    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
 
 
   ## What changes were proposed in this pull request?
   
   Follow up for #276 
   Added a new filter in Livy rewrite.xml for replacing Location header
   Removed rewrite rules from routes path in service.xml
   
   ## How was this patch tested?
   
   Manually tested in a Cluster with Knox and Livy Services.
   
   1. Edited the rewrite/service.xml for Livy service with the changes.
   2. Verified that `https://<KNOX_HOST:KNOX_PORT>/gateway/default/livy` gets 
redirected to `https://<KNOX_HOST:KNOX_PORT>/gateway/default/livy/ui`
   3. Verified that `https://<KNOX_HOST:KNOX_PORT>/gateway/default/livy/` gets 
redirected to `https://<KNOX_HOST:KNOX_PORT>/gateway/default/livy/ui`
   
   
   
 
----------------------------------------------------------------
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: 397444)
    Remaining Estimate: 46h 10m  (was: 46h 20m)
            Time Spent: 2h 20m  (was: 2h 10m)

> 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 20m
>  Remaining Estimate: 46h 10m
>
> 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)

Reply via email to