examples of RHQ plugins using REST

Charles Crouch ccrouch at redhat.com
Mon May 23 23:12:12 UTC 2011


Can anyone provide example plugins which are utilizing a REST based interface right now?
Heiko, the jbas7 work is REST+JSON right?

Cheers
Charles

----- Original Message -----
> From rhevm-api irc (public one)
> 
> Any baseline code that can help him, say for a plugin that consumes
> REST
> API calls?
> 
> (0:05:09 AM) kainos: i'm toying with the idea of an RHQ plugin that
> uses
> the RHEVM-API. Am I the first to do this or are their repos out there
> I
> can start with?
> (0:34:41 AM) itamar: kainos - what would the plugin do?
> (0:37:40 AM) kainos: everything the rhevm-api lets you do, but via the
> rhq-mgmt gui.
> (0:38:49 AM) kainos: itamar - basically, I can deploy the plugin to an
> rhq-agent, configure it for remote access, then have it pull down
> rhevm
> vm, host, storage info, etc
> (0:39:33 AM) kainos: itamar - opens potential for additional
> correlation
> of metrics and triggering events
> (0:39:50 AM) itamar: kainos - ok, so mostly monitoring, not
> provisioning.
> (0:40:24 AM) kainos: itamar - yes. although the possibility of
> triggering
> a new vm based on load is there
> (0:40:41 AM) kainos: itamar - using the template functionality of
> course.
> (0:42:07 AM) itamar: kainos - would be great to see. no code I'm
> familiar
> with as baseline though.
> (0:42:23 AM) kainos: itamar - i should only have to do a java client
> for
> the rest api calls and wire it to the rhq model. admittedly, I've only
> limited experience with RHQ Plugin writing..
> 
> Thanks,
> Itamar


More information about the rhq-devel mailing list