GitHub user lstav opened a pull request:
https://github.com/apache/accumulo/pull/242
ACCUMULO-2181/3005 REST API and new Monitor UI
Based on the original code from @joshelser, added a REST API to the Monitor
to access all the information from the current Monitor, modernized the Monitor
with a new UI using Bootstrap, moved all server functionality to the client
(such as sorting tables), and other improvements.
Most of the code to serve the REST server and resources server was done by
@ctubbsii.
Some of the back end stuff still need some polishing such as the JS and CSS
includes which are using CDNs, which @ctubbsii will look into adding it to the
packaging process, and Maven related nuances (@ctubbsii will also help with
that).
New features/old features that have been modernized include:
1. A new notification functionality for the navbar. The user will see a
summary of all logs/problems as well as level of logs from the navbar. The user
will also see a summary of the server status in the navbar (Green, Yellow, Red).
2. The Instance name is now part of the navbar and redirects to the
"Overview page".
3. Instance information has been moved to an "About" modal accessible from
the navbar.
4. New Namespace Filter (improved from earlier 2.0.0) using the Select2
library.
5. New calls to delete logs and problems without redirecting the page.
6. New Auto-Refresh implementation that uses Ajax to refresh the
information.
Any feedback on the code and the new UI will be appreciated.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lstav/accumulo ACCUMULO-MONITOR
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/accumulo/pull/242.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #242
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---