knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject knox git commit: KNOX-917 - Fix Pig view in Ambari (Gaurav Nagar via Sandeep More)
Date Tue, 04 Apr 2017 13:28:25 GMT
Repository: knox
Updated Branches:
  refs/heads/master 5f61ef8a6 -> ed3de63f8


KNOX-917 - Fix Pig view in Ambari (Gaurav Nagar via Sandeep More)


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

Branch: refs/heads/master
Commit: ed3de63f87b49714eb7d55915ad4ef857631f59f
Parents: 5f61ef8
Author: Sandeep More <more@apache.org>
Authored: Tue Apr 4 09:28:15 2017 -0400
Committer: Sandeep More <more@apache.org>
Committed: Tue Apr 4 09:28:15 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/ed3de63f/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 0ec9f5a..0ada1ef 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
@@ -51,6 +51,11 @@
             <rewrite apply="AMBARIUI/ambari/outbound/apiendpoint/noroot" to="response.body"/>
         </route>
 
+        <!-- Pig view -->
+        <route path="/ambari/views/PIG/**/javascripts/app.js">
+            <rewrite apply="AMBARIUI/ambari/outbound/apiendpoint/noroot" to="response.body"/>
+        </route>
+
         <!-- Hive view route -->
         <route path="/ambari/views/HIVE/**/assets/hive.js">
             <rewrite apply="AMBARIUI/ambari/outbound/apiendpoint" to="response.body"/>


Mime
View raw message