knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject knox git commit: KNOX-907 - Ambari Hive 2.0 view fix
Date Tue, 14 Mar 2017 13:42:33 GMT
Repository: knox
Updated Branches:
  refs/heads/master 8857bef1e -> d3c6aefd3


KNOX-907 - Ambari Hive 2.0 view fix


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

Branch: refs/heads/master
Commit: d3c6aefd31490ab9612b55c7106939e131a0d684
Parents: 8857bef
Author: Sumit Gupta <sumit@apache.org>
Authored: Tue Mar 14 09:42:06 2017 -0400
Committer: Sumit Gupta <sumit@apache.org>
Committed: Tue Mar 14 09:42:06 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/d3c6aefd/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 87078ef..f7760fe 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
@@ -70,6 +70,11 @@
           <rewrite apply="AMBARIUI/ambari/outbound/apiendpoint" to="response.body"/>
         </route>
 
+        <!-- Hive 2.0 view -->
+        <route path="/ambari/views/HIVE/**/assets/ui.js">
+            <rewrite apply="AMBARIUI/ambari/outbound/apiendpoint/noroot" to="response.body"/>
+        </route>
+
         <!-- No need to rewrite Slider View -->
     </routes>
     <dispatch classname="org.apache.hadoop.gateway.dispatch.PassAllHeadersDispatch"/>


Mime
View raw message