--- http_interactions: - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability body: encoding: UTF-8 string: '{"id":"<%= id %>","dataRetention":123,"tags":{"some":"value"}}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - <%= vcr_test_tenant %> Content-Type: - application/json Content-Length: - '89' Host: - localhost:8080 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, 15 Aug 2016 15:20:37 GMT Connection: - keep-alive Content-Length: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Mon, 15 Aug 2016 15:20:37 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 %> 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: - Mon, 15 Aug 2016 15:20:37 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '198' body: encoding: UTF-8 string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}' http_version: recorded_at: Mon, 15 Aug 2016 15:20:37 GMT recorded_with: VCR 3.0.3