I'm fairly sure this is already fixed in master, it should not be
necessary to add a note when acking or resolving. I think I saw this
and fixed it "in passing".
On 11/9/2015 3:49 AM, Lucas Ponce wrote:
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(a)redhat.com>
> To: "Discussions around Hawkular development"
<hawkular-dev(a)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/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
>>
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/hawkular-dev
>
_______________________________________________
hawkular-dev mailing list
hawkular-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev