--- http_interactions: - request: method: get uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/?triggerIds=hello-world-trigger 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: - '1' Connection: - keep-alive Content-Type: - application/json Content-Length: - '1486' 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":"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 - request: method: delete uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/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: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Fri, 07 Oct 2016 15:36:35 GMT - request: method: delete uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/hello-world-trigger 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: - '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/?triggerIds=a-trigger 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: - '1' Connection: - keep-alive Content-Type: - application/json Content-Length: - '1385' Link: - ; rel="current", ; rel="last" body: encoding: UTF-8 string: '[{"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":"ACKNOWLEDGED","notes":[{"user":"Heiko","ctime":1475854595365,"text":"Hello Ruby World :-)"}],"lifecycle":[{"status":"OPEN","user":"system","stime":1475854594696},{"status":"ACKNOWLEDGED","user":"Heiko","stime":1475854595365}]}]' http_version: recorded_at: Fri, 07 Oct 2016 15:36:35 GMT - request: method: delete uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/a-trigger-1475854594696-89fe86b0-959c-434f-96c3-e627f2376e90 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: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Fri, 07 Oct 2016 15:36:35 GMT - request: method: delete uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/a-trigger 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: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Fri, 07 Oct 2016 15:36:35 GMT recorded_with: VCR 3.0.3