This is an automated email from the ASF dual-hosted git repository.
more pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git
The following commit(s) were added to refs/heads/master by this push:
new 1b8fe408b KNOX-2996 - Add proxy for hdfs UI network topology (#829)
1b8fe408b is described below
commit 1b8fe408b73ad0a23d431d8e38367c1910cb2497
Author: berylzsh <[email protected]>
AuthorDate: Tue Mar 5 19:59:42 2024 +0800
KNOX-2996 - Add proxy for hdfs UI network topology (#829)
Co-authored-by: zhaoshuaihua <[email protected]>
---
.../src/main/resources/services/hdfsui/3.0.0/rewrite.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/gateway-service-definitions/src/main/resources/services/hdfsui/3.0.0/rewrite.xml
b/gateway-service-definitions/src/main/resources/services/hdfsui/3.0.0/rewrite.xml
index 495bc1e77..82b532e85 100644
---
a/gateway-service-definitions/src/main/resources/services/hdfsui/3.0.0/rewrite.xml
+++
b/gateway-service-definitions/src/main/resources/services/hdfsui/3.0.0/rewrite.xml
@@ -155,6 +155,9 @@
<rule dir="OUT" name="HDFSUI/hdfs/outbound/logs/files" pattern="/logs/{**}">
<rewrite template="{gateway.url}/hdfs/logs/{**}?host={$inboundurl[host]}"/>
</rule>
+ <rule dir="OUT" name="HDFSUI/hdfs/outbound/topology" pattern="topology">
+ <rewrite template="{gateway.url}/hdfs/topology/?host={$inboundurl[host]}"/>
+ </rule>
<!-- for explorer page rewrite -->
<rule dir="OUT" name="HDFSUI/hdfs/outbound/explorerhtml/tab-overview"
pattern="dfshealth.html#tab-overview">