ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautam Borad" <gbo...@gmail.com>
Subject Re: Review Request 37338: RANGER-595 : Support for persisting tag info in the database
Date Tue, 11 Aug 2015 10:33:29 GMT

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

(Updated Aug. 11, 2015, 10:33 a.m.)


Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, Selvamohan Neethiraj,
and Velmurugan Periasamy.


Changes
-------

Covered comments from Bosco and Madhan.


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


Repository: ranger


Description
-------

- Add DB schema changes to manage Tags / Tag Attributes and Tagged Resources
- Add API calls to handle CRUD operations for each of the tag related new models. 
- Provide APIs calls to search for Tags and its attributes and tagged resources.


Diffs (updated)
-----

  security-admin/db/mysql/patches/009-updated_schema.sql b0f8432 
  security-admin/db/mysql/patches/016-updated-schema-for-tag-based-policy.sql PRE-CREATION

  security-admin/db/mysql/patches/audit/017-add-new-column-to-store-tags.sql PRE-CREATION

  security-admin/db/mysql/xa_audit_db.sql 29e4718 
  security-admin/db/mysql/xa_core_db.sql e9de53d 
  security-admin/src/main/java/org/apache/ranger/biz/TagDBStore.java PRE-CREATION 
  security-admin/src/main/java/org/apache/ranger/common/AppConstants.java 491726f 
  security-admin/src/main/java/org/apache/ranger/db/RangerDaoManagerBase.java da66044 
  security-admin/src/main/java/org/apache/ranger/db/XXTagAttributeDao.java PRE-CREATION 
  security-admin/src/main/java/org/apache/ranger/db/XXTagAttributeDefDao.java PRE-CREATION

  security-admin/src/main/java/org/apache/ranger/db/XXTagDao.java PRE-CREATION 
  security-admin/src/main/java/org/apache/ranger/db/XXTagDefDao.java PRE-CREATION 
  security-admin/src/main/java/org/apache/ranger/db/XXTagResourceMapDao.java PRE-CREATION

  security-admin/src/main/java/org/apache/ranger/db/XXTaggedResourceDao.java PRE-CREATION

  security-admin/src/main/java/org/apache/ranger/db/XXTaggedResourceValueDao.java PRE-CREATION

  security-admin/src/main/java/org/apache/ranger/db/XXTaggedResourceValueMapDao.java PRE-CREATION

  security-admin/src/main/java/org/apache/ranger/entity/XXTag.java PRE-CREATION 
  security-admin/src/main/java/org/apache/ranger/entity/XXTagAttribute.java PRE-CREATION 
  security-admin/src/main/java/org/apache/ranger/entity/XXTagAttributeDef.java PRE-CREATION

  security-admin/src/main/java/org/apache/ranger/entity/XXTagDef.java PRE-CREATION 
  security-admin/src/main/java/org/apache/ranger/entity/XXTagResourceMap.java PRE-CREATION

  security-admin/src/main/java/org/apache/ranger/entity/XXTaggedResource.java PRE-CREATION

  security-admin/src/main/java/org/apache/ranger/entity/XXTaggedResourceValue.java PRE-CREATION

  security-admin/src/main/java/org/apache/ranger/entity/XXTaggedResourceValueMap.java PRE-CREATION

  security-admin/src/main/java/org/apache/ranger/rest/TagREST.java 3f2062a 
  security-admin/src/main/java/org/apache/ranger/service/RangerAuditFields.java cab208b 
  security-admin/src/main/java/org/apache/ranger/service/RangerTagDefService.java PRE-CREATION

  security-admin/src/main/java/org/apache/ranger/service/RangerTagDefServiceBase.java PRE-CREATION

  security-admin/src/main/java/org/apache/ranger/service/RangerTaggedResourceService.java
PRE-CREATION 
  security-admin/src/main/java/org/apache/ranger/service/RangerTaggedResourceServiceBase.java
PRE-CREATION 
  security-admin/src/main/resources/META-INF/jpa_named_queries.xml aa504e7 

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


Testing
-------

Tested the Ranger Admin working on a local setup of Ranger.


Thanks,

Gautam Borad


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