--- http_interactions: - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability body: encoding: UTF-8 string: '{"id":"<%= id1 %>","dataRetention":123,"tags":{"some":"value"}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Content-Type: - application/json Content-Length: - '89' User-Agent: - Ruby response: status: code: 201 message: Created headers: Connection: - keep-alive X-Powered-By: - Undertow/1 Server: - WildFly/10 Location: - http://localhost:8080/hawkular/metrics/availability/<%= id1 %> 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/availability/<%= id1 %> 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: - '161' Date: - Tue, 22 Mar 2016 21:35:55 GMT body: encoding: ASCII-8BIT string: '{"id":"<%= id1 %>","tags":{"some":"value"},"dataRetention":123,"type":"availability","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf"}' http_version: recorded_at: Tue, 22 Mar 2016 21:35:55 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability body: encoding: UTF-8 string: '{"id":"<%= id2 %>","dataRetention":321,"tags":{"some":"value"}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Content-Type: - application/json Content-Length: - '89' User-Agent: - Ruby response: status: code: 201 message: Created headers: Connection: - keep-alive X-Powered-By: - Undertow/1 Server: - WildFly/10 Location: - http://localhost:8080/hawkular/metrics/availability/<%= id2 %> 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/availability/<%= id2 %> 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: - '161' Date: - Tue, 22 Mar 2016 21:35:55 GMT body: encoding: ASCII-8BIT string: '{"id":"<%= id2 %>","tags":{"some":"value"},"dataRetention":321,"type":"availability","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf"}' http_version: recorded_at: Tue, 22 Mar 2016 21:35:55 GMT recorded_with: VCR 3.0.1