----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34118/#review83828 -----------------------------------------------------------
Ship it! Ship It! - Madhan Neethiraj On May 13, 2015, 5:16 a.m., Ramesh Mani wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/34118/ > ----------------------------------------------------------- > > (Updated May 13, 2015, 5:16 a.m.) > > > Review request for ranger, Alok Lal, dilli dorai, Madhan Neethiraj, and > Selvamohan Neethiraj. > > > Repository: ranger > > > Description > ------- > > Ranger-466: PolicyRefresher should timeout when Ranger Admin is non > responsive and should use local cache for policy enforcement if present. > > > Diffs > ----- > > > agents-common/src/main/java/org/apache/ranger/plugin/util/PolicyRefresher.java > 36548e4 > > Diff: https://reviews.apache.org/r/34118/diff/ > > > Testing > ------- > > Test done > - Simulate timeout by putting delay on rest call > - Verify Policy load from cache when timeout. > - Verify Policy load when Policy manager is down. > - Policy load from cache should be done one once. > - If local is not present no policy enforcement happens. > > > Thanks, > > Ramesh Mani > >
