----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48522/#review171881 -----------------------------------------------------------
Ship it! Ship It! - Colm O hEigeartaigh On June 13, 2016, 8:48 p.m., Abhay Kulkarni wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/48522/ > ----------------------------------------------------------- > > (Updated June 13, 2016, 8:48 p.m.) > > > Review request for ranger and Madhan Neethiraj. > > > Bugs: RANGER-1021 > https://issues.apache.org/jira/browse/RANGER-1021 > > > Repository: ranger > > > Description > ------- > > Currently, all ranger policies for the service are downloaded to the plugin > that makes the policy-download request. Only those policies that are in > 'Enabled' state need to be downloaded in order to save network band-width and > spurious processing overhead on the plugin side. > > > Diffs > ----- > > security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java > 646554e > > > Diff: https://reviews.apache.org/r/48522/diff/3/ > > > Testing > ------- > > Created Ranger policy with state 'Enabled'. Checked the policy cache on the > component to ensure that it was in its policy-cache. Then edited the policy > to set its state to 'Disabled'. After policies were downloaded to the > component, checked the policy-cache again to ensure that disabled policy was > not in it. Repeated these steps for a tag-policy in a tag-service associated > with the component's service. > > > Thanks, > > Abhay Kulkarni > >
