--- http_interactions: - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data body: encoding: UTF-8 string: '[{"value":4,"timestamp":1458682555177}]' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Content-Type: - application/json Content-Length: - '39' User-Agent: - Ruby response: status: code: 200 message: OK headers: Connection: - keep-alive X-Powered-By: - Undertow/1 Server: - WildFly/10 Content-Length: - '0' Date: - Tue, 22 Mar 2016 21:35:55 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Tue, 22 Mar 2016 21:35:55 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/ body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Content-Type: - application/json User-Agent: - Ruby response: status: code: 200 message: OK headers: Connection: - keep-alive X-Powered-By: - Undertow/1 Server: - WildFly/10 Content-Type: - application/json Content-Length: - '39' Date: - Tue, 22 Mar 2016 21:35:55 GMT body: encoding: ASCII-8BIT string: '[{"timestamp":1458682555177,"value":4}]' http_version: recorded_at: Tue, 22 Mar 2016 21:35:55 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: - gzip, deflate Content-Type: - application/json User-Agent: - Ruby response: status: code: 200 message: OK headers: Connection: - keep-alive X-Powered-By: - Undertow/1 Server: - WildFly/10 Content-Type: - application/json Content-Length: - '130' Date: - Tue, 22 Mar 2016 21:35:55 GMT body: encoding: ASCII-8BIT string: '{"id":"<%= id %>","dataRetention":7,"type":"counter","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf"}' http_version: recorded_at: Tue, 22 Mar 2016 21:35:55 GMT recorded_with: VCR 3.0.1