hawkular-client 2.9.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (340) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.rdoc +27 -0
  3. data/README.rdoc +14 -14
  4. data/lib/hawkular/alerts/alerts_api.rb +43 -7
  5. data/lib/hawkular/client_utils.rb +0 -3
  6. data/lib/hawkular/hawkular_client.rb +1 -1
  7. data/lib/hawkular/inventory/entities.rb +55 -19
  8. data/lib/hawkular/inventory/inventory_api.rb +313 -412
  9. data/lib/hawkular/metrics/metric_api.rb +5 -2
  10. data/lib/hawkular/operations/operations_api.rb +0 -8
  11. data/lib/hawkular/tokens/tokens_api.rb +0 -3
  12. data/lib/hawkular/version.rb +1 -1
  13. metadata +3 -647
  14. data/.coveralls.yml +0 -1
  15. data/.gitignore +0 -56
  16. data/.rubocop.yml +0 -32
  17. data/.travis.yml +0 -20
  18. data/.travis/start_hawkular_services.sh +0 -21
  19. data/.travis/wait_for_services.rb +0 -39
  20. data/.yardopts +0 -1
  21. data/Gemfile +0 -2
  22. data/Rakefile +0 -20
  23. data/api_breaking_changes.rdoc +0 -84
  24. data/docker-compose.yml +0 -17
  25. data/hawkularclient.gemspec +0 -43
  26. data/spec/README.rdoc +0 -62
  27. data/spec/integration/alert-resources/alerts-test-data.json +0 -40
  28. data/spec/integration/alert-resources/events-test-data.json +0 -78
  29. data/spec/integration/alert-resources/triggers-test-data.json +0 -66
  30. data/spec/integration/alerts_spec.rb +0 -774
  31. data/spec/integration/env_config_spec.rb +0 -39
  32. data/spec/integration/hawkular_client_spec.rb +0 -304
  33. data/spec/integration/hello-world-definitions.json +0 -45
  34. data/spec/integration/inventory_spec.rb +0 -680
  35. data/spec/integration/logger_spec.rb +0 -36
  36. data/spec/integration/metric_spec.rb +0 -953
  37. data/spec/integration/operations_spec.rb +0 -591
  38. data/spec/integration/tokens_spec.rb +0 -49
  39. data/spec/resources/driver.jar +0 -0
  40. data/spec/resources/sample.war +0 -0
  41. data/spec/spec_helper.rb +0 -336
  42. data/spec/unit/base_spec.rb +0 -256
  43. data/spec/unit/canonical_path_spec.rb +0 -102
  44. data/spec/unit/client_spec.rb +0 -55
  45. data/spec/unit/deprecations_spec.rb +0 -19
  46. data/spec/vcr/vcr_setup.rb +0 -16
  47. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_acknowledge_an_alert.yml +0 -205
  48. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_add_tags_to_existing_alert.yml +0 -210
  49. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_fetch_single_alert.yml +0 -108
  50. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts.yml +0 -59
  51. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts_for_trigger.yml +0 -58
  52. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts_for_unknown_trigger.yml +0 -50
  53. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_open_alerts.yml +0 -59
  54. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_remove_tags_from_existing_alert.yml +0 -257
  55. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_resolve_an_alert.yml +0 -207
  56. data/spec/vcr_cassettes/Alert/Alerts/Templates/setup.yml +0 -255
  57. data/spec/vcr_cassettes/Alert/Alerts/Templates/setup_cleanup.yml +0 -302
  58. data/spec/vcr_cassettes/Alert/EndToEnd/Templates/Should_create_and_fire_a_trigger.yml +0 -527
  59. data/spec/vcr_cassettes/Alert/Events/Templates/Should_create_an_event.yml +0 -101
  60. data/spec/vcr_cassettes/Alert/Events/Templates/Should_delete_an_event.yml +0 -148
  61. data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events.yml +0 -91
  62. data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events_using_criteria.yml +0 -60
  63. data/spec/vcr_cassettes/Alert/Events/Templates/Should_not_list_events_using_criteria.yml +0 -50
  64. data/spec/vcr_cassettes/Alert/Events/Templates/setup.yml +0 -615
  65. data/spec/vcr_cassettes/Alert/Events/Templates/setup_cleanup.yml +0 -567
  66. data/spec/vcr_cassettes/Alert/Groups/Templates/Should_operate_a_complex_group_trigger.yml +0 -1882
  67. data/spec/vcr_cassettes/Alert/Templates/Should_return_the_version.yml +0 -42
  68. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers.yml +0 -55
  69. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_ID.yml +0 -56
  70. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tag.yml +0 -56
  71. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tags.yml +0 -56
  72. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_bulk_load_triggers.yml +0 -243
  73. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_create_a_basic_trigger_with_action.yml +0 -386
  74. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_create_a_firing_ALL_ANY_trigger.yml +0 -483
  75. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_create_an_action.yml +0 -146
  76. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_Trigger_with_conditions.yml +0 -144
  77. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_metric_Trigger.yml +0 -50
  78. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_the_action_definitions.yml +0 -228
  79. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_not_create_an_action_for_unknown_plugin.yml +0 -50
  80. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_not_create_an_action_for_unknown_properties.yml +0 -100
  81. data/spec/vcr_cassettes/Alert/Triggers/Templates/setup.yml +0 -52
  82. data/spec/vcr_cassettes/Alert/Triggers/Templates/setup_cleanup.yml +0 -285
  83. data/spec/vcr_cassettes/HawkularClient/Should_err_on_bad_credentials.yml +0 -42
  84. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +0 -317
  85. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml +0 -103
  86. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_types_with_bad_feed.yml +0 -103
  87. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +0 -325
  88. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml +0 -117
  89. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +0 -111
  90. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_retrieve_tags_for_Availability.yml +0 -155
  91. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_return_Availability_using_Hash_parameter.yml +0 -155
  92. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_return_the_version.yml +0 -89
  93. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_work_the_same_way_when_pushing_metric_data_to_non-existing_counter.yml +0 -114
  94. data/spec/vcr_cassettes/HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml +0 -158
  95. data/spec/vcr_cassettes/HawkularClient/and_Operations_client/Should_work_initializing_with_URI.yml +0 -48
  96. data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +0 -44
  97. data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_work_initializing_with_URI.json +0 -9
  98. data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI.yml +0 -169
  99. data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI_on_metrics_client.yml +0 -42
  100. data/spec/vcr_cassettes/Inventory/NonSecure/Connection/Templates/Should_err_on_bad_credentials.yml +0 -44
  101. data/spec/vcr_cassettes/Inventory/NonSecure/Tenants/Templates/Should_Get_Tenant_For_Explicit_Credentials.yml +0 -101
  102. data/spec/vcr_cassettes/Inventory/NonSecure/Tenants/Templates/Should_Get_Tenant_For_Implicit_Credentials.yml +0 -101
  103. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Client_should_listen_on_various_inventory_events.json +0 -47
  104. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.yml +0 -207
  105. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Helpers/create_url.yml +0 -52
  106. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +0 -411
  107. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Helpers/get_feeds.yml +0 -62
  108. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +0 -133
  109. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_feed.yml +0 -59
  110. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_feed_again.yml +0 -181
  111. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +0 -664
  112. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_resource.yml +0 -360
  113. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_resource_with_metric.yml +0 -846
  114. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_resourcetype.yml +0 -169
  115. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_and_delete_feed.yml +0 -166
  116. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +0 -420
  117. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +0 -132
  118. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_have_a_consistent_behaviour_when_creating_an_already_existing_resource.yml +0 -714
  119. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_have_the_same_requested_metric_type_id.yml +0 -73
  120. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_URLs.yml +0 -90
  121. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_WildFlys.yml +0 -70
  122. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +0 -138
  123. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_all_the_resource_types.yml +0 -59
  124. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +0 -333
  125. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_children_of_nested_resource.yml +0 -180
  126. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_feeds.yml +0 -62
  127. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +0 -943
  128. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +0 -361
  129. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +0 -94
  130. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +0 -294
  131. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +0 -871
  132. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +0 -740
  133. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +0 -1117
  134. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +0 -393
  135. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_resources_for_feed.yml +0 -84
  136. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_types_with_bad_feed.yml +0 -55
  137. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_types_with_feed.yml +0 -166
  138. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_not_find_an_unknown_resource.yml +0 -59
  139. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_return_config_data_of_given_nested_resource.yml +0 -66
  140. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +0 -71
  141. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_return_data_from_get_entity.yml +0 -230
  142. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_return_the_version.yml +0 -50
  143. data/spec/vcr_cassettes/Inventory/Secure/Connection/Templates/Should_err_on_bad_credentials.yml +0 -44
  144. data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Explicit_Credentials.yml +0 -101
  145. data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Implicit_Credentials.yml +0 -101
  146. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Client_should_listen_on_various_inventory_events.json +0 -47
  147. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.yml +0 -207
  148. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/create_url.yml +0 -52
  149. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +0 -411
  150. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/get_feeds.yml +0 -62
  151. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +0 -133
  152. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed.yml +0 -59
  153. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed_again.yml +0 -181
  154. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +0 -664
  155. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resource.yml +0 -360
  156. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resource_with_metric.yml +0 -846
  157. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resourcetype.yml +0 -169
  158. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_delete_feed.yml +0 -166
  159. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +0 -420
  160. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +0 -132
  161. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_have_the_same_requested_metric_type_id.yml +0 -73
  162. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_URLs.yml +0 -90
  163. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys.yml +0 -70
  164. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +0 -138
  165. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_all_the_resource_types.yml +0 -59
  166. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +0 -333
  167. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_nested_resource.yml +0 -180
  168. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_feeds.yml +0 -62
  169. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +0 -943
  170. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +0 -361
  171. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +0 -90
  172. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +0 -294
  173. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +0 -871
  174. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +0 -740
  175. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +0 -1117
  176. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +0 -393
  177. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_resources_for_feed.yml +0 -84
  178. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_bad_feed.yml +0 -55
  179. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_feed.yml +0 -166
  180. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_not_find_an_unknown_resource.yml +0 -59
  181. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_nested_resource.yml +0 -66
  182. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +0 -71
  183. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_the_version.yml +0 -50
  184. data/spec/vcr_cassettes/Inventory/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml +0 -114
  185. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +0 -132
  186. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +0 -51
  187. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +0 -92
  188. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +0 -101
  189. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +0 -101
  190. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +0 -101
  191. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +0 -50
  192. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +0 -146
  193. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +0 -146
  194. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/setup_client.yml +0 -44
  195. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -83
  196. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -83
  197. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -120
  198. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -200
  199. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -83
  200. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -83
  201. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -200
  202. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -237
  203. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -120
  204. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -83
  205. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -83
  206. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -237
  207. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -120
  208. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_return_periods.yml +0 -81
  209. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -200
  210. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -270
  211. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -237
  212. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Simple/Should_be_Cool.yml +0 -82
  213. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Status/Should_return_the_version.yml +0 -42
  214. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -83
  215. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/All_Tags_for_metrics/Should_fetch_all_metric_tags_for_metrics_definitions.yml +0 -434
  216. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/All_Tags_for_metrics/Should_fetch_all_metrics_with_some_tags.yml +0 -1251
  217. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -99
  218. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
  219. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -138
  220. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -144
  221. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
  222. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/setup_client.yml +0 -44
  223. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
  224. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
  225. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
  226. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +0 -328
  227. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
  228. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -144
  229. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/setup_client.yml +0 -44
  230. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -99
  231. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -99
  232. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -281
  233. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -144
  234. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +0 -97
  235. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +0 -196
  236. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +0 -197
  237. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
  238. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/setup_client.yml +0 -44
  239. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_rate_stats_for_mixed_metric.yml +0 -328
  240. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +0 -363
  241. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -414
  242. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
  243. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -285
  244. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/setup_client.yml +0 -44
  245. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/No_Tenant/Should_fail.yml +0 -89
  246. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Simple/Should_be_Cool.yml +0 -48
  247. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Status/Should_return_the_version.yml +0 -85
  248. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/Should_create_string_definition_using_Hash.yml +0 -99
  249. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/Should_create_string_definition_using_MetricDefinition.yml +0 -99
  250. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/Should_push_metric_data_to_existing_string.yml +0 -281
  251. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/Should_push_metric_data_to_non-existing_string.yml +0 -144
  252. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/setup_client.yml +0 -44
  253. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tags_Metrics/setup_client.yml +0 -44
  254. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +0 -103
  255. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/setup_client.yml +0 -44
  256. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/setup_client.yml +0 -44
  257. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +0 -51
  258. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +0 -92
  259. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +0 -101
  260. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +0 -101
  261. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +0 -101
  262. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +0 -50
  263. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +0 -146
  264. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +0 -146
  265. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -99
  266. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
  267. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
  268. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -144
  269. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
  270. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
  271. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
  272. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
  273. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +0 -328
  274. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
  275. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -144
  276. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -99
  277. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -99
  278. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -281
  279. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -144
  280. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +0 -97
  281. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +0 -50
  282. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +0 -51
  283. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
  284. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +0 -364
  285. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -373
  286. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
  287. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -285
  288. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/No_Tenant/Should_fail.yml +0 -50
  289. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Simple/Should_be_Cool.yml +0 -48
  290. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Status/Should_return_the_version.yml +0 -44
  291. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +0 -99
  292. data/spec/vcr_cassettes/New_API_Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -230
  293. data/spec/vcr_cassettes/New_API_Mixed_metrics/Should_send_mixed_metric_request.yml +0 -300
  294. data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/agent_properties.yml +0 -124
  295. data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/get_feed.yml +0 -61
  296. data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/get_tenant.yml +0 -55
  297. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_JDBC_driver_should_add_the_driver.json +0 -23
  298. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_XA_datasource_should_be_doable.json +0 -23
  299. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_deployment_should_be_doable.json +0 -23
  300. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_non-XA_datasource_should_be_doable.json +0 -23
  301. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +0 -23
  302. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +0 -23
  303. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +0 -23
  304. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +0 -32
  305. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +0 -23
  306. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +0 -23
  307. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +0 -23
  308. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Update_collection_intervals_should_be_performed_and_eventually_respond_with_success.json +0 -23
  309. data/spec/vcr_cassettes/Operation/NonSecure/Operation/should_not_be_possible_to_perform_on_closed_client.json +0 -12
  310. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +0 -9
  311. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +0 -9
  312. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_no_host.json +0 -3
  313. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established.json +0 -9
  314. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established_via_entrypoint.json +0 -9
  315. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_run_into_error_callback.json +0 -18
  316. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +0 -13
  317. data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_feed.yml +0 -61
  318. data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_tenant.yml +0 -55
  319. data/spec/vcr_cassettes/Operation/Secure/Operation/Add_JDBC_driver_should_add_the_driver.json +0 -23
  320. data/spec/vcr_cassettes/Operation/Secure/Operation/Add_datasource_should_be_doable.json +0 -23
  321. data/spec/vcr_cassettes/Operation/Secure/Operation/Add_deployment_should_be_doable.json +0 -23
  322. data/spec/vcr_cassettes/Operation/Secure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +0 -23
  323. data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +0 -23
  324. data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +0 -23
  325. data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +0 -32
  326. data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +0 -23
  327. data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +0 -23
  328. data/spec/vcr_cassettes/Operation/Secure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +0 -23
  329. data/spec/vcr_cassettes/Operation/Secure/Operation/should_not_be_possible_to_perform_on_closed_client.json +0 -12
  330. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +0 -9
  331. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +0 -9
  332. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_no_host.json +0 -3
  333. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established.json +0 -9
  334. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established_via_entrypoint.json +0 -9
  335. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback.json +0 -18
  336. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +0 -13
  337. data/spec/vcr_cassettes/Tokens/Should_be_able_to_create_a_new_token_for_an_actual_user.yml +0 -57
  338. data/spec/vcr_cassettes/Tokens/Should_be_able_to_list_the_available_tokens.yml +0 -49
  339. data/spec/vcr_cassettes/Tokens/Should_get_a_401_when_attempting_to_create_a_token_with_a_wrong_password.yml +0 -56
  340. data/spec/vcr_cassettes/Tokens/Should_get_a_401_when_attempting_to_create_a_token_without_a_password.yml +0 -55
@@ -1,237 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://localhost:8080/hawkular/metrics/metrics/data
6
- body:
7
- encoding: UTF-8
8
- string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":1467304297056}]}],"availabilities":[]}'
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Hawkular-Tenant:
15
- - vcr-test-tenant-123
16
- Content-Type:
17
- - application/json
18
- Content-Length:
19
- - '139'
20
- User-Agent:
21
- - Ruby
22
- response:
23
- status:
24
- code: 200
25
- message: OK
26
- headers:
27
- Connection:
28
- - keep-alive
29
- X-Powered-By:
30
- - Undertow/1
31
- Server:
32
- - WildFly/9
33
- Content-Length:
34
- - '0'
35
- Date:
36
- - Thu, 30 Jun 2016 16:31:37 GMT
37
- body:
38
- encoding: UTF-8
39
- string: ''
40
- http_version:
41
- recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
42
- - request:
43
- method: get
44
- uri: http://localhost:8080/hawkular/metrics/counters/<%= id %>/data/
45
- body:
46
- encoding: US-ASCII
47
- string: ''
48
- headers:
49
- Accept:
50
- - application/json
51
- Accept-Encoding:
52
- - gzip, deflate
53
- Hawkular-Tenant:
54
- - vcr-test-tenant-123
55
- Content-Type:
56
- - application/json
57
- User-Agent:
58
- - Ruby
59
- response:
60
- status:
61
- code: 200
62
- message: OK
63
- headers:
64
- Connection:
65
- - keep-alive
66
- X-Powered-By:
67
- - Undertow/1
68
- Server:
69
- - WildFly/9
70
- Content-Type:
71
- - application/json
72
- Content-Length:
73
- - '39'
74
- Date:
75
- - Thu, 30 Jun 2016 16:31:37 GMT
76
- body:
77
- encoding: UTF-8
78
- string: '[{"timestamp":1467304297056,"value":1}]'
79
- http_version:
80
- recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
81
- - request:
82
- method: post
83
- uri: http://localhost:8080/hawkular/metrics/metrics/data
84
- body:
85
- encoding: UTF-8
86
- string: '{"gauges":[],"counters":[],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":1467304297104}]}]}'
87
- headers:
88
- Accept:
89
- - application/json
90
- Accept-Encoding:
91
- - gzip, deflate
92
- Hawkular-Tenant:
93
- - vcr-test-tenant-123
94
- Content-Type:
95
- - application/json
96
- Content-Length:
97
- - '144'
98
- User-Agent:
99
- - Ruby
100
- response:
101
- status:
102
- code: 200
103
- message: OK
104
- headers:
105
- Connection:
106
- - keep-alive
107
- X-Powered-By:
108
- - Undertow/1
109
- Server:
110
- - WildFly/9
111
- Content-Length:
112
- - '0'
113
- Date:
114
- - Thu, 30 Jun 2016 16:31:37 GMT
115
- body:
116
- encoding: UTF-8
117
- string: ''
118
- http_version:
119
- recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
120
- - request:
121
- method: get
122
- uri: http://localhost:8080/hawkular/metrics/availability/<%= id %>/data/
123
- body:
124
- encoding: US-ASCII
125
- string: ''
126
- headers:
127
- Accept:
128
- - application/json
129
- Accept-Encoding:
130
- - gzip, deflate
131
- Hawkular-Tenant:
132
- - vcr-test-tenant-123
133
- Content-Type:
134
- - application/json
135
- User-Agent:
136
- - Ruby
137
- response:
138
- status:
139
- code: 200
140
- message: OK
141
- headers:
142
- Connection:
143
- - keep-alive
144
- X-Powered-By:
145
- - Undertow/1
146
- Server:
147
- - WildFly/9
148
- Content-Type:
149
- - application/json
150
- Content-Length:
151
- - '44'
152
- Date:
153
- - Thu, 30 Jun 2016 16:31:37 GMT
154
- body:
155
- encoding: UTF-8
156
- string: '[{"timestamp":1467304297104,"value":"down"}]'
157
- http_version:
158
- recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
159
- - request:
160
- method: post
161
- uri: http://localhost:8080/hawkular/metrics/metrics/data
162
- body:
163
- encoding: UTF-8
164
- string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":1467304297146}]}],"counters":[],"availabilities":[]}'
165
- headers:
166
- Accept:
167
- - application/json
168
- Accept-Encoding:
169
- - gzip, deflate
170
- Hawkular-Tenant:
171
- - vcr-test-tenant-123
172
- Content-Type:
173
- - application/json
174
- Content-Length:
175
- - '141'
176
- User-Agent:
177
- - Ruby
178
- response:
179
- status:
180
- code: 200
181
- message: OK
182
- headers:
183
- Connection:
184
- - keep-alive
185
- X-Powered-By:
186
- - Undertow/1
187
- Server:
188
- - WildFly/9
189
- Content-Length:
190
- - '0'
191
- Date:
192
- - Thu, 30 Jun 2016 16:31:37 GMT
193
- body:
194
- encoding: UTF-8
195
- string: ''
196
- http_version:
197
- recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
198
- - request:
199
- method: get
200
- uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
201
- body:
202
- encoding: US-ASCII
203
- string: ''
204
- headers:
205
- Accept:
206
- - application/json
207
- Accept-Encoding:
208
- - gzip, deflate
209
- Hawkular-Tenant:
210
- - vcr-test-tenant-123
211
- Content-Type:
212
- - application/json
213
- User-Agent:
214
- - Ruby
215
- response:
216
- status:
217
- code: 200
218
- message: OK
219
- headers:
220
- Connection:
221
- - keep-alive
222
- X-Powered-By:
223
- - Undertow/1
224
- Server:
225
- - WildFly/9
226
- Content-Type:
227
- - application/json
228
- Content-Length:
229
- - '41'
230
- Date:
231
- - Thu, 30 Jun 2016 16:31:37 GMT
232
- body:
233
- encoding: UTF-8
234
- string: '[{"timestamp":1467304297146,"value":1.1}]'
235
- http_version:
236
- recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
237
- recorded_with: VCR 3.0.1
@@ -1,82 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://localhost:8080/hawkular/metrics
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - "*/*"
14
- User-Agent:
15
- - Ruby
16
- Host:
17
- - localhost:8080
18
- response:
19
- status:
20
- code: 200
21
- message: OK
22
- headers:
23
- Connection:
24
- - keep-alive
25
- Last-Modified:
26
- - Sat, 10 Oct 2015 12:46:12 GMT
27
- X-Powered-By:
28
- - Undertow/1
29
- Server:
30
- - WildFly/9
31
- Content-Type:
32
- - text/html
33
- Content-Length:
34
- - '1486'
35
- Date:
36
- - Thu, 30 Jun 2016 16:31:36 GMT
37
- body:
38
- encoding: UTF-8
39
- string: |
40
- <!--
41
- ~ Copyright 2014-2015 Red Hat, Inc. and/or its affiliates
42
- ~ and other contributors as indicated by the @author tags.
43
- ~
44
- ~ Licensed under the Apache License, Version 2.0 (the "License");
45
- ~ you may not use this file except in compliance with the License.
46
- ~ You may obtain a copy of the License at
47
- ~
48
- ~ http://www.apache.org/licenses/LICENSE-2.0
49
- ~
50
- ~ Unless required by applicable law or agreed to in writing, software
51
- ~ distributed under the License is distributed on an "AS IS" BASIS,
52
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
53
- ~ See the License for the specific language governing permissions and
54
- ~ limitations under the License.
55
- -->
56
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
57
- <html>
58
- <head>
59
- <title>Hawkular Metrics</title>
60
- <link rel="shortcut icon" href="/hawkular/metrics/static/favicon.ico" type="image/x-icon">
61
- <link rel="StyleSheet" href="/hawkular/metrics/static/welcome.css" type="text/css">
62
- <script src="/hawkular/metrics/static/status.js"></script>
63
- </head>
64
-
65
- <body>
66
- <div class="content">
67
- <div class="logo">
68
- <img src="/hawkular/metrics/static/hawkular_logo.png" alt="Hawkular Logo"/>
69
- </div>
70
- <h1>Hawkular Metrics</h1>
71
- <h3>A time series metrics engine based on Cassandra</h3>
72
-
73
- <p id="implementation-version"></p>
74
- <p id="built-from-git-sha1" style="font-size:12px;"></p>
75
-
76
- <p id="status">Status: <i>Checking...</i></p>
77
- </div>
78
- </body>
79
- </html>
80
- http_version:
81
- recorded_at: Thu, 30 Jun 2016 16:31:36 GMT
82
- recorded_with: VCR 3.0.1
@@ -1,42 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://localhost:8080/hawkular/metrics/status
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Hawkular-Tenant:
15
- - hawkular
16
- Content-Type:
17
- - application/json
18
- User-Agent:
19
- - Ruby
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Connection:
26
- - keep-alive
27
- X-Powered-By:
28
- - Undertow/1
29
- Server:
30
- - WildFly/9
31
- Content-Type:
32
- - application/json
33
- Content-Length:
34
- - '132'
35
- Date:
36
- - Thu, 30 Jun 2016 16:31:36 GMT
37
- body:
38
- encoding: UTF-8
39
- string: '{"MetricsService":"STARTED","Implementation-Version":"0.8.0.Final","Built-From-Git-SHA1":"fba0489ea5b443f986b1bbb02ae9906fd6709cab"}'
40
- http_version:
41
- recorded_at: Thu, 30 Jun 2016 16:31:36 GMT
42
- recorded_with: VCR 3.0.1
@@ -1,83 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://localhost:8080/hawkular/metrics/tenants
6
- body:
7
- encoding: UTF-8
8
- string: '{"id":"<%= id %>"}'
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Hawkular-Tenant:
15
- - hawkular
16
- Content-Type:
17
- - application/json
18
- Content-Length:
19
- - '45'
20
- User-Agent:
21
- - Ruby
22
- response:
23
- status:
24
- code: 201
25
- message: Created
26
- headers:
27
- Connection:
28
- - keep-alive
29
- X-Powered-By:
30
- - Undertow/1
31
- Server:
32
- - WildFly/9
33
- Location:
34
- - http://localhost:8080/hawkular/metrics/tenants
35
- Content-Length:
36
- - '0'
37
- Date:
38
- - Thu, 30 Jun 2016 16:31:37 GMT
39
- body:
40
- encoding: UTF-8
41
- string: ''
42
- http_version:
43
- recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
44
- - request:
45
- method: get
46
- uri: http://localhost:8080/hawkular/metrics/tenants
47
- body:
48
- encoding: US-ASCII
49
- string: ''
50
- headers:
51
- Accept:
52
- - application/json
53
- Accept-Encoding:
54
- - gzip, deflate
55
- Hawkular-Tenant:
56
- - hawkular
57
- Content-Type:
58
- - application/json
59
- User-Agent:
60
- - Ruby
61
- response:
62
- status:
63
- code: 200
64
- message: OK
65
- headers:
66
- Connection:
67
- - keep-alive
68
- X-Powered-By:
69
- - Undertow/1
70
- Server:
71
- - WildFly/9
72
- Content-Type:
73
- - application/json
74
- Content-Length:
75
- - '76'
76
- Date:
77
- - Thu, 30 Jun 2016 16:31:37 GMT
78
- body:
79
- encoding: UTF-8
80
- string: '[{"id":"vcr-test-tenant-123"},{"id":"<%= id %>"}]'
81
- http_version:
82
- recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
83
- recorded_with: VCR 3.0.1
@@ -1,434 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges
6
- body:
7
- encoding: UTF-8
8
- string: '{"id":"metric_1","dataRetention":90,"tags":{"tag1":"value1","tag2":"value2","tag3":"value3"}}'
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - identity
14
- User-Agent:
15
- - hawkular-client-ruby
16
- Hawkular-Tenant:
17
- - all_tags_tenant
18
- Content-Type:
19
- - application/json
20
- Content-Length:
21
- - '93'
22
- Host:
23
- - localhost:8080
24
- response:
25
- status:
26
- code: 201
27
- message: Created
28
- headers:
29
- Expires:
30
- - '0'
31
- Cache-Control:
32
- - no-cache, no-store, must-revalidate
33
- X-Powered-By:
34
- - Undertow/1
35
- Server:
36
- - WildFly/10
37
- Pragma:
38
- - no-cache
39
- Location:
40
- - http://localhost:8080/hawkular/metrics/gauges/metric_1
41
- Date:
42
- - Fri, 14 Oct 2016 21:11:20 GMT
43
- Connection:
44
- - keep-alive
45
- Content-Length:
46
- - '0'
47
- body:
48
- encoding: UTF-8
49
- string: ''
50
- http_version:
51
- recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
52
- - request:
53
- method: get
54
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/metric_1
55
- body:
56
- encoding: US-ASCII
57
- string: ''
58
- headers:
59
- Accept:
60
- - application/json
61
- Accept-Encoding:
62
- - identity
63
- User-Agent:
64
- - hawkular-client-ruby
65
- Hawkular-Tenant:
66
- - all_tags_tenant
67
- Content-Type:
68
- - application/json
69
- Host:
70
- - localhost:8080
71
- response:
72
- status:
73
- code: 200
74
- message: OK
75
- headers:
76
- Expires:
77
- - '0'
78
- Cache-Control:
79
- - no-cache, no-store, must-revalidate
80
- X-Powered-By:
81
- - Undertow/1
82
- Server:
83
- - WildFly/10
84
- Pragma:
85
- - no-cache
86
- Date:
87
- - Fri, 14 Oct 2016 21:11:20 GMT
88
- Connection:
89
- - keep-alive
90
- Content-Type:
91
- - application/json
92
- Content-Length:
93
- - '137'
94
- body:
95
- encoding: UTF-8
96
- string: '{"id":"metric_1","tags":{"tag1":"value1","tag2":"value2","tag3":"value3"},"dataRetention":90,"type":"gauge","tenantId":"all_tags_tenant"}'
97
- http_version:
98
- recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
99
- - request:
100
- method: post
101
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability
102
- body:
103
- encoding: UTF-8
104
- string: '{"id":"metric_2","dataRetention":90,"tags":{"tag1":"value1","tag4":"value4","tag5":"value5"}}'
105
- headers:
106
- Accept:
107
- - application/json
108
- Accept-Encoding:
109
- - identity
110
- User-Agent:
111
- - hawkular-client-ruby
112
- Hawkular-Tenant:
113
- - all_tags_tenant
114
- Content-Type:
115
- - application/json
116
- Content-Length:
117
- - '93'
118
- Host:
119
- - localhost:8080
120
- response:
121
- status:
122
- code: 201
123
- message: Created
124
- headers:
125
- Expires:
126
- - '0'
127
- Cache-Control:
128
- - no-cache, no-store, must-revalidate
129
- X-Powered-By:
130
- - Undertow/1
131
- Server:
132
- - WildFly/10
133
- Pragma:
134
- - no-cache
135
- Location:
136
- - http://localhost:8080/hawkular/metrics/availability/metric_2
137
- Date:
138
- - Fri, 14 Oct 2016 21:11:20 GMT
139
- Connection:
140
- - keep-alive
141
- Content-Length:
142
- - '0'
143
- body:
144
- encoding: UTF-8
145
- string: ''
146
- http_version:
147
- recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
148
- - request:
149
- method: get
150
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/metric_2
151
- body:
152
- encoding: US-ASCII
153
- string: ''
154
- headers:
155
- Accept:
156
- - application/json
157
- Accept-Encoding:
158
- - identity
159
- User-Agent:
160
- - hawkular-client-ruby
161
- Hawkular-Tenant:
162
- - all_tags_tenant
163
- Content-Type:
164
- - application/json
165
- Host:
166
- - localhost:8080
167
- response:
168
- status:
169
- code: 200
170
- message: OK
171
- headers:
172
- Expires:
173
- - '0'
174
- Cache-Control:
175
- - no-cache, no-store, must-revalidate
176
- X-Powered-By:
177
- - Undertow/1
178
- Server:
179
- - WildFly/10
180
- Pragma:
181
- - no-cache
182
- Date:
183
- - Fri, 14 Oct 2016 21:11:20 GMT
184
- Connection:
185
- - keep-alive
186
- Content-Type:
187
- - application/json
188
- Content-Length:
189
- - '144'
190
- body:
191
- encoding: UTF-8
192
- string: '{"id":"metric_2","tags":{"tag1":"value1","tag4":"value4","tag5":"value5"},"dataRetention":90,"type":"availability","tenantId":"all_tags_tenant"}'
193
- http_version:
194
- recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
195
- - request:
196
- method: post
197
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
198
- body:
199
- encoding: UTF-8
200
- string: '{"id":"metric_2","dataRetention":90,"tags":{"tag1":"value1","tag4":"value4","tag5":"value5.1"}}'
201
- headers:
202
- Accept:
203
- - application/json
204
- Accept-Encoding:
205
- - identity
206
- User-Agent:
207
- - hawkular-client-ruby
208
- Hawkular-Tenant:
209
- - all_tags_tenant
210
- Content-Type:
211
- - application/json
212
- Content-Length:
213
- - '95'
214
- Host:
215
- - localhost:8080
216
- response:
217
- status:
218
- code: 201
219
- message: Created
220
- headers:
221
- Expires:
222
- - '0'
223
- Cache-Control:
224
- - no-cache, no-store, must-revalidate
225
- X-Powered-By:
226
- - Undertow/1
227
- Server:
228
- - WildFly/10
229
- Pragma:
230
- - no-cache
231
- Location:
232
- - http://localhost:8080/hawkular/metrics/counters/metric_2
233
- Date:
234
- - Fri, 14 Oct 2016 21:11:20 GMT
235
- Connection:
236
- - keep-alive
237
- Content-Length:
238
- - '0'
239
- body:
240
- encoding: UTF-8
241
- string: ''
242
- http_version:
243
- recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
244
- - request:
245
- method: get
246
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/metric_2
247
- body:
248
- encoding: US-ASCII
249
- string: ''
250
- headers:
251
- Accept:
252
- - application/json
253
- Accept-Encoding:
254
- - identity
255
- User-Agent:
256
- - hawkular-client-ruby
257
- Hawkular-Tenant:
258
- - all_tags_tenant
259
- Content-Type:
260
- - application/json
261
- Host:
262
- - localhost:8080
263
- response:
264
- status:
265
- code: 200
266
- message: OK
267
- headers:
268
- Expires:
269
- - '0'
270
- Cache-Control:
271
- - no-cache, no-store, must-revalidate
272
- X-Powered-By:
273
- - Undertow/1
274
- Server:
275
- - WildFly/10
276
- Pragma:
277
- - no-cache
278
- Date:
279
- - Fri, 14 Oct 2016 21:11:20 GMT
280
- Connection:
281
- - keep-alive
282
- Content-Type:
283
- - application/json
284
- Content-Length:
285
- - '141'
286
- body:
287
- encoding: UTF-8
288
- string: '{"id":"metric_2","tags":{"tag1":"value1","tag4":"value4","tag5":"value5.1"},"dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"}'
289
- http_version:
290
- recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
291
- - request:
292
- method: post
293
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
294
- body:
295
- encoding: UTF-8
296
- string: '{"id":"metric_3","dataRetention":90,"tags":{}}'
297
- headers:
298
- Accept:
299
- - application/json
300
- Accept-Encoding:
301
- - identity
302
- User-Agent:
303
- - hawkular-client-ruby
304
- Hawkular-Tenant:
305
- - all_tags_tenant
306
- Content-Type:
307
- - application/json
308
- Content-Length:
309
- - '46'
310
- Host:
311
- - localhost:8080
312
- response:
313
- status:
314
- code: 201
315
- message: Created
316
- headers:
317
- Expires:
318
- - '0'
319
- Cache-Control:
320
- - no-cache, no-store, must-revalidate
321
- X-Powered-By:
322
- - Undertow/1
323
- Server:
324
- - WildFly/10
325
- Pragma:
326
- - no-cache
327
- Location:
328
- - http://localhost:8080/hawkular/metrics/counters/metric_3
329
- Date:
330
- - Fri, 14 Oct 2016 21:11:20 GMT
331
- Connection:
332
- - keep-alive
333
- Content-Length:
334
- - '0'
335
- body:
336
- encoding: UTF-8
337
- string: ''
338
- http_version:
339
- recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
340
- - request:
341
- method: get
342
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/metric_3
343
- body:
344
- encoding: US-ASCII
345
- string: ''
346
- headers:
347
- Accept:
348
- - application/json
349
- Accept-Encoding:
350
- - identity
351
- User-Agent:
352
- - hawkular-client-ruby
353
- Hawkular-Tenant:
354
- - all_tags_tenant
355
- Content-Type:
356
- - application/json
357
- Host:
358
- - localhost:8080
359
- response:
360
- status:
361
- code: 200
362
- message: OK
363
- headers:
364
- Expires:
365
- - '0'
366
- Cache-Control:
367
- - no-cache, no-store, must-revalidate
368
- X-Powered-By:
369
- - Undertow/1
370
- Server:
371
- - WildFly/10
372
- Pragma:
373
- - no-cache
374
- Date:
375
- - Fri, 14 Oct 2016 21:11:20 GMT
376
- Connection:
377
- - keep-alive
378
- Content-Type:
379
- - application/json
380
- Content-Length:
381
- - '82'
382
- body:
383
- encoding: UTF-8
384
- string: '{"id":"metric_3","dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"}'
385
- http_version:
386
- recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
387
- - request:
388
- method: get
389
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/
390
- body:
391
- encoding: US-ASCII
392
- string: ''
393
- headers:
394
- Accept:
395
- - application/json
396
- Accept-Encoding:
397
- - identity
398
- User-Agent:
399
- - hawkular-client-ruby
400
- Hawkular-Tenant:
401
- - all_tags_tenant
402
- Content-Type:
403
- - application/json
404
- Host:
405
- - localhost:8080
406
- response:
407
- status:
408
- code: 200
409
- message: OK
410
- headers:
411
- Expires:
412
- - '0'
413
- Cache-Control:
414
- - no-cache, no-store, must-revalidate
415
- X-Powered-By:
416
- - Undertow/1
417
- Server:
418
- - WildFly/10
419
- Pragma:
420
- - no-cache
421
- Date:
422
- - Fri, 14 Oct 2016 21:11:20 GMT
423
- Connection:
424
- - keep-alive
425
- Content-Type:
426
- - application/json
427
- Content-Length:
428
- - '509'
429
- body:
430
- encoding: UTF-8
431
- string: '[{"id":"metric_2","tags":{"tag1":"value1","tag4":"value4","tag5":"value5"},"dataRetention":90,"type":"availability","tenantId":"all_tags_tenant"},{"id":"metric_1","tags":{"tag1":"value1","tag2":"value2","tag3":"value3"},"dataRetention":90,"type":"gauge","tenantId":"all_tags_tenant"},{"id":"metric_3","dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"},{"id":"metric_2","tags":{"tag1":"value1","tag4":"value4","tag5":"value5.1"},"dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"}]'
432
- http_version:
433
- recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
434
- recorded_with: VCR 3.0.3