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-1277 - make sure HDFS UI is rendered correctly without a forward slash (Bharat Viswanadham via Sandeep More)
Date Fri, 27 Apr 2018 14:14:55 GMT
Repository: knox
Updated Branches:
  refs/heads/master a3fb6df71 -> 12a1fd65d


KNOX-1277 - make sure HDFS UI is rendered correctly without a forward slash (Bharat Viswanadham
 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/12a1fd65
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/12a1fd65
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/12a1fd65

Branch: refs/heads/master
Commit: 12a1fd65d97ec5c584bad12c9960d58870aa974d
Parents: a3fb6df
Author: Sandeep More <more@apache.org>
Authored: Fri Apr 27 10:14:48 2018 -0400
Committer: Sandeep More <more@apache.org>
Committed: Fri Apr 27 10:14:48 2018 -0400

----------------------------------------------------------------------
 .../src/main/resources/services/hdfsui/2.7.0/rewrite.xml       | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/12a1fd65/gateway-service-definitions/src/main/resources/services/hdfsui/2.7.0/rewrite.xml
----------------------------------------------------------------------
diff --git a/gateway-service-definitions/src/main/resources/services/hdfsui/2.7.0/rewrite.xml
b/gateway-service-definitions/src/main/resources/services/hdfsui/2.7.0/rewrite.xml
index e7bc8b0..09350f4 100644
--- a/gateway-service-definitions/src/main/resources/services/hdfsui/2.7.0/rewrite.xml
+++ b/gateway-service-definitions/src/main/resources/services/hdfsui/2.7.0/rewrite.xml
@@ -31,6 +31,10 @@
   <rule dir="IN" name="HDFSUI/hdfs/inbound/namenode/query" pattern="*://*:*/**/hdfs/{**}?{**}">
     <rewrite template="{$serviceUrl[HDFSUI]}/{**}?{**}"/>
   </rule>
+  <!-- KNOX-1277 -->
+  <rule dir="OUT" name="HDFSUI/hdfs/inbound/namenode/root/filter/refresh-tag">
+    <rewrite template="{$prefix[0;url&amp;equals;,url]}/hdfs/dfshealth.html"/>
+  </rule>
 
   <!-- log rules  -->
   <rule dir="IN" name="HDFSUI/hdfs/inbound/logs" pattern="*://*:*/**/hdfs/logs">
@@ -146,6 +150,8 @@
        <!-- rules for to fix angular infoAddr variable KNOX-1242 -->
        <apply path="\'//\{infoAddr\}\'" rule="HDFSUI/hdfs/outbound/datanode/infoAddr"/>
        <apply path="\'//\{infoSecureAddr\}\'" rule="HDFSUI/hdfs/outbound/datanode/infoSecureAddr"/>
+       <!-- KNOX-1277 -->
+       <apply path=".*dfshealth\.html" rule="HDFSUI/hdfs/inbound/namenode/root/filter/refresh-tag"/>
     </content>
   </filter>
 


Mime
View raw message