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-765 - Namenode UI fails to download few js and css (Mohammad Kamrul Islam via lmccay)
Date Sat, 29 Oct 2016 17:04:13 GMT
Repository: knox
Updated Branches:
  refs/heads/v0.9.0 1e9ffd91d -> da8f81e94


KNOX-765 - Namenode UI fails to download few js and css (Mohammad Kamrul Islam via lmccay)


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

Branch: refs/heads/v0.9.0
Commit: da8f81e940d4ec63cc4a7d48b13a409af3614e66
Parents: 1e9ffd9
Author: Larry McCay <lmccay@hortonworks.com>
Authored: Sat Oct 29 13:03:06 2016 -0400
Committer: Larry McCay <lmccay@hortonworks.com>
Committed: Sat Oct 29 13:04:00 2016 -0400

----------------------------------------------------------------------
 .../main/resources/services/hdfsui/2.7.0/rewrite.xml   | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/da8f81e9/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 3c88be4..9aee11b 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
@@ -29,11 +29,20 @@
   <rule dir="OUT" name="HDFSUI/hdfs/outbound/bootstrapcss" pattern="/static/{bootstrap=bootstrap*}/css/{**}">
     <rewrite template="{$frontend[url]}/hdfs/static/{bootstrap}/css/{**}"/>
   </rule>
+  <rule dir="OUT" name="HDFSUI/hdfs/outbound/datatablescss" pattern="/static/dataTables.bootstrap.css">
+    <rewrite template="{$frontend[url]}/hdfs/static/dataTables.bootstrap.css"/>
+  </rule>
   <rule dir="OUT" name="HDFSUI/hdfs/outbound/hadoopcss" pattern="/static/hadoop.css">
     <rewrite template="{$frontend[url]}/hdfs/static/hadoop.css"/>
   </rule>
-  <rule dir="OUT" name="HDFSUI/hdfs/outbound/jquery" pattern="/static/jquery-1.10.2.min.js">
-    <rewrite template="{$frontend[url]}/hdfs/static/jquery-1.10.2.min.js"/>
+  <rule dir="OUT" name="HDFSUI/hdfs/outbound/jqueryjs" pattern="/static/{jquery=jquery*js}">
+    <rewrite template="{$frontend[url]}/hdfs/static/{jquery}"/>
+  </rule>
+  <rule dir="OUT" name="HDFSUI/hdfs/outbound/datatablejs" pattern="/static/dataTables.bootstrap.js">
+    <rewrite template="{$frontend[url]}/hdfs/static/dataTables.bootstrap.js"/>
+  </rule>
+  <rule dir="OUT" name="HDFSUI/hdfs/outbound/momentjs" pattern="/static/moment.min.js">
+    <rewrite template="{$frontend[url]}/hdfs/static/moment.min.js"/>
   </rule>
   <rule dir="OUT" name="HDFSUI/hdfs/outbound/dust" pattern="/static/{dust=*dust*js}">
     <rewrite template="{$frontend[url]}/hdfs/static/{dust}"/>


Mime
View raw message