This is an automated email from the ASF dual-hosted git repository. madhan pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/ranger.git
from 4d9648ba7 RANGER-4342: Fix new log file creation when errors/exceptions occur writing audits to HDFS as Json (#277) new f3e8e0a64 RANGER-4398: security-zone API enhancements to support incremental updates and resource pagination new 7f86e6286 RANGER-4403: security-zone validation updated to prevent duplicate resource entries The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../ranger/plugin/errors/ValidationErrorCode.java | 1 + .../model/RangerPolicyResourceSignature.java | 15 + .../model/{GroupInfo.java => RangerPrincipal.java} | 71 +-- .../ranger/plugin/model/RangerSecurityZone.java | 46 +- .../ranger/plugin/model/RangerSecurityZoneV2.java | 507 +++++++++++++++++++++ .../validation/RangerSecurityZoneValidator.java | 15 + .../plugin/util/RangerSecurityZoneHelper.java | 399 ++++++++++++++++ .../RangerSecurityZoneValidatorTest.java | 33 ++ .../python/apache_ranger/client/ranger_client.py | 72 ++- .../main/python/apache_ranger/model/ranger_base.py | 22 + .../{ranger_tagdef.py => ranger_principal.py} | 50 +- .../apache_ranger/model/ranger_security_zone.py | 105 ++++- intg/src/main/python/setup.py | 2 +- .../src/main/python/security_zone_v2.py | 149 ++++++ .../java/org/apache/ranger/rest/PublicAPIsv2.java | 63 +++ .../org/apache/ranger/rest/SecurityZoneREST.java | 140 +++++- 16 files changed, 1622 insertions(+), 68 deletions(-) copy agents-common/src/main/java/org/apache/ranger/plugin/model/{GroupInfo.java => RangerPrincipal.java} (53%) create mode 100644 agents-common/src/main/java/org/apache/ranger/plugin/model/RangerSecurityZoneV2.java create mode 100644 agents-common/src/main/java/org/apache/ranger/plugin/util/RangerSecurityZoneHelper.java copy intg/src/main/python/apache_ranger/model/{ranger_tagdef.py => ranger_principal.py} (57%) create mode 100644 ranger-examples/sample-client/src/main/python/security_zone_v2.py