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,1251 +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":"<%= id1 %>","dataRetention":90,"tags":{"miq_metric":true}}'
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
- - '91'
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/<%= id1 %>
41
- Date:
42
- - Wed, 30 Nov 2016 06:47:08 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: Wed, 30 Nov 2016 06:47:08 GMT
52
- - request:
53
- method: get
54
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id1 %>
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
- - Wed, 30 Nov 2016 06:47:08 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":"<%= id1 %>","tags":{"miq_metric":"true"},"dataRetention":90,"type":"gauge","tenantId":"all_tags_tenant"}'
97
- http_version:
98
- recorded_at: Wed, 30 Nov 2016 06:47:08 GMT
99
- - request:
100
- method: post
101
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges
102
- body:
103
- encoding: UTF-8
104
- string: '{"id":"<%= id2 %>","dataRetention":90,"tags":{"miq_metric":true}}'
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
- - '91'
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/gauges/<%= id2 %>
137
- Date:
138
- - Wed, 30 Nov 2016 06:47:09 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: Wed, 30 Nov 2016 06:47:09 GMT
148
- - request:
149
- method: get
150
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id2 %>
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
- - Wed, 30 Nov 2016 06:47:09 GMT
184
- Connection:
185
- - keep-alive
186
- Content-Type:
187
- - application/json
188
- Content-Length:
189
- - '137'
190
- body:
191
- encoding: UTF-8
192
- string: '{"id":"<%= id2 %>","tags":{"miq_metric":"true"},"dataRetention":90,"type":"gauge","tenantId":"all_tags_tenant"}'
193
- http_version:
194
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
195
- - request:
196
- method: post
197
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges
198
- body:
199
- encoding: UTF-8
200
- string: '{"id":"<%= id3 %>","dataRetention":90,"tags":{"miq_metric":true}}'
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
- - '91'
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/gauges/<%= id3 %>
233
- Date:
234
- - Wed, 30 Nov 2016 06:47:09 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: Wed, 30 Nov 2016 06:47:09 GMT
244
- - request:
245
- method: get
246
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id3 %>
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
- - Wed, 30 Nov 2016 06:47:09 GMT
280
- Connection:
281
- - keep-alive
282
- Content-Type:
283
- - application/json
284
- Content-Length:
285
- - '137'
286
- body:
287
- encoding: UTF-8
288
- string: '{"id":"<%= id3 %>","tags":{"miq_metric":"true"},"dataRetention":90,"type":"gauge","tenantId":"all_tags_tenant"}'
289
- http_version:
290
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
291
- - request:
292
- method: post
293
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges
294
- body:
295
- encoding: UTF-8
296
- string: '{"id":"<%= id4 %>","dataRetention":90,"tags":{"miq_metric":true}}'
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
- - '91'
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/gauges/<%= id4 %>
329
- Date:
330
- - Wed, 30 Nov 2016 06:47:09 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: Wed, 30 Nov 2016 06:47:09 GMT
340
- - request:
341
- method: get
342
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id4 %>
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
- - Wed, 30 Nov 2016 06:47:09 GMT
376
- Connection:
377
- - keep-alive
378
- Content-Type:
379
- - application/json
380
- Content-Length:
381
- - '137'
382
- body:
383
- encoding: UTF-8
384
- string: '{"id":"<%= id4 %>","tags":{"miq_metric":"true"},"dataRetention":90,"type":"gauge","tenantId":"all_tags_tenant"}'
385
- http_version:
386
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
387
- - request:
388
- method: post
389
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability
390
- body:
391
- encoding: UTF-8
392
- string: '{"id":"<%= id1 %>","dataRetention":90,"tags":{"miq_metric":true}}'
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
- Content-Length:
405
- - '91'
406
- Host:
407
- - localhost:8080
408
- response:
409
- status:
410
- code: 201
411
- message: Created
412
- headers:
413
- Expires:
414
- - '0'
415
- Cache-Control:
416
- - no-cache, no-store, must-revalidate
417
- X-Powered-By:
418
- - Undertow/1
419
- Server:
420
- - WildFly/10
421
- Pragma:
422
- - no-cache
423
- Location:
424
- - http://localhost:8080/hawkular/metrics/availability/<%= id1 %>
425
- Date:
426
- - Wed, 30 Nov 2016 06:47:09 GMT
427
- Connection:
428
- - keep-alive
429
- Content-Length:
430
- - '0'
431
- body:
432
- encoding: UTF-8
433
- string: ''
434
- http_version:
435
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
436
- - request:
437
- method: get
438
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id1 %>
439
- body:
440
- encoding: US-ASCII
441
- string: ''
442
- headers:
443
- Accept:
444
- - application/json
445
- Accept-Encoding:
446
- - identity
447
- User-Agent:
448
- - hawkular-client-ruby
449
- Hawkular-Tenant:
450
- - all_tags_tenant
451
- Content-Type:
452
- - application/json
453
- Host:
454
- - localhost:8080
455
- response:
456
- status:
457
- code: 200
458
- message: OK
459
- headers:
460
- Expires:
461
- - '0'
462
- Cache-Control:
463
- - no-cache, no-store, must-revalidate
464
- X-Powered-By:
465
- - Undertow/1
466
- Server:
467
- - WildFly/10
468
- Pragma:
469
- - no-cache
470
- Date:
471
- - Wed, 30 Nov 2016 06:47:09 GMT
472
- Connection:
473
- - keep-alive
474
- Content-Type:
475
- - application/json
476
- Content-Length:
477
- - '144'
478
- body:
479
- encoding: UTF-8
480
- string: '{"id":"<%= id1 %>","tags":{"miq_metric":"true"},"dataRetention":90,"type":"availability","tenantId":"all_tags_tenant"}'
481
- http_version:
482
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
483
- - request:
484
- method: post
485
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability
486
- body:
487
- encoding: UTF-8
488
- string: '{"id":"<%= id2 %>","dataRetention":90,"tags":{"miq_metric":true}}'
489
- headers:
490
- Accept:
491
- - application/json
492
- Accept-Encoding:
493
- - identity
494
- User-Agent:
495
- - hawkular-client-ruby
496
- Hawkular-Tenant:
497
- - all_tags_tenant
498
- Content-Type:
499
- - application/json
500
- Content-Length:
501
- - '91'
502
- Host:
503
- - localhost:8080
504
- response:
505
- status:
506
- code: 201
507
- message: Created
508
- headers:
509
- Expires:
510
- - '0'
511
- Cache-Control:
512
- - no-cache, no-store, must-revalidate
513
- X-Powered-By:
514
- - Undertow/1
515
- Server:
516
- - WildFly/10
517
- Pragma:
518
- - no-cache
519
- Location:
520
- - http://localhost:8080/hawkular/metrics/availability/<%= id2 %>
521
- Date:
522
- - Wed, 30 Nov 2016 06:47:09 GMT
523
- Connection:
524
- - keep-alive
525
- Content-Length:
526
- - '0'
527
- body:
528
- encoding: UTF-8
529
- string: ''
530
- http_version:
531
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
532
- - request:
533
- method: get
534
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id2 %>
535
- body:
536
- encoding: US-ASCII
537
- string: ''
538
- headers:
539
- Accept:
540
- - application/json
541
- Accept-Encoding:
542
- - identity
543
- User-Agent:
544
- - hawkular-client-ruby
545
- Hawkular-Tenant:
546
- - all_tags_tenant
547
- Content-Type:
548
- - application/json
549
- Host:
550
- - localhost:8080
551
- response:
552
- status:
553
- code: 200
554
- message: OK
555
- headers:
556
- Expires:
557
- - '0'
558
- Cache-Control:
559
- - no-cache, no-store, must-revalidate
560
- X-Powered-By:
561
- - Undertow/1
562
- Server:
563
- - WildFly/10
564
- Pragma:
565
- - no-cache
566
- Date:
567
- - Wed, 30 Nov 2016 06:47:09 GMT
568
- Connection:
569
- - keep-alive
570
- Content-Type:
571
- - application/json
572
- Content-Length:
573
- - '144'
574
- body:
575
- encoding: UTF-8
576
- string: '{"id":"<%= id2 %>","tags":{"miq_metric":"true"},"dataRetention":90,"type":"availability","tenantId":"all_tags_tenant"}'
577
- http_version:
578
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
579
- - request:
580
- method: post
581
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability
582
- body:
583
- encoding: UTF-8
584
- string: '{"id":"<%= id3 %>","dataRetention":90,"tags":{"miq_metric":true}}'
585
- headers:
586
- Accept:
587
- - application/json
588
- Accept-Encoding:
589
- - identity
590
- User-Agent:
591
- - hawkular-client-ruby
592
- Hawkular-Tenant:
593
- - all_tags_tenant
594
- Content-Type:
595
- - application/json
596
- Content-Length:
597
- - '91'
598
- Host:
599
- - localhost:8080
600
- response:
601
- status:
602
- code: 201
603
- message: Created
604
- headers:
605
- Expires:
606
- - '0'
607
- Cache-Control:
608
- - no-cache, no-store, must-revalidate
609
- X-Powered-By:
610
- - Undertow/1
611
- Server:
612
- - WildFly/10
613
- Pragma:
614
- - no-cache
615
- Location:
616
- - http://localhost:8080/hawkular/metrics/availability/<%= id3 %>
617
- Date:
618
- - Wed, 30 Nov 2016 06:47:09 GMT
619
- Connection:
620
- - keep-alive
621
- Content-Length:
622
- - '0'
623
- body:
624
- encoding: UTF-8
625
- string: ''
626
- http_version:
627
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
628
- - request:
629
- method: get
630
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id3 %>
631
- body:
632
- encoding: US-ASCII
633
- string: ''
634
- headers:
635
- Accept:
636
- - application/json
637
- Accept-Encoding:
638
- - identity
639
- User-Agent:
640
- - hawkular-client-ruby
641
- Hawkular-Tenant:
642
- - all_tags_tenant
643
- Content-Type:
644
- - application/json
645
- Host:
646
- - localhost:8080
647
- response:
648
- status:
649
- code: 200
650
- message: OK
651
- headers:
652
- Expires:
653
- - '0'
654
- Cache-Control:
655
- - no-cache, no-store, must-revalidate
656
- X-Powered-By:
657
- - Undertow/1
658
- Server:
659
- - WildFly/10
660
- Pragma:
661
- - no-cache
662
- Date:
663
- - Wed, 30 Nov 2016 06:47:09 GMT
664
- Connection:
665
- - keep-alive
666
- Content-Type:
667
- - application/json
668
- Content-Length:
669
- - '144'
670
- body:
671
- encoding: UTF-8
672
- string: '{"id":"<%= id3 %>","tags":{"miq_metric":"true"},"dataRetention":90,"type":"availability","tenantId":"all_tags_tenant"}'
673
- http_version:
674
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
675
- - request:
676
- method: post
677
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability
678
- body:
679
- encoding: UTF-8
680
- string: '{"id":"<%= id4 %>","dataRetention":90,"tags":{"miq_metric":true}}'
681
- headers:
682
- Accept:
683
- - application/json
684
- Accept-Encoding:
685
- - identity
686
- User-Agent:
687
- - hawkular-client-ruby
688
- Hawkular-Tenant:
689
- - all_tags_tenant
690
- Content-Type:
691
- - application/json
692
- Content-Length:
693
- - '91'
694
- Host:
695
- - localhost:8080
696
- response:
697
- status:
698
- code: 201
699
- message: Created
700
- headers:
701
- Expires:
702
- - '0'
703
- Cache-Control:
704
- - no-cache, no-store, must-revalidate
705
- X-Powered-By:
706
- - Undertow/1
707
- Server:
708
- - WildFly/10
709
- Pragma:
710
- - no-cache
711
- Location:
712
- - http://localhost:8080/hawkular/metrics/availability/<%= id4 %>
713
- Date:
714
- - Wed, 30 Nov 2016 06:47:09 GMT
715
- Connection:
716
- - keep-alive
717
- Content-Length:
718
- - '0'
719
- body:
720
- encoding: UTF-8
721
- string: ''
722
- http_version:
723
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
724
- - request:
725
- method: get
726
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id4 %>
727
- body:
728
- encoding: US-ASCII
729
- string: ''
730
- headers:
731
- Accept:
732
- - application/json
733
- Accept-Encoding:
734
- - identity
735
- User-Agent:
736
- - hawkular-client-ruby
737
- Hawkular-Tenant:
738
- - all_tags_tenant
739
- Content-Type:
740
- - application/json
741
- Host:
742
- - localhost:8080
743
- response:
744
- status:
745
- code: 200
746
- message: OK
747
- headers:
748
- Expires:
749
- - '0'
750
- Cache-Control:
751
- - no-cache, no-store, must-revalidate
752
- X-Powered-By:
753
- - Undertow/1
754
- Server:
755
- - WildFly/10
756
- Pragma:
757
- - no-cache
758
- Date:
759
- - Wed, 30 Nov 2016 06:47:09 GMT
760
- Connection:
761
- - keep-alive
762
- Content-Type:
763
- - application/json
764
- Content-Length:
765
- - '144'
766
- body:
767
- encoding: UTF-8
768
- string: '{"id":"<%= id4 %>","tags":{"miq_metric":"true"},"dataRetention":90,"type":"availability","tenantId":"all_tags_tenant"}'
769
- http_version:
770
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
771
- - request:
772
- method: post
773
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
774
- body:
775
- encoding: UTF-8
776
- string: '{"id":"<%= id1 %>","dataRetention":90,"tags":{"miq_metric":true}}'
777
- headers:
778
- Accept:
779
- - application/json
780
- Accept-Encoding:
781
- - identity
782
- User-Agent:
783
- - hawkular-client-ruby
784
- Hawkular-Tenant:
785
- - all_tags_tenant
786
- Content-Type:
787
- - application/json
788
- Content-Length:
789
- - '91'
790
- Host:
791
- - localhost:8080
792
- response:
793
- status:
794
- code: 201
795
- message: Created
796
- headers:
797
- Expires:
798
- - '0'
799
- Cache-Control:
800
- - no-cache, no-store, must-revalidate
801
- X-Powered-By:
802
- - Undertow/1
803
- Server:
804
- - WildFly/10
805
- Pragma:
806
- - no-cache
807
- Location:
808
- - http://localhost:8080/hawkular/metrics/counters/<%= id1 %>
809
- Date:
810
- - Wed, 30 Nov 2016 06:47:09 GMT
811
- Connection:
812
- - keep-alive
813
- Content-Length:
814
- - '0'
815
- body:
816
- encoding: UTF-8
817
- string: ''
818
- http_version:
819
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
820
- - request:
821
- method: get
822
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id1 %>
823
- body:
824
- encoding: US-ASCII
825
- string: ''
826
- headers:
827
- Accept:
828
- - application/json
829
- Accept-Encoding:
830
- - identity
831
- User-Agent:
832
- - hawkular-client-ruby
833
- Hawkular-Tenant:
834
- - all_tags_tenant
835
- Content-Type:
836
- - application/json
837
- Host:
838
- - localhost:8080
839
- response:
840
- status:
841
- code: 200
842
- message: OK
843
- headers:
844
- Expires:
845
- - '0'
846
- Cache-Control:
847
- - no-cache, no-store, must-revalidate
848
- X-Powered-By:
849
- - Undertow/1
850
- Server:
851
- - WildFly/10
852
- Pragma:
853
- - no-cache
854
- Date:
855
- - Wed, 30 Nov 2016 06:47:09 GMT
856
- Connection:
857
- - keep-alive
858
- Content-Type:
859
- - application/json
860
- Content-Length:
861
- - '139'
862
- body:
863
- encoding: UTF-8
864
- string: '{"id":"<%= id1 %>","tags":{"miq_metric":"true"},"dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"}'
865
- http_version:
866
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
867
- - request:
868
- method: post
869
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
870
- body:
871
- encoding: UTF-8
872
- string: '{"id":"<%= id2 %>","dataRetention":90,"tags":{"miq_metric":true}}'
873
- headers:
874
- Accept:
875
- - application/json
876
- Accept-Encoding:
877
- - identity
878
- User-Agent:
879
- - hawkular-client-ruby
880
- Hawkular-Tenant:
881
- - all_tags_tenant
882
- Content-Type:
883
- - application/json
884
- Content-Length:
885
- - '91'
886
- Host:
887
- - localhost:8080
888
- response:
889
- status:
890
- code: 201
891
- message: Created
892
- headers:
893
- Expires:
894
- - '0'
895
- Cache-Control:
896
- - no-cache, no-store, must-revalidate
897
- X-Powered-By:
898
- - Undertow/1
899
- Server:
900
- - WildFly/10
901
- Pragma:
902
- - no-cache
903
- Location:
904
- - http://localhost:8080/hawkular/metrics/counters/<%= id2 %>
905
- Date:
906
- - Wed, 30 Nov 2016 06:47:09 GMT
907
- Connection:
908
- - keep-alive
909
- Content-Length:
910
- - '0'
911
- body:
912
- encoding: UTF-8
913
- string: ''
914
- http_version:
915
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
916
- - request:
917
- method: get
918
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id2 %>
919
- body:
920
- encoding: US-ASCII
921
- string: ''
922
- headers:
923
- Accept:
924
- - application/json
925
- Accept-Encoding:
926
- - identity
927
- User-Agent:
928
- - hawkular-client-ruby
929
- Hawkular-Tenant:
930
- - all_tags_tenant
931
- Content-Type:
932
- - application/json
933
- Host:
934
- - localhost:8080
935
- response:
936
- status:
937
- code: 200
938
- message: OK
939
- headers:
940
- Expires:
941
- - '0'
942
- Cache-Control:
943
- - no-cache, no-store, must-revalidate
944
- X-Powered-By:
945
- - Undertow/1
946
- Server:
947
- - WildFly/10
948
- Pragma:
949
- - no-cache
950
- Date:
951
- - Wed, 30 Nov 2016 06:47:09 GMT
952
- Connection:
953
- - keep-alive
954
- Content-Type:
955
- - application/json
956
- Content-Length:
957
- - '139'
958
- body:
959
- encoding: UTF-8
960
- string: '{"id":"<%= id2 %>","tags":{"miq_metric":"true"},"dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"}'
961
- http_version:
962
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
963
- - request:
964
- method: post
965
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
966
- body:
967
- encoding: UTF-8
968
- string: '{"id":"<%= id3 %>","dataRetention":90,"tags":{"miq_metric":true}}'
969
- headers:
970
- Accept:
971
- - application/json
972
- Accept-Encoding:
973
- - identity
974
- User-Agent:
975
- - hawkular-client-ruby
976
- Hawkular-Tenant:
977
- - all_tags_tenant
978
- Content-Type:
979
- - application/json
980
- Content-Length:
981
- - '91'
982
- Host:
983
- - localhost:8080
984
- response:
985
- status:
986
- code: 201
987
- message: Created
988
- headers:
989
- Expires:
990
- - '0'
991
- Cache-Control:
992
- - no-cache, no-store, must-revalidate
993
- X-Powered-By:
994
- - Undertow/1
995
- Server:
996
- - WildFly/10
997
- Pragma:
998
- - no-cache
999
- Location:
1000
- - http://localhost:8080/hawkular/metrics/counters/<%= id3 %>
1001
- Date:
1002
- - Wed, 30 Nov 2016 06:47:09 GMT
1003
- Connection:
1004
- - keep-alive
1005
- Content-Length:
1006
- - '0'
1007
- body:
1008
- encoding: UTF-8
1009
- string: ''
1010
- http_version:
1011
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
1012
- - request:
1013
- method: get
1014
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id3 %>
1015
- body:
1016
- encoding: US-ASCII
1017
- string: ''
1018
- headers:
1019
- Accept:
1020
- - application/json
1021
- Accept-Encoding:
1022
- - identity
1023
- User-Agent:
1024
- - hawkular-client-ruby
1025
- Hawkular-Tenant:
1026
- - all_tags_tenant
1027
- Content-Type:
1028
- - application/json
1029
- Host:
1030
- - localhost:8080
1031
- response:
1032
- status:
1033
- code: 200
1034
- message: OK
1035
- headers:
1036
- Expires:
1037
- - '0'
1038
- Cache-Control:
1039
- - no-cache, no-store, must-revalidate
1040
- X-Powered-By:
1041
- - Undertow/1
1042
- Server:
1043
- - WildFly/10
1044
- Pragma:
1045
- - no-cache
1046
- Date:
1047
- - Wed, 30 Nov 2016 06:47:09 GMT
1048
- Connection:
1049
- - keep-alive
1050
- Content-Type:
1051
- - application/json
1052
- Content-Length:
1053
- - '139'
1054
- body:
1055
- encoding: UTF-8
1056
- string: '{"id":"<%= id3 %>","tags":{"miq_metric":"true"},"dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"}'
1057
- http_version:
1058
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
1059
- - request:
1060
- method: post
1061
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
1062
- body:
1063
- encoding: UTF-8
1064
- string: '{"id":"<%= id4 %>","dataRetention":90,"tags":{"miq_metric":true}}'
1065
- headers:
1066
- Accept:
1067
- - application/json
1068
- Accept-Encoding:
1069
- - identity
1070
- User-Agent:
1071
- - hawkular-client-ruby
1072
- Hawkular-Tenant:
1073
- - all_tags_tenant
1074
- Content-Type:
1075
- - application/json
1076
- Content-Length:
1077
- - '91'
1078
- Host:
1079
- - localhost:8080
1080
- response:
1081
- status:
1082
- code: 201
1083
- message: Created
1084
- headers:
1085
- Expires:
1086
- - '0'
1087
- Cache-Control:
1088
- - no-cache, no-store, must-revalidate
1089
- X-Powered-By:
1090
- - Undertow/1
1091
- Server:
1092
- - WildFly/10
1093
- Pragma:
1094
- - no-cache
1095
- Location:
1096
- - http://localhost:8080/hawkular/metrics/counters/<%= id4 %>
1097
- Date:
1098
- - Wed, 30 Nov 2016 06:47:09 GMT
1099
- Connection:
1100
- - keep-alive
1101
- Content-Length:
1102
- - '0'
1103
- body:
1104
- encoding: UTF-8
1105
- string: ''
1106
- http_version:
1107
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
1108
- - request:
1109
- method: get
1110
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id4 %>
1111
- body:
1112
- encoding: US-ASCII
1113
- string: ''
1114
- headers:
1115
- Accept:
1116
- - application/json
1117
- Accept-Encoding:
1118
- - identity
1119
- User-Agent:
1120
- - hawkular-client-ruby
1121
- Hawkular-Tenant:
1122
- - all_tags_tenant
1123
- Content-Type:
1124
- - application/json
1125
- Host:
1126
- - localhost:8080
1127
- response:
1128
- status:
1129
- code: 200
1130
- message: OK
1131
- headers:
1132
- Expires:
1133
- - '0'
1134
- Cache-Control:
1135
- - no-cache, no-store, must-revalidate
1136
- X-Powered-By:
1137
- - Undertow/1
1138
- Server:
1139
- - WildFly/10
1140
- Pragma:
1141
- - no-cache
1142
- Date:
1143
- - Wed, 30 Nov 2016 06:47:09 GMT
1144
- Connection:
1145
- - keep-alive
1146
- Content-Type:
1147
- - application/json
1148
- Content-Length:
1149
- - '139'
1150
- body:
1151
- encoding: UTF-8
1152
- string: '{"id":"<%= id4 %>","tags":{"miq_metric":"true"},"dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"}'
1153
- http_version:
1154
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
1155
- - request:
1156
- method: post
1157
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
1158
- body:
1159
- encoding: UTF-8
1160
- string: '{"gauges":[{"id":"<%= id1 %>","data":[{"value":1.1,"timestamp":1480488429672}]},{"id":"<%= id2 %>","data":[{"value":2.2,"timestamp":1480488429672}]},{"id":"<%= id3 %>","data":[{"value":3.3,"timestamp":1480488429672}]}],"counters":[{"id":"<%= id1 %>","data":[{"value":1,"timestamp":1480488429672}]},{"id":"<%= id2 %>","data":[{"value":2,"timestamp":1480488429672}]},{"id":"<%= id3 %>","data":[{"value":3,"timestamp":1480488429672}]}],"availabilities":[{"id":"<%= id1 %>","data":[{"value":"up","timestamp":1480488429672}]},{"id":"<%= id2 %>","data":[{"value":"down","timestamp":1480488429672}]},{"id":"<%= id3 %>","data":[{"value":"up","timestamp":1480488429672}]},{"id":"<%= id4 %>","data":[{"value":"up","timestamp":10000},{"value":"down","timestamp":100000},{"value":"admin","timestamp":1000000}]}],"strings":[]}'
1161
- headers:
1162
- Accept:
1163
- - application/json
1164
- Accept-Encoding:
1165
- - identity
1166
- User-Agent:
1167
- - hawkular-client-ruby
1168
- Hawkular-Tenant:
1169
- - all_tags_tenant
1170
- Content-Type:
1171
- - application/json
1172
- Content-Length:
1173
- - '1073'
1174
- Host:
1175
- - localhost:8080
1176
- response:
1177
- status:
1178
- code: 200
1179
- message: OK
1180
- headers:
1181
- Expires:
1182
- - '0'
1183
- Connection:
1184
- - keep-alive
1185
- Cache-Control:
1186
- - no-cache, no-store, must-revalidate
1187
- X-Powered-By:
1188
- - Undertow/1
1189
- Server:
1190
- - WildFly/10
1191
- Pragma:
1192
- - no-cache
1193
- Content-Length:
1194
- - '0'
1195
- Date:
1196
- - Wed, 30 Nov 2016 06:47:09 GMT
1197
- body:
1198
- encoding: UTF-8
1199
- string: ''
1200
- http_version:
1201
- recorded_at: Wed, 30 Nov 2016 06:47:09 GMT
1202
- - request:
1203
- method: post
1204
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/stats/query
1205
- body:
1206
- encoding: UTF-8
1207
- string: '{"tags":"miq_metric:true","buckets":1,"bucketDuration":null,"start":null,"end":null}'
1208
- headers:
1209
- Accept:
1210
- - application/json
1211
- Accept-Encoding:
1212
- - identity
1213
- User-Agent:
1214
- - hawkular-client-ruby
1215
- Hawkular-Tenant:
1216
- - all_tags_tenant
1217
- Content-Type:
1218
- - application/json
1219
- Content-Length:
1220
- - '84'
1221
- Host:
1222
- - localhost:8080
1223
- response:
1224
- status:
1225
- code: 200
1226
- message: OK
1227
- headers:
1228
- Expires:
1229
- - '0'
1230
- Cache-Control:
1231
- - no-cache, no-store, must-revalidate
1232
- X-Powered-By:
1233
- - Undertow/1
1234
- Server:
1235
- - WildFly/10
1236
- Pragma:
1237
- - no-cache
1238
- Date:
1239
- - Wed, 30 Nov 2016 06:47:10 GMT
1240
- Connection:
1241
- - keep-alive
1242
- Content-Type:
1243
- - application/json
1244
- Content-Length:
1245
- - '2351'
1246
- body:
1247
- encoding: UTF-8
1248
- string: '{"gauge":{"<%= id3 %>":[{"start":1480459629830,"end":1480488429830,"min":3.3,"avg":3.3,"median":3.3,"max":3.3,"sum":3.3,"samples":1,"empty":false}],"<%= id4 %>":[{"start":1480459629830,"end":1480488429830,"empty":true}],"<%= id1 %>":[{"start":1480459629830,"end":1480488429830,"min":1.1,"avg":1.1,"median":1.1,"max":1.1,"sum":1.1,"samples":1,"empty":false}],"<%= id2 %>":[{"start":1480459629830,"end":1480488429830,"min":2.2,"avg":2.2,"median":2.2,"max":2.2,"sum":2.2,"samples":1,"empty":false}]},"counter":{"<%= id3 %>":[{"start":1480459629830,"end":1480488429830,"min":3.0,"avg":3.0,"median":3.0,"max":3.0,"sum":3.0,"samples":1,"empty":false}],"<%= id4 %>":[{"start":1480459629830,"end":1480488429830,"empty":true}],"<%= id1 %>":[{"start":1480459629830,"end":1480488429830,"min":1.0,"avg":1.0,"median":1.0,"max":1.0,"sum":1.0,"samples":1,"empty":false}],"<%= id2 %>":[{"start":1480459629830,"end":1480488429830,"min":2.0,"avg":2.0,"median":2.0,"max":2.0,"sum":2.0,"samples":1,"empty":false}]},"availability":{"<%= id3 %>":[{"start":1480459629830,"end":1480488429830,"durationMap":{"up":28800000},"lastNotUptime":0,"uptimeRatio":1.0,"notUpCount":0,"downtimeDuration":0,"lastDowntime":0,"downtimeCount":0,"adminDuration":0,"downDuration":0,"unknownDuration":0,"upDuration":28800000,"notUpDuration":0,"empty":false}],"<%= id4 %>":[{"start":1480459629830,"end":1480488429830,"empty":true}],"<%= id1 %>":[{"start":1480459629830,"end":1480488429830,"durationMap":{"up":28800000},"lastNotUptime":0,"uptimeRatio":1.0,"notUpCount":0,"downtimeDuration":0,"lastDowntime":0,"downtimeCount":0,"adminDuration":0,"downDuration":0,"unknownDuration":0,"upDuration":28800000,"notUpDuration":0,"empty":false}],"<%= id2 %>":[{"start":1480459629830,"end":1480488429830,"durationMap":{"down":28800000},"lastNotUptime":1480488429830,"uptimeRatio":0.0,"notUpCount":1,"downtimeDuration":28800000,"lastDowntime":1480488429830,"downtimeCount":1,"adminDuration":0,"downDuration":28800000,"unknownDuration":0,"upDuration":0,"notUpDuration":28800000,"empty":false}]}}'
1249
- http_version:
1250
- recorded_at: Wed, 30 Nov 2016 06:47:10 GMT
1251
- recorded_with: VCR 3.0.3