You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by su...@apache.org on 2016/07/28 17:04:55 UTC

knox git commit: KNOX-724 removed the variable 'path' that was causing issues with the File view in ambari

Repository: knox
Updated Branches:
  refs/heads/master 3375ee1ab -> 6f57a474a


KNOX-724 removed the variable 'path' that was causing issues with the File view in ambari


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

Branch: refs/heads/master
Commit: 6f57a474ad9c157679dcca5d214f22baaf8ef885
Parents: 3375ee1
Author: Sumit Gupta <su...@apache.org>
Authored: Thu Jul 28 13:04:21 2016 -0400
Committer: Sumit Gupta <su...@apache.org>
Committed: Thu Jul 28 13:04:21 2016 -0400

----------------------------------------------------------------------
 .../src/main/resources/services/ambari/2.2.0/rewrite.xml     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/6f57a474/gateway-service-definitions/src/main/resources/services/ambari/2.2.0/rewrite.xml
----------------------------------------------------------------------
diff --git a/gateway-service-definitions/src/main/resources/services/ambari/2.2.0/rewrite.xml b/gateway-service-definitions/src/main/resources/services/ambari/2.2.0/rewrite.xml
index 6284b64..7cfc670 100644
--- a/gateway-service-definitions/src/main/resources/services/ambari/2.2.0/rewrite.xml
+++ b/gateway-service-definitions/src/main/resources/services/ambari/2.2.0/rewrite.xml
@@ -15,12 +15,12 @@
    limitations under the License.
 -->
 <rules>
-    <rule dir="IN" name="AMBARI/ambari/inbound" pattern="*://*:*/**/ambari/api/v1/{path=**}?{**}">
-        <rewrite template="{$serviceUrl[AMBARI]}/api/v1/{path=**}?{**}"/>
+    <rule dir="IN" name="AMBARI/ambari/inbound" pattern="*://*:*/**/ambari/api/v1/{**}?{**}">
+        <rewrite template="{$serviceUrl[AMBARI]}/api/v1/{**}?{**}"/>
     </rule>
     <rule dir="OUT" name="AMBARI/ambari/href/outbound">
-        <match pattern="*://*:*/api/{path=**}?{**}"/>
-        <rewrite template="{$frontend[url]}/ambari/api/{path=**}?{**}"/>
+        <match pattern="*://*:*/api/{**}?{**}"/>
+        <rewrite template="{$frontend[url]}/ambari/api/{**}?{**}"/>
     </rule>
     <rule dir="OUT" name="AMBARI/ambari/context_path/outbound">
         <match pattern="/{**}"/>