--- http_interactions: - request: method: get uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/?statuses=OPEN body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Host: - localhost:8080 response: status: code: 200 message: OK headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Fri, 07 Oct 2016 15:36:35 GMT X-Total-Count: - '2' Connection: - keep-alive Content-Type: - application/json Content-Length: - '2578' Link: - ; rel="current", ; rel="last" body: encoding: UTF-8 string: '[{"eventType":"ALERT","tenantId":"hawkular","id":"hello-world-trigger-1475854594696-24e7846e-589b-44ba-b8de-7c35de0b0ebf","ctime":1475854594696,"dataSource":"_none_","dataId":"hello-world-trigger","category":"ALERT","text":"A mandatory Hello World Trigger","trigger":{"tenantId":"hawkular","id":"hello-world-trigger","name":"Hello World Trigger","description":"A mandatory Hello World Trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"hawkular","triggerId":"hello-world-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"hawkular-hello-world-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1475854594695,"dataTimestamp":1475854594,"type":"THRESHOLD","condition":{"tenantId":"hawkular","triggerId":"hello-world-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-hello-world-trigger-FIRING-1-1","dataId":"data-x","operator":"LT","threshold":5.0},"value":4.0}]],"severity":"HIGH","status":"OPEN","lifecycle":[{"status":"OPEN","user":"system","stime":1475854594696}]},{"eventType":"ALERT","tenantId":"hawkular","id":"a-trigger-1475854594696-89fe86b0-959c-434f-96c3-e627f2376e90","ctime":1475854594696,"dataSource":"_none_","dataId":"a-trigger","category":"ALERT","text":"Just a trigger","trigger":{"tenantId":"hawkular","id":"a-trigger","name":"A trigger name","description":"Just a trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"hawkular","triggerId":"a-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"hawkular-a-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1475854594694,"dataTimestamp":1475854594,"type":"THRESHOLD","condition":{"tenantId":"hawkular","triggerId":"a-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-a-trigger-FIRING-1-1","dataId":"data-x","operator":"LT","threshold":5.0},"value":4.0}]],"severity":"HIGH","status":"OPEN","lifecycle":[{"status":"OPEN","user":"system","stime":1475854594696}]}]' http_version: recorded_at: Fri, 07 Oct 2016 15:36:35 GMT - request: method: get uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/alert/hello-world-trigger-1475854594696-24e7846e-589b-44ba-b8de-7c35de0b0ebf body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Host: - localhost:8080 response: status: code: 200 message: OK headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Fri, 07 Oct 2016 15:36:35 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '1342' body: encoding: UTF-8 string: '{"eventType":"ALERT","tenantId":"hawkular","id":"hello-world-trigger-1475854594696-24e7846e-589b-44ba-b8de-7c35de0b0ebf","ctime":1475854594696,"dataSource":"_none_","dataId":"hello-world-trigger","category":"ALERT","text":"A mandatory Hello World Trigger","trigger":{"tenantId":"hawkular","id":"hello-world-trigger","name":"Hello World Trigger","description":"A mandatory Hello World Trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"hawkular","triggerId":"hello-world-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"hawkular-hello-world-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1475854594695,"dataTimestamp":1475854594,"type":"THRESHOLD","condition":{"tenantId":"hawkular","triggerId":"hello-world-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-hello-world-trigger-FIRING-1-1","dataId":"data-x","operator":"LT","threshold":5.0},"value":4.0}]],"severity":"HIGH","status":"OPEN","lifecycle":[{"status":"OPEN","user":"system","stime":1475854594696}]}' http_version: recorded_at: Fri, 07 Oct 2016 15:36:35 GMT - request: method: put uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/resolve/hello-world-trigger-1475854594696-24e7846e-589b-44ba-b8de-7c35de0b0ebf?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-) body: encoding: UTF-8 string: "{}" headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Content-Length: - '2' Host: - localhost:8080 response: status: code: 200 message: OK headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Fri, 07 Oct 2016 15:36:35 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Fri, 07 Oct 2016 15:36:35 GMT - request: method: get uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/alert/hello-world-trigger-1475854594696-24e7846e-589b-44ba-b8de-7c35de0b0ebf body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Host: - localhost:8080 response: status: code: 200 message: OK headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Fri, 07 Oct 2016 15:36:35 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '1484' body: encoding: UTF-8 string: '{"eventType":"ALERT","tenantId":"hawkular","id":"hello-world-trigger-1475854594696-24e7846e-589b-44ba-b8de-7c35de0b0ebf","ctime":1475854594696,"dataSource":"_none_","dataId":"hello-world-trigger","category":"ALERT","text":"A mandatory Hello World Trigger","trigger":{"tenantId":"hawkular","id":"hello-world-trigger","name":"Hello World Trigger","description":"A mandatory Hello World Trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"hawkular","triggerId":"hello-world-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"hawkular-hello-world-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1475854594695,"dataTimestamp":1475854594,"type":"THRESHOLD","condition":{"tenantId":"hawkular","triggerId":"hello-world-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-hello-world-trigger-FIRING-1-1","dataId":"data-x","operator":"LT","threshold":5.0},"value":4.0}]],"severity":"HIGH","status":"RESOLVED","notes":[{"user":"Heiko","ctime":1475854595312,"text":"Hello Ruby World :-)"}],"lifecycle":[{"status":"OPEN","user":"system","stime":1475854594696},{"status":"RESOLVED","user":"Heiko","stime":1475854595312}]}' http_version: recorded_at: Fri, 07 Oct 2016 15:36:35 GMT recorded_with: VCR 3.0.3