--- http_interactions: - request: method: post uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/trigger body: encoding: UTF-8 string: '{"trigger":{"id":"my-cool-trigger","name":"Just a trigger","enabled":true,"severity":"HIGH","description":"Just a test trigger","actions":[]},"conditions":[],"dampenings":[]}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Content-Length: - '174' 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: - Tue, 27 Sep 2016 18:17:14 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '374' body: encoding: UTF-8 string: '{"trigger":{"tenantId":"hawkular","id":"my-cool-trigger","name":"Just a trigger","description":"Just a test 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_"}}' http_version: recorded_at: Tue, 27 Sep 2016 18:17:14 GMT - request: method: get uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-cool-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: - Tue, 27 Sep 2016 18:17:14 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '362' body: encoding: UTF-8 string: '{"tenantId":"hawkular","id":"my-cool-trigger","name":"Just a trigger","description":"Just a test 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_"}' http_version: recorded_at: Tue, 27 Sep 2016 18:17:14 GMT - request: method: get uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-cool-trigger/conditions 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: - Tue, 27 Sep 2016 18:17:14 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '2' body: encoding: UTF-8 string: "[]" http_version: recorded_at: Tue, 27 Sep 2016 18:17:14 GMT - request: method: get uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-cool-trigger/dampenings 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: - Tue, 27 Sep 2016 18:17:14 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '2' body: encoding: UTF-8 string: "[]" http_version: recorded_at: Tue, 27 Sep 2016 18:17:14 GMT - request: method: delete uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-cool-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: - Tue, 27 Sep 2016 18:17:14 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Tue, 27 Sep 2016 18:17:14 GMT - request: method: post uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/trigger body: encoding: UTF-8 string: '{"trigger":{"id":"my-cool-trigger","name":"Just a trigger","enabled":true,"severity":"HIGH","description":"Just a test trigger","firingMatch":"ANY","autoResolveMatch":"ANY","actions":[]},"conditions":[],"dampenings":[]}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Content-Length: - '219' 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: - Tue, 27 Sep 2016 18:17:14 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '374' body: encoding: UTF-8 string: '{"trigger":{"tenantId":"hawkular","id":"my-cool-trigger","name":"Just a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ANY","enabled":true,"firingMatch":"ANY","source":"_none_"}}' http_version: recorded_at: Tue, 27 Sep 2016 18:17:14 GMT - request: method: get uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-cool-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: - Tue, 27 Sep 2016 18:17:14 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '362' body: encoding: UTF-8 string: '{"tenantId":"hawkular","id":"my-cool-trigger","name":"Just a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ANY","enabled":true,"firingMatch":"ANY","source":"_none_"}' http_version: recorded_at: Tue, 27 Sep 2016 18:17:14 GMT - request: method: get uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-cool-trigger/conditions 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: - Tue, 27 Sep 2016 18:17:14 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '2' body: encoding: UTF-8 string: "[]" http_version: recorded_at: Tue, 27 Sep 2016 18:17:14 GMT - request: method: get uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-cool-trigger/dampenings 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: - Tue, 27 Sep 2016 18:17:14 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '2' body: encoding: UTF-8 string: "[]" http_version: recorded_at: Tue, 27 Sep 2016 18:17:14 GMT - request: method: delete uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-cool-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: - Tue, 27 Sep 2016 18:17:14 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Tue, 27 Sep 2016 18:17:14 GMT recorded_with: VCR 3.0.3