----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51054/#review145844 -----------------------------------------------------------
Ship it! Ship It! - Madhan Neethiraj On Aug. 12, 2016, 10:25 p.m., Abhay Kulkarni wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/51054/ > ----------------------------------------------------------- > > (Updated Aug. 12, 2016, 10:25 p.m.) > > > Review request for ranger and Madhan Neethiraj. > > > Bugs: RANGER-1145 > https://issues.apache.org/jira/browse/RANGER-1145 > > > Repository: ranger > > > Description > ------- > > Ranger policies support resource values with wildcards - like test*, .txt, > /finance/. For values that have wildcards at the beginning or at the end, > which is likely to be most common, the match can be converted into endsWith() > or startsWith() - which will be more efficient than doing a wildcard match. > > > Diffs > ----- > > > agents-common/src/main/java/org/apache/ranger/plugin/resourcematcher/RangerAbstractResourceMatcher.java > cd725c9 > > agents-common/src/main/java/org/apache/ranger/plugin/resourcematcher/RangerDefaultResourceMatcher.java > 669cf0a > > agents-common/src/main/java/org/apache/ranger/plugin/resourcematcher/RangerPathResourceMatcher.java > 5c555eb > > agents-common/src/main/java/org/apache/ranger/plugin/resourcematcher/RangerResourceMatcher.java > e4d3ce5 > > agents-common/src/main/java/org/apache/ranger/plugin/resourcematcher/ResourceMatcher.java > PRE-CREATION > > agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPolicyEngine.java > 1d03ef8 > > agents-common/src/test/java/org/apache/ranger/plugin/resourcematcher/RangerDefaultResourceMatcherTest.java > 5576a09 > > agents-common/src/test/resources/policyengine/test_policyengine_hdfs_resourcespec.json > PRE-CREATION > > Diff: https://reviews.apache.org/r/51054/diff/ > > > Testing > ------- > > Ran unit tests successfully. > > > Thanks, > > Abhay Kulkarni > >
