ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhan Neethiraj <mad...@apache.org>
Subject Re: Review Request 70659: RANGER-2438: Legacy PublicAPI REST API to get all policies fails
Date Thu, 16 May 2019 20:27:04 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70659/#review215305
-----------------------------------------------------------


Ship it!




Ship It!

- Madhan Neethiraj


On May 16, 2019, 8:21 p.m., Abhay Kulkarni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/70659/
> -----------------------------------------------------------
> 
> (Updated May 16, 2019, 8:21 p.m.)
> 
> 
> Review request for ranger, Madhan Neethiraj, Ramesh Mani, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2348
>     https://issues.apache.org/jira/browse/RANGER-2348
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> A 'Get' on the REST endpoint /service/public/api/policy fails when any access-type string
is not specified in its internal mapping table. In such case, such access-type is now mapped
to value corresponding to 'unknown' access-type.
> 
> Also included in the patch is a check when deleting service or service-definition to
avoid NPE.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/common/ServiceUtil.java 200347474 
>   security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 3ff763c71 
> 
> 
> Diff: https://reviews.apache.org/r/70659/diff/1/
> 
> 
> Testing
> -------
> 
> Tested the API using curl script, and verified that the API succeeds and provides list
of policies.
> 
> 
> Thanks,
> 
> Abhay Kulkarni
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message