-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48061/
-----------------------------------------------------------
Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj,
Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.
Bugs: RANGER-690
https://issues.apache.org/jira/browse/RANGER-690
Repository: ranger
Description
-------
If Solr used to store audit records is down or not reachable, then Ranger Admin
doesn't give any errors.
We should popup or show some error if there is any error retrieving errors from
Solr.
Diffs
-----
security-admin/src/main/webapp/scripts/controllers/Controller.js b6dee8d
security-admin/src/main/webapp/scripts/modules/globalize/message/en.js
070b3ea
security-admin/src/main/webapp/scripts/utils/XAUtils.js e2aab57
security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js 23e8b54
Diff: https://reviews.apache.org/r/48061/diff/
Testing
-------
Verified basic scenarios with patch:
1) When solr was stopped: message came : "Unable to connect to Audit store !!"
2) When solr working properly: no message was shown
3) Even, if Ranger communication breaks from Solr due to wrong or missing
configs then also it shows message : "Unable to connect to Audit store !!"
Thanks,
Gautam Borad