Update on REST api

Heiko W.Rupp hrupp at redhat.com
Mon Jan 16 09:08:13 UTC 2012


Hi,

it's been a time since I last wrote about the REST api here in the mailing list [1].

Since then a few updates have happened:

- it is now possible to obtain raw metrics via the api to e.g. analyze it in R [2]; the
examples at http://localhost:7080/rest/ have been updated to show graphs for the last 7 days
of raw data using D3.js

- the api allows to push metrics into the server, as well as read/update baseline data [3]


and last but not least we have announced the rhq-samples project [4], which also
features examples of using the REST api.

The existing api methods still sometimes lack proper handling of caching or
conditional get, returning location headers. Any contribution is welcome.
If you want to start diving in here, you could start by allowing to push availabilities
into the server.

   Heiko



[1] https://fedorahosted.org/pipermail/rhq-devel/2011-November/001384.html
[2] http://javablogs.com/Jump.action?id=685875
[3] http://javablogs.com/Jump.action?id=689757
[4] http://javablogs.com/Jump.action?id=683200



http://javablogs.com/Jump.action?id=683200


-- 
Reg. Adresse: Red Hat GmbH, Technopark II, Haus C, 
Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
Handelsregister: Amtsgericht München HRB 153243
Geschaeftsführer:  Mark Hegarty, Charlie Peters, Michael Cunningham, Charles Cachera



More information about the rhq-devel mailing list