knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmc...@apache.org
Subject knox git commit: KNOX-909 - Ambari rewrite update for SmartSense
Date Tue, 21 Mar 2017 02:03:33 GMT
Repository: knox
Updated Branches:
  refs/heads/master d783b5ce7 -> 65ca3c109


KNOX-909 - Ambari rewrite update for SmartSense

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

Branch: refs/heads/master
Commit: 65ca3c109d2278fbe97dd41e2463cd182f264336
Parents: d783b5c
Author: Larry McCay <lmccay@hortonworks.com>
Authored: Mon Mar 20 22:03:13 2017 -0400
Committer: Larry McCay <lmccay@hortonworks.com>
Committed: Mon Mar 20 22:03:13 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/65ca3c10/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 f7760fe..0ec9f5a 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
@@ -75,6 +75,11 @@
             <rewrite apply="AMBARIUI/ambari/outbound/apiendpoint/noroot" to="response.body"/>
         </route>
 
+        <!-- SmartSense view -->
+        <route path="/ambari/views/SMARTSENSE/**/assets/hstapp-*.js">
+            <rewrite apply="AMBARIUI/ambari/outbound/apiendpoint" to="response.body"/>
+        </route>
+
         <!-- No need to rewrite Slider View -->
     </routes>
     <dispatch classname="org.apache.hadoop.gateway.dispatch.PassAllHeadersDispatch"/>


Mime
View raw message