Sha256: 46b1dd1c635c98424aa08fa4b073b10c4dd98151a331503384a781bd1ad2f3b3

Contents?: true

Size: 1.34 KB

Versions: 10

Compression:

Stored size: 1.34 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://jdoe:password@localhost:8080/hawkular/alerts/events
    body:
      encoding: UTF-8
      string: '{"id":"<%= id %>","ctime":1462300161000,"category":"MyCategory","text":"Li
        la lu","context":{"message":"This is a test"},"tags":{"tag_name":"tag-value"}}'
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Content-Type:
      - application/json
      Content-Length:
      - '165'
      User-Agent:
      - Ruby
  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:
      - Tue, 03 May 2016 18:29:21 GMT
      Connection:
      - keep-alive
      Content-Type:
      - application/json
      Content-Length:
      - '257'
    body:
      encoding: ASCII-8BIT
      string: '{"eventType":"EVENT","tenantId":"c48db2a6-f820-4e95-a3af-463ef4c10333","id":"<%= id %>","ctime":1462300161000,"dataSource":"_none_","category":"MyCategory","text":"Li
        la lu","context":{"message":"This is a test"},"tags":{"tag_name":"tag-value"}}'
    http_version: 
  recorded_at: Tue, 03 May 2016 18:29:21 GMT
recorded_with: VCR 3.0.1

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hawkular-client-2.7.0 spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml
hawkular-client-2.6.0 spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml
hawkular-client-2.5.0 spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml
hawkular-client-2.4.0 spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml
hawkular-client-2.3.0 spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml
hawkular-client-2.2.1 spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml
hawkular-client-2.2.0 spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml
hawkular-client-2.1.0 spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml
hawkular-client-2.0.0 spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml
hawkular-client-1.0.0 spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml