-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54170/
-----------------------------------------------------------
Review request for ranger, Madhan Neethiraj and Ramesh Mani.
Bugs: RANGER-1229
https://issues.apache.org/jira/browse/RANGER-1229
Repository: ranger
Description
-------
This patch fixes regression introduced in the previous patch for RANGER-1229.
Adds new unit tests to test functionality broken by previous patch.
Specifically, if the policy's resource-specification contain multiple values
one of which is "*" then the "*" was ignored when building evaluator for the
policy.
Diffs
-----
agents-common/src/main/java/org/apache/ranger/plugin/resourcematcher/RangerAbstractResourceMatcher.java
67353ca
agents-common/src/main/java/org/apache/ranger/plugin/resourcematcher/RangerPathResourceMatcher.java
5f61bd8
agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPolicyEngine.java
c8f67d2
agents-common/src/test/resources/policyengine/test_policyengine_hbase_multiple_matching_policies.json
PRE-CREATION
Diff: https://reviews.apache.org/r/54170/diff/
Testing
-------
Ran unit tests successfully.
Thanks,
Abhay Kulkarni