[
https://issues.apache.org/jira/browse/KNOX-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16793493#comment-16793493
]
Martin Ruskov commented on KNOX-1783:
-------------------------------------
I'm trying to avoid having to explicitly list all top-level paths in rewrite
rules. I was hoping to be able to write something along the lines of
pattern="/\{**}", but this fails. As a consequence I had to write rules for
pattern="/", pattern="/static/\{**}", pattern="/superset/\{**}", etc. The list
ends up being quite long, and due to dynamically-generated links, a bit
difficult to predict. Is there a way to catch all paths, similar to my initial
approach?
I've asked for help here:
https://serverfault.com/questions/958297/rewriting-links-in-knox
My current code:
https://github.com/mapto/knox_superset_testing/blob/master/services/superset/0.29.0.7/rewrite.xml
> Proxy support for Superset UI
> -----------------------------
>
> Key: KNOX-1783
> URL: https://issues.apache.org/jira/browse/KNOX-1783
> Project: Apache Knox
> Issue Type: Improvement
> Reporter: Martin Ruskov
> Assignee: Martin Ruskov
> Priority: Minor
> Fix For: 1.3.0
>
>
> Provide proxy UI support for the Superset UI.
>
> To my understanding, this is a matter of adding a [new
> service|https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_security/content/adding_new_service_knox_gateway.html]
> to the KNOX gateway, but there seem to be problems with trailing slashes
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)