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 14:27:51 GMT
Repository: knox
Updated Branches:
  refs/heads/master ed3de63f8 -> 3f6abb23e


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

Branch: refs/heads/master
Commit: 3f6abb23ede59f4a37eb37369880806620ce0bd3
Parents: ed3de63
Author: Sandeep More <more@apache.org>
Authored: Tue Apr 4 10:27:37 2017 -0400
Committer: Sandeep More <more@apache.org>
Committed: Tue Apr 4 10:27:37 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/3f6abb23/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 0ada1ef..d66e1d7 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
@@ -56,6 +56,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