hawkular-client 2.2.1 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.rdoc +12 -0
  3. data/README.rdoc +5 -3
  4. data/Rakefile +8 -0
  5. data/hawkularclient.gemspec +1 -1
  6. data/lib/hawkular/base_client.rb +19 -1
  7. data/lib/hawkular/hawkular_client.rb +1 -1
  8. data/lib/hawkular/hawkular_client_utils.rb +1 -0
  9. data/lib/hawkular/inventory/entities.rb +234 -0
  10. data/lib/hawkular/inventory/inventory_api.rb +92 -311
  11. data/lib/hawkular/metrics/metric_api.rb +23 -10
  12. data/lib/hawkular/metrics/metrics_client.rb +14 -0
  13. data/lib/hawkular/operations/operations_api.rb +8 -2
  14. data/lib/hawkular/version.rb +1 -1
  15. data/spec/README.rdoc +62 -0
  16. data/spec/integration/alerts_spec.rb +18 -14
  17. data/spec/integration/hawkular_client_spec.rb +53 -14
  18. data/spec/integration/inventory_spec.rb +91 -44
  19. data/spec/integration/metric_spec.rb +574 -420
  20. data/spec/integration/operations_spec.rb +78 -5
  21. data/spec/integration/tokens_spec.rb +8 -4
  22. data/spec/spec_helper.rb +73 -13
  23. data/spec/unit/base_spec.rb +30 -1
  24. data/spec/unit/client_spec.rb +21 -9
  25. data/spec/vcr_cassettes/HawkularClient/Should_err_on_bad_credentials.yml +42 -0
  26. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +64 -34
  27. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml +27 -43
  28. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_types_with_bad_feed.yml +12 -8
  29. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +144 -64
  30. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml +26 -14
  31. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +20 -158
  32. data/spec/vcr_cassettes/HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml +40 -30
  33. data/spec/vcr_cassettes/{Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml → HawkularClient/and_Operations_client/Should_work_initializing_with_URI.yml} +18 -20
  34. data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +8 -8
  35. data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_work_initializing_with_URI.json +9 -0
  36. data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI.yml +77 -20
  37. data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI_on_metrics_client.yml +3 -3
  38. data/spec/vcr_cassettes/Inventory/Connection/Should_err_on_bad_credentials.yml +42 -0
  39. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +59 -12
  40. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +59 -12
  41. data/spec/vcr_cassettes/Inventory/{Helpers → inventory_0_17/Helpers}/create_url.yml +9 -7
  42. data/spec/vcr_cassettes/Inventory/{Templates/Should_list_feeds_when_using_SSL_without_certificate.yml → inventory_0_17/Helpers/get_feeds.yml} +23 -21
  43. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.json +47 -0
  44. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Client_should_listen_on_various_inventory_events.yml +48 -40
  45. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +397 -0
  46. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +129 -0
  47. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_feed.yml +13 -10
  48. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_feed_again.yml +40 -29
  49. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_nested_resource_and_metric_on_it.yml +193 -237
  50. data/spec/vcr_cassettes/Inventory/{Templates/Should_create_and_get_a_resource.yml → inventory_0_17/Templates/Should_create_a_resource.yml} +86 -172
  51. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_resource_with_metric.yml +296 -158
  52. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_resourcetype.yml +38 -29
  53. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_and_delete_feed.yml +42 -27
  54. data/spec/vcr_cassettes/Inventory/{Templates/Should_create_a_resource.yml → inventory_0_17/Templates/Should_create_and_get_a_resource.yml} +109 -89
  55. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_URLs.yml +20 -17
  56. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_WildFlys.yml +19 -12
  57. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +131 -0
  58. data/spec/vcr_cassettes/Inventory/{Helpers/get_feeds.yml → inventory_0_17/Templates/Should_list_all_the_resource_types.yml} +14 -11
  59. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +315 -0
  60. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_children_of_nested_resource.yml +45 -30
  61. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_feeds.yml +16 -10
  62. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml +60 -0
  63. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +935 -0
  64. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +357 -0
  65. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +122 -0
  66. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +292 -0
  67. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +235 -0
  68. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +121 -0
  69. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +1099 -0
  70. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +377 -0
  71. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_resources_for_feed.yml +19 -9
  72. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_types_with_bad_feed.yml +10 -8
  73. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_types_with_feed.yml +164 -0
  74. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_not_find_an_unknown_resource.yml +12 -10
  75. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_return_config_data_of_given_nested_resource.yml +17 -11
  76. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +66 -0
  77. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_return_the_version.yml +48 -0
  78. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Get_metric_definition_by_id.yml +49 -0
  79. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Retrieve_metric_rate_points.yml +88 -0
  80. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_Availability_definition.yml +97 -0
  81. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_Counter_definition.yml +97 -0
  82. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_gauge_definition.yml +97 -0
  83. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_push_metric_data_to_existing_gauge.yml +48 -0
  84. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_update_tags_for_Availability_definition.yml +140 -0
  85. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_update_tags_for_gauge_definition.yml +140 -0
  86. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +95 -0
  87. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +95 -0
  88. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +93 -0
  89. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +138 -0
  90. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +230 -0
  91. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +95 -0
  92. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +95 -0
  93. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +230 -0
  94. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +314 -0
  95. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +269 -0
  96. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +138 -0
  97. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +95 -0
  98. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +95 -0
  99. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +269 -0
  100. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +138 -0
  101. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +93 -0
  102. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +230 -0
  103. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +330 -0
  104. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
  105. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +273 -0
  106. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +48 -0
  107. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +48 -0
  108. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Status/Should_return_the_version.yml +42 -0
  109. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +95 -0
  110. data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +5 -9
  111. data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_create_and_return_Availability_using_Hash_parameter.yml +5 -9
  112. data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_push_metric_data_to_non-existing_Availability.yml +9 -15
  113. data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_update_tags_for_Availability_definition.yml +11 -21
  114. data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_create_and_return_counter_using_Hash_parameter.yml +5 -9
  115. data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_create_counter_definition_using_MetricDefinition_parameter.yml +5 -9
  116. data/spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +200 -0
  117. data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_push_metric_data_to_existing_counter.yml +16 -28
  118. data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_push_metric_data_to_non-existing_counter.yml +9 -15
  119. data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_create_gauge_definition_using_Hash.yml +5 -9
  120. data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_create_gauge_definition_using_MetricDefinition.yml +6 -10
  121. data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_push_metric_data_to_existing_gauge.yml +18 -30
  122. data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_push_metric_data_to_non-existing_gauge.yml +9 -15
  123. data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_return_periods.yml +6 -10
  124. data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_update_tags_for_gauge_definition.yml +11 -21
  125. data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_0_8_0/Templates/Mixed_metrics}/Should_send_mixed_metric_request.yml +19 -33
  126. data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_0_8_0/Templates/Mixed_metrics}/Should_send_mixed_metric_request_of_a_single_type.yml +19 -31
  127. data/spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Simple/Should_be_Cool.yml +82 -0
  128. data/spec/vcr_cassettes/Metrics/{Status.yml → metrics_0_8_0/Templates/Status/Should_return_the_version.yml} +6 -8
  129. data/spec/vcr_cassettes/{Tenants → Metrics/metrics_0_8_0/Templates/Tenants}/Should_create_and_return_tenant.yml +12 -8
  130. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +95 -0
  131. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +95 -0
  132. data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_services/Templates/Availability_metrics}/Should_group_contiguous_values.yml +7 -7
  133. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +138 -0
  134. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +230 -0
  135. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +95 -0
  136. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +95 -0
  137. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +230 -0
  138. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +314 -0
  139. data/spec/vcr_cassettes/{Counter_metrics/Should_get_metrics_with_limit_and_order.yml → Metrics/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml} +72 -61
  140. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +138 -0
  141. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +95 -0
  142. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +95 -0
  143. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +269 -0
  144. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +138 -0
  145. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +93 -0
  146. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +48 -0
  147. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +49 -0
  148. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +230 -0
  149. data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_services/Templates/Mixed_metrics}/Should_requests_raw_data_for_multiple_metrics.yml +25 -25
  150. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
  151. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +273 -0
  152. data/spec/vcr_cassettes/{No_Tenant → Metrics/metrics_services/Templates/No_Tenant}/Should_fail.yml +16 -10
  153. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Simple/Should_be_Cool.yml +48 -0
  154. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Status/Should_return_the_version.yml +42 -0
  155. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +95 -0
  156. data/spec/vcr_cassettes/{Counter_metrics → New_API_Counter_metrics}/Should_get_metrics_as_bucketed_results.yml +73 -33
  157. data/spec/vcr_cassettes/New_API_Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
  158. data/spec/vcr_cassettes/Operation/Helpers/get_feed.yml +17 -11
  159. data/spec/vcr_cassettes/Operation/Helpers/get_tenant.yml +13 -11
  160. data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +2 -2
  161. data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +2 -2
  162. data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +2 -2
  163. data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +4 -4
  164. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +2 -2
  165. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +2 -2
  166. data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +2 -2
  167. data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +2 -2
  168. data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +2 -2
  169. data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +2 -2
  170. data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
  171. data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
  172. data/spec/vcr_cassettes/Operation/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +13 -0
  173. metadata +259 -139
  174. data/spec/vcr_cassettes/Gauge_metrics/Platform_mem.yml +0 -44
  175. data/spec/vcr_cassettes/Gauge_metrics/Platform_mem_def.yml +0 -45
  176. data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +0 -4446
  177. data/spec/vcr_cassettes/Inventory/Templates/Client_should_listen_on_various_inventory_events.json +0 -47
  178. data/spec/vcr_cassettes/Inventory/Templates/Helpers/generate_some_events_for_websocket.yml +0 -542
  179. data/spec/vcr_cassettes/Inventory/Templates/Should_List_datasources_with_no_props.yml +0 -174
  180. data/spec/vcr_cassettes/Inventory/Templates/Should_list_WildFlys_with_props.yml +0 -115
  181. data/spec/vcr_cassettes/Inventory/Templates/Should_list_all_the_resource_types.yml +0 -126
  182. data/spec/vcr_cassettes/Inventory/Templates/Should_list_children_of_WildFly.yml +0 -308
  183. data/spec/vcr_cassettes/Inventory/Templates/Should_list_heap_metrics_for_WildFlys.yml +0 -712
  184. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_for_WildFlys.yml +0 -278
  185. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_metric_type.yml +0 -530
  186. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_resource_type.yml +0 -278
  187. data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource.yml +0 -185
  188. data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource_type.yml +0 -126
  189. data/spec/vcr_cassettes/Inventory/Templates/Should_list_recursive_children_of_WildFly.yml +0 -2369
  190. data/spec/vcr_cassettes/Inventory/Templates/Should_list_relationships_of_WildFly.yml +0 -415
  191. data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_feed.yml +0 -124
  192. data/spec/vcr_cassettes/Inventory/Templates/Should_return_config_data_of_given_resource.yml +0 -57
  193. data/spec/vcr_cassettes/Simple/Should_be_Cool.yml +0 -208
  194. data/spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +0 -50
@@ -13,8 +13,6 @@ http_interactions:
13
13
  - gzip, deflate
14
14
  Hawkular-Tenant:
15
15
  - vcr-test-tenant-123
16
- Tenantid:
17
- - vcr-test-tenant-123
18
16
  Content-Type:
19
17
  - application/json
20
18
  Content-Length:
@@ -37,12 +35,12 @@ http_interactions:
37
35
  Content-Length:
38
36
  - '0'
39
37
  Date:
40
- - Fri, 30 Oct 2015 12:01:28 GMT
38
+ - Thu, 30 Jun 2016 16:31:37 GMT
41
39
  body:
42
40
  encoding: UTF-8
43
41
  string: ''
44
42
  http_version:
45
- recorded_at: Fri, 30 Oct 2015 12:01:28 GMT
43
+ recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
46
44
  - request:
47
45
  method: get
48
46
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>
@@ -56,8 +54,6 @@ http_interactions:
56
54
  - gzip, deflate
57
55
  Hawkular-Tenant:
58
56
  - vcr-test-tenant-123
59
- Tenantid:
60
- - vcr-test-tenant-123
61
57
  Content-Type:
62
58
  - application/json
63
59
  User-Agent:
@@ -78,10 +74,10 @@ http_interactions:
78
74
  Content-Length:
79
75
  - '137'
80
76
  Date:
81
- - Fri, 30 Oct 2015 12:01:28 GMT
77
+ - Thu, 30 Jun 2016 16:31:37 GMT
82
78
  body:
83
79
  encoding: UTF-8
84
80
  string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"gauge","tenantId":"vcr-test-tenant-123"}'
85
81
  http_version:
86
- recorded_at: Fri, 30 Oct 2015 12:01:28 GMT
87
- recorded_with: VCR 2.9.3
82
+ recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
83
+ recorded_with: VCR 3.0.1
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://localhost:8080/hawkular/metrics/gauges
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"id":"338ff3bf-4990-4ac7-b43f-c6cb2f9e2bea","dataRetention":90,"tags":{"tag":"value"}}'
8
+ string: '{"id":"<%= id %>","dataRetention":90,"tags":{"tag":"value"}}'
9
9
  headers:
10
10
  Accept:
11
11
  - application/json
@@ -13,8 +13,6 @@ http_interactions:
13
13
  - gzip, deflate
14
14
  Hawkular-Tenant:
15
15
  - vcr-test-tenant-123
16
- Tenantid:
17
- - vcr-test-tenant-123
18
16
  Content-Type:
19
17
  - application/json
20
18
  Content-Length:
@@ -37,12 +35,12 @@ http_interactions:
37
35
  Content-Length:
38
36
  - '0'
39
37
  Date:
40
- - Fri, 30 Oct 2015 12:01:28 GMT
38
+ - Thu, 30 Jun 2016 16:31:37 GMT
41
39
  body:
42
40
  encoding: UTF-8
43
41
  string: ''
44
42
  http_version:
45
- recorded_at: Fri, 30 Oct 2015 12:01:28 GMT
43
+ recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
46
44
  - request:
47
45
  method: get
48
46
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>
@@ -56,8 +54,6 @@ http_interactions:
56
54
  - gzip, deflate
57
55
  Hawkular-Tenant:
58
56
  - vcr-test-tenant-123
59
- Tenantid:
60
- - vcr-test-tenant-123
61
57
  Content-Type:
62
58
  - application/json
63
59
  User-Agent:
@@ -78,10 +74,10 @@ http_interactions:
78
74
  Content-Length:
79
75
  - '135'
80
76
  Date:
81
- - Fri, 30 Oct 2015 12:01:28 GMT
77
+ - Thu, 30 Jun 2016 16:31:37 GMT
82
78
  body:
83
79
  encoding: UTF-8
84
80
  string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"vcr-test-tenant-123"}'
85
81
  http_version:
86
- recorded_at: Fri, 30 Oct 2015 12:01:28 GMT
87
- recorded_with: VCR 2.9.3
82
+ recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
83
+ recorded_with: VCR 3.0.1
@@ -13,8 +13,6 @@ http_interactions:
13
13
  - gzip, deflate
14
14
  Hawkular-Tenant:
15
15
  - vcr-test-tenant-123
16
- Tenantid:
17
- - vcr-test-tenant-123
18
16
  Content-Type:
19
17
  - application/json
20
18
  Content-Length:
@@ -37,18 +35,18 @@ http_interactions:
37
35
  Content-Length:
38
36
  - '0'
39
37
  Date:
40
- - Fri, 30 Oct 2015 12:01:29 GMT
38
+ - Thu, 30 Jun 2016 16:31:37 GMT
41
39
  body:
42
40
  encoding: UTF-8
43
41
  string: ''
44
42
  http_version:
45
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
43
+ recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
46
44
  - request:
47
45
  method: post
48
46
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/data
49
47
  body:
50
48
  encoding: UTF-8
51
- string: '[{"value":1,"timestamp":1446206489117},{"value":2,"timestamp":1446206489127},{"value":3,"timestamp":1446206489137}]'
49
+ string: '[{"value":1,"timestamp":<%= now30 %>},{"value":2,"timestamp":<%= now20 %>},{"value":3,"timestamp":<%= now10 %>}]'
52
50
  headers:
53
51
  Accept:
54
52
  - application/json
@@ -56,8 +54,6 @@ http_interactions:
56
54
  - gzip, deflate
57
55
  Hawkular-Tenant:
58
56
  - vcr-test-tenant-123
59
- Tenantid:
60
- - vcr-test-tenant-123
61
57
  Content-Type:
62
58
  - application/json
63
59
  Content-Length:
@@ -78,12 +74,12 @@ http_interactions:
78
74
  Content-Length:
79
75
  - '0'
80
76
  Date:
81
- - Fri, 30 Oct 2015 12:01:29 GMT
77
+ - Thu, 30 Jun 2016 16:31:37 GMT
82
78
  body:
83
79
  encoding: UTF-8
84
80
  string: ''
85
81
  http_version:
86
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
82
+ recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
87
83
  - request:
88
84
  method: get
89
85
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
@@ -97,8 +93,6 @@ http_interactions:
97
93
  - gzip, deflate
98
94
  Hawkular-Tenant:
99
95
  - vcr-test-tenant-123
100
- Tenantid:
101
- - vcr-test-tenant-123
102
96
  Content-Type:
103
97
  - application/json
104
98
  User-Agent:
@@ -119,18 +113,18 @@ http_interactions:
119
113
  Content-Length:
120
114
  - '121'
121
115
  Date:
122
- - Fri, 30 Oct 2015 12:01:29 GMT
116
+ - Thu, 30 Jun 2016 16:31:38 GMT
123
117
  body:
124
118
  encoding: UTF-8
125
- string: '[{"timestamp":1446206489137,"value":3.0},{"timestamp":1446206489127,"value":2.0},{"timestamp":1446206489117,"value":1.0}]'
119
+ string: '[{"timestamp":<%= now10 %>,"value":3.0},{"timestamp":<%= now20 %>,"value":2.0},{"timestamp":<%= now30 %>,"value":1.0}]'
126
120
  http_version:
127
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
121
+ recorded_at: Thu, 30 Jun 2016 16:31:38 GMT
128
122
  - request:
129
123
  method: post
130
124
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/data
131
125
  body:
132
126
  encoding: UTF-8
133
- string: '[{"value":4,"timestamp":1446206489202}]'
127
+ string: '[{"value":4,"timestamp":1467304298002}]'
134
128
  headers:
135
129
  Accept:
136
130
  - application/json
@@ -138,8 +132,6 @@ http_interactions:
138
132
  - gzip, deflate
139
133
  Hawkular-Tenant:
140
134
  - vcr-test-tenant-123
141
- Tenantid:
142
- - vcr-test-tenant-123
143
135
  Content-Type:
144
136
  - application/json
145
137
  Content-Length:
@@ -160,12 +152,12 @@ http_interactions:
160
152
  Content-Length:
161
153
  - '0'
162
154
  Date:
163
- - Fri, 30 Oct 2015 12:01:29 GMT
155
+ - Thu, 30 Jun 2016 16:31:38 GMT
164
156
  body:
165
157
  encoding: UTF-8
166
158
  string: ''
167
159
  http_version:
168
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
160
+ recorded_at: Thu, 30 Jun 2016 16:31:38 GMT
169
161
  - request:
170
162
  method: get
171
163
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
@@ -179,8 +171,6 @@ http_interactions:
179
171
  - gzip, deflate
180
172
  Hawkular-Tenant:
181
173
  - vcr-test-tenant-123
182
- Tenantid:
183
- - vcr-test-tenant-123
184
174
  Content-Type:
185
175
  - application/json
186
176
  User-Agent:
@@ -201,15 +191,15 @@ http_interactions:
201
191
  Content-Length:
202
192
  - '161'
203
193
  Date:
204
- - Fri, 30 Oct 2015 12:01:29 GMT
194
+ - Thu, 30 Jun 2016 16:31:38 GMT
205
195
  body:
206
196
  encoding: UTF-8
207
- string: '[{"timestamp":1446206489202,"value":4.0},{"timestamp":1446206489137,"value":3.0},{"timestamp":1446206489127,"value":2.0},{"timestamp":1446206489117,"value":1.0}]'
197
+ string: '[{"timestamp":1467304298002,"value":4.0},{"timestamp":<%= now10 %>,"value":3.0},{"timestamp":<%= now20 %>,"value":2.0},{"timestamp":<%= now30 %>,"value":1.0}]'
208
198
  http_version:
209
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
199
+ recorded_at: Thu, 30 Jun 2016 16:31:38 GMT
210
200
  - request:
211
201
  method: get
212
- uri: http://localhost:8080/hawkular/metrics/counters/<%= id %>/data/?end=<%= ends %>&start=<%= starts %>
202
+ uri: http://localhost:8080/hawkular/metrics/counters/<%= id %>/data/?end=<%= ends %>&start=<%= starts %>
213
203
  body:
214
204
  encoding: US-ASCII
215
205
  string: ''
@@ -220,8 +210,6 @@ http_interactions:
220
210
  - gzip, deflate
221
211
  Hawkular-Tenant:
222
212
  - vcr-test-tenant-123
223
- Tenantid:
224
- - vcr-test-tenant-123
225
213
  Content-Type:
226
214
  - application/json
227
215
  User-Agent:
@@ -240,10 +228,10 @@ http_interactions:
240
228
  Content-Length:
241
229
  - '0'
242
230
  Date:
243
- - Fri, 30 Oct 2015 12:01:29 GMT
231
+ - Thu, 30 Jun 2016 16:31:38 GMT
244
232
  body:
245
233
  encoding: UTF-8
246
234
  string: ''
247
235
  http_version:
248
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
249
- recorded_with: VCR 2.9.3
236
+ recorded_at: Thu, 30 Jun 2016 16:31:38 GMT
237
+ recorded_with: VCR 3.0.1
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/data
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '[{"value":3.1415926,"timestamp":1446206488982}]'
8
+ string: '[{"value":3.1415926,"timestamp":1467304297911}]'
9
9
  headers:
10
10
  Accept:
11
11
  - application/json
@@ -13,8 +13,6 @@ http_interactions:
13
13
  - gzip, deflate
14
14
  Hawkular-Tenant:
15
15
  - vcr-test-tenant-123
16
- Tenantid:
17
- - vcr-test-tenant-123
18
16
  Content-Type:
19
17
  - application/json
20
18
  Content-Length:
@@ -35,12 +33,12 @@ http_interactions:
35
33
  Content-Length:
36
34
  - '0'
37
35
  Date:
38
- - Fri, 30 Oct 2015 12:01:29 GMT
36
+ - Thu, 30 Jun 2016 16:31:37 GMT
39
37
  body:
40
38
  encoding: UTF-8
41
39
  string: ''
42
40
  http_version:
43
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
41
+ recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
44
42
  - request:
45
43
  method: get
46
44
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
@@ -54,8 +52,6 @@ http_interactions:
54
52
  - gzip, deflate
55
53
  Hawkular-Tenant:
56
54
  - vcr-test-tenant-123
57
- Tenantid:
58
- - vcr-test-tenant-123
59
55
  Content-Type:
60
56
  - application/json
61
57
  User-Agent:
@@ -76,12 +72,12 @@ http_interactions:
76
72
  Content-Length:
77
73
  - '47'
78
74
  Date:
79
- - Fri, 30 Oct 2015 12:01:29 GMT
75
+ - Thu, 30 Jun 2016 16:31:37 GMT
80
76
  body:
81
77
  encoding: UTF-8
82
- string: '[{"timestamp":1446206488982,"value":3.1415926}]'
78
+ string: '[{"timestamp":1467304297911,"value":3.1415926}]'
83
79
  http_version:
84
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
80
+ recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
85
81
  - request:
86
82
  method: get
87
83
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>
@@ -95,8 +91,6 @@ http_interactions:
95
91
  - gzip, deflate
96
92
  Hawkular-Tenant:
97
93
  - vcr-test-tenant-123
98
- Tenantid:
99
- - vcr-test-tenant-123
100
94
  Content-Type:
101
95
  - application/json
102
96
  User-Agent:
@@ -117,10 +111,10 @@ http_interactions:
117
111
  Content-Length:
118
112
  - '93'
119
113
  Date:
120
- - Fri, 30 Oct 2015 12:01:29 GMT
114
+ - Thu, 30 Jun 2016 16:31:37 GMT
121
115
  body:
122
116
  encoding: UTF-8
123
117
  string: '{"id":"<%= id %>","type":"gauge","tenantId":"vcr-test-tenant-123"}'
124
118
  http_version:
125
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
126
- recorded_with: VCR 2.9.3
119
+ recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
120
+ recorded_with: VCR 3.0.1
@@ -13,8 +13,6 @@ http_interactions:
13
13
  - gzip, deflate
14
14
  Hawkular-Tenant:
15
15
  - vcr-test-tenant-123
16
- Tenantid:
17
- - vcr-test-tenant-123
18
16
  Content-Type:
19
17
  - application/json
20
18
  Content-Length:
@@ -35,12 +33,12 @@ http_interactions:
35
33
  Content-Length:
36
34
  - '0'
37
35
  Date:
38
- - Fri, 30 Oct 2015 12:01:29 GMT
36
+ - Thu, 30 Jun 2016 16:31:38 GMT
39
37
  body:
40
38
  encoding: UTF-8
41
39
  string: ''
42
40
  http_version:
43
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
41
+ recorded_at: Thu, 30 Jun 2016 16:31:38 GMT
44
42
  - request:
45
43
  method: get
46
44
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/periods?op=lte&start=<%= before4h %>&threshold=4
@@ -54,8 +52,6 @@ http_interactions:
54
52
  - gzip, deflate
55
53
  Hawkular-Tenant:
56
54
  - vcr-test-tenant-123
57
- Tenantid:
58
- - vcr-test-tenant-123
59
55
  Content-Type:
60
56
  - application/json
61
57
  User-Agent:
@@ -76,10 +72,10 @@ http_interactions:
76
72
  Content-Length:
77
73
  - '31'
78
74
  Date:
79
- - Fri, 30 Oct 2015 12:01:29 GMT
75
+ - Thu, 30 Jun 2016 16:31:38 GMT
80
76
  body:
81
77
  encoding: UTF-8
82
- string: '[[<%= minus30 %>,<%= start %>]]'
78
+ string: "[[<%= minus30 %>,<%= start %>]]"
83
79
  http_version:
84
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
85
- recorded_with: VCR 2.9.3
80
+ recorded_at: Thu, 30 Jun 2016 16:31:38 GMT
81
+ recorded_with: VCR 3.0.1
@@ -13,8 +13,6 @@ http_interactions:
13
13
  - gzip, deflate
14
14
  Hawkular-Tenant:
15
15
  - vcr-test-tenant-123
16
- Tenantid:
17
- - vcr-test-tenant-123
18
16
  Content-Type:
19
17
  - application/json
20
18
  Content-Length:
@@ -37,12 +35,12 @@ http_interactions:
37
35
  Content-Length:
38
36
  - '0'
39
37
  Date:
40
- - Fri, 30 Oct 2015 12:01:29 GMT
38
+ - Thu, 30 Jun 2016 16:31:38 GMT
41
39
  body:
42
40
  encoding: UTF-8
43
41
  string: ''
44
42
  http_version:
45
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
43
+ recorded_at: Thu, 30 Jun 2016 16:31:38 GMT
46
44
  - request:
47
45
  method: get
48
46
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>
@@ -56,8 +54,6 @@ http_interactions:
56
54
  - gzip, deflate
57
55
  Hawkular-Tenant:
58
56
  - vcr-test-tenant-123
59
- Tenantid:
60
- - vcr-test-tenant-123
61
57
  Content-Type:
62
58
  - application/json
63
59
  User-Agent:
@@ -78,12 +74,12 @@ http_interactions:
78
74
  Content-Length:
79
75
  - '149'
80
76
  Date:
81
- - Fri, 30 Oct 2015 12:01:29 GMT
77
+ - Thu, 30 Jun 2016 16:31:38 GMT
82
78
  body:
83
79
  encoding: UTF-8
84
80
  string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>"},"type":"gauge","tenantId":"vcr-test-tenant-123"}'
85
81
  http_version:
86
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
82
+ recorded_at: Thu, 30 Jun 2016 16:31:38 GMT
87
83
  - request:
88
84
  method: put
89
85
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/tags
@@ -97,8 +93,6 @@ http_interactions:
97
93
  - gzip, deflate
98
94
  Hawkular-Tenant:
99
95
  - vcr-test-tenant-123
100
- Tenantid:
101
- - vcr-test-tenant-123
102
96
  Content-Type:
103
97
  - application/json
104
98
  Content-Length:
@@ -119,12 +113,12 @@ http_interactions:
119
113
  Content-Length:
120
114
  - '0'
121
115
  Date:
122
- - Fri, 30 Oct 2015 12:01:29 GMT
116
+ - Thu, 30 Jun 2016 16:31:38 GMT
123
117
  body:
124
118
  encoding: UTF-8
125
119
  string: ''
126
120
  http_version:
127
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
121
+ recorded_at: Thu, 30 Jun 2016 16:31:38 GMT
128
122
  - request:
129
123
  method: get
130
124
  uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>
@@ -138,8 +132,6 @@ http_interactions:
138
132
  - gzip, deflate
139
133
  Hawkular-Tenant:
140
134
  - vcr-test-tenant-123
141
- Tenantid:
142
- - vcr-test-tenant-123
143
135
  Content-Type:
144
136
  - application/json
145
137
  User-Agent:
@@ -160,12 +152,12 @@ http_interactions:
160
152
  Content-Length:
161
153
  - '169'
162
154
  Date:
163
- - Fri, 30 Oct 2015 12:01:29 GMT
155
+ - Thu, 30 Jun 2016 16:31:38 GMT
164
156
  body:
165
157
  encoding: UTF-8
166
158
  string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"type":"gauge","tenantId":"vcr-test-tenant-123"}'
167
159
  http_version:
168
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
160
+ recorded_at: Thu, 30 Jun 2016 16:31:38 GMT
169
161
  - request:
170
162
  method: get
171
163
  uri: http://localhost:8080/hawkular/metrics/metrics/?tags=myTag:<%= id %>&type=gauge
@@ -179,8 +171,6 @@ http_interactions:
179
171
  - gzip, deflate
180
172
  Hawkular-Tenant:
181
173
  - vcr-test-tenant-123
182
- Tenantid:
183
- - vcr-test-tenant-123
184
174
  Content-Type:
185
175
  - application/json
186
176
  User-Agent:
@@ -201,10 +191,10 @@ http_interactions:
201
191
  Content-Length:
202
192
  - '171'
203
193
  Date:
204
- - Fri, 30 Oct 2015 12:01:29 GMT
194
+ - Thu, 30 Jun 2016 16:31:38 GMT
205
195
  body:
206
196
  encoding: UTF-8
207
197
  string: '[{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"type":"gauge","tenantId":"vcr-test-tenant-123"}]'
208
198
  http_version:
209
- recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
210
- recorded_with: VCR 2.9.3
199
+ recorded_at: Thu, 30 Jun 2016 16:31:38 GMT
200
+ recorded_with: VCR 3.0.1