<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <font face="Calibri">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".<br>
      <br>
    </font><br>
    <div class="moz-cite-prefix">On 11/9/2015 3:49 AM, Lucas Ponce
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1246567193.5425646.1447058961953.JavaMail.zimbra@redhat.com"
      type="cite">
      <pre wrap="">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 -----
</pre>
      <blockquote type="cite">
        <pre wrap="">From: "Lucas Ponce" <a class="moz-txt-link-rfc2396E" href="mailto:lponce@redhat.com">&lt;lponce@redhat.com&gt;</a>
To: "Discussions around Hawkular development" <a class="moz-txt-link-rfc2396E" href="mailto:hawkular-dev@lists.jboss.org">&lt;hawkular-dev@lists.jboss.org&gt;</a>
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:

<a class="moz-txt-link-freetext" href="https://github.com/hawkular/hawkular-ui-services/blob/master/src/rest/hawkRest-alert-provider.spec.rest.js">https://github.com/hawkular/hawkular-ui-services/blob/master/src/rest/hawkRest-alert-provider.spec.rest.js</a>

These are used for ui-services, but can be used as an example of how to
interact with the API.

Lucas

----- Original Message -----
</pre>
        <blockquote type="cite">
          <pre wrap="">From: "Heiko W.Rupp" <a class="moz-txt-link-rfc2396E" href="mailto:hrupp@redhat.com">&lt;hrupp@redhat.com&gt;</a>
To: "Discussions around Hawkular development"
<a class="moz-txt-link-rfc2396E" href="mailto:hawkular-dev@lists.jboss.org">&lt;hawkular-dev@lists.jboss.org&gt;</a>
Sent: Monday, November 9, 2015 8:05:00 AM
Subject: [Hawkular-dev] [Alert] parameters to resolve

Hey,

according to
<a class="moz-txt-link-freetext" href="http://www.hawkular.org/docs/rest/rest-alerts.html#_alert_handling">http://www.hawkular.org/docs/rest/rest-alerts.html#_alert_handling</a> I do
not
need to provide query params to resolve an alert.

When I do
     method: put
     uri:
<a class="moz-txt-link-freetext" href="http://jdoe:password@localhost:8080/hawkular/alerts/resolve/28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134">http://jdoe:password@localhost:8080/hawkular/alerts/resolve/28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134</a>

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
<a class="moz-txt-link-abbreviated" href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/hawkular-dev">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a>

</pre>
        </blockquote>
        <pre wrap="">_______________________________________________
hawkular-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/hawkular-dev">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a>

</pre>
      </blockquote>
      <pre wrap="">_______________________________________________
hawkular-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/hawkular-dev">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a>

</pre>
    </blockquote>
    <br>
  </body>
</html>