Hi Heiko,
It seems a small bug in the empty verification parameters.
Please, can you send me more details of your test and version used ( I guess Alpha6 ).
Off-list or just in a JIRA and I will verify if this is fixed in master of if it is needed an additional fix.
Thanks,
Lucas
----- Original Message -----
From: "Lucas Ponce" <lponce@redhat.com>
To: "Discussions around Hawkular development" <hawkular-dev@lists.jboss.org>
Sent: Monday, November 9, 2015 9:12:02 AM
Subject: Re: [Hawkular-dev] [Alert] parameters to resolve
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/hawkRest-alert-provider.spec.rest.js
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@redhat.com>
To: "Discussions around Hawkular development"
<hawkular-dev@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-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev
_______________________________________________
hawkular-dev mailing list
hawkular-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev
_______________________________________________
hawkular-dev mailing list
hawkular-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev