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:43:29 GMT
Repository: knox
Updated Branches:
  refs/heads/v0.12.0 998dcd257 -> 2a2de8223


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/2a2de822
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/2a2de822
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/2a2de822

Branch: refs/heads/v0.12.0
Commit: 2a2de8223277a8bfc521781abc5249b7205ded19
Parents: 998dcd2
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:43:25 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/2a2de822/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