knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject [knox] branch master updated: KNOX-2456 SHS links sometimes broken on FINISHED jobs page (#375)
Date Wed, 27 Jan 2021 18:50:15 GMT
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 0ebfab7  KNOX-2456 SHS links sometimes broken on FINISHED jobs page (#375)
0ebfab7 is described below

commit 0ebfab7eae1d784109a95166c6a875bc9bed445b
Author: Iain Buclaw <iain.buclaw@sociomantic.com>
AuthorDate: Wed Jan 27 19:50:04 2021 +0100

    KNOX-2456 SHS links sometimes broken on FINISHED jobs page (#375)
---
 .../src/main/resources/services/yarnui/2.7.0/rewrite.xml       | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml
b/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml
index d4486c9..af0d9f7 100644
--- a/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml
+++ b/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml
@@ -246,9 +246,13 @@
 </rule>
 
 
-<rule dir="OUT" name="YARNUI/yarn/outbound/apps/history">
-    <match pattern="*://*:*/proxy/{**}"/>
-    <rewrite template="{$frontend[url]}/yarn/proxy/{**}/"/>
+<rule flow="OR" dir="OUT" name="YARNUI/yarn/outbound/apps/history">
+    <match pattern="*://*:*/proxy/{**}">
+        <rewrite template="{$frontend[url]}/yarn/proxy/{**}/"/>
+    </match>
+    <match pattern="/proxy/{**}">
+        <rewrite template="{$frontend[url]}/yarn/proxy/{**}/"/>
+    </match>
 </rule>
 <rule dir="OUT" name="YARNUI/yarn/outbound/apps/history1">
     <match pattern="/proxy/{**}?{**}"/>


Mime
View raw message