----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73062/#review222283 -----------------------------------------------------------
Ship it! Ship It! - Ashutosh Mestry On Dec. 3, 2020, 6:05 p.m., Deep Singh wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/73062/ > ----------------------------------------------------------- > > (Updated Dec. 3, 2020, 6:05 p.m.) > > > Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Nixon Rodrigues, > and Sarath Subramanian. > > > Bugs: ATLAS-4049 > https://issues.apache.org/jira/browse/ATLAS-4049 > > > Repository: atlas > > > Description > ------- > > Following list of admin APIs failed to respond by passive server in HA mode. > "/admin/audits", > "/admin/purge", > "/admin/expimp/audit", > "/admin/metrics", > "/admin/server", > "/admin/audit/" > This is because these apis need activated type registery, which is not > initialized on server running in Passive mode. Expected behaviour was decided > to redirect them to Active server as we do for followinf APIs > "/admin/export", > "/admin/import", > "/admin/importfile" > > > Diffs > ----- > > webapp/src/main/java/org/apache/atlas/web/filters/ActiveServerFilter.java > 2c28aafc4 > > webapp/src/test/java/org/apache/atlas/web/filters/ActiveServerFilterTest.java > d7ae0f2fe > > > Diff: https://reviews.apache.org/r/73062/diff/1/ > > > Testing > ------- > > Manual testing was done. > Unit test was modifies to cover additional APIS > > > Thanks, > > Deep Singh > >