Sha256: 01e4c6188e9abc8f9ddbc732e99276b5a571fdb85a867caa550f4296a2bcc525

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-trigger-01
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - identity
      User-Agent:
      - hawkular-client-ruby
      Hawkular-Tenant:
      - hawkular
      Content-Type:
      - application/json
      Host:
      - localhost:8080
  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, 27 Sep 2016 18:17:14 GMT
      Connection:
      - keep-alive
      Content-Type:
      - application/json
      Content-Length:
      - '377'
    body:
      encoding: UTF-8
      string: '{"tenantId":"hawkular","id":"my-trigger-01","name":"defaultName","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"MEDIUM","tags":{"app":"MyShop","resourceId":"my-resource01"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","source":"_none_"}'
    http_version: 
  recorded_at: Tue, 27 Sep 2016 18:17:14 GMT
recorded_with: VCR 3.0.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hawkular-client-2.9.0 spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_metric_Trigger.yml
hawkular-client-2.8.0 spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_metric_Trigger.yml