--- http_interactions: - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters body: encoding: UTF-8 string: '{"id":"<%= id %>"}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - <%= vcr_test_tenant %> Content-Type: - application/json Content-Length: - '45' 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/counters/<%= id %> Date: - Thu, 13 Oct 2016 03:23:07 GMT Connection: - keep-alive Content-Length: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Thu, 13 Oct 2016 03:23:07 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw body: encoding: UTF-8 string: '[{"value":1,"timestamp":<%= minus30 %>},{"value":2,"timestamp":<%= minus20 %>},{"value":3,"timestamp":<%= minus10 %>}]' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - <%= vcr_test_tenant %> Content-Type: - application/json Content-Length: - '115' 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: - Thu, 13 Oct 2016 03:23:07 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Thu, 13 Oct 2016 03:23:07 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: - Thu, 13 Oct 2016 03:23:07 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '115' body: encoding: UTF-8 string: '[{"timestamp":<%= minus10 %>,"value":3},{"timestamp":<%= minus20 %>,"value":2},{"timestamp":<%= minus30 %>,"value":1}]' http_version: recorded_at: Thu, 13 Oct 2016 03:23:07 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw body: encoding: UTF-8 string: '[{"value":4,"timestamp":1476328987926}]' 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: - Thu, 13 Oct 2016 03:23:07 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Thu, 13 Oct 2016 03:23:07 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: - Thu, 13 Oct 2016 03:23:07 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '153' body: encoding: UTF-8 string: '[{"timestamp":1476328987926,"value":4},{"timestamp":<%= minus10 %>,"value":3},{"timestamp":<%= minus20 %>,"value":2},{"timestamp":<%= minus30 %>,"value":1}]' http_version: recorded_at: Thu, 13 Oct 2016 03:23:07 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/?limit=1&order=DESC 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: - Thu, 13 Oct 2016 03:23:07 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '39' body: encoding: UTF-8 string: '[{"timestamp":1476328987926,"value":4}]' http_version: recorded_at: Thu, 13 Oct 2016 03:23:07 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/?end=<%= minus4h %>&start=<%= minus8h %> 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: 204 message: No Content headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Thu, 13 Oct 2016 03:23:07 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Thu, 13 Oct 2016 03:23:07 GMT recorded_with: VCR 3.0.3