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,50 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/events
6
- body:
7
- encoding: UTF-8
8
- string: '{"id":"<%= id %>","ctime":1462300161000,"category":"MyCategory","text":"Li
9
- la lu","context":{"message":"This is a test"},"tags":{"tag_name":"tag-value"}}'
10
- headers:
11
- Accept:
12
- - application/json
13
- Accept-Encoding:
14
- - gzip, deflate
15
- Content-Type:
16
- - application/json
17
- Content-Length:
18
- - '165'
19
- User-Agent:
20
- - Ruby
21
- response:
22
- status:
23
- code: 200
24
- message: OK
25
- headers:
26
- Expires:
27
- - '0'
28
- Cache-Control:
29
- - no-cache, no-store, must-revalidate
30
- X-Powered-By:
31
- - Undertow/1
32
- Server:
33
- - WildFly/10
34
- Pragma:
35
- - no-cache
36
- Date:
37
- - Tue, 03 May 2016 18:29:21 GMT
38
- Connection:
39
- - keep-alive
40
- Content-Type:
41
- - application/json
42
- Content-Length:
43
- - '257'
44
- body:
45
- encoding: ASCII-8BIT
46
- string: '{"eventType":"EVENT","tenantId":"c48db2a6-f820-4e95-a3af-463ef4c10333","id":"<%= id %>","ctime":1462300161000,"dataSource":"_none_","category":"MyCategory","text":"Li
47
- la lu","context":{"message":"This is a test"},"tags":{"tag_name":"tag-value"}}'
48
- http_version:
49
- recorded_at: Tue, 03 May 2016 18:29:21 GMT
50
- recorded_with: VCR 3.0.1
@@ -1,101 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/events?thin=true
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
- Content-Encoding:
24
- - gzip
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/10
33
- Pragma:
34
- - no-cache
35
- Date:
36
- - Thu, 03 Mar 2016 20:57:01 GMT
37
- X-Total-Count:
38
- - '12'
39
- Connection:
40
- - keep-alive
41
- Content-Type:
42
- - application/json
43
- Content-Length:
44
- - '2138'
45
- Link:
46
- - <http://localhost:8080/hawkular/alerts/events?thin=true>; rel="current", <http://localhost:8080/hawkular/alerts/events?thin=true&page=0>;
47
- rel="last"
48
- body:
49
- encoding: ASCII-8BIT
50
- string: !binary |-
51
- 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
- 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
- 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
- 7jfutOs8jrthEBfdpHvD266LHOIRD3gWtADRKQOU6AZwXINxVUVU1+HRRehS
55
- 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
- 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
- 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
- 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
- GKadWIY/Nk23ZIvw7iYzy1leAqpikiDblbmNzuaRQOOxG3X7iRjdCBNJlqGK
60
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 2vUH0bZXd4KjDKxr2LSAjriHuIWAihgGhEADUNPlwNRNV+dIpabJF/ltZLuW
69
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- +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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- +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
- 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
- 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
- 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
98
- 9gJAGwG//FzAf17gtP4PsfDxTbVfAAA=
99
- http_version:
100
- recorded_at: Thu, 03 Mar 2016 20:57:01 GMT
101
- recorded_with: VCR 3.0.1
@@ -1,79 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/events?endTime=1457025122000&startTime=1457017922000
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
- Content-Encoding:
24
- - gzip
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/10
33
- Pragma:
34
- - no-cache
35
- Date:
36
- - Thu, 03 Mar 2016 17:12:02 GMT
37
- X-Total-Count:
38
- - '1'
39
- Connection:
40
- - keep-alive
41
- Content-Type:
42
- - application/json
43
- Content-Length:
44
- - '1096'
45
- Link:
46
- - <http://localhost:8080/hawkular/alerts/events?startTime=1457017922000&endTime=1457025122000>;
47
- rel="current", <http://localhost:8080/hawkular/alerts/events?startTime=1457017922000&endTime=1457025122000&page=0>;
48
- rel="last"
49
- body:
50
- encoding: ASCII-8BIT
51
- string: !binary |-
52
- H4sIAAAAAAAAAO2ZX0/jOBDAv0rVZ1Kc2LGd5al0u2xPlEVtb++hqpCbuBBd
53
- mlSOg5ZD7We/cf4dYVMEHLe6hyBByYzHnhn/xh7C8rEv72WsFw872f/UH16O
54
- Z4v+SV/LWMR6EoDI4ciha0wtvpHEIhg7Fic+t1yHSJthQfl6AxahGfvb9+nN
55
- xejG9+012ZCNtfGQZxEqAksQyqy1zwKJsS0oRaeXiS8iyyYuQ7bnUs48bjki
56
- cGkQICvwSGARRMGQ+cTy1oEnCQ+48Newlq/DLXjbsD3pB0KLeZIp3wRyEyex
57
- vOkX0sm7fDMLCS1vE/XQyMwPbR59P9tmEeiD3sWo9zlTQodJ3LuWypqGcaZl
58
- b5Oo3jKfaWWmSuLC9LEvIqmqhF8MZ+dDUCuZ5q5fCRNZ/01eVrbXQt+B7ak+
59
- e82enW7OXrWKOsvXORyerFTRstv15lLdS2USo8LbW6lK1eIOxt4lUdDfg0rc
60
- pibwyjzfjzeEuK9nN7P8KjbBMC52A0x7RzbcECZTX4W7/OkdYOgiYdPx9Hw8
61
- g+e2csxloxrGOIuiamDOVCFIQaJCbWj9Orn42kH3b6ETmU4+h6lYRzC7Vpks
62
- ROP4uWQGa0T3INqIKG3KhibvacvgqdD+Xb7Hl/UxNRU74/IfYRR8iR56U7mF
63
- /YYPCNNPD8cQBHgmh9lh+frgDofVYbo4vHEdyMhWbtdSfdvU9WTgzNMRVCFu
64
- QhXGt83o0mfH8t4EvN3JGEa+r6TLjX/3yV7aT5PAuPVlMptcXfxTjPPFbDJa
65
- 3Cwm03FefSJaQGxzqXXuMCpliRbRT0K4mmoZRubrSbCvDtF6+1VaBrEv/AAf
66
- gLrl8rH2KtXgRX1rOhSmsQvwWrUIozofs+FiXBwnQVgg9//bs+c+QgLm4V+m
67
- TWgKJ3EgfzSl//2uWLZlN8/jLA5NH7FNf7pBnpVc3cD8miKHBUMl/dKXydVo
68
- Nh7Oi0Tv4HZJCk+ufs+TnYBI6EQZr/PmqD6APzkIDRC4D/Blea/m5BKYRcn7
69
- MMnS76UCe5zlikZTVwFYjV40lAiUFG4G8B5WwhgNzI/qm+xXJ0e5h33FHjnG
70
- PXYIcnHHfcf9R3HvcuyyNu7rgmhwXwHYzn1ZFAX3NrVdNOCIcxdiJx6lL3LP
71
- 4c8k5yj33EVud9533H8Y99RxHbeN+7ogmtyXALZyXxVFwT1BnjfgDDNKHI4J
72
- 917CnhCGODqGPSHU9jrsO+w/DnuK2tucuh4a2FcAtmNf1kSBPSY2tDmIIk6w
73
- Z5p3/BL3ro0cRo9x7yKOHbvjvuP+w7j3EOGt3FcF0XxnWwLYyn1VFGV77xE8
74
- IC63GUOMEeq+zD10OZwd5Z4CBbzjvuP+o7hniPJ27quCeP6/ihzAVu6roqja
75
- e2NPmEeZy4jn2c5+tXr6krd86auFzlLw9Nv1+Ap8Ff6fxaQo//28HqiK145B
76
- ra0E1ZD96m+PwUj3DRoAAA==
77
- http_version:
78
- recorded_at: Thu, 03 Mar 2016 17:12:02 GMT
79
- recorded_with: VCR 3.0.1
@@ -1,62 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers
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
- - Mon, 09 Nov 2015 07:06:04 GMT
35
- X-Total-Count:
36
- - '3'
37
- Connection:
38
- - keep-alive
39
- Content-Type:
40
- - application/json
41
- Content-Length:
42
- - '2036'
43
- Link:
44
- - <http://localhost:8080/hawkular/alerts/triggers>; rel="current", <http://localhost:8080/hawkular/alerts/triggers?page=0>;
45
- rel="last"
46
- body:
47
- encoding: UTF-8
48
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"snert~Local_jvm_nheap","name":"JVM
49
- Non Heap Used","context":{"description":"JVM Non Heap Used for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
50
- Server","triggerType":"RangeByPercent","triggerTypeProperty1":"MI~R~[snert~Local~~]~MT~WildFly
51
- Memory Metrics~Heap Max"},"actions":{"email":["jdoe@acme.com"]},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","description":"JVM
52
- Non Heap Used for snert~Local","enabled":true,"firingMatch":"ALL","orphan":false,"group":false,"severity":"HIGH"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"snert~Local_jvm_pheap","name":"JVM
53
- Heap Used","context":{"description":"JVM Heap Used for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
54
- Server","triggerType":"RangeByPercent","triggerTypeProperty1":"MI~R~[snert~Local~~]~MT~WildFly
55
- Memory Metrics~Heap Max"},"actions":{"email":["jdoe@acme.com"]},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","description":"JVM
56
- Heap Used for snert~Local","enabled":true,"firingMatch":"ALL","orphan":false,"group":false,"severity":"MEDIUM"},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"snert~Local_jvm_garba","name":"Accumulated
57
- 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
58
- Server","triggerType":"Threshold"},"actions":{"email":["jdoe@acme.com"]},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","description":"Accumulated
59
- GC Duration for snert~Local","enabled":false,"firingMatch":"ALL","orphan":false,"group":false,"severity":"HIGH"}]'
60
- http_version:
61
- recorded_at: Mon, 09 Nov 2015 07:06:04 GMT
62
- recorded_with: VCR 3.0.0
@@ -1,55 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers?triggerIds=75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap
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
- - Thu, 26 Nov 2015 10:31:56 GMT
35
- X-Total-Count:
36
- - '1'
37
- Connection:
38
- - keep-alive
39
- Content-Type:
40
- - application/json
41
- Content-Length:
42
- - '907'
43
- Link:
44
- - <http://localhost:8080/hawkular/alerts/triggers?triggerIds=75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap>;
45
- rel="current", <http://localhost:8080/hawkular/alerts/triggers?triggerIds=75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap&page=0>;
46
- rel="last"
47
- body:
48
- encoding: UTF-8
49
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","name":"JVM
50
- Heap Used","description":"JVM Heap Used for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"MEDIUM","context":{"alertType":"PHEAP","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;snert/r;snert~Local~~","resourceType":"App
51
- Server","triggerType":"RangeByPercent","triggerTypeProperty1":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
52
- Memory Metrics~Heap Max","triggerTypeProperty2":"Heap Max"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ANY","orphan":false,"group":false}]'
53
- http_version:
54
- recorded_at: Thu, 26 Nov 2015 10:31:56 GMT
55
- recorded_with: VCR 3.0.0
@@ -1,68 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers?tags=resourceId%7C75bfdd05-d03d-481e-bf32-c724c7719d8b~Local
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
- - Thu, 26 Nov 2015 11:13:28 GMT
35
- X-Total-Count:
36
- - '7'
37
- Connection:
38
- - keep-alive
39
- Content-Type:
40
- - application/json
41
- Content-Length:
42
- - '6062'
43
- Link:
44
- - <http://localhost:8080/hawkular/alerts/triggers?tags=resourceId%7C75bfdd05-d03d-481e-bf32-c724c7719d8b~Local>;
45
- rel="current", <http://localhost:8080/hawkular/alerts/triggers?tags=resourceId%7C75bfdd05-d03d-481e-bf32-c724c7719d8b~Local&page=0>;
46
- rel="last"
47
- body:
48
- encoding: UTF-8
49
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_web_rejected_sessions","name":"Web
50
- Sessions Rejected","description":"Rejected Web Sessions for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"LOW","context":{"alertType":"REJECTED_SESSIONS","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;75bfdd05-d03d-481e-bf32-c724c7719d8b/r;75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~","resourceType":"App
51
- Server","triggerType":"Threshold"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","orphan":false,"group":false},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_web_expired_sessions","name":"Web
52
- Sessions Expired","description":"Expired Web Sessions for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"LOW","context":{"alertType":"EXPIRED_SESSIONS","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;75bfdd05-d03d-481e-bf32-c724c7719d8b/r;75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~","resourceType":"App
53
- Server","triggerType":"Threshold"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","orphan":false,"group":false},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_web_active_sessions","name":"Web
54
- Sessions Active","description":"Active Web Sessions for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"MEDIUM","context":{"alertType":"ACTIVE_SESSIONS","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;75bfdd05-d03d-481e-bf32-c724c7719d8b/r;75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~","resourceType":"App
55
- Server","triggerType":"Range"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","orphan":false,"group":false},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_nheap","name":"JVM
56
- Non Heap Used","description":"JVM Non Heap Used for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alertType":"NHEAP","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;75bfdd05-d03d-481e-bf32-c724c7719d8b/r;75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~","resourceType":"App
57
- Server","triggerType":"RangeByPercent","triggerTypeProperty1":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
58
- Memory Metrics~Heap Max","triggerTypeProperty2":"Heap Max"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ANY","orphan":false,"group":false},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","name":"JVM
59
- Heap Used","description":"JVM Heap Used for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"MEDIUM","context":{"alertType":"PHEAP","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;snert/r;snert~Local~~","resourceType":"App
60
- Server","triggerType":"RangeByPercent","triggerTypeProperty1":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
61
- Memory Metrics~Heap Max","triggerTypeProperty2":"Heap Max"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ANY","orphan":false,"group":false},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_garba","name":"JVM
62
- Accumulated GC Duration","description":"Accumulated GC Duration for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alertType":"GARBA","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;snert/r;snert~Local~~","resourceType":"App
63
- Server","triggerType":"Threshold"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","orphan":false,"group":false},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_failed_deployment","name":"Deployment
64
- Failure","description":"Deployment failure for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"MEDIUM","context":{"alertType":"DEPLOYMENT_FAIL","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;75bfdd05-d03d-481e-bf32-c724c7719d8b/r;75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~","resourceType":"App
65
- Server Deployment","triggerType":"Event"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","orphan":false,"group":false}]'
66
- http_version:
67
- recorded_at: Thu, 26 Nov 2015 11:13:28 GMT
68
- recorded_with: VCR 3.0.0
@@ -1,68 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers?tags=resourceId%7C75bfdd05-d03d-481e-bf32-c724c7719d8b~Local,app%7CMyShop
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
- - Thu, 26 Nov 2015 11:35:52 GMT
35
- X-Total-Count:
36
- - '7'
37
- Connection:
38
- - keep-alive
39
- Content-Type:
40
- - application/json
41
- Content-Length:
42
- - '6062'
43
- Link:
44
- - <http://localhost:8080/hawkular/alerts/triggers?tags=resourceId%7C75bfdd05-d03d-481e-bf32-c724c7719d8b~Local,app%7CMyShop>;
45
- rel="current", <http://localhost:8080/hawkular/alerts/triggers?tags=resourceId%7C75bfdd05-d03d-481e-bf32-c724c7719d8b~Local,app%7CMyShop&page=0>;
46
- rel="last"
47
- body:
48
- encoding: UTF-8
49
- string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_web_rejected_sessions","name":"Web
50
- Sessions Rejected","description":"Rejected Web Sessions for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"LOW","context":{"alertType":"REJECTED_SESSIONS","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;75bfdd05-d03d-481e-bf32-c724c7719d8b/r;75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~","resourceType":"App
51
- Server","triggerType":"Threshold"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","orphan":false,"group":false},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_web_expired_sessions","name":"Web
52
- Sessions Expired","description":"Expired Web Sessions for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"LOW","context":{"alertType":"EXPIRED_SESSIONS","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;75bfdd05-d03d-481e-bf32-c724c7719d8b/r;75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~","resourceType":"App
53
- Server","triggerType":"Threshold"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","orphan":false,"group":false},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_web_active_sessions","name":"Web
54
- Sessions Active","description":"Active Web Sessions for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"MEDIUM","context":{"alertType":"ACTIVE_SESSIONS","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;75bfdd05-d03d-481e-bf32-c724c7719d8b/r;75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~","resourceType":"App
55
- Server","triggerType":"Range"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","orphan":false,"group":false},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_nheap","name":"JVM
56
- Non Heap Used","description":"JVM Non Heap Used for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alertType":"NHEAP","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;75bfdd05-d03d-481e-bf32-c724c7719d8b/r;75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~","resourceType":"App
57
- Server","triggerType":"RangeByPercent","triggerTypeProperty1":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
58
- Memory Metrics~Heap Max","triggerTypeProperty2":"Heap Max"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ANY","orphan":false,"group":false},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","name":"JVM
59
- Heap Used","description":"JVM Heap Used for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"MEDIUM","context":{"alertType":"PHEAP","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;snert/r;snert~Local~~","resourceType":"App
60
- Server","triggerType":"RangeByPercent","triggerTypeProperty1":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
61
- Memory Metrics~Heap Max","triggerTypeProperty2":"Heap Max"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ANY","orphan":false,"group":false},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_garba","name":"JVM
62
- Accumulated GC Duration","description":"Accumulated GC Duration for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alertType":"GARBA","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;snert/r;snert~Local~~","resourceType":"App
63
- Server","triggerType":"Threshold"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","orphan":false,"group":false},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_failed_deployment","name":"Deployment
64
- Failure","description":"Deployment failure for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"MEDIUM","context":{"alertType":"DEPLOYMENT_FAIL","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;75bfdd05-d03d-481e-bf32-c724c7719d8b/r;75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~","resourceType":"App
65
- Server Deployment","triggerType":"Event"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","orphan":false,"group":false}]'
66
- http_version:
67
- recorded_at: Thu, 26 Nov 2015 11:35:52 GMT
68
- recorded_with: VCR 3.0.0