----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/69652/ -----------------------------------------------------------
Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Nikhil Bonte, and Sarath Subramanian. Bugs: ATLAS-3017 https://issues.apache.org/jira/browse/ATLAS-3017 Repository: atlas Description ------- New REST API which expose atlas server statistics. API - /api/atlas/admin/stats O/P in json {"lastMessageProcessedTimeStamp":"2 Jan, 2019 : 07:33 PM IST","startOffset":10,"currentOffset":40,"avgMessageProcessingTime":"589 milliseconds","serverUpTime":"18 min 57 sec","serverStartTimeStamp":"2 Jan, 2019 : 07:26 PM IST","BackendActiveStatus":true} Diffs ----- dashboardv2/public/js/models/VCommon.js 062e1b681 dashboardv2/public/js/router/Router.js f32357570 dashboardv2/public/js/templates/common/AtlasStatistics_tmpl.html PRE-CREATION dashboardv2/public/js/templates/site/Header.html 2042c99d3 dashboardv2/public/js/utils/UrlLinks.js 1bc5949ff dashboardv2/public/js/views/common/AtlasStatistics.js PRE-CREATION webapp/src/main/java/org/apache/atlas/notification/NotificationHookConsumer.java 003e5b01b webapp/src/main/java/org/apache/atlas/util/StatisticsUtil.java PRE-CREATION webapp/src/main/java/org/apache/atlas/web/model/AtlasStatistics.java PRE-CREATION webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java 9659a3827 webapp/src/main/java/org/apache/atlas/web/service/EmbeddedServer.java 698529160 Diff: https://reviews.apache.org/r/69652/diff/1/ Testing ------- Testing using Postman REST client and Atlas UI. Thanks, Nixon Rodrigues