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 43279: RANGER-836: Optimize policy download to plugins - by not including unused fields
Date Sat, 06 Feb 2016 01:57:12 GMT

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

Review request for ranger and Madhan Neethiraj.


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


Repository: ranger


Description
-------

ServicePolicies fields that are not used by policy-engine are excluded before downloading
ServicePolicies to plugins.


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/store/AbstractServiceStore.java e9aae60

  agents-common/src/main/java/org/apache/ranger/plugin/store/ServiceStore.java 8013262 
  agents-common/src/main/java/org/apache/ranger/plugin/store/file/ServiceFileStore.java 8509f63

  agents-common/src/main/java/org/apache/ranger/plugin/store/rest/ServiceRESTStore.java 5886cf5

  security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java 38091bd 
  security-admin/src/main/java/org/apache/ranger/common/RangerServicePoliciesCache.java PRE-CREATION


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


Testing
-------

Checked the size of the downloaded ServicePolicies JSON after the patch was applied, and verified
that it was less than the download size before patch was applied.

Verified that the plugin's authorization functionality is not altered.


Thanks,

Abhay Kulkarni


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