KNOX-1074 - Knox Proxy - Workflow Manager view fails to load when using ambari 
through KNOX (Venkatasairam Lanka via lmccay)

Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/c5aedf40
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/c5aedf40
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/c5aedf40

Branch: refs/heads/KNOX-998-Package_Restructuring
Commit: c5aedf40f21ffc9f884330e576ff8f680fd5f368
Parents: 7b4755d
Author: Larry McCay <lmc...@hortonworks.com>
Authored: Sat Sep 30 20:51:05 2017 -0400
Committer: Larry McCay <lmc...@hortonworks.com>
Committed: Sat Sep 30 20:51:05 2017 -0400

----------------------------------------------------------------------
 .../src/main/resources/services/ambariui/2.2.0/service.xml      | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/c5aedf40/gateway-service-definitions/src/main/resources/services/ambariui/2.2.0/service.xml
----------------------------------------------------------------------
diff --git 
a/gateway-service-definitions/src/main/resources/services/ambariui/2.2.0/service.xml
 
b/gateway-service-definitions/src/main/resources/services/ambariui/2.2.0/service.xml
index ab4ab2b..0ed0a31 100644
--- 
a/gateway-service-definitions/src/main/resources/services/ambariui/2.2.0/service.xml
+++ 
b/gateway-service-definitions/src/main/resources/services/ambariui/2.2.0/service.xml
@@ -80,6 +80,11 @@
             <rewrite apply="AMBARIUI/ambari/outbound/apiendpoint/noroot" 
to="response.body"/>
         </route>
 
+        <!-- Wfmanager view -->
+        <route path="/ambari/views/WORKFLOW_MANAGER/*/*/">
+            <rewrite apply="AMBARIUI/ambari/outbound/apiendpoint/html" 
to="response.body"/>
+        </route>
+
         <!-- SmartSense view -->
         <route path="/ambari/views/SMARTSENSE/**/assets/hstapp-*.js">
             <rewrite apply="AMBARIUI/ambari/outbound/apiendpoint" 
to="response.body"/>

Reply via email to