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
@@ -0,0 +1,567 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/events/my-event-01
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
16
+ Hawkular-Tenant:
17
+ - hawkular
18
+ Content-Type:
19
+ - application/json
20
+ Host:
21
+ - localhost:8080
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Expires:
28
+ - '0'
29
+ Cache-Control:
30
+ - no-cache, no-store, must-revalidate
31
+ X-Powered-By:
32
+ - Undertow/1
33
+ Server:
34
+ - WildFly/10
35
+ Pragma:
36
+ - no-cache
37
+ Date:
38
+ - Tue, 27 Sep 2016 18:17:18 GMT
39
+ Connection:
40
+ - keep-alive
41
+ Content-Type:
42
+ - application/json
43
+ Content-Length:
44
+ - '0'
45
+ body:
46
+ encoding: UTF-8
47
+ string: ''
48
+ http_version:
49
+ recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
50
+ - request:
51
+ method: delete
52
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/events/my-event-02
53
+ body:
54
+ encoding: US-ASCII
55
+ string: ''
56
+ headers:
57
+ Accept:
58
+ - application/json
59
+ Accept-Encoding:
60
+ - identity
61
+ User-Agent:
62
+ - hawkular-client-ruby
63
+ Hawkular-Tenant:
64
+ - hawkular
65
+ Content-Type:
66
+ - application/json
67
+ Host:
68
+ - localhost:8080
69
+ response:
70
+ status:
71
+ code: 200
72
+ message: OK
73
+ headers:
74
+ Expires:
75
+ - '0'
76
+ Cache-Control:
77
+ - no-cache, no-store, must-revalidate
78
+ X-Powered-By:
79
+ - Undertow/1
80
+ Server:
81
+ - WildFly/10
82
+ Pragma:
83
+ - no-cache
84
+ Date:
85
+ - Tue, 27 Sep 2016 18:17:18 GMT
86
+ Connection:
87
+ - keep-alive
88
+ Content-Type:
89
+ - application/json
90
+ Content-Length:
91
+ - '0'
92
+ body:
93
+ encoding: UTF-8
94
+ string: ''
95
+ http_version:
96
+ recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
97
+ - request:
98
+ method: delete
99
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/events/my-event-03
100
+ body:
101
+ encoding: US-ASCII
102
+ string: ''
103
+ headers:
104
+ Accept:
105
+ - application/json
106
+ Accept-Encoding:
107
+ - identity
108
+ User-Agent:
109
+ - hawkular-client-ruby
110
+ Hawkular-Tenant:
111
+ - hawkular
112
+ Content-Type:
113
+ - application/json
114
+ Host:
115
+ - localhost:8080
116
+ response:
117
+ status:
118
+ code: 200
119
+ message: OK
120
+ headers:
121
+ Expires:
122
+ - '0'
123
+ Cache-Control:
124
+ - no-cache, no-store, must-revalidate
125
+ X-Powered-By:
126
+ - Undertow/1
127
+ Server:
128
+ - WildFly/10
129
+ Pragma:
130
+ - no-cache
131
+ Date:
132
+ - Tue, 27 Sep 2016 18:17:18 GMT
133
+ Connection:
134
+ - keep-alive
135
+ Content-Type:
136
+ - application/json
137
+ Content-Length:
138
+ - '0'
139
+ body:
140
+ encoding: UTF-8
141
+ string: ''
142
+ http_version:
143
+ recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
144
+ - request:
145
+ method: delete
146
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/events/my-event-04
147
+ body:
148
+ encoding: US-ASCII
149
+ string: ''
150
+ headers:
151
+ Accept:
152
+ - application/json
153
+ Accept-Encoding:
154
+ - identity
155
+ User-Agent:
156
+ - hawkular-client-ruby
157
+ Hawkular-Tenant:
158
+ - hawkular
159
+ Content-Type:
160
+ - application/json
161
+ Host:
162
+ - localhost:8080
163
+ response:
164
+ status:
165
+ code: 200
166
+ message: OK
167
+ headers:
168
+ Expires:
169
+ - '0'
170
+ Cache-Control:
171
+ - no-cache, no-store, must-revalidate
172
+ X-Powered-By:
173
+ - Undertow/1
174
+ Server:
175
+ - WildFly/10
176
+ Pragma:
177
+ - no-cache
178
+ Date:
179
+ - Tue, 27 Sep 2016 18:17:18 GMT
180
+ Connection:
181
+ - keep-alive
182
+ Content-Type:
183
+ - application/json
184
+ Content-Length:
185
+ - '0'
186
+ body:
187
+ encoding: UTF-8
188
+ string: ''
189
+ http_version:
190
+ recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
191
+ - request:
192
+ method: delete
193
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/events/my-event-05
194
+ body:
195
+ encoding: US-ASCII
196
+ string: ''
197
+ headers:
198
+ Accept:
199
+ - application/json
200
+ Accept-Encoding:
201
+ - identity
202
+ User-Agent:
203
+ - hawkular-client-ruby
204
+ Hawkular-Tenant:
205
+ - hawkular
206
+ Content-Type:
207
+ - application/json
208
+ Host:
209
+ - localhost:8080
210
+ response:
211
+ status:
212
+ code: 200
213
+ message: OK
214
+ headers:
215
+ Expires:
216
+ - '0'
217
+ Cache-Control:
218
+ - no-cache, no-store, must-revalidate
219
+ X-Powered-By:
220
+ - Undertow/1
221
+ Server:
222
+ - WildFly/10
223
+ Pragma:
224
+ - no-cache
225
+ Date:
226
+ - Tue, 27 Sep 2016 18:17:18 GMT
227
+ Connection:
228
+ - keep-alive
229
+ Content-Type:
230
+ - application/json
231
+ Content-Length:
232
+ - '0'
233
+ body:
234
+ encoding: UTF-8
235
+ string: ''
236
+ http_version:
237
+ recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
238
+ - request:
239
+ method: delete
240
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/events/my-event-06
241
+ body:
242
+ encoding: US-ASCII
243
+ string: ''
244
+ headers:
245
+ Accept:
246
+ - application/json
247
+ Accept-Encoding:
248
+ - identity
249
+ User-Agent:
250
+ - hawkular-client-ruby
251
+ Hawkular-Tenant:
252
+ - hawkular
253
+ Content-Type:
254
+ - application/json
255
+ Host:
256
+ - localhost:8080
257
+ response:
258
+ status:
259
+ code: 200
260
+ message: OK
261
+ headers:
262
+ Expires:
263
+ - '0'
264
+ Cache-Control:
265
+ - no-cache, no-store, must-revalidate
266
+ X-Powered-By:
267
+ - Undertow/1
268
+ Server:
269
+ - WildFly/10
270
+ Pragma:
271
+ - no-cache
272
+ Date:
273
+ - Tue, 27 Sep 2016 18:17:18 GMT
274
+ Connection:
275
+ - keep-alive
276
+ Content-Type:
277
+ - application/json
278
+ Content-Length:
279
+ - '0'
280
+ body:
281
+ encoding: UTF-8
282
+ string: ''
283
+ http_version:
284
+ recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
285
+ - request:
286
+ method: delete
287
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/events/my-event-07
288
+ body:
289
+ encoding: US-ASCII
290
+ string: ''
291
+ headers:
292
+ Accept:
293
+ - application/json
294
+ Accept-Encoding:
295
+ - identity
296
+ User-Agent:
297
+ - hawkular-client-ruby
298
+ Hawkular-Tenant:
299
+ - hawkular
300
+ Content-Type:
301
+ - application/json
302
+ Host:
303
+ - localhost:8080
304
+ response:
305
+ status:
306
+ code: 200
307
+ message: OK
308
+ headers:
309
+ Expires:
310
+ - '0'
311
+ Cache-Control:
312
+ - no-cache, no-store, must-revalidate
313
+ X-Powered-By:
314
+ - Undertow/1
315
+ Server:
316
+ - WildFly/10
317
+ Pragma:
318
+ - no-cache
319
+ Date:
320
+ - Tue, 27 Sep 2016 18:17:18 GMT
321
+ Connection:
322
+ - keep-alive
323
+ Content-Type:
324
+ - application/json
325
+ Content-Length:
326
+ - '0'
327
+ body:
328
+ encoding: UTF-8
329
+ string: ''
330
+ http_version:
331
+ recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
332
+ - request:
333
+ method: delete
334
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/events/my-event-08
335
+ body:
336
+ encoding: US-ASCII
337
+ string: ''
338
+ headers:
339
+ Accept:
340
+ - application/json
341
+ Accept-Encoding:
342
+ - identity
343
+ User-Agent:
344
+ - hawkular-client-ruby
345
+ Hawkular-Tenant:
346
+ - hawkular
347
+ Content-Type:
348
+ - application/json
349
+ Host:
350
+ - localhost:8080
351
+ response:
352
+ status:
353
+ code: 200
354
+ message: OK
355
+ headers:
356
+ Expires:
357
+ - '0'
358
+ Cache-Control:
359
+ - no-cache, no-store, must-revalidate
360
+ X-Powered-By:
361
+ - Undertow/1
362
+ Server:
363
+ - WildFly/10
364
+ Pragma:
365
+ - no-cache
366
+ Date:
367
+ - Tue, 27 Sep 2016 18:17:18 GMT
368
+ Connection:
369
+ - keep-alive
370
+ Content-Type:
371
+ - application/json
372
+ Content-Length:
373
+ - '0'
374
+ body:
375
+ encoding: UTF-8
376
+ string: ''
377
+ http_version:
378
+ recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
379
+ - request:
380
+ method: delete
381
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/events/my-event-09
382
+ body:
383
+ encoding: US-ASCII
384
+ string: ''
385
+ headers:
386
+ Accept:
387
+ - application/json
388
+ Accept-Encoding:
389
+ - identity
390
+ User-Agent:
391
+ - hawkular-client-ruby
392
+ Hawkular-Tenant:
393
+ - hawkular
394
+ Content-Type:
395
+ - application/json
396
+ Host:
397
+ - localhost:8080
398
+ response:
399
+ status:
400
+ code: 200
401
+ message: OK
402
+ headers:
403
+ Expires:
404
+ - '0'
405
+ Cache-Control:
406
+ - no-cache, no-store, must-revalidate
407
+ X-Powered-By:
408
+ - Undertow/1
409
+ Server:
410
+ - WildFly/10
411
+ Pragma:
412
+ - no-cache
413
+ Date:
414
+ - Tue, 27 Sep 2016 18:17:18 GMT
415
+ Connection:
416
+ - keep-alive
417
+ Content-Type:
418
+ - application/json
419
+ Content-Length:
420
+ - '0'
421
+ body:
422
+ encoding: UTF-8
423
+ string: ''
424
+ http_version:
425
+ recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
426
+ - request:
427
+ method: delete
428
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/events/my-event-10
429
+ body:
430
+ encoding: US-ASCII
431
+ string: ''
432
+ headers:
433
+ Accept:
434
+ - application/json
435
+ Accept-Encoding:
436
+ - identity
437
+ User-Agent:
438
+ - hawkular-client-ruby
439
+ Hawkular-Tenant:
440
+ - hawkular
441
+ Content-Type:
442
+ - application/json
443
+ Host:
444
+ - localhost:8080
445
+ response:
446
+ status:
447
+ code: 200
448
+ message: OK
449
+ headers:
450
+ Expires:
451
+ - '0'
452
+ Cache-Control:
453
+ - no-cache, no-store, must-revalidate
454
+ X-Powered-By:
455
+ - Undertow/1
456
+ Server:
457
+ - WildFly/10
458
+ Pragma:
459
+ - no-cache
460
+ Date:
461
+ - Tue, 27 Sep 2016 18:17:18 GMT
462
+ Connection:
463
+ - keep-alive
464
+ Content-Type:
465
+ - application/json
466
+ Content-Length:
467
+ - '0'
468
+ body:
469
+ encoding: UTF-8
470
+ string: ''
471
+ http_version:
472
+ recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
473
+ - request:
474
+ method: delete
475
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/events/my-event-11
476
+ body:
477
+ encoding: US-ASCII
478
+ string: ''
479
+ headers:
480
+ Accept:
481
+ - application/json
482
+ Accept-Encoding:
483
+ - identity
484
+ User-Agent:
485
+ - hawkular-client-ruby
486
+ Hawkular-Tenant:
487
+ - hawkular
488
+ Content-Type:
489
+ - application/json
490
+ Host:
491
+ - localhost:8080
492
+ response:
493
+ status:
494
+ code: 200
495
+ message: OK
496
+ headers:
497
+ Expires:
498
+ - '0'
499
+ Cache-Control:
500
+ - no-cache, no-store, must-revalidate
501
+ X-Powered-By:
502
+ - Undertow/1
503
+ Server:
504
+ - WildFly/10
505
+ Pragma:
506
+ - no-cache
507
+ Date:
508
+ - Tue, 27 Sep 2016 18:17:18 GMT
509
+ Connection:
510
+ - keep-alive
511
+ Content-Type:
512
+ - application/json
513
+ Content-Length:
514
+ - '0'
515
+ body:
516
+ encoding: UTF-8
517
+ string: ''
518
+ http_version:
519
+ recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
520
+ - request:
521
+ method: delete
522
+ uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/events/my-event-12
523
+ body:
524
+ encoding: US-ASCII
525
+ string: ''
526
+ headers:
527
+ Accept:
528
+ - application/json
529
+ Accept-Encoding:
530
+ - identity
531
+ User-Agent:
532
+ - hawkular-client-ruby
533
+ Hawkular-Tenant:
534
+ - hawkular
535
+ Content-Type:
536
+ - application/json
537
+ Host:
538
+ - localhost:8080
539
+ response:
540
+ status:
541
+ code: 200
542
+ message: OK
543
+ headers:
544
+ Expires:
545
+ - '0'
546
+ Cache-Control:
547
+ - no-cache, no-store, must-revalidate
548
+ X-Powered-By:
549
+ - Undertow/1
550
+ Server:
551
+ - WildFly/10
552
+ Pragma:
553
+ - no-cache
554
+ Date:
555
+ - Tue, 27 Sep 2016 18:17:18 GMT
556
+ Connection:
557
+ - keep-alive
558
+ Content-Type:
559
+ - application/json
560
+ Content-Length:
561
+ - '0'
562
+ body:
563
+ encoding: UTF-8
564
+ string: ''
565
+ http_version:
566
+ recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
567
+ recorded_with: VCR 3.0.3