Commit Graph

407 Commits

Author SHA1 Message Date
Avi Kivity
d20a01af79 Merge branch 'amnon/initial_jmx' of github.com:cloudius-systems/urchin-jmx-dev
JMX proxy initial version, from Amnon.
2015-05-17 18:03:43 +03:00
Avi Kivity
5d65e94c13 Initial commit 2015-05-17 18:02:29 +03:00
Amnon Heiman
5039f0603b Add the MessagingServiceMBean
This is the skeleton implementation for the MessagingService MBean. More
functionality will be add when it will be added to the API.
2015-05-17 17:49:50 +03:00
Amnon Heiman
c64b4b6e56 Adding the StorageServiceMBean stub
This adds a stub of the StorageService.
After applying it, it will be possible to use JConsole to connect to the
process and run any of the command and inquire all the properties.

Some deprecated methods uses RepairParallelism class, an empty
implementation for it is added. It would be removed with future version
of the MBean, when those methods will be removed from the MBean

As this is a stub, the only effect is a printout on the screen.

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
2015-05-17 17:48:09 +03:00
Amnon Heiman
77eb357646 APIClient a Json Client Stub
The client hides the comunication details between the jmx and the REST
API.

The current stub was created so an MBean that uses it, can compile and
run with no errors.

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
2015-05-17 16:15:17 +03:00
Amnon Heiman
d46a124be3 Adding the MBean Service Support
This adds the java project that expose the system MBean.
The Main would start any required classes and would wait forever.

The mvn creates jar with main and set the classpath accordingly.
To start do:

java -jar target/urchin-mbean-1.0.jar

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
2015-05-17 15:33:05 +03:00
Amnon Heiman
1476024285 Adding the JMX README file
The README file holds explnation on how to compile and run the JMX
API.

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
2015-05-17 12:58:59 +03:00