--- http_interactions: - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability body: encoding: UTF-8 string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>"}}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - vcr-test-tenant-123 Content-Type: - application/json Content-Length: - '101' 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: - '174' body: encoding: UTF-8 string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>"},"dataRetention":7,"type":"availability","tenantId":"vcr-test-tenant-123"}' http_version: recorded_at: Mon, 25 Jul 2016 13:33:11 GMT - request: method: put uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/tags body: encoding: UTF-8 string: '{"newTag":"newValue"}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - vcr-test-tenant-123 Content-Type: - application/json Content-Length: - '21' 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, 25 Jul 2016 13:33:11 GMT 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: - '194' body: encoding: UTF-8 string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"availability","tenantId":"vcr-test-tenant-123"}' http_version: recorded_at: Mon, 25 Jul 2016 13:33:11 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/?tags=myTag:<%= id %>&type=availability 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: - '196' body: encoding: UTF-8 string: '[{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"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