--- http_interactions: - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw body: encoding: UTF-8 string: '[{"value":4,"timestamp":1471274438280}]' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - <%= vcr_test_tenant %> Content-Type: - application/json Content-Length: - '39' Host: - localhost:8080 response: status: code: 200 message: OK headers: Expires: - '0' Connection: - keep-alive Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Content-Length: - '0' Date: - Mon, 15 Aug 2016 15:20:38 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Mon, 15 Aug 2016 15:20:38 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/ 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:38 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '39' body: encoding: UTF-8 string: '[{"timestamp":1471274438280,"value":4}]' http_version: recorded_at: Mon, 15 Aug 2016 15:20:38 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= 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:38 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '223' body: encoding: UTF-8 string: '{"id":"<%= id %>","dataRetention":7,"type":"counter","tenantId":"<%= vcr_test_tenant %>","minTimestamp":1471274438280,"maxTimestamp":1471274438280}' http_version: recorded_at: Mon, 15 Aug 2016 15:20:38 GMT recorded_with: VCR 3.0.3