hawkular-client 2.7.0 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +19 -2
  3. data/.travis/wait_for_services.rb +23 -0
  4. data/CHANGES.rdoc +11 -0
  5. data/docker-compose.yml +15 -0
  6. data/lib/hawkular/alerts/alerts_api.rb +24 -0
  7. data/lib/hawkular/base_client.rb +7 -0
  8. data/lib/hawkular/inventory/entities.rb +3 -0
  9. data/lib/hawkular/metrics/metric_api.rb +38 -3
  10. data/lib/hawkular/metrics/metrics_client.rb +3 -0
  11. data/lib/hawkular/metrics/tenant_api.rb +2 -2
  12. data/lib/hawkular/version.rb +1 -1
  13. data/spec/integration/alert-resources/alerts-test-data.json +40 -0
  14. data/spec/integration/alert-resources/events-test-data.json +78 -0
  15. data/spec/integration/alert-resources/triggers-test-data.json +66 -0
  16. data/spec/integration/alerts_spec.rb +192 -83
  17. data/spec/integration/hello-world-definitions.json +1 -2
  18. data/spec/integration/inventory_spec.rb +18 -5
  19. data/spec/integration/metric_spec.rb +201 -40
  20. data/spec/integration/operations_spec.rb +45 -1
  21. data/spec/spec_helper.rb +25 -6
  22. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_acknowledge_an_alert.yml +205 -0
  23. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_fetch_single_alert.yml +108 -0
  24. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts.yml +59 -0
  25. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts_for_trigger.yml +58 -0
  26. data/spec/vcr_cassettes/Alert/Alerts/{Should_list_alerts_for_unknown_trigger.yml → Templates/Should_list_alerts_for_unknown_trigger.yml} +13 -9
  27. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_open_alerts.yml +59 -0
  28. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_resolve_an_alert.yml +207 -0
  29. data/spec/vcr_cassettes/Alert/Alerts/Templates/setup.yml +255 -0
  30. data/spec/vcr_cassettes/Alert/Alerts/Templates/setup_cleanup.yml +302 -0
  31. data/spec/vcr_cassettes/Alert/EndToEnd/Templates/Should_create_and_fire_a_trigger.yml +527 -0
  32. data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml → Alert/Events/Templates/Should_create_an_event.yml} +22 -18
  33. data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml → Alert/Events/Templates/Should_delete_an_event.yml} +28 -24
  34. data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events.yml +91 -0
  35. data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events_using_criteria.yml +60 -0
  36. data/spec/vcr_cassettes/Alert/Events/{Should_not_list_events_using_criteria.yml → Templates/Should_not_list_events_using_criteria.yml} +14 -13
  37. data/spec/vcr_cassettes/Alert/Events/Templates/setup.yml +615 -0
  38. data/spec/vcr_cassettes/Alert/Events/Templates/setup_cleanup.yml +567 -0
  39. data/spec/vcr_cassettes/Alert/Groups/{Should_operate_a_complex_group_trigger.yml → Templates/Should_operate_a_complex_group_trigger.yml} +508 -352
  40. data/spec/vcr_cassettes/{Alerts → Alert/Templates}/Should_return_the_version.yml +10 -8
  41. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers.yml +55 -0
  42. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_ID.yml +56 -0
  43. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tag.yml +56 -0
  44. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tags.yml +56 -0
  45. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_bulk_load_triggers.yml +243 -0
  46. data/spec/vcr_cassettes/Alert/Triggers/{Should_create_a_basic_trigger_with_action.yml → Templates/Should_create_a_basic_trigger_with_action.yml} +107 -76
  47. data/spec/vcr_cassettes/Alert/Triggers/{Should_create_a_firing_ALL_ANY_trigger.yml → Templates/Should_create_a_firing_ALL_ANY_trigger.yml} +81 -61
  48. data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml → Alert/Triggers/Templates/Should_create_an_action.yml} +32 -30
  49. data/spec/vcr_cassettes/{Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml → Alert/Triggers/Templates/Should_get_a_single_Trigger_with_conditions.yml} +29 -29
  50. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_metric_Trigger.yml +50 -0
  51. data/spec/vcr_cassettes/Alert/Triggers/{Should_get_the_action_definitions.yml → Templates/Should_get_the_action_definitions.yml} +46 -73
  52. data/spec/vcr_cassettes/Alert/Triggers/{Should_not_create_an_action_for_unknown_plugin.yml → Templates/Should_not_create_an_action_for_unknown_plugin.yml} +12 -8
  53. data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml → Alert/Triggers/Templates/Should_not_create_an_action_for_unknown_properties.yml} +27 -26
  54. data/spec/vcr_cassettes/Alert/Triggers/Templates/setup.yml +52 -0
  55. data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml → Alert/Triggers/Templates/setup_cleanup.yml} +51 -51
  56. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +29 -25
  57. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +3 -3
  58. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +5 -5
  59. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +4 -4
  60. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +4 -4
  61. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +4 -4
  62. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +4 -4
  63. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +6 -6
  64. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +8 -8
  65. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/setup_client.yml +44 -0
  66. data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml → metrics_services/Templates/All_Tags_for_metrics/Should_fetch_all_metric_tags_for_metrics_definitions.yml} +159 -53
  67. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +47 -6
  68. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +12 -12
  69. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/setup_client.yml +44 -0
  70. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +17 -17
  71. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +23 -23
  72. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +19 -19
  73. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +12 -12
  74. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/setup_client.yml +44 -0
  75. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +19 -19
  76. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +12 -12
  77. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +5 -5
  78. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +151 -5
  79. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +152 -6
  80. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/setup_client.yml +44 -0
  81. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_rate_stats_for_mixed_metric.yml +33 -33
  82. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +31 -32
  83. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +108 -20
  84. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +26 -26
  85. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +27 -27
  86. data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Status/Should_return_the_version.yml → metrics_services/Templates/Mixed_metrics/setup_client.yml} +3 -3
  87. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/No_Tenant/Should_fail.yml +43 -4
  88. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Status/Should_return_the_version.yml +44 -3
  89. data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml → metrics_services/Templates/String_metrics/Should_create_string_definition_using_Hash.yml} +9 -9
  90. data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml → metrics_services/Templates/String_metrics/Should_create_string_definition_using_MetricDefinition.yml} +9 -9
  91. data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml → metrics_services/Templates/String_metrics/Should_push_metric_data_to_existing_string.yml} +27 -27
  92. data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml → metrics_services/Templates/String_metrics/Should_push_metric_data_to_non-existing_string.yml} +15 -15
  93. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/setup_client.yml +44 -0
  94. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tags_Metrics/setup_client.yml +44 -0
  95. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +10 -6
  96. data/spec/vcr_cassettes/Metrics/{Secure/metrics_0_16_0/Templates/Status/Should_return_the_version.yml → NonSecure/metrics_services/Templates/Tenants/setup_client.yml} +5 -5
  97. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/setup_client.yml +44 -0
  98. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +80 -33
  99. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_XA_datasource_should_be_doable.json +23 -0
  100. data/spec/vcr_cassettes/Operation/NonSecure/Operation/{Add_datasource_should_be_doable.json → Add_non-XA_datasource_should_be_doable.json} +0 -0
  101. metadata +111 -156
  102. data/spec/vcr_cassettes/Alert/Alerts/Should_acknowledge_an_alert.yml +0 -183
  103. data/spec/vcr_cassettes/Alert/Alerts/Should_fetch_single_alert.yml +0 -69
  104. data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts.yml +0 -85
  105. data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts_for_trigger.yml +0 -142
  106. data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert.yml +0 -181
  107. data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert2.yml +0 -49
  108. data/spec/vcr_cassettes/Alert/EndToEnd/Should_create_and_fire_a_trigger.yml +0 -1187
  109. data/spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml +0 -50
  110. data/spec/vcr_cassettes/Alert/Events/Should_list_events.yml +0 -101
  111. data/spec/vcr_cassettes/Alert/Events/Should_list_events_using_criteria.yml +0 -79
  112. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers.yml +0 -62
  113. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_ID.yml +0 -55
  114. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tag.yml +0 -68
  115. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tags.yml +0 -68
  116. data/spec/vcr_cassettes/Alert/Triggers/Should_bulk_load_triggers.yml +0 -225
  117. data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action.yml +0 -134
  118. data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action_for_webhooks.yml +0 -220
  119. data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_Trigger_with_conditions.yml +0 -138
  120. data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_metric_Trigger.yml +0 -50
  121. data/spec/vcr_cassettes/Alert/Triggers/Should_not_create_an_action_for_unknown_properties.yml +0 -134
  122. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
  123. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
  124. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
  125. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
  126. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
  127. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
  128. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
  129. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
  130. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -326
  131. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
  132. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +0 -50
  133. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +0 -48
  134. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -99
  135. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -99
  136. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
  137. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
  138. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
  139. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
  140. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
  141. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
  142. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +0 -328
  143. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
  144. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -144
  145. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -99
  146. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -99
  147. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -281
  148. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -144
  149. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +0 -97
  150. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
  151. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -326
  152. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
  153. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -285
  154. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +0 -50
  155. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +0 -48
  156. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -99
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups
5
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"id":"a-group-trigger","name":"A Group Trigger","enabled":false,"severity":"HIGH","description":"A
@@ -11,13 +11,17 @@ http_interactions:
11
11
  Accept:
12
12
  - application/json
13
13
  Accept-Encoding:
14
- - gzip, deflate
14
+ - identity
15
+ User-Agent:
16
+ - hawkular-client-ruby
17
+ Hawkular-Tenant:
18
+ - hawkular
15
19
  Content-Type:
16
20
  - application/json
17
21
  Content-Length:
18
22
  - '148'
19
- User-Agent:
20
- - Ruby
23
+ Host:
24
+ - localhost:8080
21
25
  response:
22
26
  status:
23
27
  code: 200
@@ -34,22 +38,22 @@ http_interactions:
34
38
  Pragma:
35
39
  - no-cache
36
40
  Date:
37
- - Fri, 06 May 2016 13:28:05 GMT
41
+ - Tue, 27 Sep 2016 18:17:15 GMT
38
42
  Connection:
39
43
  - keep-alive
40
44
  Content-Type:
41
45
  - application/json
42
46
  Content-Length:
43
- - '405'
47
+ - '377'
44
48
  body:
45
- encoding: ASCII-8BIT
46
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"a-group-trigger","name":"A
47
- Group Trigger","description":"A Group Trigger generated from test","type":"GROUP","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","source":"_none_"}'
49
+ encoding: UTF-8
50
+ string: '{"tenantId":"hawkular","id":"a-group-trigger","name":"A Group Trigger","description":"A
51
+ Group Trigger generated from test","type":"GROUP","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","source":"_none_"}'
48
52
  http_version:
49
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
53
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
50
54
  - request:
51
55
  method: put
52
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/conditions/FIRING
56
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/conditions/FIRING
53
57
  body:
54
58
  encoding: UTF-8
55
59
  string: '{"conditions":[{"conditionId":null,"type":"THRESHOLD","operator":"LT","threshold":5,"triggerMode":"FIRING","dataId":"my-metric-id","data2Id":null,"data2Multiplier":null,"triggerId":null}],"dataIdMemberMap":{}}'
@@ -57,13 +61,17 @@ http_interactions:
57
61
  Accept:
58
62
  - application/json
59
63
  Accept-Encoding:
60
- - gzip, deflate
64
+ - identity
65
+ User-Agent:
66
+ - hawkular-client-ruby
67
+ Hawkular-Tenant:
68
+ - hawkular
61
69
  Content-Type:
62
70
  - application/json
63
71
  Content-Length:
64
72
  - '209'
65
- User-Agent:
66
- - Ruby
73
+ Host:
74
+ - localhost:8080
67
75
  response:
68
76
  status:
69
77
  code: 200
@@ -80,21 +88,21 @@ http_interactions:
80
88
  Pragma:
81
89
  - no-cache
82
90
  Date:
83
- - Fri, 06 May 2016 13:28:05 GMT
91
+ - Tue, 27 Sep 2016 18:17:15 GMT
84
92
  Connection:
85
93
  - keep-alive
86
94
  Content-Type:
87
95
  - application/json
88
96
  Content-Length:
89
- - '304'
97
+ - '248'
90
98
  body:
91
- encoding: ASCII-8BIT
92
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-a-group-trigger-FIRING-1-1","dataId":"my-metric-id","operator":"LT","threshold":5.0}]'
99
+ encoding: UTF-8
100
+ string: '[{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-a-group-trigger-FIRING-1-1","dataId":"my-metric-id","operator":"LT","threshold":5.0}]'
93
101
  http_version:
94
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
102
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
95
103
  - request:
96
104
  method: post
97
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/members
105
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/members
98
106
  body:
99
107
  encoding: UTF-8
100
108
  string: '{"groupId":"a-group-trigger","memberId":"member1","memberName":"Member
@@ -103,13 +111,17 @@ http_interactions:
103
111
  Accept:
104
112
  - application/json
105
113
  Accept-Encoding:
106
- - gzip, deflate
114
+ - identity
115
+ User-Agent:
116
+ - hawkular-client-ruby
117
+ Hawkular-Tenant:
118
+ - hawkular
107
119
  Content-Type:
108
120
  - application/json
109
121
  Content-Length:
110
122
  - '192'
111
- User-Agent:
112
- - Ruby
123
+ Host:
124
+ - localhost:8080
113
125
  response:
114
126
  status:
115
127
  code: 200
@@ -126,22 +138,22 @@ http_interactions:
126
138
  Pragma:
127
139
  - no-cache
128
140
  Date:
129
- - Fri, 06 May 2016 13:28:05 GMT
141
+ - Tue, 27 Sep 2016 18:17:15 GMT
130
142
  Connection:
131
143
  - keep-alive
132
144
  Content-Type:
133
145
  - application/json
134
146
  Content-Length:
135
- - '474'
147
+ - '446'
136
148
  body:
137
- encoding: ASCII-8BIT
138
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member1","name":"Member
139
- One","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
149
+ encoding: UTF-8
150
+ string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
151
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
140
152
  http_version:
141
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
153
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
142
154
  - request:
143
155
  method: get
144
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1
156
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1
145
157
  body:
146
158
  encoding: US-ASCII
147
159
  string: ''
@@ -149,11 +161,15 @@ http_interactions:
149
161
  Accept:
150
162
  - application/json
151
163
  Accept-Encoding:
152
- - gzip, deflate
164
+ - identity
165
+ User-Agent:
166
+ - hawkular-client-ruby
167
+ Hawkular-Tenant:
168
+ - hawkular
153
169
  Content-Type:
154
170
  - application/json
155
- User-Agent:
156
- - Ruby
171
+ Host:
172
+ - localhost:8080
157
173
  response:
158
174
  status:
159
175
  code: 200
@@ -170,22 +186,22 @@ http_interactions:
170
186
  Pragma:
171
187
  - no-cache
172
188
  Date:
173
- - Fri, 06 May 2016 13:28:05 GMT
189
+ - Tue, 27 Sep 2016 18:17:15 GMT
174
190
  Connection:
175
191
  - keep-alive
176
192
  Content-Type:
177
193
  - application/json
178
194
  Content-Length:
179
- - '474'
195
+ - '446'
180
196
  body:
181
- encoding: ASCII-8BIT
182
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member1","name":"Member
183
- One","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
197
+ encoding: UTF-8
198
+ string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
199
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
184
200
  http_version:
185
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
201
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
186
202
  - request:
187
203
  method: get
188
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1/conditions
204
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/conditions
189
205
  body:
190
206
  encoding: US-ASCII
191
207
  string: ''
@@ -193,11 +209,15 @@ http_interactions:
193
209
  Accept:
194
210
  - application/json
195
211
  Accept-Encoding:
196
- - gzip, deflate
212
+ - identity
213
+ User-Agent:
214
+ - hawkular-client-ruby
215
+ Hawkular-Tenant:
216
+ - hawkular
197
217
  Content-Type:
198
218
  - application/json
199
- User-Agent:
200
- - Ruby
219
+ Host:
220
+ - localhost:8080
201
221
  response:
202
222
  status:
203
223
  code: 200
@@ -214,21 +234,21 @@ http_interactions:
214
234
  Pragma:
215
235
  - no-cache
216
236
  Date:
217
- - Fri, 06 May 2016 13:28:05 GMT
237
+ - Tue, 27 Sep 2016 18:17:15 GMT
218
238
  Connection:
219
239
  - keep-alive
220
240
  Content-Type:
221
241
  - application/json
222
242
  Content-Length:
223
- - '296'
243
+ - '240'
224
244
  body:
225
- encoding: ASCII-8BIT
226
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-member1-FIRING-1-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0}]'
245
+ encoding: UTF-8
246
+ string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-member1-FIRING-1-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0}]'
227
247
  http_version:
228
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
248
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
229
249
  - request:
230
250
  method: get
231
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1/dampenings
251
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/dampenings
232
252
  body:
233
253
  encoding: US-ASCII
234
254
  string: ''
@@ -236,11 +256,15 @@ http_interactions:
236
256
  Accept:
237
257
  - application/json
238
258
  Accept-Encoding:
239
- - gzip, deflate
259
+ - identity
260
+ User-Agent:
261
+ - hawkular-client-ruby
262
+ Hawkular-Tenant:
263
+ - hawkular
240
264
  Content-Type:
241
265
  - application/json
242
- User-Agent:
243
- - Ruby
266
+ Host:
267
+ - localhost:8080
244
268
  response:
245
269
  status:
246
270
  code: 200
@@ -257,7 +281,7 @@ http_interactions:
257
281
  Pragma:
258
282
  - no-cache
259
283
  Date:
260
- - Fri, 06 May 2016 13:28:05 GMT
284
+ - Tue, 27 Sep 2016 18:17:15 GMT
261
285
  Connection:
262
286
  - keep-alive
263
287
  Content-Type:
@@ -265,13 +289,13 @@ http_interactions:
265
289
  Content-Length:
266
290
  - '2'
267
291
  body:
268
- encoding: ASCII-8BIT
292
+ encoding: UTF-8
269
293
  string: "[]"
270
294
  http_version:
271
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
295
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
272
296
  - request:
273
297
  method: get
274
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/members?includeOrphans=false
298
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/members?includeOrphans=false
275
299
  body:
276
300
  encoding: US-ASCII
277
301
  string: ''
@@ -279,11 +303,15 @@ http_interactions:
279
303
  Accept:
280
304
  - application/json
281
305
  Accept-Encoding:
282
- - gzip, deflate
306
+ - identity
307
+ User-Agent:
308
+ - hawkular-client-ruby
309
+ Hawkular-Tenant:
310
+ - hawkular
283
311
  Content-Type:
284
312
  - application/json
285
- User-Agent:
286
- - Ruby
313
+ Host:
314
+ - localhost:8080
287
315
  response:
288
316
  status:
289
317
  code: 200
@@ -300,22 +328,22 @@ http_interactions:
300
328
  Pragma:
301
329
  - no-cache
302
330
  Date:
303
- - Fri, 06 May 2016 13:28:05 GMT
331
+ - Tue, 27 Sep 2016 18:17:15 GMT
304
332
  Connection:
305
333
  - keep-alive
306
334
  Content-Type:
307
335
  - application/json
308
336
  Content-Length:
309
- - '476'
337
+ - '448'
310
338
  body:
311
- encoding: ASCII-8BIT
312
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member1","name":"Member
313
- One","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}]'
339
+ encoding: UTF-8
340
+ string: '[{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
341
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}]'
314
342
  http_version:
315
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
343
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
316
344
  - request:
317
345
  method: post
318
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/members
346
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/members
319
347
  body:
320
348
  encoding: UTF-8
321
349
  string: '{"groupId":"a-group-trigger","memberId":"member2","memberName":"Member
@@ -324,13 +352,17 @@ http_interactions:
324
352
  Accept:
325
353
  - application/json
326
354
  Accept-Encoding:
327
- - gzip, deflate
355
+ - identity
356
+ User-Agent:
357
+ - hawkular-client-ruby
358
+ Hawkular-Tenant:
359
+ - hawkular
328
360
  Content-Type:
329
361
  - application/json
330
362
  Content-Length:
331
363
  - '192'
332
- User-Agent:
333
- - Ruby
364
+ Host:
365
+ - localhost:8080
334
366
  response:
335
367
  status:
336
368
  code: 200
@@ -347,22 +379,22 @@ http_interactions:
347
379
  Pragma:
348
380
  - no-cache
349
381
  Date:
350
- - Fri, 06 May 2016 13:28:05 GMT
382
+ - Tue, 27 Sep 2016 18:17:15 GMT
351
383
  Connection:
352
384
  - keep-alive
353
385
  Content-Type:
354
386
  - application/json
355
387
  Content-Length:
356
- - '474'
388
+ - '446'
357
389
  body:
358
- encoding: ASCII-8BIT
359
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member2","name":"Member
360
- Two","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
390
+ encoding: UTF-8
391
+ string: '{"tenantId":"hawkular","id":"member2","name":"Member Two","description":"A
392
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
361
393
  http_version:
362
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
394
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
363
395
  - request:
364
396
  method: get
365
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member2
397
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member2
366
398
  body:
367
399
  encoding: US-ASCII
368
400
  string: ''
@@ -370,11 +402,15 @@ http_interactions:
370
402
  Accept:
371
403
  - application/json
372
404
  Accept-Encoding:
373
- - gzip, deflate
405
+ - identity
406
+ User-Agent:
407
+ - hawkular-client-ruby
408
+ Hawkular-Tenant:
409
+ - hawkular
374
410
  Content-Type:
375
411
  - application/json
376
- User-Agent:
377
- - Ruby
412
+ Host:
413
+ - localhost:8080
378
414
  response:
379
415
  status:
380
416
  code: 200
@@ -391,22 +427,22 @@ http_interactions:
391
427
  Pragma:
392
428
  - no-cache
393
429
  Date:
394
- - Fri, 06 May 2016 13:28:05 GMT
430
+ - Tue, 27 Sep 2016 18:17:15 GMT
395
431
  Connection:
396
432
  - keep-alive
397
433
  Content-Type:
398
434
  - application/json
399
435
  Content-Length:
400
- - '474'
436
+ - '446'
401
437
  body:
402
- encoding: ASCII-8BIT
403
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member2","name":"Member
404
- Two","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
438
+ encoding: UTF-8
439
+ string: '{"tenantId":"hawkular","id":"member2","name":"Member Two","description":"A
440
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
405
441
  http_version:
406
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
442
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
407
443
  - request:
408
444
  method: get
409
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member2/conditions
445
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member2/conditions
410
446
  body:
411
447
  encoding: US-ASCII
412
448
  string: ''
@@ -414,11 +450,15 @@ http_interactions:
414
450
  Accept:
415
451
  - application/json
416
452
  Accept-Encoding:
417
- - gzip, deflate
453
+ - identity
454
+ User-Agent:
455
+ - hawkular-client-ruby
456
+ Hawkular-Tenant:
457
+ - hawkular
418
458
  Content-Type:
419
459
  - application/json
420
- User-Agent:
421
- - Ruby
460
+ Host:
461
+ - localhost:8080
422
462
  response:
423
463
  status:
424
464
  code: 200
@@ -435,21 +475,21 @@ http_interactions:
435
475
  Pragma:
436
476
  - no-cache
437
477
  Date:
438
- - Fri, 06 May 2016 13:28:05 GMT
478
+ - Tue, 27 Sep 2016 18:17:15 GMT
439
479
  Connection:
440
480
  - keep-alive
441
481
  Content-Type:
442
482
  - application/json
443
483
  Content-Length:
444
- - '296'
484
+ - '240'
445
485
  body:
446
- encoding: ASCII-8BIT
447
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"member2","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-member2-FIRING-1-1","dataId":"my-metric-id-member2","operator":"LT","threshold":5.0}]'
486
+ encoding: UTF-8
487
+ string: '[{"tenantId":"hawkular","triggerId":"member2","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-member2-FIRING-1-1","dataId":"my-metric-id-member2","operator":"LT","threshold":5.0}]'
448
488
  http_version:
449
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
489
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
450
490
  - request:
451
491
  method: get
452
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member2/dampenings
492
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member2/dampenings
453
493
  body:
454
494
  encoding: US-ASCII
455
495
  string: ''
@@ -457,11 +497,15 @@ http_interactions:
457
497
  Accept:
458
498
  - application/json
459
499
  Accept-Encoding:
460
- - gzip, deflate
500
+ - identity
501
+ User-Agent:
502
+ - hawkular-client-ruby
503
+ Hawkular-Tenant:
504
+ - hawkular
461
505
  Content-Type:
462
506
  - application/json
463
- User-Agent:
464
- - Ruby
507
+ Host:
508
+ - localhost:8080
465
509
  response:
466
510
  status:
467
511
  code: 200
@@ -478,7 +522,7 @@ http_interactions:
478
522
  Pragma:
479
523
  - no-cache
480
524
  Date:
481
- - Fri, 06 May 2016 13:28:05 GMT
525
+ - Tue, 27 Sep 2016 18:17:15 GMT
482
526
  Connection:
483
527
  - keep-alive
484
528
  Content-Type:
@@ -486,13 +530,13 @@ http_interactions:
486
530
  Content-Length:
487
531
  - '2'
488
532
  body:
489
- encoding: ASCII-8BIT
533
+ encoding: UTF-8
490
534
  string: "[]"
491
535
  http_version:
492
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
536
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
493
537
  - request:
494
538
  method: get
495
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/members?includeOrphans=false
539
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/members?includeOrphans=false
496
540
  body:
497
541
  encoding: US-ASCII
498
542
  string: ''
@@ -500,11 +544,15 @@ http_interactions:
500
544
  Accept:
501
545
  - application/json
502
546
  Accept-Encoding:
503
- - gzip, deflate
547
+ - identity
548
+ User-Agent:
549
+ - hawkular-client-ruby
550
+ Hawkular-Tenant:
551
+ - hawkular
504
552
  Content-Type:
505
553
  - application/json
506
- User-Agent:
507
- - Ruby
554
+ Host:
555
+ - localhost:8080
508
556
  response:
509
557
  status:
510
558
  code: 200
@@ -521,23 +569,23 @@ http_interactions:
521
569
  Pragma:
522
570
  - no-cache
523
571
  Date:
524
- - Fri, 06 May 2016 13:28:05 GMT
572
+ - Tue, 27 Sep 2016 18:17:15 GMT
525
573
  Connection:
526
574
  - keep-alive
527
575
  Content-Type:
528
576
  - application/json
529
577
  Content-Length:
530
- - '951'
578
+ - '895'
531
579
  body:
532
- encoding: ASCII-8BIT
533
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member1","name":"Member
534
- One","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member2","name":"Member
580
+ encoding: UTF-8
581
+ string: '[{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
582
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"},{"tenantId":"hawkular","id":"member2","name":"Member
535
583
  Two","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}]'
536
584
  http_version:
537
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
585
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
538
586
  - request:
539
587
  method: post
540
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/members/member2/orphan
588
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/members/member2/orphan
541
589
  body:
542
590
  encoding: UTF-8
543
591
  string: "{}"
@@ -545,13 +593,17 @@ http_interactions:
545
593
  Accept:
546
594
  - application/json
547
595
  Accept-Encoding:
548
- - gzip, deflate
596
+ - identity
597
+ User-Agent:
598
+ - hawkular-client-ruby
599
+ Hawkular-Tenant:
600
+ - hawkular
549
601
  Content-Type:
550
602
  - application/json
551
603
  Content-Length:
552
604
  - '2'
553
- User-Agent:
554
- - Ruby
605
+ Host:
606
+ - localhost:8080
555
607
  response:
556
608
  status:
557
609
  code: 200
@@ -568,7 +620,7 @@ http_interactions:
568
620
  Pragma:
569
621
  - no-cache
570
622
  Date:
571
- - Fri, 06 May 2016 13:28:05 GMT
623
+ - Tue, 27 Sep 2016 18:17:15 GMT
572
624
  Connection:
573
625
  - keep-alive
574
626
  Content-Type:
@@ -579,10 +631,10 @@ http_interactions:
579
631
  encoding: UTF-8
580
632
  string: ''
581
633
  http_version:
582
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
634
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
583
635
  - request:
584
636
  method: get
585
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member2
637
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member2
586
638
  body:
587
639
  encoding: US-ASCII
588
640
  string: ''
@@ -590,11 +642,15 @@ http_interactions:
590
642
  Accept:
591
643
  - application/json
592
644
  Accept-Encoding:
593
- - gzip, deflate
645
+ - identity
646
+ User-Agent:
647
+ - hawkular-client-ruby
648
+ Hawkular-Tenant:
649
+ - hawkular
594
650
  Content-Type:
595
651
  - application/json
596
- User-Agent:
597
- - Ruby
652
+ Host:
653
+ - localhost:8080
598
654
  response:
599
655
  status:
600
656
  code: 200
@@ -611,22 +667,22 @@ http_interactions:
611
667
  Pragma:
612
668
  - no-cache
613
669
  Date:
614
- - Fri, 06 May 2016 13:28:05 GMT
670
+ - Tue, 27 Sep 2016 18:17:15 GMT
615
671
  Connection:
616
672
  - keep-alive
617
673
  Content-Type:
618
674
  - application/json
619
675
  Content-Length:
620
- - '474'
676
+ - '446'
621
677
  body:
622
- encoding: ASCII-8BIT
623
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member2","name":"Member
624
- Two","description":"A Group Trigger generated from test","type":"ORPHAN","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
678
+ encoding: UTF-8
679
+ string: '{"tenantId":"hawkular","id":"member2","name":"Member Two","description":"A
680
+ Group Trigger generated from test","type":"ORPHAN","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
625
681
  http_version:
626
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
682
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
627
683
  - request:
628
684
  method: get
629
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/members?includeOrphans=false
685
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/members?includeOrphans=false
630
686
  body:
631
687
  encoding: US-ASCII
632
688
  string: ''
@@ -634,11 +690,15 @@ http_interactions:
634
690
  Accept:
635
691
  - application/json
636
692
  Accept-Encoding:
637
- - gzip, deflate
693
+ - identity
694
+ User-Agent:
695
+ - hawkular-client-ruby
696
+ Hawkular-Tenant:
697
+ - hawkular
638
698
  Content-Type:
639
699
  - application/json
640
- User-Agent:
641
- - Ruby
700
+ Host:
701
+ - localhost:8080
642
702
  response:
643
703
  status:
644
704
  code: 200
@@ -655,22 +715,22 @@ http_interactions:
655
715
  Pragma:
656
716
  - no-cache
657
717
  Date:
658
- - Fri, 06 May 2016 13:28:05 GMT
718
+ - Tue, 27 Sep 2016 18:17:15 GMT
659
719
  Connection:
660
720
  - keep-alive
661
721
  Content-Type:
662
722
  - application/json
663
723
  Content-Length:
664
- - '476'
724
+ - '448'
665
725
  body:
666
- encoding: ASCII-8BIT
667
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member1","name":"Member
668
- One","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}]'
726
+ encoding: UTF-8
727
+ string: '[{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
728
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}]'
669
729
  http_version:
670
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
730
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
671
731
  - request:
672
732
  method: get
673
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/members?includeOrphans=true
733
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/members?includeOrphans=true
674
734
  body:
675
735
  encoding: US-ASCII
676
736
  string: ''
@@ -678,11 +738,15 @@ http_interactions:
678
738
  Accept:
679
739
  - application/json
680
740
  Accept-Encoding:
681
- - gzip, deflate
741
+ - identity
742
+ User-Agent:
743
+ - hawkular-client-ruby
744
+ Hawkular-Tenant:
745
+ - hawkular
682
746
  Content-Type:
683
747
  - application/json
684
- User-Agent:
685
- - Ruby
748
+ Host:
749
+ - localhost:8080
686
750
  response:
687
751
  status:
688
752
  code: 200
@@ -699,23 +763,23 @@ http_interactions:
699
763
  Pragma:
700
764
  - no-cache
701
765
  Date:
702
- - Fri, 06 May 2016 13:28:05 GMT
766
+ - Tue, 27 Sep 2016 18:17:15 GMT
703
767
  Connection:
704
768
  - keep-alive
705
769
  Content-Type:
706
770
  - application/json
707
771
  Content-Length:
708
- - '951'
772
+ - '895'
709
773
  body:
710
- encoding: ASCII-8BIT
711
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member1","name":"Member
712
- One","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member2","name":"Member
774
+ encoding: UTF-8
775
+ string: '[{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
776
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"},{"tenantId":"hawkular","id":"member2","name":"Member
713
777
  Two","description":"A Group Trigger generated from test","type":"ORPHAN","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}]'
714
778
  http_version:
715
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
779
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
716
780
  - request:
717
781
  method: post
718
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/dampenings
782
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/dampenings
719
783
  body:
720
784
  encoding: UTF-8
721
785
  string: '{"dampeningId":null,"triggerId":"a-group-trigger","type":"STRICT","evalTrueSetting":2,"evalTotalSetting":2,"evalTimeSetting":null}'
@@ -723,13 +787,17 @@ http_interactions:
723
787
  Accept:
724
788
  - application/json
725
789
  Accept-Encoding:
726
- - gzip, deflate
790
+ - identity
791
+ User-Agent:
792
+ - hawkular-client-ruby
793
+ Hawkular-Tenant:
794
+ - hawkular
727
795
  Content-Type:
728
796
  - application/json
729
797
  Content-Length:
730
798
  - '130'
731
- User-Agent:
732
- - Ruby
799
+ Host:
800
+ - localhost:8080
733
801
  response:
734
802
  status:
735
803
  code: 200
@@ -746,21 +814,21 @@ http_interactions:
746
814
  Pragma:
747
815
  - no-cache
748
816
  Date:
749
- - Fri, 06 May 2016 13:28:05 GMT
817
+ - Tue, 27 Sep 2016 18:17:15 GMT
750
818
  Connection:
751
819
  - keep-alive
752
820
  Content-Type:
753
821
  - application/json
754
822
  Content-Length:
755
- - '257'
823
+ - '201'
756
824
  body:
757
- encoding: ASCII-8BIT
758
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":2,"evalTotalSetting":2,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-a-group-trigger-FIRING"}'
825
+ encoding: UTF-8
826
+ string: '{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":2,"evalTotalSetting":2,"evalTimeSetting":0,"dampeningId":"hawkular-a-group-trigger-FIRING"}'
759
827
  http_version:
760
- recorded_at: Fri, 06 May 2016 13:28:05 GMT
828
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
761
829
  - request:
762
830
  method: get
763
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1
831
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1
764
832
  body:
765
833
  encoding: US-ASCII
766
834
  string: ''
@@ -768,11 +836,15 @@ http_interactions:
768
836
  Accept:
769
837
  - application/json
770
838
  Accept-Encoding:
771
- - gzip, deflate
839
+ - identity
840
+ User-Agent:
841
+ - hawkular-client-ruby
842
+ Hawkular-Tenant:
843
+ - hawkular
772
844
  Content-Type:
773
845
  - application/json
774
- User-Agent:
775
- - Ruby
846
+ Host:
847
+ - localhost:8080
776
848
  response:
777
849
  status:
778
850
  code: 200
@@ -789,22 +861,22 @@ http_interactions:
789
861
  Pragma:
790
862
  - no-cache
791
863
  Date:
792
- - Fri, 06 May 2016 13:28:06 GMT
864
+ - Tue, 27 Sep 2016 18:17:15 GMT
793
865
  Connection:
794
866
  - keep-alive
795
867
  Content-Type:
796
868
  - application/json
797
869
  Content-Length:
798
- - '474'
870
+ - '446'
799
871
  body:
800
- encoding: ASCII-8BIT
801
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member1","name":"Member
802
- One","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
872
+ encoding: UTF-8
873
+ string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
874
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
803
875
  http_version:
804
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
876
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
805
877
  - request:
806
878
  method: get
807
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1/conditions
879
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/conditions
808
880
  body:
809
881
  encoding: US-ASCII
810
882
  string: ''
@@ -812,11 +884,15 @@ http_interactions:
812
884
  Accept:
813
885
  - application/json
814
886
  Accept-Encoding:
815
- - gzip, deflate
887
+ - identity
888
+ User-Agent:
889
+ - hawkular-client-ruby
890
+ Hawkular-Tenant:
891
+ - hawkular
816
892
  Content-Type:
817
893
  - application/json
818
- User-Agent:
819
- - Ruby
894
+ Host:
895
+ - localhost:8080
820
896
  response:
821
897
  status:
822
898
  code: 200
@@ -833,21 +909,21 @@ http_interactions:
833
909
  Pragma:
834
910
  - no-cache
835
911
  Date:
836
- - Fri, 06 May 2016 13:28:06 GMT
912
+ - Tue, 27 Sep 2016 18:17:15 GMT
837
913
  Connection:
838
914
  - keep-alive
839
915
  Content-Type:
840
916
  - application/json
841
917
  Content-Length:
842
- - '296'
918
+ - '240'
843
919
  body:
844
- encoding: ASCII-8BIT
845
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-member1-FIRING-1-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0}]'
920
+ encoding: UTF-8
921
+ string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-member1-FIRING-1-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0}]'
846
922
  http_version:
847
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
923
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
848
924
  - request:
849
925
  method: get
850
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1/dampenings
926
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/dampenings
851
927
  body:
852
928
  encoding: US-ASCII
853
929
  string: ''
@@ -855,11 +931,15 @@ http_interactions:
855
931
  Accept:
856
932
  - application/json
857
933
  Accept-Encoding:
858
- - gzip, deflate
934
+ - identity
935
+ User-Agent:
936
+ - hawkular-client-ruby
937
+ Hawkular-Tenant:
938
+ - hawkular
859
939
  Content-Type:
860
940
  - application/json
861
- User-Agent:
862
- - Ruby
941
+ Host:
942
+ - localhost:8080
863
943
  response:
864
944
  status:
865
945
  code: 200
@@ -876,36 +956,40 @@ http_interactions:
876
956
  Pragma:
877
957
  - no-cache
878
958
  Date:
879
- - Fri, 06 May 2016 13:28:06 GMT
959
+ - Tue, 27 Sep 2016 18:17:15 GMT
880
960
  Connection:
881
961
  - keep-alive
882
962
  Content-Type:
883
963
  - application/json
884
964
  Content-Length:
885
- - '243'
965
+ - '187'
886
966
  body:
887
- encoding: ASCII-8BIT
888
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"member1","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":2,"evalTotalSetting":2,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-member1-FIRING"}]'
967
+ encoding: UTF-8
968
+ string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":2,"evalTotalSetting":2,"evalTimeSetting":0,"dampeningId":"hawkular-member1-FIRING"}]'
889
969
  http_version:
890
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
970
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
891
971
  - request:
892
972
  method: put
893
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/
973
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/
894
974
  body:
895
975
  encoding: UTF-8
896
976
  string: '{"id":"a-group-trigger","name":"A Group Trigger","enabled":false,"severity":"HIGH","autoResolve":false,"autoResolveAlerts":true,"eventType":"ALERT","description":"A
897
- Group Trigger generated from test","autoEnable":false,"autoDisable":false,"type":"GROUP","tags":{"group-tname":"group-tvalue"},"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actions":[]}'
977
+ Group Trigger generated from test","autoEnable":false,"autoDisable":false,"type":"GROUP","tags":{"group-tname":"group-tvalue"},"firingMatch":"ALL","autoResolveMatch":"ALL","tenantId":"hawkular","actions":[]}'
898
978
  headers:
899
979
  Accept:
900
980
  - application/json
901
981
  Accept-Encoding:
902
- - gzip, deflate
982
+ - identity
983
+ User-Agent:
984
+ - hawkular-client-ruby
985
+ Hawkular-Tenant:
986
+ - hawkular
903
987
  Content-Type:
904
988
  - application/json
905
989
  Content-Length:
906
- - '355'
907
- User-Agent:
908
- - Ruby
990
+ - '372'
991
+ Host:
992
+ - localhost:8080
909
993
  response:
910
994
  status:
911
995
  code: 200
@@ -922,7 +1006,7 @@ http_interactions:
922
1006
  Pragma:
923
1007
  - no-cache
924
1008
  Date:
925
- - Fri, 06 May 2016 13:28:06 GMT
1009
+ - Tue, 27 Sep 2016 18:17:15 GMT
926
1010
  Connection:
927
1011
  - keep-alive
928
1012
  Content-Type:
@@ -933,10 +1017,10 @@ http_interactions:
933
1017
  encoding: UTF-8
934
1018
  string: ''
935
1019
  http_version:
936
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1020
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
937
1021
  - request:
938
1022
  method: get
939
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/a-group-trigger
1023
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/a-group-trigger
940
1024
  body:
941
1025
  encoding: US-ASCII
942
1026
  string: ''
@@ -944,11 +1028,15 @@ http_interactions:
944
1028
  Accept:
945
1029
  - application/json
946
1030
  Accept-Encoding:
947
- - gzip, deflate
1031
+ - identity
1032
+ User-Agent:
1033
+ - hawkular-client-ruby
1034
+ Hawkular-Tenant:
1035
+ - hawkular
948
1036
  Content-Type:
949
1037
  - application/json
950
- User-Agent:
951
- - Ruby
1038
+ Host:
1039
+ - localhost:8080
952
1040
  response:
953
1041
  status:
954
1042
  code: 200
@@ -965,22 +1053,22 @@ http_interactions:
965
1053
  Pragma:
966
1054
  - no-cache
967
1055
  Date:
968
- - Fri, 06 May 2016 13:28:06 GMT
1056
+ - Tue, 27 Sep 2016 18:17:15 GMT
969
1057
  Connection:
970
1058
  - keep-alive
971
1059
  Content-Type:
972
1060
  - application/json
973
1061
  Content-Length:
974
- - '443'
1062
+ - '415'
975
1063
  body:
976
- encoding: ASCII-8BIT
977
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"a-group-trigger","name":"A
978
- Group Trigger","description":"A Group Trigger generated from test","type":"GROUP","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","source":"_none_"}'
1064
+ encoding: UTF-8
1065
+ string: '{"tenantId":"hawkular","id":"a-group-trigger","name":"A Group Trigger","description":"A
1066
+ Group Trigger generated from test","type":"GROUP","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","source":"_none_"}'
979
1067
  http_version:
980
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1068
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
981
1069
  - request:
982
1070
  method: get
983
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1
1071
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1
984
1072
  body:
985
1073
  encoding: US-ASCII
986
1074
  string: ''
@@ -988,11 +1076,15 @@ http_interactions:
988
1076
  Accept:
989
1077
  - application/json
990
1078
  Accept-Encoding:
991
- - gzip, deflate
1079
+ - identity
1080
+ User-Agent:
1081
+ - hawkular-client-ruby
1082
+ Hawkular-Tenant:
1083
+ - hawkular
992
1084
  Content-Type:
993
1085
  - application/json
994
- User-Agent:
995
- - Ruby
1086
+ Host:
1087
+ - localhost:8080
996
1088
  response:
997
1089
  status:
998
1090
  code: 200
@@ -1009,22 +1101,22 @@ http_interactions:
1009
1101
  Pragma:
1010
1102
  - no-cache
1011
1103
  Date:
1012
- - Fri, 06 May 2016 13:28:06 GMT
1104
+ - Tue, 27 Sep 2016 18:17:15 GMT
1013
1105
  Connection:
1014
1106
  - keep-alive
1015
1107
  Content-Type:
1016
1108
  - application/json
1017
1109
  Content-Length:
1018
- - '512'
1110
+ - '484'
1019
1111
  body:
1020
- encoding: ASCII-8BIT
1021
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member1","name":"Member
1022
- One","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
1112
+ encoding: UTF-8
1113
+ string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
1114
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
1023
1115
  http_version:
1024
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1116
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1025
1117
  - request:
1026
1118
  method: put
1027
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/conditions/FIRING
1119
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/conditions/FIRING
1028
1120
  body:
1029
1121
  encoding: UTF-8
1030
1122
  string: '{"conditions":[{"conditionId":null,"type":"THRESHOLD","operator":"LT","threshold":5,"triggerMode":"FIRING","dataId":"my-metric-id","data2Id":null,"data2Multiplier":null,"triggerId":null},{"conditionId":null,"type":"THRESHOLD","operator":"GT","threshold":50,"triggerMode":"FIRING","dataId":"my-metric-id2","data2Id":null,"data2Multiplier":null,"triggerId":null}],"dataIdMemberMap":{"my-metric-id":{"member1":"my-metric-id-member1"},"my-metric-id2":{"member1":"my-metric-id2-member1"}}}'
@@ -1032,13 +1124,17 @@ http_interactions:
1032
1124
  Accept:
1033
1125
  - application/json
1034
1126
  Accept-Encoding:
1035
- - gzip, deflate
1127
+ - identity
1128
+ User-Agent:
1129
+ - hawkular-client-ruby
1130
+ Hawkular-Tenant:
1131
+ - hawkular
1036
1132
  Content-Type:
1037
1133
  - application/json
1038
1134
  Content-Length:
1039
1135
  - '484'
1040
- User-Agent:
1041
- - Ruby
1136
+ Host:
1137
+ - localhost:8080
1042
1138
  response:
1043
1139
  status:
1044
1140
  code: 200
@@ -1055,21 +1151,21 @@ http_interactions:
1055
1151
  Pragma:
1056
1152
  - no-cache
1057
1153
  Date:
1058
- - Fri, 06 May 2016 13:28:06 GMT
1154
+ - Tue, 27 Sep 2016 18:17:15 GMT
1059
1155
  Connection:
1060
1156
  - keep-alive
1061
1157
  Content-Type:
1062
1158
  - application/json
1063
1159
  Content-Length:
1064
- - '609'
1160
+ - '497'
1065
1161
  body:
1066
- encoding: ASCII-8BIT
1067
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-a-group-trigger-FIRING-2-1","dataId":"my-metric-id","operator":"LT","threshold":5.0},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-a-group-trigger-FIRING-2-2","dataId":"my-metric-id2","operator":"GT","threshold":50.0}]'
1162
+ encoding: UTF-8
1163
+ string: '[{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"hawkular-a-group-trigger-FIRING-2-1","dataId":"my-metric-id","operator":"LT","threshold":5.0},{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"hawkular-a-group-trigger-FIRING-2-2","dataId":"my-metric-id2","operator":"GT","threshold":50.0}]'
1068
1164
  http_version:
1069
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1165
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1070
1166
  - request:
1071
1167
  method: get
1072
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1
1168
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1
1073
1169
  body:
1074
1170
  encoding: US-ASCII
1075
1171
  string: ''
@@ -1077,11 +1173,15 @@ http_interactions:
1077
1173
  Accept:
1078
1174
  - application/json
1079
1175
  Accept-Encoding:
1080
- - gzip, deflate
1176
+ - identity
1177
+ User-Agent:
1178
+ - hawkular-client-ruby
1179
+ Hawkular-Tenant:
1180
+ - hawkular
1081
1181
  Content-Type:
1082
1182
  - application/json
1083
- User-Agent:
1084
- - Ruby
1183
+ Host:
1184
+ - localhost:8080
1085
1185
  response:
1086
1186
  status:
1087
1187
  code: 200
@@ -1098,22 +1198,22 @@ http_interactions:
1098
1198
  Pragma:
1099
1199
  - no-cache
1100
1200
  Date:
1101
- - Fri, 06 May 2016 13:28:06 GMT
1201
+ - Tue, 27 Sep 2016 18:17:15 GMT
1102
1202
  Connection:
1103
1203
  - keep-alive
1104
1204
  Content-Type:
1105
1205
  - application/json
1106
1206
  Content-Length:
1107
- - '512'
1207
+ - '484'
1108
1208
  body:
1109
- encoding: ASCII-8BIT
1110
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member1","name":"Member
1111
- One","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
1209
+ encoding: UTF-8
1210
+ string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
1211
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
1112
1212
  http_version:
1113
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1213
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1114
1214
  - request:
1115
1215
  method: get
1116
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1/conditions
1216
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/conditions
1117
1217
  body:
1118
1218
  encoding: US-ASCII
1119
1219
  string: ''
@@ -1121,11 +1221,15 @@ http_interactions:
1121
1221
  Accept:
1122
1222
  - application/json
1123
1223
  Accept-Encoding:
1124
- - gzip, deflate
1224
+ - identity
1225
+ User-Agent:
1226
+ - hawkular-client-ruby
1227
+ Hawkular-Tenant:
1228
+ - hawkular
1125
1229
  Content-Type:
1126
1230
  - application/json
1127
- User-Agent:
1128
- - Ruby
1231
+ Host:
1232
+ - localhost:8080
1129
1233
  response:
1130
1234
  status:
1131
1235
  code: 200
@@ -1142,21 +1246,21 @@ http_interactions:
1142
1246
  Pragma:
1143
1247
  - no-cache
1144
1248
  Date:
1145
- - Fri, 06 May 2016 13:28:06 GMT
1249
+ - Tue, 27 Sep 2016 18:17:15 GMT
1146
1250
  Connection:
1147
1251
  - keep-alive
1148
1252
  Content-Type:
1149
1253
  - application/json
1150
1254
  Content-Length:
1151
- - '593'
1255
+ - '481'
1152
1256
  body:
1153
- encoding: ASCII-8BIT
1154
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-member1-FIRING-2-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-member1-FIRING-2-2","dataId":"my-metric-id2-member1","operator":"GT","threshold":50.0}]'
1257
+ encoding: UTF-8
1258
+ string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"hawkular-member1-FIRING-2-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0},{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"hawkular-member1-FIRING-2-2","dataId":"my-metric-id2-member1","operator":"GT","threshold":50.0}]'
1155
1259
  http_version:
1156
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1260
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1157
1261
  - request:
1158
1262
  method: get
1159
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1/dampenings
1263
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/dampenings
1160
1264
  body:
1161
1265
  encoding: US-ASCII
1162
1266
  string: ''
@@ -1164,11 +1268,15 @@ http_interactions:
1164
1268
  Accept:
1165
1269
  - application/json
1166
1270
  Accept-Encoding:
1167
- - gzip, deflate
1271
+ - identity
1272
+ User-Agent:
1273
+ - hawkular-client-ruby
1274
+ Hawkular-Tenant:
1275
+ - hawkular
1168
1276
  Content-Type:
1169
1277
  - application/json
1170
- User-Agent:
1171
- - Ruby
1278
+ Host:
1279
+ - localhost:8080
1172
1280
  response:
1173
1281
  status:
1174
1282
  code: 200
@@ -1185,35 +1293,39 @@ http_interactions:
1185
1293
  Pragma:
1186
1294
  - no-cache
1187
1295
  Date:
1188
- - Fri, 06 May 2016 13:28:06 GMT
1296
+ - Tue, 27 Sep 2016 18:17:15 GMT
1189
1297
  Connection:
1190
1298
  - keep-alive
1191
1299
  Content-Type:
1192
1300
  - application/json
1193
1301
  Content-Length:
1194
- - '243'
1302
+ - '187'
1195
1303
  body:
1196
- encoding: ASCII-8BIT
1197
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"member1","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":2,"evalTotalSetting":2,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-member1-FIRING"}]'
1304
+ encoding: UTF-8
1305
+ string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":2,"evalTotalSetting":2,"evalTimeSetting":0,"dampeningId":"hawkular-member1-FIRING"}]'
1198
1306
  http_version:
1199
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1307
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1200
1308
  - request:
1201
1309
  method: put
1202
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/dampenings/28026b36-8fe4-4332-84c8-524e173a68bf-a-group-trigger-FIRING
1310
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/dampenings/hawkular-a-group-trigger-FIRING
1203
1311
  body:
1204
1312
  encoding: UTF-8
1205
- string: '{"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-a-group-trigger-FIRING","triggerId":"a-group-trigger","type":"RELAXED_COUNT","evalTrueSetting":2,"evalTotalSetting":4,"evalTimeSetting":0}'
1313
+ string: '{"dampeningId":"hawkular-a-group-trigger-FIRING","triggerId":"a-group-trigger","type":"RELAXED_COUNT","evalTrueSetting":2,"evalTotalSetting":4,"evalTimeSetting":0}'
1206
1314
  headers:
1207
1315
  Accept:
1208
1316
  - application/json
1209
1317
  Accept-Encoding:
1210
- - gzip, deflate
1318
+ - identity
1319
+ User-Agent:
1320
+ - hawkular-client-ruby
1321
+ Hawkular-Tenant:
1322
+ - hawkular
1211
1323
  Content-Type:
1212
1324
  - application/json
1213
1325
  Content-Length:
1214
- - '191'
1215
- User-Agent:
1216
- - Ruby
1326
+ - '163'
1327
+ Host:
1328
+ - localhost:8080
1217
1329
  response:
1218
1330
  status:
1219
1331
  code: 200
@@ -1230,36 +1342,40 @@ http_interactions:
1230
1342
  Pragma:
1231
1343
  - no-cache
1232
1344
  Date:
1233
- - Fri, 06 May 2016 13:28:06 GMT
1345
+ - Tue, 27 Sep 2016 18:17:15 GMT
1234
1346
  Connection:
1235
1347
  - keep-alive
1236
1348
  Content-Type:
1237
1349
  - application/json
1238
1350
  Content-Length:
1239
- - '264'
1351
+ - '208'
1240
1352
  body:
1241
- encoding: ASCII-8BIT
1242
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"RELAXED_COUNT","evalTrueSetting":2,"evalTotalSetting":4,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-a-group-trigger-FIRING"}'
1353
+ encoding: UTF-8
1354
+ string: '{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"RELAXED_COUNT","evalTrueSetting":2,"evalTotalSetting":4,"evalTimeSetting":0,"dampeningId":"hawkular-a-group-trigger-FIRING"}'
1243
1355
  http_version:
1244
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1356
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1245
1357
  - request:
1246
1358
  method: put
1247
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/
1359
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/
1248
1360
  body:
1249
1361
  encoding: UTF-8
1250
1362
  string: '{"id":"a-group-trigger","name":"A Group Trigger","enabled":false,"severity":"HIGH","autoResolve":false,"autoResolveAlerts":true,"eventType":"ALERT","description":"A
1251
- Group Trigger generated from test","autoEnable":false,"autoDisable":false,"context":{"alert-profiles":"profile1"},"type":"GROUP","tags":{"group-tname":"group-tvalue"},"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actions":[]}'
1363
+ Group Trigger generated from test","autoEnable":false,"autoDisable":false,"context":{"alert-profiles":"profile1"},"type":"GROUP","tags":{"group-tname":"group-tvalue"},"firingMatch":"ALL","autoResolveMatch":"ALL","tenantId":"hawkular","actions":[]}'
1252
1364
  headers:
1253
1365
  Accept:
1254
1366
  - application/json
1255
1367
  Accept-Encoding:
1256
- - gzip, deflate
1368
+ - identity
1369
+ User-Agent:
1370
+ - hawkular-client-ruby
1371
+ Hawkular-Tenant:
1372
+ - hawkular
1257
1373
  Content-Type:
1258
1374
  - application/json
1259
1375
  Content-Length:
1260
- - '395'
1261
- User-Agent:
1262
- - Ruby
1376
+ - '412'
1377
+ Host:
1378
+ - localhost:8080
1263
1379
  response:
1264
1380
  status:
1265
1381
  code: 200
@@ -1276,7 +1392,7 @@ http_interactions:
1276
1392
  Pragma:
1277
1393
  - no-cache
1278
1394
  Date:
1279
- - Fri, 06 May 2016 13:28:06 GMT
1395
+ - Tue, 27 Sep 2016 18:17:15 GMT
1280
1396
  Connection:
1281
1397
  - keep-alive
1282
1398
  Content-Type:
@@ -1287,10 +1403,10 @@ http_interactions:
1287
1403
  encoding: UTF-8
1288
1404
  string: ''
1289
1405
  http_version:
1290
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1406
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1291
1407
  - request:
1292
1408
  method: get
1293
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/a-group-trigger
1409
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/a-group-trigger
1294
1410
  body:
1295
1411
  encoding: US-ASCII
1296
1412
  string: ''
@@ -1298,11 +1414,15 @@ http_interactions:
1298
1414
  Accept:
1299
1415
  - application/json
1300
1416
  Accept-Encoding:
1301
- - gzip, deflate
1417
+ - identity
1418
+ User-Agent:
1419
+ - hawkular-client-ruby
1420
+ Hawkular-Tenant:
1421
+ - hawkular
1302
1422
  Content-Type:
1303
1423
  - application/json
1304
- User-Agent:
1305
- - Ruby
1424
+ Host:
1425
+ - localhost:8080
1306
1426
  response:
1307
1427
  status:
1308
1428
  code: 200
@@ -1319,22 +1439,22 @@ http_interactions:
1319
1439
  Pragma:
1320
1440
  - no-cache
1321
1441
  Date:
1322
- - Fri, 06 May 2016 13:28:06 GMT
1442
+ - Tue, 27 Sep 2016 18:17:15 GMT
1323
1443
  Connection:
1324
1444
  - keep-alive
1325
1445
  Content-Type:
1326
1446
  - application/json
1327
1447
  Content-Length:
1328
- - '483'
1448
+ - '455'
1329
1449
  body:
1330
- encoding: ASCII-8BIT
1331
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"a-group-trigger","name":"A
1332
- Group Trigger","description":"A Group Trigger generated from test","type":"GROUP","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alert-profiles":"profile1"},"tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","source":"_none_"}'
1450
+ encoding: UTF-8
1451
+ string: '{"tenantId":"hawkular","id":"a-group-trigger","name":"A Group Trigger","description":"A
1452
+ Group Trigger generated from test","type":"GROUP","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alert-profiles":"profile1"},"tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","source":"_none_"}'
1333
1453
  http_version:
1334
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1454
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1335
1455
  - request:
1336
1456
  method: delete
1337
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/dampenings/28026b36-8fe4-4332-84c8-524e173a68bf-a-group-trigger-FIRING
1457
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/dampenings/hawkular-a-group-trigger-FIRING
1338
1458
  body:
1339
1459
  encoding: US-ASCII
1340
1460
  string: ''
@@ -1342,11 +1462,15 @@ http_interactions:
1342
1462
  Accept:
1343
1463
  - application/json
1344
1464
  Accept-Encoding:
1345
- - gzip, deflate
1465
+ - identity
1466
+ User-Agent:
1467
+ - hawkular-client-ruby
1468
+ Hawkular-Tenant:
1469
+ - hawkular
1346
1470
  Content-Type:
1347
1471
  - application/json
1348
- User-Agent:
1349
- - Ruby
1472
+ Host:
1473
+ - localhost:8080
1350
1474
  response:
1351
1475
  status:
1352
1476
  code: 200
@@ -1363,7 +1487,7 @@ http_interactions:
1363
1487
  Pragma:
1364
1488
  - no-cache
1365
1489
  Date:
1366
- - Fri, 06 May 2016 13:28:06 GMT
1490
+ - Tue, 27 Sep 2016 18:17:15 GMT
1367
1491
  Connection:
1368
1492
  - keep-alive
1369
1493
  Content-Type:
@@ -1374,10 +1498,10 @@ http_interactions:
1374
1498
  encoding: UTF-8
1375
1499
  string: ''
1376
1500
  http_version:
1377
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1501
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1378
1502
  - request:
1379
1503
  method: get
1380
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1
1504
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1
1381
1505
  body:
1382
1506
  encoding: US-ASCII
1383
1507
  string: ''
@@ -1385,11 +1509,15 @@ http_interactions:
1385
1509
  Accept:
1386
1510
  - application/json
1387
1511
  Accept-Encoding:
1388
- - gzip, deflate
1512
+ - identity
1513
+ User-Agent:
1514
+ - hawkular-client-ruby
1515
+ Hawkular-Tenant:
1516
+ - hawkular
1389
1517
  Content-Type:
1390
1518
  - application/json
1391
- User-Agent:
1392
- - Ruby
1519
+ Host:
1520
+ - localhost:8080
1393
1521
  response:
1394
1522
  status:
1395
1523
  code: 200
@@ -1406,22 +1534,22 @@ http_interactions:
1406
1534
  Pragma:
1407
1535
  - no-cache
1408
1536
  Date:
1409
- - Fri, 06 May 2016 13:28:06 GMT
1537
+ - Tue, 27 Sep 2016 18:17:15 GMT
1410
1538
  Connection:
1411
1539
  - keep-alive
1412
1540
  Content-Type:
1413
1541
  - application/json
1414
1542
  Content-Length:
1415
- - '552'
1543
+ - '524'
1416
1544
  body:
1417
- encoding: ASCII-8BIT
1418
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member1","name":"Member
1419
- One","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alert-profiles":"profile1"},"tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
1545
+ encoding: UTF-8
1546
+ string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
1547
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alert-profiles":"profile1"},"tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
1420
1548
  http_version:
1421
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1549
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1422
1550
  - request:
1423
1551
  method: get
1424
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1/conditions
1552
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/conditions
1425
1553
  body:
1426
1554
  encoding: US-ASCII
1427
1555
  string: ''
@@ -1429,11 +1557,15 @@ http_interactions:
1429
1557
  Accept:
1430
1558
  - application/json
1431
1559
  Accept-Encoding:
1432
- - gzip, deflate
1560
+ - identity
1561
+ User-Agent:
1562
+ - hawkular-client-ruby
1563
+ Hawkular-Tenant:
1564
+ - hawkular
1433
1565
  Content-Type:
1434
1566
  - application/json
1435
- User-Agent:
1436
- - Ruby
1567
+ Host:
1568
+ - localhost:8080
1437
1569
  response:
1438
1570
  status:
1439
1571
  code: 200
@@ -1450,21 +1582,21 @@ http_interactions:
1450
1582
  Pragma:
1451
1583
  - no-cache
1452
1584
  Date:
1453
- - Fri, 06 May 2016 13:28:06 GMT
1585
+ - Tue, 27 Sep 2016 18:17:15 GMT
1454
1586
  Connection:
1455
1587
  - keep-alive
1456
1588
  Content-Type:
1457
1589
  - application/json
1458
1590
  Content-Length:
1459
- - '593'
1591
+ - '481'
1460
1592
  body:
1461
- encoding: ASCII-8BIT
1462
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-member1-FIRING-2-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-member1-FIRING-2-2","dataId":"my-metric-id2-member1","operator":"GT","threshold":50.0}]'
1593
+ encoding: UTF-8
1594
+ string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"hawkular-member1-FIRING-2-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0},{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"hawkular-member1-FIRING-2-2","dataId":"my-metric-id2-member1","operator":"GT","threshold":50.0}]'
1463
1595
  http_version:
1464
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1596
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1465
1597
  - request:
1466
1598
  method: get
1467
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1/dampenings
1599
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/dampenings
1468
1600
  body:
1469
1601
  encoding: US-ASCII
1470
1602
  string: ''
@@ -1472,11 +1604,15 @@ http_interactions:
1472
1604
  Accept:
1473
1605
  - application/json
1474
1606
  Accept-Encoding:
1475
- - gzip, deflate
1607
+ - identity
1608
+ User-Agent:
1609
+ - hawkular-client-ruby
1610
+ Hawkular-Tenant:
1611
+ - hawkular
1476
1612
  Content-Type:
1477
1613
  - application/json
1478
- User-Agent:
1479
- - Ruby
1614
+ Host:
1615
+ - localhost:8080
1480
1616
  response:
1481
1617
  status:
1482
1618
  code: 200
@@ -1493,7 +1629,7 @@ http_interactions:
1493
1629
  Pragma:
1494
1630
  - no-cache
1495
1631
  Date:
1496
- - Fri, 06 May 2016 13:28:06 GMT
1632
+ - Tue, 27 Sep 2016 18:17:15 GMT
1497
1633
  Connection:
1498
1634
  - keep-alive
1499
1635
  Content-Type:
@@ -1501,13 +1637,13 @@ http_interactions:
1501
1637
  Content-Length:
1502
1638
  - '2'
1503
1639
  body:
1504
- encoding: ASCII-8BIT
1640
+ encoding: UTF-8
1505
1641
  string: "[]"
1506
1642
  http_version:
1507
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1643
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1508
1644
  - request:
1509
1645
  method: put
1510
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/conditions/FIRING
1646
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/conditions/FIRING
1511
1647
  body:
1512
1648
  encoding: UTF-8
1513
1649
  string: '{"conditions":[{"conditionId":null,"type":"THRESHOLD","operator":"LT","threshold":5,"triggerMode":"FIRING","dataId":"my-metric-id","data2Id":null,"data2Multiplier":null,"triggerId":null},{"conditionId":null,"type":"THRESHOLD","operator":"GT","threshold":50,"triggerMode":"FIRING","dataId":"my-metric-id2","data2Id":null,"data2Multiplier":null,"triggerId":null},{"conditionId":null,"type":"COMPARE","operator":"GT","threshold":null,"triggerMode":"FIRING","dataId":"my-metric-id3","data2Id":"my-metric-id4","data2Multiplier":1,"triggerId":null}],"dataIdMemberMap":{"my-metric-id":{"member1":"my-metric-id-member1"},"my-metric-id2":{"member1":"my-metric-id2-member1"},"my-metric-id3":{"member1":"my-metric-id3-member1"},"my-metric-id4":{"member1":"my-metric-id4-member1"}}}'
@@ -1515,13 +1651,17 @@ http_interactions:
1515
1651
  Accept:
1516
1652
  - application/json
1517
1653
  Accept-Encoding:
1518
- - gzip, deflate
1654
+ - identity
1655
+ User-Agent:
1656
+ - hawkular-client-ruby
1657
+ Hawkular-Tenant:
1658
+ - hawkular
1519
1659
  Content-Type:
1520
1660
  - application/json
1521
1661
  Content-Length:
1522
1662
  - '770'
1523
- User-Agent:
1524
- - Ruby
1663
+ Host:
1664
+ - localhost:8080
1525
1665
  response:
1526
1666
  status:
1527
1667
  code: 200
@@ -1538,21 +1678,21 @@ http_interactions:
1538
1678
  Pragma:
1539
1679
  - no-cache
1540
1680
  Date:
1541
- - Fri, 06 May 2016 13:28:06 GMT
1681
+ - Tue, 27 Sep 2016 18:17:15 GMT
1542
1682
  Connection:
1543
1683
  - keep-alive
1544
1684
  Content-Type:
1545
1685
  - application/json
1546
1686
  Content-Length:
1547
- - '943'
1687
+ - '775'
1548
1688
  body:
1549
- encoding: ASCII-8BIT
1550
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":3,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-a-group-trigger-FIRING-3-1","dataId":"my-metric-id","operator":"LT","threshold":5.0},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":3,"conditionSetIndex":2,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-a-group-trigger-FIRING-3-2","dataId":"my-metric-id2","operator":"GT","threshold":50.0},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":3,"conditionSetIndex":3,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-a-group-trigger-FIRING-3-3","dataId":"my-metric-id3","operator":"GT","data2Id":"my-metric-id4","data2Multiplier":1.0}]'
1689
+ encoding: UTF-8
1690
+ string: '[{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":3,"conditionSetIndex":1,"conditionId":"hawkular-a-group-trigger-FIRING-3-1","dataId":"my-metric-id","operator":"LT","threshold":5.0},{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":3,"conditionSetIndex":2,"conditionId":"hawkular-a-group-trigger-FIRING-3-2","dataId":"my-metric-id2","operator":"GT","threshold":50.0},{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":3,"conditionSetIndex":3,"conditionId":"hawkular-a-group-trigger-FIRING-3-3","dataId":"my-metric-id3","operator":"GT","data2Id":"my-metric-id4","data2Multiplier":1.0}]'
1551
1691
  http_version:
1552
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1692
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1553
1693
  - request:
1554
1694
  method: get
1555
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1
1695
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1
1556
1696
  body:
1557
1697
  encoding: US-ASCII
1558
1698
  string: ''
@@ -1560,11 +1700,15 @@ http_interactions:
1560
1700
  Accept:
1561
1701
  - application/json
1562
1702
  Accept-Encoding:
1563
- - gzip, deflate
1703
+ - identity
1704
+ User-Agent:
1705
+ - hawkular-client-ruby
1706
+ Hawkular-Tenant:
1707
+ - hawkular
1564
1708
  Content-Type:
1565
1709
  - application/json
1566
- User-Agent:
1567
- - Ruby
1710
+ Host:
1711
+ - localhost:8080
1568
1712
  response:
1569
1713
  status:
1570
1714
  code: 200
@@ -1581,22 +1725,22 @@ http_interactions:
1581
1725
  Pragma:
1582
1726
  - no-cache
1583
1727
  Date:
1584
- - Fri, 06 May 2016 13:28:06 GMT
1728
+ - Tue, 27 Sep 2016 18:17:15 GMT
1585
1729
  Connection:
1586
1730
  - keep-alive
1587
1731
  Content-Type:
1588
1732
  - application/json
1589
1733
  Content-Length:
1590
- - '552'
1734
+ - '524'
1591
1735
  body:
1592
- encoding: ASCII-8BIT
1593
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"member1","name":"Member
1594
- One","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alert-profiles":"profile1"},"tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
1736
+ encoding: UTF-8
1737
+ string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
1738
+ Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alert-profiles":"profile1"},"tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
1595
1739
  http_version:
1596
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1740
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1597
1741
  - request:
1598
1742
  method: get
1599
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1/conditions
1743
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/conditions
1600
1744
  body:
1601
1745
  encoding: US-ASCII
1602
1746
  string: ''
@@ -1604,11 +1748,15 @@ http_interactions:
1604
1748
  Accept:
1605
1749
  - application/json
1606
1750
  Accept-Encoding:
1607
- - gzip, deflate
1751
+ - identity
1752
+ User-Agent:
1753
+ - hawkular-client-ruby
1754
+ Hawkular-Tenant:
1755
+ - hawkular
1608
1756
  Content-Type:
1609
1757
  - application/json
1610
- User-Agent:
1611
- - Ruby
1758
+ Host:
1759
+ - localhost:8080
1612
1760
  response:
1613
1761
  status:
1614
1762
  code: 200
@@ -1625,21 +1773,21 @@ http_interactions:
1625
1773
  Pragma:
1626
1774
  - no-cache
1627
1775
  Date:
1628
- - Fri, 06 May 2016 13:28:06 GMT
1776
+ - Tue, 27 Sep 2016 18:17:15 GMT
1629
1777
  Connection:
1630
1778
  - keep-alive
1631
1779
  Content-Type:
1632
1780
  - application/json
1633
1781
  Content-Length:
1634
- - '927'
1782
+ - '759'
1635
1783
  body:
1636
- encoding: ASCII-8BIT
1637
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":3,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-member1-FIRING-3-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":3,"conditionSetIndex":2,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-member1-FIRING-3-2","dataId":"my-metric-id2-member1","operator":"GT","threshold":50.0},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"member1","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":3,"conditionSetIndex":3,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-member1-FIRING-3-3","dataId":"my-metric-id3-member1","operator":"GT","data2Id":"my-metric-id4-member1","data2Multiplier":1.0}]'
1784
+ encoding: UTF-8
1785
+ string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":3,"conditionSetIndex":1,"conditionId":"hawkular-member1-FIRING-3-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0},{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":3,"conditionSetIndex":2,"conditionId":"hawkular-member1-FIRING-3-2","dataId":"my-metric-id2-member1","operator":"GT","threshold":50.0},{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":3,"conditionSetIndex":3,"conditionId":"hawkular-member1-FIRING-3-3","dataId":"my-metric-id3-member1","operator":"GT","data2Id":"my-metric-id4-member1","data2Multiplier":1.0}]'
1638
1786
  http_version:
1639
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1787
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1640
1788
  - request:
1641
1789
  method: get
1642
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/member1/dampenings
1790
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/dampenings
1643
1791
  body:
1644
1792
  encoding: US-ASCII
1645
1793
  string: ''
@@ -1647,11 +1795,15 @@ http_interactions:
1647
1795
  Accept:
1648
1796
  - application/json
1649
1797
  Accept-Encoding:
1650
- - gzip, deflate
1798
+ - identity
1799
+ User-Agent:
1800
+ - hawkular-client-ruby
1801
+ Hawkular-Tenant:
1802
+ - hawkular
1651
1803
  Content-Type:
1652
1804
  - application/json
1653
- User-Agent:
1654
- - Ruby
1805
+ Host:
1806
+ - localhost:8080
1655
1807
  response:
1656
1808
  status:
1657
1809
  code: 200
@@ -1668,7 +1820,7 @@ http_interactions:
1668
1820
  Pragma:
1669
1821
  - no-cache
1670
1822
  Date:
1671
- - Fri, 06 May 2016 13:28:06 GMT
1823
+ - Tue, 27 Sep 2016 18:17:15 GMT
1672
1824
  Connection:
1673
1825
  - keep-alive
1674
1826
  Content-Type:
@@ -1676,13 +1828,13 @@ http_interactions:
1676
1828
  Content-Length:
1677
1829
  - '2'
1678
1830
  body:
1679
- encoding: ASCII-8BIT
1831
+ encoding: UTF-8
1680
1832
  string: "[]"
1681
1833
  http_version:
1682
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1834
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1683
1835
  - request:
1684
1836
  method: delete
1685
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger
1837
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger
1686
1838
  body:
1687
1839
  encoding: US-ASCII
1688
1840
  string: ''
@@ -1690,11 +1842,15 @@ http_interactions:
1690
1842
  Accept:
1691
1843
  - application/json
1692
1844
  Accept-Encoding:
1693
- - gzip, deflate
1845
+ - identity
1846
+ User-Agent:
1847
+ - hawkular-client-ruby
1848
+ Hawkular-Tenant:
1849
+ - hawkular
1694
1850
  Content-Type:
1695
1851
  - application/json
1696
- User-Agent:
1697
- - Ruby
1852
+ Host:
1853
+ - localhost:8080
1698
1854
  response:
1699
1855
  status:
1700
1856
  code: 200
@@ -1711,7 +1867,7 @@ http_interactions:
1711
1867
  Pragma:
1712
1868
  - no-cache
1713
1869
  Date:
1714
- - Fri, 06 May 2016 13:28:06 GMT
1870
+ - Tue, 27 Sep 2016 18:17:15 GMT
1715
1871
  Connection:
1716
1872
  - keep-alive
1717
1873
  Content-Type:
@@ -1722,5 +1878,5 @@ http_interactions:
1722
1878
  encoding: UTF-8
1723
1879
  string: ''
1724
1880
  http_version:
1725
- recorded_at: Fri, 06 May 2016 13:28:06 GMT
1726
- recorded_with: VCR 3.0.1
1881
+ recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
1882
+ recorded_with: VCR 3.0.3