Sha256: b75d5814824bf4165f86947fb65fb01dcdc0a53b0eced18020a1d57a6a652150

Contents?: true

Size: 1.84 KB

Versions: 7

Compression:

Stored size: 1.84 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:8080/hawkular/metrics/availability
    body:
      encoding: UTF-8
      string: '{"id":"<%= id %>","dataRetention":90,"tags":{"tag":"value"}}'
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Hawkular-Tenant:
      - vcr-test-tenant-123
      Content-Type:
      - application/json
      Content-Length:
      - '87'
      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/availability/<%= 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/availability/<%= 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:
      - '142'
      Date:
      - Thu, 30 Jun 2016 16:31:37 GMT
    body:
      encoding: UTF-8
      string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"availability","tenantId":"vcr-test-tenant-123"}'
    http_version: 
  recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
recorded_with: VCR 3.0.1

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hawkular-client-2.9.0 spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml
hawkular-client-2.8.0 spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml
hawkular-client-2.7.0 spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml
hawkular-client-2.6.0 spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml
hawkular-client-2.5.0 spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml
hawkular-client-2.4.0 spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml
hawkular-client-2.3.0 spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml