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

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

Reply via email to