mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
14.01.2015 8a8a81b8bac1333b0eeae6f07ca58741ab063722
refs
author Ludovic Poitou <ludovic.poitou@forgerock.com>
Monday, December 14, 2015 13:01 +0100
committer Ludovic Poitou <ludovic.poitou@forgerock.com>
Tuesday, December 15, 2015 16:10 +0100
commit8a8a81b8bac1333b0eeae6f07ca58741ab063722
tree 8d1bda104818dcd605daac7602163d871ace9dd8 tree | zip | gz
parent 88f491595848a37314b00222a2c908ccab2fd0fb view | diff
OPENDJ-2539 - Control-Panel: Nothing displayed in Monitoring > General Information > Db Env
Now that we have pluggable backends, the name of entries containing the monitoring information for databases has changed, and there are 2 kinds of statistics : for JE and for PDB.
BackendDescriptor.java: Adds support for the type of pluggable backend (JE or PDB)
DBEnvironmentMonitoringPanel renamed as DatabaseMonitoringPanel, added support for type of pluggable backend. Renamed "operations" into "fields" (these are the statistics attributes we display).
DBEnvironmentMonitoringTablePanel renamed as DatabaseMonitoringTableModel, code cleanup.
BrowseGeneralMonitoringPanel.java: Replace DB Environment node by 2 Databases Information Nodes : one for JE backends, one for PDB backends
GeneralMonitoringRightPanel.java: replaced the DBEnvironmentMonitoringPanel by 2 DatabaseMonitoringPanels (JE and PDB), reworked identifications of all panels (to avoid using className).
ConfigFromDirContext.java: added detection of backend type in monitoring entries.
MonitoringAttributesViewPanel.java : code cleanup
admin_tool.properties: Update messages.

The stats panel have a button called "Show Operations...". The term Operations is ambiguous and not exact in the DB stats, but code and labels are shared with ConnectionHandler stats, so I've left them like this for now. In the future, this should be cleaned and reworked.
2 files renamed
6 files modified
431 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/BackendDescriptor.java 30 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/DatabaseMonitoringTableModel.java 33 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/BrowseGeneralMonitoringPanel.java 45 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/DatabaseMonitoringPanel.java 111 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/GeneralMonitoringRightPanel.java 143 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/MonitoringAttributesViewPanel.java 37 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ConfigFromDirContext.java 25 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/messages/org/opends/messages/admin_tool.properties 7 ●●●●● diff | view | raw | blame | history