rhq-project/rhq — pull request #28 by lzoubek (2014-05-05 09:40:35+00:00)
Title: Bug 1070323 - (JON3-41) JBoss ON must support JBoss Diagnostic Reporter (JDR)

This pull request introduces several modules

* JDR module extension (server-jdr) - this extends the original JDR subsystem by RHQ plugin which is able to collect RHQ specific information
* RHQ JDR-Support server plugin - this allows (server-jdr) to retrieve RHQ status from RHQ Server.

As server-jdr plugin runs on same EAP as RHQ does and is not (and cannot be) part of RHQ EAR deployment, we had to find a way for server-jdr plugin to authorize on RHQ Server to get the information (technically it would need MANAGE_SETTINGS role)

This has been implemened via JDR-Support server plugin. This plugin, when inintialized, generates access token to EAP data directory and stands up socket server (currently on 127.0.0.1:7079). Client (server-jdr) needs to read this token and send it to JDR-Support plugin in order to get RHQ Server status information from socket. JDR-Support server plugin is enabled by default.