Sha256: 159f49e87037d3c9d942cb26ee77dbcb6810ba0e55593001dbd3636506006102

Contents?: true

Size: 1.95 KB

Versions: 10

Compression:

Stored size: 1.95 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:8080/hawkular/metrics/counters
    body:
      encoding: UTF-8
      string: '{"id":"<%= id %>","dataRetention":123,"tags":{"some":"value"},"tenantId":"vcr-test-tenant-123"}'
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Hawkular-Tenant:
      - vcr-test-tenant-123
      Tenantid:
      - vcr-test-tenant-123
      Content-Type:
      - application/json
      Content-Length:
      - '122'
      User-Agent:
      - Ruby
  response:
    status:
      code: 201
      message: Created
    headers:
      Connection:
      - keep-alive
      X-Powered-By:
      - Undertow/1
      Server:
      - WildFly/9
      Location:
      - http://localhost:8080/hawkular/metrics/counters/<%= id %>
      Content-Length:
      - '0'
      Date:
      - Fri, 30 Oct 2015 17:39:18 GMT
    body:
      encoding: UTF-8
      string: ''
    http_version: 
  recorded_at: Fri, 30 Oct 2015 17:39:18 GMT
- request:
    method: get
    uri: http://localhost:8080/hawkular/metrics/counters/<%= id %>
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Hawkular-Tenant:
      - vcr-test-tenant-123
      Tenantid:
      - vcr-test-tenant-123
      Content-Type:
      - application/json
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Connection:
      - keep-alive
      X-Powered-By:
      - Undertow/1
      Server:
      - WildFly/9
      Content-Type:
      - application/json
      Content-Length:
      - '139'
      Date:
      - Fri, 30 Oct 2015 17:39:18 GMT
    body:
      encoding: UTF-8
      string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"counter","tenantId":"vcr-test-tenant-123"}'
    http_version: 
  recorded_at: Fri, 30 Oct 2015 17:39:18 GMT
recorded_with: VCR 2.9.3

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hawkular-client-2.2.1 spec/vcr_cassettes/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml
hawkular-client-2.2.0 spec/vcr_cassettes/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml
hawkular-client-2.1.0 spec/vcr_cassettes/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml
hawkular-client-2.0.0 spec/vcr_cassettes/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml
hawkular-client-1.0.0 spec/vcr_cassettes/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml
hawkular-client-0.2.2 spec/vcr_cassettes/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml
hawkular-client-0.2.1 spec/vcr_cassettes/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml
hawkular-client-0.2.0 spec/vcr_cassettes/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml
hawkular-client-0.1.2 spec/vcr_cassettes/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml
hawkular-client-0.1.1 spec/vcr_cassettes/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml