You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by GitBox <gi...@apache.org> on 2019/08/26 20:56:13 UTC

[GitHub] [knox] risdenk commented on a change in pull request #136: KNOX-1994 : Update Ranger API service definition to allow separate UR…

risdenk commented on a change in pull request #136: KNOX-1994 : Update Ranger API service definition to allow separate UR…
URL: https://github.com/apache/knox/pull/136#discussion_r317794786
 
 

 ##########
 File path: gateway-service-definitions/src/main/resources/services/ranger/1.0.0/rewrite.xml
 ##########
 @@ -24,9 +24,15 @@
     <rule dir="IN" name="RANGER/ranger/inbound/plugins" pattern="*://*:*/**/ranger/service/xusers/users/{path=**}?{**}">
         <rewrite template="{$serviceUrl[RANGER]}/service/xusers/users/{path=**}?{**}"/>
     </rule>
+    <rule dir="IN" name="RANGER/ranger/inbound/plugins" pattern="*://*:*/**/ranger/service/xusers/users">
+        <rewrite template="{$serviceUrl[RANGER]}/service/xusers/users"/>
+    </rule>
     <rule dir="IN" name="RANGER/ranger/inbound/plugins" pattern="*://*:*/**/ranger/service/xusers/groups/{path=**}?{**}">
         <rewrite template="{$serviceUrl[RANGER]}/service/xusers/groups/{path=**}?{**}"/>
     </rule>
+    <rule dir="IN" name="RANGER/ranger/inbound/plugins" pattern="*://*:*/**/ranger/service/xusers/groups">
 
 Review comment:
   Rule name should be unique

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services