It seems some missing update in the documentation.
Let me check and respond later.
Thanks for bringing it.
As a temporal workaround, meanwhile I take a look on it, there are several tests that can
be used to compare with your code:
https://github.com/hawkular/hawkular-ui-services/blob/master/src/rest/haw...
These are used for ui-services, but can be used as an example of how to interact with the
API.
Lucas
----- Original Message -----
From: "Heiko W.Rupp" <hrupp(a)redhat.com>
To: "Discussions around Hawkular development"
<hawkular-dev(a)lists.jboss.org>
Sent: Monday, November 9, 2015 8:05:00 AM
Subject: [Hawkular-dev] [Alert] parameters to resolve
Hey,
according to
http://www.hawkular.org/docs/rest/rest-alerts.html#_alert_handling I do
not
need to provide query params to resolve an alert.
When I do
method: put
uri:
http://jdoe:password@localhost:8080/hawkular/alerts/resolve/28026b36-8fe4...
I get the following error back:
Hawkular::HawkularException: Internal error:
java.lang.IllegalArgumentException: Note must have non-null user and
text
./lib/Hawkular.rb:141:in `handle_fault'
./lib/Hawkular.rb:62:in `rescue in http_put'
./lib/Hawkular.rb:56:in `http_put'
What am I doing wrong?
_______________________________________________
hawkular-dev mailing list
hawkular-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev