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


Ship it!




Ship It!

- Mehul Parikh


On Aug. 20, 2019, 1:57 p.m., Pradeep Agrawal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71308/
> -----------------------------------------------------------
> 
> (Updated Aug. 20, 2019, 1:57 p.m.)
> 
> 
> Review request for ranger, Ankita Sinha, bhavik patel, Gautam Borad, Abhay 
> Kulkarni, Madhan Neethiraj, Mehul Parikh, Nikhil P, Nitin Galave, Ramesh 
> Mani, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2543
>     https://issues.apache.org/jira/browse/RANGER-2543
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Service def delete call is failing as the current call flow tries to delete 
> service def related ref entries first while call to delete services/policies 
> are executed later.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java 
> 113e727c4 
>   security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 
> e7b317265 
> 
> 
> Diff: https://reviews.apache.org/r/71308/diff/1/
> 
> 
> Testing
> -------
> 
> Tested through curl call : 
> 
> 1. Curl request to delete Service-def not having any services:
> curl -X DELETE -u admin:ranger1234 
> 'http://127.0.0.1:6080/service/plugins/definitions/101'
> 
> 2. Curl request to delete Service-def having services:
> curl -X DELETE -u admin:ranger1234 
> 'http://127.0.0.1:6080/service/plugins/definitions/101?forceDelete=true'
> 
> 
> Thanks,
> 
> Pradeep Agrawal
> 
>

Reply via email to