Sha256: 8751b61627a86e428cba6d9384f84e34fbedfce22db9a1035629b69c071fc2e6

Contents?: true

Size: 1.86 KB

Versions: 3

Compression:

Stored size: 1.86 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:8080/hawkular/metrics/gauges
    body:
      encoding: UTF-8
      string: '{"id":"<%= id %>","dataRetention":123,"tags":{"some":"value"},"tenantId":"<%= vcr_test_tenant %>"}'
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Hawkular-Tenant:
      - <%= vcr_test_tenant %>
      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/gauges/<%= id %>
      Content-Length:
      - '0'
      Date:
      - Thu, 30 Jun 2016 16:31:37 GMT
    body:
      encoding: UTF-8
      string: ''
    http_version: 
  recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
- request:
    method: get
    uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Hawkular-Tenant:
      - 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:
      - '137'
      Date:
      - Thu, 30 Jun 2016 16:31:37 GMT
    body:
      encoding: UTF-8
      string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"gauge","tenantId":"<%= vcr_test_tenant %>"}'
    http_version: 
  recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
recorded_with: VCR 3.0.1

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hawkular-client-2.9.0 spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml
hawkular-client-2.8.0 spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml
hawkular-client-2.7.0 spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml