You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Pradeep Agrawal <pr...@freestoneinfotech.com> on 2016/04/19 11:40:44 UTC

Review Request 46380: RANGER-935 : Persistence.xml file should have mapping of all Entity classes

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

Review request for ranger, Alok Lal, Don Bosco Durai, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

**Problem Statement :**
Currently persistence.xml file have mapping of Entity classes only upto 0.4 version of Ranger. Persistence.xml file should have mapping of new Entity classes as well.

**Proposed Solution :**
Added remaining Entity classes entrties in Persistence.xml.


Diffs
-----

  security-admin/src/main/resources/META-INF/persistence.xml e34ac0a 

Diff: https://reviews.apache.org/r/46380/diff/


Testing
-------

**Steps performed (with patch)**
Tried to build Ranger using 'mvn clean compile package assembly : assembly install' command.
Installed Ranger from generated tar file.
Created services, policies, users and groups

Expected Behavior :
Services, policies, users and groups should get created

Actual Behavior :
Was able to creat Services, policies, users and groups without any issue.


Note : Above mentioned test has been tested with all supported DB flavors.


Thanks,

Pradeep Agrawal


Re: Review Request 46380: RANGER-935 : Persistence.xml file should have mapping of all Entity classes

Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46380/#review129550
-----------------------------------------------------------


Ship it!




Ship It!

- Madhan Neethiraj


On April 19, 2016, 9:40 a.m., Pradeep Agrawal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46380/
> -----------------------------------------------------------
> 
> (Updated April 19, 2016, 9:40 a.m.)
> 
> 
> Review request for ranger, Alok Lal, Don Bosco Durai, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-935
>     https://issues.apache.org/jira/browse/RANGER-935
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> **Problem Statement :**
> Currently persistence.xml file have mapping of Entity classes only upto 0.4 version of Ranger. Persistence.xml file should have mapping of new Entity classes as well.
> 
> **Proposed Solution :**
> Added remaining Entity classes entrties in Persistence.xml.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/resources/META-INF/persistence.xml e34ac0a 
> 
> Diff: https://reviews.apache.org/r/46380/diff/
> 
> 
> Testing
> -------
> 
> **Steps performed (with patch)**
> Tried to build Ranger using 'mvn clean compile package assembly : assembly install' command.
> Installed Ranger from generated tar file.
> Created services, policies, users and groups
> 
> Expected Behavior :
> Services, policies, users and groups should get created
> 
> Actual Behavior :
> Was able to creat Services, policies, users and groups without any issue.
> 
> 
> Note : Above mentioned test has been tested with all supported DB flavors.
> 
> 
> Thanks,
> 
> Pradeep Agrawal
> 
>