REST-api and hyperlinks
by Heiko W.Rupp
Hey,
one cool trait of RESTful apis, which we all use every day hundreds of times
is the hyperlinking of data - we click on links in the web browser.
I think that would be pretty good for our apis as well.
To take alerts as an example (see my other mail)
I can go like GET /triggers/{id} to get a trigger with some data.
Now to learn about the conditions I need to browse to the docs
to potentially find out that I can get them at /triggers/{id}/conditions
It would be good if we would add for each resource a "Links" section
like:
links: [
{
rel='dampening'
href=http://blabla/hawkular/alerts/triggers/{id}/dampening
},
{
rel='conditions'
href=http://blabla/hawkular/alerts/triggers/{id}/conditions
}
]
This way it is relatively easy to follow those for humans, but also
machines.
9 years
[Alerts] trigger comparator in one go?
by Heiko W.Rupp
Hey,
when I call GET /triggers or GET /triggers/{id}
I get a hash with basically this information:
http://www.hawkular.org/docs/rest/rest-alerts.html#Trigger
Inside the context I have the resource it triggers on, the metric
it triggers on, the triggerType, but not the comparator or the value to
compare.
Looks like I need to get /triggers/{id}/conditions and also /dampenings
separately to get those values
Is there an api call / parameter, where I can get all data for a single
trigger including dampening, conditions and so on ?
9 years
-SRC- deps and releases
by John Mazzitelli
I need to release agent prior to this big refactoring going in master. So I'm trying to get that done tonight.
Also, Tristan is doing work with the agent and needs to pull it in but getting errors.
https://gist.github.com/tristantarrant/f20de03390acc15d663b
Notice the failure to resolve the -SRC- dependency: "failed to resolve artifact org.hawkular.cmdgw:hawkular-command-gateway-api:jar:0.10.2.Final-SRC-revision-06aa579bd1b9658cf82af6cfedef6365ecf03e8c: Could not find artifact org.hawkular.cmdgw:hawkular-command-gateway-api:jar:0.10.2.Final-SRC-revision-06aa579bd1b9658cf82af6cfedef6365ecf03e8c in jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss/)"
I actually got rid of that dep, however, I need inventory 0.8.0.Final and that isn't released yet. So my agent only has a -SRC- dep on it.
But if I release agent with a -SRC- dep in it, will that be consumable by someone outside of hawkular?
If this is going to be a problem, is it possible to get an inventory release out ASAP so I can get agent released without -SRC- dep?
9 years, 1 month
nest circular dep
by John Mazzitelli
Well, I found the nest dependency circularity that I was sure was around :)
hawkular-agent has itests that builds a distro using nest. But you can't get the nest until you build kettle. And you can't build kettle until you build the agent. And 'round and 'round we go.
We need to pull the nest out of kettle and put it somewhere else. For now, I'm just going to have a dependency on an older bus version to pick up the nest.
9 years, 1 month
Hawk-Metrics Performance & Scalability
by Michael Foley
The following is a new meeting request:
Subject: Hawk-Metrics Performance & Scalability
Organizer: "Michael Foley" <mfoley(a)redhat.com>
Location: http://www.bluejeans.com/mfoley51
Time: 9:30:00 AM - 10:00:00 AM GMT -05:00 US/Canada Eastern
Recurrence : Every Tuesday No end date Effective Nov 10, 2015
Required: fbrychta(a)redhat.com; snegrea(a)redhat.com; mmahoney(a)redhat.com; vnguyen(a)redhat.com; hrupp(a)redhat.com
Optional: hawkular-dev(a)lists.jboss.org
*~*~*~*~*~*~*~*~*~*
Hi,
I would like to have a quick 30 minute weekly call focusing on Hawk-Metrics performance.
The agenda is flexible, but let's start with this:
Goal: Detect Performance Problems Prior to OSE Integration
* discuss/resolve performance regressions in pull requests, resetting baselines,
* discuss linear scalability of Hawk-Metrics
* define the test design or test activities to ascertain answers to this question
Note: I can change the time to something else that works for everyone who is interested in this agenda.
Regards,
Michael Foley
QE Supervisor, Middleware BU
9 years, 1 month