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
@@ -1,181 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/alert/28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Content-Type:
15
- - application/json
16
- User-Agent:
17
- - Ruby
18
- response:
19
- status:
20
- code: 200
21
- message: OK
22
- headers:
23
- Expires:
24
- - '0'
25
- Cache-Control:
26
- - no-cache, no-store, must-revalidate
27
- X-Powered-By:
28
- - Undertow/1
29
- Server:
30
- - WildFly/9
31
- Pragma:
32
- - no-cache
33
- Date:
34
- - Sun, 08 Nov 2015 20:13:44 GMT
35
- Connection:
36
- - keep-alive
37
- Content-Type:
38
- - application/json
39
- Content-Length:
40
- - '5960'
41
- body:
42
- encoding: UTF-8
43
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","alertId":"28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134","triggerId":"snert~Local_jvm_garba","ctime":1446977734134,"evalSets":[[{"evalTimestamp":1446977313541,"dataTimestamp":1446977313014,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
44
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
45
- GC Duration","operator":"GT","threshold":200.0},"value":8022.0}],[{"evalTimestamp":1446977373629,"dataTimestamp":1446977373037,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
46
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
47
- GC Duration","operator":"GT","threshold":200.0},"value":8058.0}],[{"evalTimestamp":1446977433699,"dataTimestamp":1446977433070,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
48
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
49
- GC Duration","operator":"GT","threshold":200.0},"value":8058.0}],[{"evalTimestamp":1446977493788,"dataTimestamp":1446977493112,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
50
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
51
- GC Duration","operator":"GT","threshold":200.0},"value":8075.0}],[{"evalTimestamp":1446977553867,"dataTimestamp":1446977553153,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
52
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
53
- GC Duration","operator":"GT","threshold":200.0},"value":8075.0}],[{"evalTimestamp":1446977613965,"dataTimestamp":1446977613197,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
54
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
55
- GC Duration","operator":"GT","threshold":200.0},"value":8112.0}],[{"evalTimestamp":1446977674050,"dataTimestamp":1446977673226,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
56
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
57
- GC Duration","operator":"GT","threshold":200.0},"value":8125.0}],[{"evalTimestamp":1446977734129,"dataTimestamp":1446977733251,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
58
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
59
- GC Duration","operator":"GT","threshold":200.0},"value":8125.0}]],"severity":"HIGH","status":"OPEN","ackTime":0,"ackBy":null,"resolvedTime":0,"resolvedBy":null,"trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"snert~Local_jvm_garba","name":"Accumulated
60
- GC Duration","context":{"description":"Accumulated GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
61
- Server","triggerType":"Threshold"},"actions":{"email":["jdoe@acme.com"]},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","description":"Accumulated
62
- GC Duration for snert~Local","enabled":true,"firingMatch":"ALL","orphan":false,"group":false,"severity":"HIGH"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"STRICT_TIME","evalTrueSetting":0,"evalTotalSetting":0,"evalTimeSetting":420000,"dampeningId":"snert~Local_jvm_garba-FIRING","currentEvals":{"1":{"evalTimestamp":1446977734129,"dataTimestamp":1446977733251,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
63
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
64
- GC Duration","operator":"GT","threshold":200.0},"value":8125.0}}},"context":{"description":"Accumulated
65
- GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
66
- Server","triggerType":"Threshold"}}'
67
- http_version:
68
- recorded_at: Sun, 08 Nov 2015 20:13:44 GMT
69
- - request:
70
- method: put
71
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
72
- body:
73
- encoding: UTF-8
74
- string: '{}'
75
- headers:
76
- Accept:
77
- - application/json
78
- Accept-Encoding:
79
- - gzip, deflate
80
- Content-Type:
81
- - application/json
82
- Content-Length:
83
- - '2'
84
- User-Agent:
85
- - Ruby
86
- response:
87
- status:
88
- code: 200
89
- message: OK
90
- headers:
91
- Expires:
92
- - '0'
93
- Cache-Control:
94
- - no-cache, no-store, must-revalidate
95
- X-Powered-By:
96
- - Undertow/1
97
- Server:
98
- - WildFly/9
99
- Pragma:
100
- - no-cache
101
- Date:
102
- - Sun, 08 Nov 2015 20:13:48 GMT
103
- Connection:
104
- - keep-alive
105
- Content-Type:
106
- - application/json
107
- Content-Length:
108
- - '0'
109
- body:
110
- encoding: UTF-8
111
- string: ''
112
- http_version:
113
- recorded_at: Sun, 08 Nov 2015 20:13:48 GMT
114
- - request:
115
- method: get
116
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/alert/28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134
117
- body:
118
- encoding: US-ASCII
119
- string: ''
120
- headers:
121
- Accept:
122
- - application/json
123
- Accept-Encoding:
124
- - gzip, deflate
125
- Content-Type:
126
- - application/json
127
- User-Agent:
128
- - Ruby
129
- response:
130
- status:
131
- code: 200
132
- message: OK
133
- headers:
134
- Expires:
135
- - '0'
136
- Cache-Control:
137
- - no-cache, no-store, must-revalidate
138
- X-Powered-By:
139
- - Undertow/1
140
- Server:
141
- - WildFly/9
142
- Pragma:
143
- - no-cache
144
- Date:
145
- - Sun, 08 Nov 2015 20:14:07 GMT
146
- Connection:
147
- - keep-alive
148
- Content-Type:
149
- - application/json
150
- Content-Length:
151
- - '6058'
152
- body:
153
- encoding: UTF-8
154
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","alertId":"28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134","triggerId":"snert~Local_jvm_garba","ctime":1446977734134,"evalSets":[[{"evalTimestamp":1446977313541,"dataTimestamp":1446977313014,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
155
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
156
- GC Duration","operator":"GT","threshold":200.0},"value":8022.0}],[{"evalTimestamp":1446977373629,"dataTimestamp":1446977373037,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
157
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
158
- GC Duration","operator":"GT","threshold":200.0},"value":8058.0}],[{"evalTimestamp":1446977433699,"dataTimestamp":1446977433070,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
159
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
160
- GC Duration","operator":"GT","threshold":200.0},"value":8058.0}],[{"evalTimestamp":1446977493788,"dataTimestamp":1446977493112,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
161
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
162
- GC Duration","operator":"GT","threshold":200.0},"value":8075.0}],[{"evalTimestamp":1446977553867,"dataTimestamp":1446977553153,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
163
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
164
- GC Duration","operator":"GT","threshold":200.0},"value":8075.0}],[{"evalTimestamp":1446977613965,"dataTimestamp":1446977613197,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
165
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
166
- GC Duration","operator":"GT","threshold":200.0},"value":8112.0}],[{"evalTimestamp":1446977674050,"dataTimestamp":1446977673226,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
167
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
168
- GC Duration","operator":"GT","threshold":200.0},"value":8125.0}],[{"evalTimestamp":1446977734129,"dataTimestamp":1446977733251,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
169
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
170
- GC Duration","operator":"GT","threshold":200.0},"value":8125.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1447013628344,"resolvedBy":"Heiko","notes":[{"user":"Heiko","ctime":1447013628344,"text":"Hello
171
- Ruby World :-)"}],"trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"snert~Local_jvm_garba","name":"Accumulated
172
- GC Duration","context":{"description":"Accumulated GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
173
- Server","triggerType":"Threshold"},"actions":{"email":["jdoe@acme.com"]},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","description":"Accumulated
174
- GC Duration for snert~Local","enabled":true,"firingMatch":"ALL","orphan":false,"group":false,"severity":"HIGH"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"STRICT_TIME","evalTrueSetting":0,"evalTotalSetting":0,"evalTimeSetting":420000,"dampeningId":"snert~Local_jvm_garba-FIRING","currentEvals":{"1":{"evalTimestamp":1446977734129,"dataTimestamp":1446977733251,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
175
- Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
176
- GC Duration","operator":"GT","threshold":200.0},"value":8125.0}}},"context":{"description":"Accumulated
177
- GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
178
- Server","triggerType":"Threshold"}}'
179
- http_version:
180
- recorded_at: Sun, 08 Nov 2015 20:14:07 GMT
181
- recorded_with: VCR 3.0.0
@@ -1,49 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: put
5
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134
6
- body:
7
- encoding: UTF-8
8
- string: '{}'
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Content-Type:
15
- - application/json
16
- Content-Length:
17
- - '2'
18
- User-Agent:
19
- - Ruby
20
- response:
21
- status:
22
- code: 500
23
- message: Internal Server Error
24
- headers:
25
- Expires:
26
- - '0'
27
- Cache-Control:
28
- - no-cache, no-store, must-revalidate
29
- X-Powered-By:
30
- - Undertow/1
31
- Server:
32
- - WildFly/9
33
- Pragma:
34
- - no-cache
35
- Date:
36
- - Sun, 08 Nov 2015 20:26:08 GMT
37
- Connection:
38
- - keep-alive
39
- Content-Type:
40
- - application/json
41
- Content-Length:
42
- - '104'
43
- body:
44
- encoding: UTF-8
45
- string: '{"errorMsg":"Internal error: java.lang.IllegalArgumentException: Note
46
- must have non-null user and text"}'
47
- http_version:
48
- recorded_at: Sun, 08 Nov 2015 20:26:08 GMT
49
- recorded_with: VCR 3.0.0
@@ -1,1187 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/plugins/email
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Content-Type:
15
- - application/json
16
- User-Agent:
17
- - Ruby
18
- response:
19
- status:
20
- code: 200
21
- message: OK
22
- headers:
23
- Expires:
24
- - '0'
25
- Cache-Control:
26
- - no-cache, no-store, must-revalidate
27
- X-Powered-By:
28
- - Undertow/1
29
- Server:
30
- - WildFly/10
31
- Pragma:
32
- - no-cache
33
- Date:
34
- - Mon, 14 Mar 2016 10:36:22 GMT
35
- Connection:
36
- - keep-alive
37
- Content-Type:
38
- - application/json
39
- Content-Length:
40
- - '87'
41
- body:
42
- encoding: ASCII-8BIT
43
- string: '["cc","from","from-name","template.hawkular.url","template.html","template.plain","to"]'
44
- http_version:
45
- recorded_at: Mon, 14 Mar 2016 10:36:22 GMT
46
- - request:
47
- method: post
48
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/actions
49
- body:
50
- encoding: UTF-8
51
- string: '{"actionId":"send-via-email","actionPlugin":"email","properties":{"to":"joe@acme.org","from":"admin@acme.org"}}'
52
- headers:
53
- Accept:
54
- - application/json
55
- Accept-Encoding:
56
- - gzip, deflate
57
- Content-Type:
58
- - application/json
59
- Content-Length:
60
- - '111'
61
- User-Agent:
62
- - Ruby
63
- response:
64
- status:
65
- code: 200
66
- message: OK
67
- headers:
68
- Expires:
69
- - '0'
70
- Cache-Control:
71
- - no-cache, no-store, must-revalidate
72
- X-Powered-By:
73
- - Undertow/1
74
- Server:
75
- - WildFly/10
76
- Pragma:
77
- - no-cache
78
- Date:
79
- - Mon, 14 Mar 2016 10:36:22 GMT
80
- Connection:
81
- - keep-alive
82
- Content-Type:
83
- - application/json
84
- Content-Length:
85
- - '161'
86
- body:
87
- encoding: ASCII-8BIT
88
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email","properties":{"to":"joe@acme.org","from":"admin@acme.org"}}'
89
- http_version:
90
- recorded_at: Mon, 14 Mar 2016 10:36:22 GMT
91
- - request:
92
- method: get
93
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/plugins/webhook
94
- body:
95
- encoding: US-ASCII
96
- string: ''
97
- headers:
98
- Accept:
99
- - application/json
100
- Accept-Encoding:
101
- - gzip, deflate
102
- Content-Type:
103
- - application/json
104
- User-Agent:
105
- - Ruby
106
- response:
107
- status:
108
- code: 200
109
- message: OK
110
- headers:
111
- Expires:
112
- - '0'
113
- Cache-Control:
114
- - no-cache, no-store, must-revalidate
115
- X-Powered-By:
116
- - Undertow/1
117
- Server:
118
- - WildFly/10
119
- Pragma:
120
- - no-cache
121
- Date:
122
- - Mon, 14 Mar 2016 10:36:22 GMT
123
- Connection:
124
- - keep-alive
125
- Content-Type:
126
- - application/json
127
- Content-Length:
128
- - '16'
129
- body:
130
- encoding: ASCII-8BIT
131
- string: '["method","url"]'
132
- http_version:
133
- recorded_at: Mon, 14 Mar 2016 10:36:22 GMT
134
- - request:
135
- method: post
136
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/actions
137
- body:
138
- encoding: UTF-8
139
- string: '{"actionId":"send-via-webhook","actionPlugin":"webhook","properties":{"url":"http://172.31.7.177/","method":"POST"}}'
140
- headers:
141
- Accept:
142
- - application/json
143
- Accept-Encoding:
144
- - gzip, deflate
145
- Content-Type:
146
- - application/json
147
- Content-Length:
148
- - '116'
149
- User-Agent:
150
- - Ruby
151
- response:
152
- status:
153
- code: 200
154
- message: OK
155
- headers:
156
- Expires:
157
- - '0'
158
- Cache-Control:
159
- - no-cache, no-store, must-revalidate
160
- X-Powered-By:
161
- - Undertow/1
162
- Server:
163
- - WildFly/10
164
- Pragma:
165
- - no-cache
166
- Date:
167
- - Mon, 14 Mar 2016 10:36:22 GMT
168
- Connection:
169
- - keep-alive
170
- Content-Type:
171
- - application/json
172
- Content-Length:
173
- - '166'
174
- body:
175
- encoding: ASCII-8BIT
176
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"webhook","actionId":"send-via-webhook","properties":{"url":"http://172.31.7.177/","method":"POST"}}'
177
- http_version:
178
- recorded_at: Mon, 14 Mar 2016 10:36:22 GMT
179
- - request:
180
- method: post
181
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/trigger
182
- body:
183
- encoding: UTF-8
184
- string: '{"trigger":{"id":"my-cool-email-trigger","name":"Just a trigger","enabled":true,"severity":"HIGH","description":"Just
185
- a test trigger","actions":[{"actionPlugin":"email","actionId":"send-via-email","tenantId":null,"states":null},{"actionPlugin":"webhook","actionId":"send-via-webhook","tenantId":null,"states":null}]},"conditions":[{"conditionId":null,"type":"THRESHOLD","operator":"GT","threshold":5,"triggerMode":"FIRING","dataId":"my-metric-id1","triggerId":null}],"dampenings":[]}'
186
- headers:
187
- Accept:
188
- - application/json
189
- Accept-Encoding:
190
- - gzip, deflate
191
- Content-Type:
192
- - application/json
193
- Content-Length:
194
- - '483'
195
- User-Agent:
196
- - Ruby
197
- response:
198
- status:
199
- code: 200
200
- message: OK
201
- headers:
202
- Expires:
203
- - '0'
204
- Cache-Control:
205
- - no-cache, no-store, must-revalidate
206
- X-Powered-By:
207
- - Undertow/1
208
- Server:
209
- - WildFly/10
210
- Pragma:
211
- - no-cache
212
- Date:
213
- - Mon, 14 Mar 2016 10:36:22 GMT
214
- Connection:
215
- - keep-alive
216
- Content-Type:
217
- - application/json
218
- Content-Length:
219
- - '961'
220
- body:
221
- encoding: ASCII-8BIT
222
- string: '{"trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
223
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"webhook","actionId":"send-via-webhook"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"conditions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0}]}'
224
- http_version:
225
- recorded_at: Mon, 14 Mar 2016 10:36:22 GMT
226
- - request:
227
- method: get
228
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/my-cool-email-trigger
229
- body:
230
- encoding: US-ASCII
231
- string: ''
232
- headers:
233
- Accept:
234
- - application/json
235
- Accept-Encoding:
236
- - gzip, deflate
237
- Content-Type:
238
- - application/json
239
- User-Agent:
240
- - Ruby
241
- response:
242
- status:
243
- code: 200
244
- message: OK
245
- headers:
246
- Expires:
247
- - '0'
248
- Cache-Control:
249
- - no-cache, no-store, must-revalidate
250
- X-Powered-By:
251
- - Undertow/1
252
- Server:
253
- - WildFly/10
254
- Pragma:
255
- - no-cache
256
- Date:
257
- - Mon, 14 Mar 2016 10:36:22 GMT
258
- Connection:
259
- - keep-alive
260
- Content-Type:
261
- - application/json
262
- Content-Length:
263
- - '618'
264
- body:
265
- encoding: ASCII-8BIT
266
- string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
267
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"webhook","actionId":"send-via-webhook"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"}'
268
- http_version:
269
- recorded_at: Mon, 14 Mar 2016 10:36:22 GMT
270
- - request:
271
- method: get
272
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/my-cool-email-trigger/conditions
273
- body:
274
- encoding: US-ASCII
275
- string: ''
276
- headers:
277
- Accept:
278
- - application/json
279
- Accept-Encoding:
280
- - gzip, deflate
281
- Content-Type:
282
- - application/json
283
- User-Agent:
284
- - Ruby
285
- response:
286
- status:
287
- code: 200
288
- message: OK
289
- headers:
290
- Expires:
291
- - '0'
292
- Cache-Control:
293
- - no-cache, no-store, must-revalidate
294
- X-Powered-By:
295
- - Undertow/1
296
- Server:
297
- - WildFly/10
298
- Pragma:
299
- - no-cache
300
- Date:
301
- - Mon, 14 Mar 2016 10:36:22 GMT
302
- Connection:
303
- - keep-alive
304
- Content-Type:
305
- - application/json
306
- Content-Length:
307
- - '317'
308
- body:
309
- encoding: ASCII-8BIT
310
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0}]'
311
- http_version:
312
- recorded_at: Mon, 14 Mar 2016 10:36:22 GMT
313
- - request:
314
- method: get
315
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/my-cool-email-trigger/dampenings
316
- body:
317
- encoding: US-ASCII
318
- string: ''
319
- headers:
320
- Accept:
321
- - application/json
322
- Accept-Encoding:
323
- - gzip, deflate
324
- Content-Type:
325
- - application/json
326
- User-Agent:
327
- - Ruby
328
- response:
329
- status:
330
- code: 200
331
- message: OK
332
- headers:
333
- Expires:
334
- - '0'
335
- Cache-Control:
336
- - no-cache, no-store, must-revalidate
337
- X-Powered-By:
338
- - Undertow/1
339
- Server:
340
- - WildFly/10
341
- Pragma:
342
- - no-cache
343
- Date:
344
- - Mon, 14 Mar 2016 10:36:22 GMT
345
- Connection:
346
- - keep-alive
347
- Content-Type:
348
- - application/json
349
- Content-Length:
350
- - '2'
351
- body:
352
- encoding: ASCII-8BIT
353
- string: '[]'
354
- http_version:
355
- recorded_at: Mon, 14 Mar 2016 10:36:22 GMT
356
- - request:
357
- method: post
358
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data
359
- body:
360
- encoding: UTF-8
361
- string: '{"gauges":[{"id":"my-metric-id1","data":[{"timestamp":1457951782000,"value":42}]}],"counters":[],"availabilities":[]}'
362
- headers:
363
- Accept:
364
- - application/json
365
- Accept-Encoding:
366
- - gzip, deflate
367
- Content-Type:
368
- - application/json
369
- Content-Length:
370
- - '117'
371
- User-Agent:
372
- - Ruby
373
- response:
374
- status:
375
- code: 200
376
- message: OK
377
- headers:
378
- Connection:
379
- - keep-alive
380
- X-Powered-By:
381
- - Undertow/1
382
- Server:
383
- - WildFly/10
384
- Content-Length:
385
- - '0'
386
- Date:
387
- - Mon, 14 Mar 2016 10:36:23 GMT
388
- body:
389
- encoding: UTF-8
390
- string: ''
391
- http_version:
392
- recorded_at: Mon, 14 Mar 2016 10:36:23 GMT
393
- - request:
394
- method: get
395
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/?triggerIds=my-cool-email-trigger
396
- body:
397
- encoding: US-ASCII
398
- string: ''
399
- headers:
400
- Accept:
401
- - application/json
402
- Accept-Encoding:
403
- - gzip, deflate
404
- Content-Type:
405
- - application/json
406
- User-Agent:
407
- - Ruby
408
- response:
409
- status:
410
- code: 200
411
- message: OK
412
- headers:
413
- Expires:
414
- - '0'
415
- Cache-Control:
416
- - no-cache, no-store, must-revalidate
417
- X-Powered-By:
418
- - Undertow/1
419
- Server:
420
- - WildFly/10
421
- Pragma:
422
- - no-cache
423
- Date:
424
- - Mon, 14 Mar 2016 10:36:28 GMT
425
- X-Total-Count:
426
- - '12'
427
- Connection:
428
- - keep-alive
429
- Content-Type:
430
- - application/json
431
- Content-Length:
432
- - '24660'
433
- Link:
434
- - <http://localhost:8080/hawkular/alerts/?triggerIds=my-cool-email-trigger>;
435
- rel="current", <http://localhost:8080/hawkular/alerts/?triggerIds=my-cool-email-trigger&page=0>;
436
- rel="last"
437
- body:
438
- encoding: ASCII-8BIT
439
- string: '[{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger-1457951783571-09e6f6a9-5ef9-481b-9b00-15675a32970b","ctime":1457951783571,"dataSource":"_none_","dataId":"my-cool-email-trigger","category":"ALERT","text":"Just
440
- a test trigger","trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
441
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"webhook","actionId":"send-via-webhook"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1457951783570,"dataTimestamp":1457951782000,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0},"value":42.0}]],"severity":"HIGH","status":"OPEN","ackTime":0,"ackBy":null,"resolvedTime":0,"resolvedBy":null},{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger-1457949814758-43fed92e-1de6-4f35-945f-9fa7c4cabc69","ctime":1457949814758,"dataSource":"_none_","dataId":"my-cool-email-trigger","category":"ALERT","text":"Just
442
- a test trigger","trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
443
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"webhook","actionId":"send-via-webhook"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1457949814758,"dataTimestamp":1457949812000,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0},"value":42.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1457949818049,"resolvedBy":"Heiko","notes":[{"user":"Heiko","ctime":1457949818049,"text":"Hello
444
- Ruby World :-)"}]},{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger-1457949248037-9fa5715b-fc92-4989-8e1e-5fedf72f0b76","ctime":1457949248037,"dataSource":"_none_","dataId":"my-cool-email-trigger","category":"ALERT","text":"Just
445
- a test trigger","trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
446
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"webhook","actionId":"send-via-webhook"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1457949248036,"dataTimestamp":1457949246000,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0},"value":42.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1457949818182,"resolvedBy":"Heiko","notes":[{"user":"Heiko","ctime":1457949251744,"text":"Hello
447
- Ruby World :-)"},{"user":"Heiko","ctime":1457949818182,"text":"Hello Ruby
448
- World :-)"}]},{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger-1457946538491-6727ca1e-5300-4fdb-a5aa-7354932f0041","ctime":1457946538491,"dataSource":"_none_","dataId":"my-cool-email-trigger","category":"ALERT","text":"Just
449
- a test trigger","trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
450
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"webhook","actionId":"send-via-webhook"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1457946538487,"dataTimestamp":1457946537000,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0},"value":42.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1457949818291,"resolvedBy":"Heiko","notes":[{"user":"Heiko","ctime":1457946543206,"text":"Hello
451
- Ruby World :-)"},{"user":"Heiko","ctime":1457949251864,"text":"Hello Ruby
452
- World :-)"},{"user":"Heiko","ctime":1457949818291,"text":"Hello Ruby World
453
- :-)"}]},{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger-1457946448368-735269f4-5951-498c-b177-9e1e5a3d3f45","ctime":1457946448368,"dataSource":"_none_","dataId":"my-cool-email-trigger","category":"ALERT","text":"Just
454
- a test trigger","trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
455
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"webhook","actionId":"send-via-webhook"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1457946448366,"dataTimestamp":1457946446000,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0},"value":42.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1457949818387,"resolvedBy":"Heiko","notes":[{"user":"Heiko","ctime":1457946452015,"text":"Hello
456
- Ruby World :-)"},{"user":"Heiko","ctime":1457946543397,"text":"Hello Ruby
457
- World :-)"},{"user":"Heiko","ctime":1457949251986,"text":"Hello Ruby World
458
- :-)"},{"user":"Heiko","ctime":1457949818387,"text":"Hello Ruby World :-)"}]},{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger-1457946166058-29e65498-3860-420f-ab41-aad11344e6b5","ctime":1457946166058,"dataSource":"_none_","dataId":"my-cool-email-trigger","category":"ALERT","text":"Just
459
- a test trigger","trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
460
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"webhook","actionId":"send-via-webhook"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1457946166056,"dataTimestamp":1457946164000,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0},"value":42.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1457949818490,"resolvedBy":"Heiko","notes":[{"user":"Heiko","ctime":1457946171222,"text":"Hello
461
- Ruby World :-)"},{"user":"Heiko","ctime":1457946452240,"text":"Hello Ruby
462
- World :-)"},{"user":"Heiko","ctime":1457946543562,"text":"Hello Ruby World
463
- :-)"},{"user":"Heiko","ctime":1457949252531,"text":"Hello Ruby World :-)"},{"user":"Heiko","ctime":1457949818490,"text":"Hello
464
- Ruby World :-)"}]},{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger-1457945693605-4892981b-d229-4d4a-90a0-a185c091109d","ctime":1457945693605,"dataSource":"_none_","dataId":"my-cool-email-trigger","category":"ALERT","text":"Just
465
- a test trigger","trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
466
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"webhook","actionId":"send-via-webhook"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1457945693603,"dataTimestamp":1457945692000,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0},"value":42.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1457949818606,"resolvedBy":"Heiko","notes":[{"user":"Heiko","ctime":1457945712790,"text":"Hello
467
- Ruby World :-)"},{"user":"Heiko","ctime":1457946171467,"text":"Hello Ruby
468
- World :-)"},{"user":"Heiko","ctime":1457946453082,"text":"Hello Ruby World
469
- :-)"},{"user":"Heiko","ctime":1457946543702,"text":"Hello Ruby World :-)"},{"user":"Heiko","ctime":1457949252804,"text":"Hello
470
- Ruby World :-)"},{"user":"Heiko","ctime":1457949818606,"text":"Hello Ruby
471
- World :-)"}]},{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger-1457945122523-717c264e-4d4e-4af7-afc1-316500bcc85d","ctime":1457945122523,"dataSource":"_none_","dataId":"my-cool-email-trigger","category":"ALERT","text":"Just
472
- a test trigger","trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
473
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"webhook","actionId":"send-via-webhook"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1457945122521,"dataTimestamp":1457945121000,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0},"value":42.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1457949818728,"resolvedBy":"Heiko","notes":[{"user":"Heiko","ctime":1457945126430,"text":"Hello
474
- Ruby World :-)"},{"user":"Heiko","ctime":1457945728852,"text":"Hello Ruby
475
- World :-)"},{"user":"Heiko","ctime":1457946171612,"text":"Hello Ruby World
476
- :-)"},{"user":"Heiko","ctime":1457946453246,"text":"Hello Ruby World :-)"},{"user":"Heiko","ctime":1457946543847,"text":"Hello
477
- Ruby World :-)"},{"user":"Heiko","ctime":1457949252917,"text":"Hello Ruby
478
- World :-)"},{"user":"Heiko","ctime":1457949818728,"text":"Hello Ruby World
479
- :-)"}]},{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger-1457708210314-d98acdbf-4f03-4716-9638-0c7ac7ce810a","ctime":1457708210314,"dataSource":"_none_","dataId":"my-cool-email-trigger","category":"ALERT","text":"Just
480
- a test trigger","trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
481
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1457708210313,"dataTimestamp":1457708208000,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0},"value":42.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1457949818818,"resolvedBy":"Heiko","notes":[{"user":"John
482
- Doe","ctime":1457862781281,"text":"Manually resolved"},{"user":"Heiko","ctime":1457945126614,"text":"Hello
483
- Ruby World :-)"},{"user":"Heiko","ctime":1457945729213,"text":"Hello Ruby
484
- World :-)"},{"user":"Heiko","ctime":1457946171763,"text":"Hello Ruby World
485
- :-)"},{"user":"Heiko","ctime":1457946453401,"text":"Hello Ruby World :-)"},{"user":"Heiko","ctime":1457946543984,"text":"Hello
486
- Ruby World :-)"},{"user":"Heiko","ctime":1457949253022,"text":"Hello Ruby
487
- World :-)"},{"user":"Heiko","ctime":1457949818818,"text":"Hello Ruby World
488
- :-)"}]},{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger-1457707945884-d97265e3-726b-4672-9eb1-58af8fae81c4","ctime":1457707945884,"dataSource":"_none_","dataId":"my-cool-email-trigger","category":"ALERT","text":"Just
489
- a test trigger","trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
490
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1457707945883,"dataTimestamp":1457707945000,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0},"value":42.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1457949818910,"resolvedBy":"Heiko","notes":[{"user":"John
491
- Doe","ctime":1457708105564,"text":"Manually resolved"},{"user":"Heiko","ctime":1457945126734,"text":"Hello
492
- Ruby World :-)"},{"user":"Heiko","ctime":1457945729632,"text":"Hello Ruby
493
- World :-)"},{"user":"Heiko","ctime":1457946171888,"text":"Hello Ruby World
494
- :-)"},{"user":"Heiko","ctime":1457946453507,"text":"Hello Ruby World :-)"},{"user":"Heiko","ctime":1457946544094,"text":"Hello
495
- Ruby World :-)"},{"user":"Heiko","ctime":1457949253132,"text":"Hello Ruby
496
- World :-)"},{"user":"Heiko","ctime":1457949818910,"text":"Hello Ruby World
497
- :-)"}]},{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger-1457707811685-811b43c3-d155-42a4-9278-052c0f94e32b","ctime":1457707811685,"dataSource":"_none_","dataId":"my-cool-email-trigger","category":"ALERT","text":"Just
498
- a test trigger","trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
499
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1457707811684,"dataTimestamp":1457707810000,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0},"value":42.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1457949818987,"resolvedBy":"Heiko","notes":[{"user":"John
500
- Doe","ctime":1457708105556,"text":"Manually resolved"},{"user":"Heiko","ctime":1457945126864,"text":"Hello
501
- Ruby World :-)"},{"user":"Heiko","ctime":1457945734152,"text":"Hello Ruby
502
- World :-)"},{"user":"Heiko","ctime":1457946172004,"text":"Hello Ruby World
503
- :-)"},{"user":"Heiko","ctime":1457946453639,"text":"Hello Ruby World :-)"},{"user":"Heiko","ctime":1457946544193,"text":"Hello
504
- Ruby World :-)"},{"user":"Heiko","ctime":1457949253213,"text":"Hello Ruby
505
- World :-)"},{"user":"Heiko","ctime":1457949818987,"text":"Hello Ruby World
506
- :-)"}]},{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger-1457707709532-d99ada94-f566-4e9c-a57b-5f59f4cfd83a","ctime":1457707709532,"dataSource":"_none_","dataId":"my-cool-email-trigger","category":"ALERT","text":"Just
507
- a test trigger","trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-email-trigger","name":"Just
508
- a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1457707709528,"dataTimestamp":1457707707000,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0},"value":42.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1457949819070,"resolvedBy":"Heiko","notes":[{"user":"John
509
- Doe","ctime":1457708105561,"text":"Manually resolved"},{"user":"Heiko","ctime":1457945126981,"text":"Hello
510
- Ruby World :-)"},{"user":"Heiko","ctime":1457945734323,"text":"Hello Ruby
511
- World :-)"},{"user":"Heiko","ctime":1457946172125,"text":"Hello Ruby World
512
- :-)"},{"user":"Heiko","ctime":1457946453771,"text":"Hello Ruby World :-)"},{"user":"Heiko","ctime":1457946544289,"text":"Hello
513
- Ruby World :-)"},{"user":"Heiko","ctime":1457949253295,"text":"Hello Ruby
514
- World :-)"},{"user":"Heiko","ctime":1457949819070,"text":"Hello Ruby World
515
- :-)"}]}]'
516
- http_version:
517
- recorded_at: Mon, 14 Mar 2016 10:36:28 GMT
518
- - request:
519
- method: put
520
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/my-cool-email-trigger-1457951783571-09e6f6a9-5ef9-481b-9b00-15675a32970b?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
521
- body:
522
- encoding: UTF-8
523
- string: '{}'
524
- headers:
525
- Accept:
526
- - application/json
527
- Accept-Encoding:
528
- - gzip, deflate
529
- Content-Type:
530
- - application/json
531
- Content-Length:
532
- - '2'
533
- User-Agent:
534
- - Ruby
535
- response:
536
- status:
537
- code: 200
538
- message: OK
539
- headers:
540
- Expires:
541
- - '0'
542
- Cache-Control:
543
- - no-cache, no-store, must-revalidate
544
- X-Powered-By:
545
- - Undertow/1
546
- Server:
547
- - WildFly/10
548
- Pragma:
549
- - no-cache
550
- Date:
551
- - Mon, 14 Mar 2016 10:36:28 GMT
552
- Connection:
553
- - keep-alive
554
- Content-Type:
555
- - application/json
556
- Content-Length:
557
- - '0'
558
- body:
559
- encoding: UTF-8
560
- string: ''
561
- http_version:
562
- recorded_at: Mon, 14 Mar 2016 10:36:28 GMT
563
- - request:
564
- method: put
565
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/my-cool-email-trigger-1457949814758-43fed92e-1de6-4f35-945f-9fa7c4cabc69?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
566
- body:
567
- encoding: UTF-8
568
- string: '{}'
569
- headers:
570
- Accept:
571
- - application/json
572
- Accept-Encoding:
573
- - gzip, deflate
574
- Content-Type:
575
- - application/json
576
- Content-Length:
577
- - '2'
578
- User-Agent:
579
- - Ruby
580
- response:
581
- status:
582
- code: 200
583
- message: OK
584
- headers:
585
- Expires:
586
- - '0'
587
- Cache-Control:
588
- - no-cache, no-store, must-revalidate
589
- X-Powered-By:
590
- - Undertow/1
591
- Server:
592
- - WildFly/10
593
- Pragma:
594
- - no-cache
595
- Date:
596
- - Mon, 14 Mar 2016 10:36:28 GMT
597
- Connection:
598
- - keep-alive
599
- Content-Type:
600
- - application/json
601
- Content-Length:
602
- - '0'
603
- body:
604
- encoding: UTF-8
605
- string: ''
606
- http_version:
607
- recorded_at: Mon, 14 Mar 2016 10:36:28 GMT
608
- - request:
609
- method: put
610
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/my-cool-email-trigger-1457949248037-9fa5715b-fc92-4989-8e1e-5fedf72f0b76?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
611
- body:
612
- encoding: UTF-8
613
- string: '{}'
614
- headers:
615
- Accept:
616
- - application/json
617
- Accept-Encoding:
618
- - gzip, deflate
619
- Content-Type:
620
- - application/json
621
- Content-Length:
622
- - '2'
623
- User-Agent:
624
- - Ruby
625
- response:
626
- status:
627
- code: 200
628
- message: OK
629
- headers:
630
- Expires:
631
- - '0'
632
- Cache-Control:
633
- - no-cache, no-store, must-revalidate
634
- X-Powered-By:
635
- - Undertow/1
636
- Server:
637
- - WildFly/10
638
- Pragma:
639
- - no-cache
640
- Date:
641
- - Mon, 14 Mar 2016 10:36:28 GMT
642
- Connection:
643
- - keep-alive
644
- Content-Type:
645
- - application/json
646
- Content-Length:
647
- - '0'
648
- body:
649
- encoding: UTF-8
650
- string: ''
651
- http_version:
652
- recorded_at: Mon, 14 Mar 2016 10:36:28 GMT
653
- - request:
654
- method: put
655
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/my-cool-email-trigger-1457946538491-6727ca1e-5300-4fdb-a5aa-7354932f0041?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
656
- body:
657
- encoding: UTF-8
658
- string: '{}'
659
- headers:
660
- Accept:
661
- - application/json
662
- Accept-Encoding:
663
- - gzip, deflate
664
- Content-Type:
665
- - application/json
666
- Content-Length:
667
- - '2'
668
- User-Agent:
669
- - Ruby
670
- response:
671
- status:
672
- code: 200
673
- message: OK
674
- headers:
675
- Expires:
676
- - '0'
677
- Cache-Control:
678
- - no-cache, no-store, must-revalidate
679
- X-Powered-By:
680
- - Undertow/1
681
- Server:
682
- - WildFly/10
683
- Pragma:
684
- - no-cache
685
- Date:
686
- - Mon, 14 Mar 2016 10:36:28 GMT
687
- Connection:
688
- - keep-alive
689
- Content-Type:
690
- - application/json
691
- Content-Length:
692
- - '0'
693
- body:
694
- encoding: UTF-8
695
- string: ''
696
- http_version:
697
- recorded_at: Mon, 14 Mar 2016 10:36:28 GMT
698
- - request:
699
- method: put
700
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/my-cool-email-trigger-1457946448368-735269f4-5951-498c-b177-9e1e5a3d3f45?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
701
- body:
702
- encoding: UTF-8
703
- string: '{}'
704
- headers:
705
- Accept:
706
- - application/json
707
- Accept-Encoding:
708
- - gzip, deflate
709
- Content-Type:
710
- - application/json
711
- Content-Length:
712
- - '2'
713
- User-Agent:
714
- - Ruby
715
- response:
716
- status:
717
- code: 200
718
- message: OK
719
- headers:
720
- Expires:
721
- - '0'
722
- Cache-Control:
723
- - no-cache, no-store, must-revalidate
724
- X-Powered-By:
725
- - Undertow/1
726
- Server:
727
- - WildFly/10
728
- Pragma:
729
- - no-cache
730
- Date:
731
- - Mon, 14 Mar 2016 10:36:28 GMT
732
- Connection:
733
- - keep-alive
734
- Content-Type:
735
- - application/json
736
- Content-Length:
737
- - '0'
738
- body:
739
- encoding: UTF-8
740
- string: ''
741
- http_version:
742
- recorded_at: Mon, 14 Mar 2016 10:36:28 GMT
743
- - request:
744
- method: put
745
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/my-cool-email-trigger-1457946166058-29e65498-3860-420f-ab41-aad11344e6b5?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
746
- body:
747
- encoding: UTF-8
748
- string: '{}'
749
- headers:
750
- Accept:
751
- - application/json
752
- Accept-Encoding:
753
- - gzip, deflate
754
- Content-Type:
755
- - application/json
756
- Content-Length:
757
- - '2'
758
- User-Agent:
759
- - Ruby
760
- response:
761
- status:
762
- code: 200
763
- message: OK
764
- headers:
765
- Expires:
766
- - '0'
767
- Cache-Control:
768
- - no-cache, no-store, must-revalidate
769
- X-Powered-By:
770
- - Undertow/1
771
- Server:
772
- - WildFly/10
773
- Pragma:
774
- - no-cache
775
- Date:
776
- - Mon, 14 Mar 2016 10:36:28 GMT
777
- Connection:
778
- - keep-alive
779
- Content-Type:
780
- - application/json
781
- Content-Length:
782
- - '0'
783
- body:
784
- encoding: UTF-8
785
- string: ''
786
- http_version:
787
- recorded_at: Mon, 14 Mar 2016 10:36:28 GMT
788
- - request:
789
- method: put
790
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/my-cool-email-trigger-1457945693605-4892981b-d229-4d4a-90a0-a185c091109d?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
791
- body:
792
- encoding: UTF-8
793
- string: '{}'
794
- headers:
795
- Accept:
796
- - application/json
797
- Accept-Encoding:
798
- - gzip, deflate
799
- Content-Type:
800
- - application/json
801
- Content-Length:
802
- - '2'
803
- User-Agent:
804
- - Ruby
805
- response:
806
- status:
807
- code: 200
808
- message: OK
809
- headers:
810
- Expires:
811
- - '0'
812
- Cache-Control:
813
- - no-cache, no-store, must-revalidate
814
- X-Powered-By:
815
- - Undertow/1
816
- Server:
817
- - WildFly/10
818
- Pragma:
819
- - no-cache
820
- Date:
821
- - Mon, 14 Mar 2016 10:36:28 GMT
822
- Connection:
823
- - keep-alive
824
- Content-Type:
825
- - application/json
826
- Content-Length:
827
- - '0'
828
- body:
829
- encoding: UTF-8
830
- string: ''
831
- http_version:
832
- recorded_at: Mon, 14 Mar 2016 10:36:28 GMT
833
- - request:
834
- method: put
835
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/my-cool-email-trigger-1457945122523-717c264e-4d4e-4af7-afc1-316500bcc85d?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
836
- body:
837
- encoding: UTF-8
838
- string: '{}'
839
- headers:
840
- Accept:
841
- - application/json
842
- Accept-Encoding:
843
- - gzip, deflate
844
- Content-Type:
845
- - application/json
846
- Content-Length:
847
- - '2'
848
- User-Agent:
849
- - Ruby
850
- response:
851
- status:
852
- code: 200
853
- message: OK
854
- headers:
855
- Expires:
856
- - '0'
857
- Cache-Control:
858
- - no-cache, no-store, must-revalidate
859
- X-Powered-By:
860
- - Undertow/1
861
- Server:
862
- - WildFly/10
863
- Pragma:
864
- - no-cache
865
- Date:
866
- - Mon, 14 Mar 2016 10:36:28 GMT
867
- Connection:
868
- - keep-alive
869
- Content-Type:
870
- - application/json
871
- Content-Length:
872
- - '0'
873
- body:
874
- encoding: UTF-8
875
- string: ''
876
- http_version:
877
- recorded_at: Mon, 14 Mar 2016 10:36:28 GMT
878
- - request:
879
- method: put
880
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/my-cool-email-trigger-1457708210314-d98acdbf-4f03-4716-9638-0c7ac7ce810a?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
881
- body:
882
- encoding: UTF-8
883
- string: '{}'
884
- headers:
885
- Accept:
886
- - application/json
887
- Accept-Encoding:
888
- - gzip, deflate
889
- Content-Type:
890
- - application/json
891
- Content-Length:
892
- - '2'
893
- User-Agent:
894
- - Ruby
895
- response:
896
- status:
897
- code: 200
898
- message: OK
899
- headers:
900
- Expires:
901
- - '0'
902
- Cache-Control:
903
- - no-cache, no-store, must-revalidate
904
- X-Powered-By:
905
- - Undertow/1
906
- Server:
907
- - WildFly/10
908
- Pragma:
909
- - no-cache
910
- Date:
911
- - Mon, 14 Mar 2016 10:36:28 GMT
912
- Connection:
913
- - keep-alive
914
- Content-Type:
915
- - application/json
916
- Content-Length:
917
- - '0'
918
- body:
919
- encoding: UTF-8
920
- string: ''
921
- http_version:
922
- recorded_at: Mon, 14 Mar 2016 10:36:28 GMT
923
- - request:
924
- method: put
925
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/my-cool-email-trigger-1457707945884-d97265e3-726b-4672-9eb1-58af8fae81c4?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
926
- body:
927
- encoding: UTF-8
928
- string: '{}'
929
- headers:
930
- Accept:
931
- - application/json
932
- Accept-Encoding:
933
- - gzip, deflate
934
- Content-Type:
935
- - application/json
936
- Content-Length:
937
- - '2'
938
- User-Agent:
939
- - Ruby
940
- response:
941
- status:
942
- code: 200
943
- message: OK
944
- headers:
945
- Expires:
946
- - '0'
947
- Cache-Control:
948
- - no-cache, no-store, must-revalidate
949
- X-Powered-By:
950
- - Undertow/1
951
- Server:
952
- - WildFly/10
953
- Pragma:
954
- - no-cache
955
- Date:
956
- - Mon, 14 Mar 2016 10:36:28 GMT
957
- Connection:
958
- - keep-alive
959
- Content-Type:
960
- - application/json
961
- Content-Length:
962
- - '0'
963
- body:
964
- encoding: UTF-8
965
- string: ''
966
- http_version:
967
- recorded_at: Mon, 14 Mar 2016 10:36:28 GMT
968
- - request:
969
- method: put
970
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/my-cool-email-trigger-1457707811685-811b43c3-d155-42a4-9278-052c0f94e32b?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
971
- body:
972
- encoding: UTF-8
973
- string: '{}'
974
- headers:
975
- Accept:
976
- - application/json
977
- Accept-Encoding:
978
- - gzip, deflate
979
- Content-Type:
980
- - application/json
981
- Content-Length:
982
- - '2'
983
- User-Agent:
984
- - Ruby
985
- response:
986
- status:
987
- code: 200
988
- message: OK
989
- headers:
990
- Expires:
991
- - '0'
992
- Cache-Control:
993
- - no-cache, no-store, must-revalidate
994
- X-Powered-By:
995
- - Undertow/1
996
- Server:
997
- - WildFly/10
998
- Pragma:
999
- - no-cache
1000
- Date:
1001
- - Mon, 14 Mar 2016 10:36:29 GMT
1002
- Connection:
1003
- - keep-alive
1004
- Content-Type:
1005
- - application/json
1006
- Content-Length:
1007
- - '0'
1008
- body:
1009
- encoding: UTF-8
1010
- string: ''
1011
- http_version:
1012
- recorded_at: Mon, 14 Mar 2016 10:36:29 GMT
1013
- - request:
1014
- method: put
1015
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/resolve/my-cool-email-trigger-1457707709532-d99ada94-f566-4e9c-a57b-5f59f4cfd83a?resolvedBy=Heiko&resolvedNotes=Hello%20Ruby%20World%20:-)
1016
- body:
1017
- encoding: UTF-8
1018
- string: '{}'
1019
- headers:
1020
- Accept:
1021
- - application/json
1022
- Accept-Encoding:
1023
- - gzip, deflate
1024
- Content-Type:
1025
- - application/json
1026
- Content-Length:
1027
- - '2'
1028
- User-Agent:
1029
- - Ruby
1030
- response:
1031
- status:
1032
- code: 200
1033
- message: OK
1034
- headers:
1035
- Expires:
1036
- - '0'
1037
- Cache-Control:
1038
- - no-cache, no-store, must-revalidate
1039
- X-Powered-By:
1040
- - Undertow/1
1041
- Server:
1042
- - WildFly/10
1043
- Pragma:
1044
- - no-cache
1045
- Date:
1046
- - Mon, 14 Mar 2016 10:36:29 GMT
1047
- Connection:
1048
- - keep-alive
1049
- Content-Type:
1050
- - application/json
1051
- Content-Length:
1052
- - '0'
1053
- body:
1054
- encoding: UTF-8
1055
- string: ''
1056
- http_version:
1057
- recorded_at: Mon, 14 Mar 2016 10:36:29 GMT
1058
- - request:
1059
- method: delete
1060
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/my-cool-email-trigger
1061
- body:
1062
- encoding: US-ASCII
1063
- string: ''
1064
- headers:
1065
- Accept:
1066
- - application/json
1067
- Accept-Encoding:
1068
- - gzip, deflate
1069
- Content-Type:
1070
- - application/json
1071
- User-Agent:
1072
- - Ruby
1073
- response:
1074
- status:
1075
- code: 200
1076
- message: OK
1077
- headers:
1078
- Expires:
1079
- - '0'
1080
- Cache-Control:
1081
- - no-cache, no-store, must-revalidate
1082
- X-Powered-By:
1083
- - Undertow/1
1084
- Server:
1085
- - WildFly/10
1086
- Pragma:
1087
- - no-cache
1088
- Date:
1089
- - Mon, 14 Mar 2016 10:36:29 GMT
1090
- Connection:
1091
- - keep-alive
1092
- Content-Type:
1093
- - application/json
1094
- Content-Length:
1095
- - '0'
1096
- body:
1097
- encoding: UTF-8
1098
- string: ''
1099
- http_version:
1100
- recorded_at: Mon, 14 Mar 2016 10:36:29 GMT
1101
- - request:
1102
- method: delete
1103
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/actions/webhook/send-via-webhook
1104
- body:
1105
- encoding: US-ASCII
1106
- string: ''
1107
- headers:
1108
- Accept:
1109
- - application/json
1110
- Accept-Encoding:
1111
- - gzip, deflate
1112
- Content-Type:
1113
- - application/json
1114
- User-Agent:
1115
- - Ruby
1116
- response:
1117
- status:
1118
- code: 200
1119
- message: OK
1120
- headers:
1121
- Expires:
1122
- - '0'
1123
- Cache-Control:
1124
- - no-cache, no-store, must-revalidate
1125
- X-Powered-By:
1126
- - Undertow/1
1127
- Server:
1128
- - WildFly/10
1129
- Pragma:
1130
- - no-cache
1131
- Date:
1132
- - Mon, 14 Mar 2016 10:36:29 GMT
1133
- Connection:
1134
- - keep-alive
1135
- Content-Type:
1136
- - application/json
1137
- Content-Length:
1138
- - '0'
1139
- body:
1140
- encoding: UTF-8
1141
- string: ''
1142
- http_version:
1143
- recorded_at: Mon, 14 Mar 2016 10:36:29 GMT
1144
- - request:
1145
- method: delete
1146
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/actions/email/send-via-email
1147
- body:
1148
- encoding: US-ASCII
1149
- string: ''
1150
- headers:
1151
- Accept:
1152
- - application/json
1153
- Accept-Encoding:
1154
- - gzip, deflate
1155
- Content-Type:
1156
- - application/json
1157
- User-Agent:
1158
- - Ruby
1159
- response:
1160
- status:
1161
- code: 200
1162
- message: OK
1163
- headers:
1164
- Expires:
1165
- - '0'
1166
- Cache-Control:
1167
- - no-cache, no-store, must-revalidate
1168
- X-Powered-By:
1169
- - Undertow/1
1170
- Server:
1171
- - WildFly/10
1172
- Pragma:
1173
- - no-cache
1174
- Date:
1175
- - Mon, 14 Mar 2016 10:36:29 GMT
1176
- Connection:
1177
- - keep-alive
1178
- Content-Type:
1179
- - application/json
1180
- Content-Length:
1181
- - '0'
1182
- body:
1183
- encoding: UTF-8
1184
- string: ''
1185
- http_version:
1186
- recorded_at: Mon, 14 Mar 2016 10:36:29 GMT
1187
- recorded_with: VCR 3.0.0