Re: Review Request 73590: RANGER-3440: Fix missing updates to sync source during upgrades

2021-09-27 Thread Sailaja Polavarapu

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


Ship it!




Ship It!

- Sailaja Polavarapu


On Sept. 22, 2021, 6:18 p.m., Abhishek  Kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73590/
> ---
> 
> (Updated Sept. 22, 2021, 6:18 p.m.)
> 
> 
> Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, Sailaja 
> Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-3285
> https://issues.apache.org/jira/browse/RANGER-3285
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> During the ranger upgrades, sync source (newly introduced column) for users 
> and groups is not updated, the review fixes it. Also involves refactoring to 
> simpify the logic.
> 
> 
> Diffs
> -
> 
>   
> ugsync/src/main/java/org/apache/ranger/unixusersync/process/PolicyMgrUserGroupBuilder.java
>  ff513aa86 
> 
> 
> Diff: https://reviews.apache.org/r/73590/diff/1/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Abhishek  Kumar
> 
>



Re: Review Request 73590: RANGER-3440: Fix missing updates to sync source during upgrades

2021-09-22 Thread Abhishek Kumar

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

(Updated Sept. 22, 2021, 6:18 p.m.)


Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, Sailaja 
Polavarapu, and Velmurugan Periasamy.


Summary (updated)
-

RANGER-3440: Fix missing updates to sync source during upgrades


Bugs: RANGER-3285
https://issues.apache.org/jira/browse/RANGER-3285


Repository: ranger


Description
---

During the ranger upgrades, sync source (newly introduced column) for users and 
groups is not updated, the review fixes it. Also involves refactoring to 
simpify the logic.


Diffs
-

  
ugsync/src/main/java/org/apache/ranger/unixusersync/process/PolicyMgrUserGroupBuilder.java
 ff513aa86 


Diff: https://reviews.apache.org/r/73590/diff/1/


Testing
---


Thanks,

Abhishek  Kumar