ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhay Kulkarni <akulka...@hortonworks.com>
Subject Review Request 62483: Service should not be renamed if tagged service resources exist for it
Date Thu, 21 Sep 2017 23:11:46 GMT

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

Review request for ranger and Madhan Neethiraj.


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


Repository: ranger


Description
-------

If a service is renamed in the presence of tagged service-resources that refer to the service
(through service-id), then a major discrepancy is introduced in security+governance database.
Therefore, it is necessary to fail service update under these circumstances.


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java da65074 
  security-admin/src/main/java/org/apache/ranger/db/XXServiceResourceDao.java 9859992 
  security-admin/src/main/resources/META-INF/jpa_named_queries.xml 68548a5 
  security-admin/src/test/java/org/apache/ranger/biz/TestServiceDBStore.java 976fd0c 


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


Testing
-------

Ran all unit tests successfully. Tested with local VM.


Thanks,

Abhay Kulkarni


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