[hawkular-ui-services] Tests broken
by Lucas Ponce
Hi,
some of tests of ui-services are broken against hawkular/master, in particular:
gulp rest:alert
gulp rest:inventory
I am investigating on alert if this is something introduced in the project, or it has to do with hawkular/master environment.
I wonder if there is some way to automate this (as it is complex), but in the meanwhile, I think it could be good if before to send a PR we validate that the tests are ok.
That could help to trace where the issue could be introduced.
Thanks,
Lucas
8 years, 6 months
Hawkular Metrics + Hawkular Alerts - Phase 0
by Stefan Negrea
Hello Everybody,
I want to open the discussion around the design and implementation for the Hawkular Metrics and Hawkular Alerts integration. I created a document with the scope and objectives for Phase 0. It is called Phase 0 because this should be a proof of concept of the type of functionality to be delivered in the future with a scope of getting early feedback on our ideas. The goal is to deliver this phase in Hawkular Metrics 0.10.0, and have something implemented in the next 2 weeks.
I've had discussions with developers on both teams and updated the document based on those discussions. My goal was to first refine the ideas to a coherent state before publishing a first draft. I am now opening the document and the discussion to the entire Hawkular community.
The one point where we need additional help is highlighted in red with a bigger font in the document.
Please feel free to comment in the document, reply to this email, or contact me (stefan_n) on #hawkular on freenode. If you do not have access to the document please email me privately and will grant access. Any and all the feedback is more than welcomed.
Link: https://docs.google.com/document/d/1PwOGGysO0ppc2VPl80i4ye9pZI-Ugd4gObzQ5...
Thank you,
Stefan Negrea
Software Engineer
8 years, 6 months
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.
8 years, 6 months
[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 ?
8 years, 6 months