--- http_interactions: - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability body: encoding: UTF-8 string: '{"id":"<%= id %>","dataRetention":90,"tags":{"tag":"value"}}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - vcr-test-tenant-123 Content-Type: - application/json Content-Length: - '87' response: status: code: 201 message: Created headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Location: - http://localhost:8080/hawkular/metrics/availability/<%= id %> Date: - Mon, 25 Jul 2016 13:33:11 GMT Connection: - keep-alive Content-Length: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Mon, 25 Jul 2016 13:33:11 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %> body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - vcr-test-tenant-123 Content-Type: - application/json 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: - Mon, 25 Jul 2016 13:33:11 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '142' body: encoding: UTF-8 string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"availability","tenantId":"vcr-test-tenant-123"}' http_version: recorded_at: Mon, 25 Jul 2016 13:33:11 GMT recorded_with: VCR 3.0.3