----- Original Message -----
From: "Anton Hughes" <ah(a)tradeworks.io>
To: "Discussions around Hawkular development"
<hawkular-dev(a)lists.jboss.org>
Sent: Tuesday, January 19, 2016 10:27:10 AM
Subject: Re: [Hawkular-dev] need guidance to work on android client of hawkular
On 19 January 2016 at 10:05, Heiko W.Rupp < hrupp(a)redhat.com > wrote:
What exactly do you have in mind, as a lot of the rest-api
should be annotated wit Swagger annotations and the
documentation at
http://www.hawkular.org/docs/rest/
is generated via Swagger -> markup
Perfect!
> Im particularly interested in looking into how a user can subscribe to, and
> receive specific alerts using push. Does the android app use Aerogear?
Yes it does. And I think Thomas Segismont has done some work
in that area already. It would be for sure nice to be able to better
integrate all that.
Ok - can someone or specifically Thomas Segismont, point me in the direction
of any documentation on how this works, where is the code etc?
Hi Anton,
Hawkular Alerts works with the concept of "action", that means that when an
alert/event is generated we can define one or several actions to perform.
Actions are processed by plugins that are responsible to deliver,format or add specific
"action-domain" specific tasks.
For example, we have plugins for email, file, webhooks, and also aerogear as you
requested.
Code is here:
https://github.com/hawkular/hawkular-alerts/tree/master/hawkular-alerts-a...
Aerogear plugin is pretty basic, just takes the action and send to the server, so it is
open to add specific behaviour.
Also, an action is part of the trigger, in the definition it is defined what actions to do
for a particular alert.
There are advanced concepts as special plugins that can filter all actions, but I guess
this topic can be introduced later once you get familiar with the architecture.
In these examples
https://github.com/lucasponce/hawkular-examples
There are also several easy examples to get familiar with the actions too.
Don't hesitate to share your design and also contributions are welcome.
Lucas
--
Anton Hughes
_______________________________________________
hawkular-dev mailing list
hawkular-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev