hawkular-client 2.6.0 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (291) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.rdoc +5 -2
  3. data/lib/hawkular/hawkular_client.rb +1 -1
  4. data/lib/hawkular/inventory/inventory_api.rb +2 -1
  5. data/lib/hawkular/metrics/metric_api.rb +4 -1
  6. data/lib/hawkular/operations/operations_api.rb +7 -4
  7. data/lib/hawkular/version.rb +1 -1
  8. data/spec/integration/inventory_spec.rb +516 -466
  9. data/spec/integration/metric_spec.rb +612 -561
  10. data/spec/integration/operations_spec.rb +425 -504
  11. data/spec/spec_helper.rb +73 -19
  12. data/spec/vcr_cassettes/Inventory/{Connection → NonSecure/Connection/Templates}/Should_err_on_bad_credentials.yml +6 -4
  13. data/spec/vcr_cassettes/Inventory/{Tenants → NonSecure/Tenants/Templates}/Should_Get_Tenant_For_Explicit_Credentials.yml +13 -9
  14. data/spec/vcr_cassettes/Inventory/{Tenants → NonSecure/Tenants/Templates}/Should_Get_Tenant_For_Implicit_Credentials.yml +13 -9
  15. data/spec/vcr_cassettes/Inventory/{inventory_0_17/Templates → NonSecure/inventory_0_17}/Client_should_listen_on_various_inventory_events.json +5 -5
  16. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Client_should_listen_on_various_inventory_events.yml +21 -13
  17. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17/Templates}/Helpers/create_url.yml +12 -10
  18. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Helpers/generate_some_events_for_websocket.yml +51 -37
  19. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17/Templates}/Helpers/get_feeds.yml +11 -9
  20. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_List_datasources_with_no_props.yml +11 -7
  21. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_feed.yml +6 -4
  22. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_feed_again.yml +16 -10
  23. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +664 -0
  24. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_resource.yml +31 -19
  25. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_resource_with_metric.yml +77 -49
  26. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_resourcetype.yml +16 -10
  27. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_and_delete_feed.yml +19 -13
  28. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +420 -0
  29. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +132 -0
  30. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_have_the_same_requested_metric_type_id.yml +8 -8
  31. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_URLs.yml +29 -7
  32. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_WildFlys.yml +10 -8
  33. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_WildFlys_with_props.yml +24 -17
  34. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_all_the_resource_types.yml +6 -4
  35. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_children_of_WildFly.yml +31 -13
  36. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_children_of_nested_resource.yml +16 -10
  37. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_feeds.yml +9 -7
  38. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_heap_metrics_for_WildFlys.yml +196 -188
  39. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_metrics_for_WildFlys.yml +72 -68
  40. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_metrics_of_given_metric_type.yml +12 -44
  41. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_metrics_of_given_resource_type.yml +63 -61
  42. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_operation_definitions_of_given_resource.yml +220 -156
  43. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_operation_definitions_of_given_resource_type.yml +200 -140
  44. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_recursive_children_of_WildFly.yml +30 -12
  45. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_relationships_of_WildFly.yml +129 -113
  46. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_resources_for_feed.yml +12 -10
  47. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_types_with_bad_feed.yml +6 -4
  48. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_types_with_feed.yml +7 -5
  49. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_not_find_an_unknown_resource.yml +6 -4
  50. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_return_config_data_of_given_nested_resource.yml +6 -4
  51. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_return_config_data_of_given_resource.yml +15 -10
  52. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_return_the_version.yml +8 -6
  53. data/spec/vcr_cassettes/Inventory/Secure/Connection/Templates/Should_err_on_bad_credentials.yml +44 -0
  54. data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Explicit_Credentials.yml +101 -0
  55. data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Implicit_Credentials.yml +101 -0
  56. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Client_should_listen_on_various_inventory_events.json +47 -0
  57. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.yml +207 -0
  58. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/create_url.yml +52 -0
  59. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +411 -0
  60. data/spec/vcr_cassettes/Inventory/{inventory_0_17/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml → Secure/inventory_0_17/Templates/Helpers/get_feeds.yml} +13 -11
  61. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +133 -0
  62. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed.yml +59 -0
  63. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed_again.yml +181 -0
  64. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → Secure/inventory_0_17}/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +108 -150
  65. data/spec/vcr_cassettes/Inventory/{inventory_0_17/Templates/Should_create_and_get_a_resource.yml → Secure/inventory_0_17/Templates/Should_create_a_resource.yml} +45 -87
  66. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resource_with_metric.yml +846 -0
  67. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resourcetype.yml +169 -0
  68. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_delete_feed.yml +166 -0
  69. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +420 -0
  70. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +132 -0
  71. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_have_the_same_requested_metric_type_id.yml +73 -0
  72. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_URLs.yml +90 -0
  73. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys.yml +70 -0
  74. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +138 -0
  75. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_all_the_resource_types.yml +59 -0
  76. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +333 -0
  77. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_nested_resource.yml +180 -0
  78. data/spec/vcr_cassettes/{Operation/Helpers/get_feed.yml → Inventory/Secure/inventory_0_17/Templates/Should_list_feeds.yml} +13 -11
  79. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +943 -0
  80. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +361 -0
  81. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +90 -0
  82. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +294 -0
  83. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +871 -0
  84. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +740 -0
  85. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +1117 -0
  86. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +393 -0
  87. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_resources_for_feed.yml +84 -0
  88. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_bad_feed.yml +55 -0
  89. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_feed.yml +166 -0
  90. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_not_find_an_unknown_resource.yml +59 -0
  91. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_nested_resource.yml +66 -0
  92. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +71 -0
  93. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_the_version.yml +50 -0
  94. data/spec/vcr_cassettes/Inventory/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml +114 -0
  95. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Get_metric_definition_by_id.yml +10 -8
  96. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Retrieve_metric_rate_points.yml +18 -14
  97. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_create_Availability_definition.yml +18 -14
  98. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_create_Counter_definition.yml +18 -14
  99. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_create_gauge_definition.yml +18 -14
  100. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_push_metric_data_to_existing_gauge.yml +9 -7
  101. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_update_tags_for_Availability_definition.yml +28 -22
  102. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_update_tags_for_gauge_definition.yml +28 -22
  103. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +12 -8
  104. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +14 -10
  105. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_group_contiguous_values.yml +10 -6
  106. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +19 -13
  107. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +31 -21
  108. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +14 -10
  109. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +12 -8
  110. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +28 -18
  111. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +38 -24
  112. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +32 -20
  113. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +19 -13
  114. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +14 -10
  115. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +12 -8
  116. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +32 -20
  117. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +19 -13
  118. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_return_periods.yml +10 -6
  119. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +31 -21
  120. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +48 -52
  121. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +39 -25
  122. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +36 -24
  123. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/No_Tenant/Should_fail.yml +6 -4
  124. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Simple/Should_be_Cool.yml +2 -2
  125. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Status/Should_return_the_version.yml +5 -3
  126. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
  127. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -0
  128. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +3 -3
  129. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -0
  130. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -0
  131. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +3 -3
  132. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -0
  133. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -0
  134. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -0
  135. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -0
  136. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +3 -3
  137. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -0
  138. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -0
  139. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -0
  140. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_return_periods.yml +0 -0
  141. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -0
  142. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -0
  143. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -0
  144. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Simple/Should_be_Cool.yml +0 -0
  145. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Status/Should_return_the_version.yml +0 -0
  146. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Tenants/Should_create_and_return_tenant.yml +0 -0
  147. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +19 -15
  148. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +21 -17
  149. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_group_contiguous_values.yml +17 -13
  150. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +29 -23
  151. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +47 -37
  152. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +21 -17
  153. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +19 -15
  154. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +44 -34
  155. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +60 -46
  156. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +51 -39
  157. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +29 -23
  158. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +21 -17
  159. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +19 -15
  160. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +51 -39
  161. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +29 -23
  162. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_return_periods.yml +17 -13
  163. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +50 -0
  164. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +12 -10
  165. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +47 -37
  166. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_rate_stats_for_mixed_metric.yml +328 -0
  167. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +32 -32
  168. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +70 -74
  169. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +61 -47
  170. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +55 -43
  171. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/No_Tenant/Should_fail.yml +9 -7
  172. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Simple/Should_be_Cool.yml +3 -3
  173. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Status/Should_return_the_version.yml +10 -8
  174. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
  175. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +51 -0
  176. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +92 -0
  177. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +101 -0
  178. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +101 -0
  179. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +101 -0
  180. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +50 -0
  181. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +146 -0
  182. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +146 -0
  183. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +99 -0
  184. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +99 -0
  185. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +97 -0
  186. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +144 -0
  187. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +240 -0
  188. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +99 -0
  189. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +99 -0
  190. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +240 -0
  191. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +328 -0
  192. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +281 -0
  193. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +144 -0
  194. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +99 -0
  195. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +99 -0
  196. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +281 -0
  197. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +144 -0
  198. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +97 -0
  199. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +240 -0
  200. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +326 -0
  201. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +314 -0
  202. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +285 -0
  203. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +50 -0
  204. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +48 -0
  205. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Status/Should_return_the_version.yml +44 -0
  206. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
  207. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +99 -0
  208. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +99 -0
  209. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +97 -0
  210. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +144 -0
  211. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +240 -0
  212. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +99 -0
  213. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +99 -0
  214. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +240 -0
  215. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +328 -0
  216. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +281 -0
  217. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +144 -0
  218. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +99 -0
  219. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +99 -0
  220. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +281 -0
  221. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +144 -0
  222. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +97 -0
  223. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +50 -0
  224. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +51 -0
  225. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +240 -0
  226. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +364 -0
  227. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +326 -0
  228. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +314 -0
  229. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +285 -0
  230. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/No_Tenant/Should_fail.yml +50 -0
  231. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Simple/Should_be_Cool.yml +48 -0
  232. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Status/Should_return_the_version.yml +44 -0
  233. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
  234. data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/get_feed.yml +61 -0
  235. data/spec/vcr_cassettes/Operation/{Helpers → NonSecure/Helpers/Templates}/get_tenant.yml +8 -5
  236. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_JDBC_driver_should_add_the_driver.json +23 -0
  237. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_datasource_should_be_doable.json +23 -0
  238. data/spec/vcr_cassettes/Operation/{Operation → NonSecure/Operation}/Add_deployment_should_be_doable.json +4 -7
  239. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +23 -0
  240. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +23 -0
  241. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +23 -0
  242. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +32 -0
  243. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +23 -0
  244. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +23 -0
  245. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +23 -0
  246. data/spec/vcr_cassettes/Operation/{Operation → NonSecure/Operation}/should_not_be_possible_to_perform_on_closed_client.json +1 -1
  247. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
  248. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
  249. data/spec/vcr_cassettes/Operation/{Websocket_connection → NonSecure/Websocket_connection}/should_bail_with_no_host.json +0 -0
  250. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established.json +9 -0
  251. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established_via_entrypoint.json +9 -0
  252. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_run_into_error_callback.json +18 -0
  253. data/spec/vcr_cassettes/Operation/{Websocket_connection → NonSecure/Websocket_connection}/should_run_into_error_callback_because_bad_hash_parameters.json +1 -1
  254. data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_feed.yml +61 -0
  255. data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_tenant.yml +55 -0
  256. data/spec/vcr_cassettes/Operation/Secure/Operation/Add_JDBC_driver_should_add_the_driver.json +23 -0
  257. data/spec/vcr_cassettes/Operation/Secure/Operation/Add_datasource_should_be_doable.json +23 -0
  258. data/spec/vcr_cassettes/Operation/Secure/Operation/Add_deployment_should_be_doable.json +23 -0
  259. data/spec/vcr_cassettes/Operation/Secure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +23 -0
  260. data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +23 -0
  261. data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +23 -0
  262. data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +32 -0
  263. data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +23 -0
  264. data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +23 -0
  265. data/spec/vcr_cassettes/Operation/Secure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +23 -0
  266. data/spec/vcr_cassettes/Operation/Secure/Operation/should_not_be_possible_to_perform_on_closed_client.json +12 -0
  267. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
  268. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
  269. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_no_host.json +3 -0
  270. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established.json +9 -0
  271. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established_via_entrypoint.json +9 -0
  272. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback.json +18 -0
  273. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +13 -0
  274. metadata +526 -282
  275. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -95
  276. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +0 -48
  277. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +0 -95
  278. data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +0 -26
  279. data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +0 -26
  280. data/spec/vcr_cassettes/Operation/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +0 -26
  281. data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +0 -26
  282. data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +0 -26
  283. data/spec/vcr_cassettes/Operation/Operation/Restart_can_be_run_multiple_times_in_parallel.json +0 -40
  284. data/spec/vcr_cassettes/Operation/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +0 -26
  285. data/spec/vcr_cassettes/Operation/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +0 -26
  286. data/spec/vcr_cassettes/Operation/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +0 -26
  287. data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +0 -9
  288. data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +0 -9
  289. data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json +0 -9
  290. data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established_via_entrypoint.json +0 -9
  291. data/spec/vcr_cassettes/Operation/Websocket_connection/should_run_into_error_callback.json +0 -13
@@ -5,20 +5,22 @@ http_interactions:
5
5
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"id":"<%= id %>","dataRetention":123,"tags":{"some":"value"},"tenantId":"vcr-test-tenant-123"}'
8
+ string: '{"id":"<%= id %>","dataRetention":123,"tags":{"some":"value"}}'
9
9
  headers:
10
10
  Accept:
11
11
  - application/json
12
12
  Accept-Encoding:
13
- - gzip, deflate
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
14
16
  Hawkular-Tenant:
15
- - vcr-test-tenant-123
17
+ - <%= vcr_test_tenant %>
16
18
  Content-Type:
17
19
  - application/json
18
20
  Content-Length:
19
- - '122'
20
- User-Agent:
21
- - Ruby
21
+ - '89'
22
+ Host:
23
+ - localhost:8080
22
24
  response:
23
25
  status:
24
26
  code: 201
@@ -37,7 +39,7 @@ http_interactions:
37
39
  Location:
38
40
  - http://localhost:8080/hawkular/metrics/counters/<%= id %>
39
41
  Date:
40
- - Thu, 30 Jun 2016 16:24:19 GMT
42
+ - Mon, 15 Aug 2016 15:20:37 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Length:
@@ -46,7 +48,7 @@ http_interactions:
46
48
  encoding: UTF-8
47
49
  string: ''
48
50
  http_version:
49
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
51
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
50
52
  - request:
51
53
  method: get
52
54
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>
@@ -57,13 +59,15 @@ http_interactions:
57
59
  Accept:
58
60
  - application/json
59
61
  Accept-Encoding:
60
- - gzip, deflate
62
+ - identity
63
+ User-Agent:
64
+ - hawkular-client-ruby
61
65
  Hawkular-Tenant:
62
- - vcr-test-tenant-123
66
+ - <%= vcr_test_tenant %>
63
67
  Content-Type:
64
68
  - application/json
65
- User-Agent:
66
- - Ruby
69
+ Host:
70
+ - localhost:8080
67
71
  response:
68
72
  status:
69
73
  code: 200
@@ -80,16 +84,16 @@ http_interactions:
80
84
  Pragma:
81
85
  - no-cache
82
86
  Date:
83
- - Thu, 30 Jun 2016 16:24:19 GMT
87
+ - Mon, 15 Aug 2016 15:20:37 GMT
84
88
  Connection:
85
89
  - keep-alive
86
90
  Content-Type:
87
91
  - application/json
88
92
  Content-Length:
89
- - '139'
93
+ - '193'
90
94
  body:
91
95
  encoding: UTF-8
92
- string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"counter","tenantId":"vcr-test-tenant-123"}'
96
+ string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"counter","tenantId":"<%= vcr_test_tenant %>"}'
93
97
  http_version:
94
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
95
- recorded_with: VCR 3.0.1
98
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
99
+ recorded_with: VCR 3.0.3
@@ -10,15 +10,17 @@ http_interactions:
10
10
  Accept:
11
11
  - application/json
12
12
  Accept-Encoding:
13
- - gzip, deflate
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
14
16
  Hawkular-Tenant:
15
- - vcr-test-tenant-123
17
+ - <%= vcr_test_tenant %>
16
18
  Content-Type:
17
19
  - application/json
18
20
  Content-Length:
19
21
  - '87'
20
- User-Agent:
21
- - Ruby
22
+ Host:
23
+ - localhost:8080
22
24
  response:
23
25
  status:
24
26
  code: 201
@@ -37,7 +39,7 @@ http_interactions:
37
39
  Location:
38
40
  - http://localhost:8080/hawkular/metrics/counters/<%= id %>
39
41
  Date:
40
- - Thu, 30 Jun 2016 16:24:19 GMT
42
+ - Mon, 15 Aug 2016 15:20:37 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Length:
@@ -46,7 +48,7 @@ http_interactions:
46
48
  encoding: UTF-8
47
49
  string: ''
48
50
  http_version:
49
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
51
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
50
52
  - request:
51
53
  method: get
52
54
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>
@@ -57,13 +59,15 @@ http_interactions:
57
59
  Accept:
58
60
  - application/json
59
61
  Accept-Encoding:
60
- - gzip, deflate
62
+ - identity
63
+ User-Agent:
64
+ - hawkular-client-ruby
61
65
  Hawkular-Tenant:
62
- - vcr-test-tenant-123
66
+ - <%= vcr_test_tenant %>
63
67
  Content-Type:
64
68
  - application/json
65
- User-Agent:
66
- - Ruby
69
+ Host:
70
+ - localhost:8080
67
71
  response:
68
72
  status:
69
73
  code: 200
@@ -80,16 +84,16 @@ http_interactions:
80
84
  Pragma:
81
85
  - no-cache
82
86
  Date:
83
- - Thu, 30 Jun 2016 16:24:19 GMT
87
+ - Mon, 15 Aug 2016 15:20:37 GMT
84
88
  Connection:
85
89
  - keep-alive
86
90
  Content-Type:
87
91
  - application/json
88
92
  Content-Length:
89
- - '137'
93
+ - '191'
90
94
  body:
91
95
  encoding: UTF-8
92
- string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"counter","tenantId":"vcr-test-tenant-123"}'
96
+ string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"counter","tenantId":"<%= vcr_test_tenant %>"}'
93
97
  http_version:
94
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
95
- recorded_with: VCR 3.0.1
98
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
99
+ recorded_with: VCR 3.0.3
@@ -10,15 +10,17 @@ http_interactions:
10
10
  Accept:
11
11
  - application/json
12
12
  Accept-Encoding:
13
- - gzip, deflate
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
14
16
  Hawkular-Tenant:
15
- - vcr-test-tenant-123
17
+ - <%= vcr_test_tenant %>
16
18
  Content-Type:
17
19
  - application/json
18
20
  Content-Length:
19
21
  - '45'
20
- User-Agent:
21
- - Ruby
22
+ Host:
23
+ - localhost:8080
22
24
  response:
23
25
  status:
24
26
  code: 201
@@ -37,7 +39,7 @@ http_interactions:
37
39
  Location:
38
40
  - http://localhost:8080/hawkular/metrics/counters/<%= id %>
39
41
  Date:
40
- - Thu, 30 Jun 2016 16:24:19 GMT
42
+ - Mon, 15 Aug 2016 15:20:37 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Length:
@@ -46,7 +48,7 @@ http_interactions:
46
48
  encoding: UTF-8
47
49
  string: ''
48
50
  http_version:
49
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
51
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
50
52
  - request:
51
53
  method: post
52
54
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data
@@ -57,15 +59,17 @@ http_interactions:
57
59
  Accept:
58
60
  - application/json
59
61
  Accept-Encoding:
60
- - gzip, deflate
62
+ - identity
63
+ User-Agent:
64
+ - hawkular-client-ruby
61
65
  Hawkular-Tenant:
62
- - vcr-test-tenant-123
66
+ - <%= vcr_test_tenant %>
63
67
  Content-Type:
64
68
  - application/json
65
69
  Content-Length:
66
70
  - '432'
67
- User-Agent:
68
- - Ruby
71
+ Host:
72
+ - localhost:8080
69
73
  response:
70
74
  status:
71
75
  code: 200
@@ -86,12 +90,12 @@ http_interactions:
86
90
  Content-Length:
87
91
  - '0'
88
92
  Date:
89
- - Thu, 30 Jun 2016 16:24:19 GMT
93
+ - Mon, 15 Aug 2016 15:20:37 GMT
90
94
  body:
91
95
  encoding: UTF-8
92
96
  string: ''
93
97
  http_version:
94
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
98
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
95
99
  - request:
96
100
  method: get
97
101
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/?buckets=5&end=<%= minus5 %>&start=<%= minus105 %>
@@ -102,13 +106,15 @@ http_interactions:
102
106
  Accept:
103
107
  - application/json
104
108
  Accept-Encoding:
105
- - gzip, deflate
109
+ - identity
110
+ User-Agent:
111
+ - hawkular-client-ruby
106
112
  Hawkular-Tenant:
107
- - vcr-test-tenant-123
113
+ - <%= vcr_test_tenant %>
108
114
  Content-Type:
109
115
  - application/json
110
- User-Agent:
111
- - Ruby
116
+ Host:
117
+ - localhost:8080
112
118
  response:
113
119
  status:
114
120
  code: 200
@@ -125,7 +131,7 @@ http_interactions:
125
131
  Pragma:
126
132
  - no-cache
127
133
  Date:
128
- - Thu, 30 Jun 2016 16:24:19 GMT
134
+ - Mon, 15 Aug 2016 15:20:37 GMT
129
135
  Connection:
130
136
  - keep-alive
131
137
  Content-Type:
@@ -134,9 +140,9 @@ http_interactions:
134
140
  - '645'
135
141
  body:
136
142
  encoding: UTF-8
137
- string: '[{"start":<%= minus105 %>,"end":1467303859539,"min":90.0,"avg":95.0,"median":90.0,"max":100.0,"sum":190.0,"samples":2,"empty":false},{"start":1467303859539,"end":1467303859559,"min":70.0,"avg":75.0,"median":70.0,"max":80.0,"sum":150.0,"samples":2,"empty":false},{"start":1467303859559,"end":1467303859579,"min":50.0,"avg":55.0,"median":50.0,"max":60.0,"sum":110.0,"samples":2,"empty":false},{"start":1467303859579,"end":1467303859599,"min":30.0,"avg":35.0,"median":30.0,"max":40.0,"sum":70.0,"samples":2,"empty":false},{"start":1467303859599,"end":<%= minus5 %>,"min":10.0,"avg":15.0,"median":10.0,"max":20.0,"sum":30.0,"samples":2,"empty":false}]'
143
+ string: '[{"start":<%= minus105 %>,"end":1471274437518,"min":90.0,"avg":95.0,"median":90.0,"max":100.0,"sum":190.0,"samples":2,"empty":false},{"start":1471274437518,"end":1471274437538,"min":70.0,"avg":75.0,"median":70.0,"max":80.0,"sum":150.0,"samples":2,"empty":false},{"start":1471274437538,"end":1471274437558,"min":50.0,"avg":55.0,"median":50.0,"max":60.0,"sum":110.0,"samples":2,"empty":false},{"start":1471274437558,"end":1471274437578,"min":30.0,"avg":35.0,"median":30.0,"max":40.0,"sum":70.0,"samples":2,"empty":false},{"start":1471274437578,"end":<%= minus5 %>,"min":10.0,"avg":15.0,"median":10.0,"max":20.0,"sum":30.0,"samples":2,"empty":false}]'
138
144
  http_version:
139
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
145
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
140
146
  - request:
141
147
  method: get
142
148
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/?buckets=2&end=<%= minus5 %>&start=<%= minus105 %>
@@ -147,13 +153,15 @@ http_interactions:
147
153
  Accept:
148
154
  - application/json
149
155
  Accept-Encoding:
150
- - gzip, deflate
156
+ - identity
157
+ User-Agent:
158
+ - hawkular-client-ruby
151
159
  Hawkular-Tenant:
152
- - vcr-test-tenant-123
160
+ - <%= vcr_test_tenant %>
153
161
  Content-Type:
154
162
  - application/json
155
- User-Agent:
156
- - Ruby
163
+ Host:
164
+ - localhost:8080
157
165
  response:
158
166
  status:
159
167
  code: 200
@@ -170,7 +178,7 @@ http_interactions:
170
178
  Pragma:
171
179
  - no-cache
172
180
  Date:
173
- - Thu, 30 Jun 2016 16:24:19 GMT
181
+ - Mon, 15 Aug 2016 15:20:37 GMT
174
182
  Connection:
175
183
  - keep-alive
176
184
  Content-Type:
@@ -179,9 +187,9 @@ http_interactions:
179
187
  - '260'
180
188
  body:
181
189
  encoding: UTF-8
182
- string: '[{"start":<%= minus105 %>,"end":1467303859569,"min":60.0,"avg":80.0,"median":80.0,"max":100.0,"sum":400.0,"samples":5,"empty":false},{"start":1467303859569,"end":<%= minus5 %>,"min":10.0,"avg":30.0,"median":30.0,"max":50.0,"sum":150.0,"samples":5,"empty":false}]'
190
+ string: '[{"start":<%= minus105 %>,"end":1471274437548,"min":60.0,"avg":80.0,"median":80.0,"max":100.0,"sum":400.0,"samples":5,"empty":false},{"start":1471274437548,"end":<%= minus5 %>,"min":10.0,"avg":30.0,"median":30.0,"max":50.0,"sum":150.0,"samples":5,"empty":false}]'
183
191
  http_version:
184
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
192
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
185
193
  - request:
186
194
  method: get
187
195
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/?bucketDuration=50ms&end=<%= minus5 %>&start=<%= minus105 %>
@@ -192,13 +200,15 @@ http_interactions:
192
200
  Accept:
193
201
  - application/json
194
202
  Accept-Encoding:
195
- - gzip, deflate
203
+ - identity
204
+ User-Agent:
205
+ - hawkular-client-ruby
196
206
  Hawkular-Tenant:
197
- - vcr-test-tenant-123
207
+ - <%= vcr_test_tenant %>
198
208
  Content-Type:
199
209
  - application/json
200
- User-Agent:
201
- - Ruby
210
+ Host:
211
+ - localhost:8080
202
212
  response:
203
213
  status:
204
214
  code: 200
@@ -215,7 +225,7 @@ http_interactions:
215
225
  Pragma:
216
226
  - no-cache
217
227
  Date:
218
- - Thu, 30 Jun 2016 16:24:19 GMT
228
+ - Mon, 15 Aug 2016 15:20:37 GMT
219
229
  Connection:
220
230
  - keep-alive
221
231
  Content-Type:
@@ -224,7 +234,7 @@ http_interactions:
224
234
  - '260'
225
235
  body:
226
236
  encoding: UTF-8
227
- string: '[{"start":<%= minus105 %>,"end":1467303859569,"min":60.0,"avg":80.0,"median":80.0,"max":100.0,"sum":400.0,"samples":5,"empty":false},{"start":1467303859569,"end":<%= minus5 %>,"min":10.0,"avg":30.0,"median":30.0,"max":50.0,"sum":150.0,"samples":5,"empty":false}]'
237
+ string: '[{"start":<%= minus105 %>,"end":1471274437548,"min":60.0,"avg":80.0,"median":80.0,"max":100.0,"sum":400.0,"samples":5,"empty":false},{"start":1471274437548,"end":<%= minus5 %>,"min":10.0,"avg":30.0,"median":30.0,"max":50.0,"sum":150.0,"samples":5,"empty":false}]'
228
238
  http_version:
229
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
230
- recorded_with: VCR 3.0.1
239
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
240
+ recorded_with: VCR 3.0.3
@@ -10,15 +10,17 @@ http_interactions:
10
10
  Accept:
11
11
  - application/json
12
12
  Accept-Encoding:
13
- - gzip, deflate
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
14
16
  Hawkular-Tenant:
15
- - vcr-test-tenant-123
17
+ - <%= vcr_test_tenant %>
16
18
  Content-Type:
17
19
  - application/json
18
20
  Content-Length:
19
21
  - '45'
20
- User-Agent:
21
- - Ruby
22
+ Host:
23
+ - localhost:8080
22
24
  response:
23
25
  status:
24
26
  code: 201
@@ -37,7 +39,7 @@ http_interactions:
37
39
  Location:
38
40
  - http://localhost:8080/hawkular/metrics/counters/<%= id %>
39
41
  Date:
40
- - Thu, 30 Jun 2016 16:24:19 GMT
42
+ - Mon, 15 Aug 2016 15:20:37 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Length:
@@ -46,7 +48,7 @@ http_interactions:
46
48
  encoding: UTF-8
47
49
  string: ''
48
50
  http_version:
49
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
51
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
50
52
  - request:
51
53
  method: post
52
54
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data
@@ -57,15 +59,17 @@ http_interactions:
57
59
  Accept:
58
60
  - application/json
59
61
  Accept-Encoding:
60
- - gzip, deflate
62
+ - identity
63
+ User-Agent:
64
+ - hawkular-client-ruby
61
65
  Hawkular-Tenant:
62
- - vcr-test-tenant-123
66
+ - <%= vcr_test_tenant %>
63
67
  Content-Type:
64
68
  - application/json
65
69
  Content-Length:
66
70
  - '115'
67
- User-Agent:
68
- - Ruby
71
+ Host:
72
+ - localhost:8080
69
73
  response:
70
74
  status:
71
75
  code: 200
@@ -86,12 +90,12 @@ http_interactions:
86
90
  Content-Length:
87
91
  - '0'
88
92
  Date:
89
- - Thu, 30 Jun 2016 16:24:19 GMT
93
+ - Mon, 15 Aug 2016 15:20:37 GMT
90
94
  body:
91
95
  encoding: UTF-8
92
96
  string: ''
93
97
  http_version:
94
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
98
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
95
99
  - request:
96
100
  method: get
97
101
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/
@@ -102,13 +106,15 @@ http_interactions:
102
106
  Accept:
103
107
  - application/json
104
108
  Accept-Encoding:
105
- - gzip, deflate
109
+ - identity
110
+ User-Agent:
111
+ - hawkular-client-ruby
106
112
  Hawkular-Tenant:
107
- - vcr-test-tenant-123
113
+ - <%= vcr_test_tenant %>
108
114
  Content-Type:
109
115
  - application/json
110
- User-Agent:
111
- - Ruby
116
+ Host:
117
+ - localhost:8080
112
118
  response:
113
119
  status:
114
120
  code: 200
@@ -125,7 +131,7 @@ http_interactions:
125
131
  Pragma:
126
132
  - no-cache
127
133
  Date:
128
- - Thu, 30 Jun 2016 16:24:19 GMT
134
+ - Mon, 15 Aug 2016 15:20:37 GMT
129
135
  Connection:
130
136
  - keep-alive
131
137
  Content-Type:
@@ -136,26 +142,28 @@ http_interactions:
136
142
  encoding: UTF-8
137
143
  string: '[{"timestamp":<%= minus10 %>,"value":3},{"timestamp":<%= minus20 %>,"value":2},{"timestamp":<%= minus30 %>,"value":1}]'
138
144
  http_version:
139
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
145
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
140
146
  - request:
141
147
  method: post
142
148
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data
143
149
  body:
144
150
  encoding: UTF-8
145
- string: '[{"value":4,"timestamp":1467303859560}]'
151
+ string: '[{"value":4,"timestamp":1471274437576}]'
146
152
  headers:
147
153
  Accept:
148
154
  - application/json
149
155
  Accept-Encoding:
150
- - gzip, deflate
156
+ - identity
157
+ User-Agent:
158
+ - hawkular-client-ruby
151
159
  Hawkular-Tenant:
152
- - vcr-test-tenant-123
160
+ - <%= vcr_test_tenant %>
153
161
  Content-Type:
154
162
  - application/json
155
163
  Content-Length:
156
164
  - '39'
157
- User-Agent:
158
- - Ruby
165
+ Host:
166
+ - localhost:8080
159
167
  response:
160
168
  status:
161
169
  code: 200
@@ -176,12 +184,12 @@ http_interactions:
176
184
  Content-Length:
177
185
  - '0'
178
186
  Date:
179
- - Thu, 30 Jun 2016 16:24:19 GMT
187
+ - Mon, 15 Aug 2016 15:20:37 GMT
180
188
  body:
181
189
  encoding: UTF-8
182
190
  string: ''
183
191
  http_version:
184
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
192
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
185
193
  - request:
186
194
  method: get
187
195
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/
@@ -192,13 +200,15 @@ http_interactions:
192
200
  Accept:
193
201
  - application/json
194
202
  Accept-Encoding:
195
- - gzip, deflate
203
+ - identity
204
+ User-Agent:
205
+ - hawkular-client-ruby
196
206
  Hawkular-Tenant:
197
- - vcr-test-tenant-123
207
+ - <%= vcr_test_tenant %>
198
208
  Content-Type:
199
209
  - application/json
200
- User-Agent:
201
- - Ruby
210
+ Host:
211
+ - localhost:8080
202
212
  response:
203
213
  status:
204
214
  code: 200
@@ -215,7 +225,7 @@ http_interactions:
215
225
  Pragma:
216
226
  - no-cache
217
227
  Date:
218
- - Thu, 30 Jun 2016 16:24:19 GMT
228
+ - Mon, 15 Aug 2016 15:20:37 GMT
219
229
  Connection:
220
230
  - keep-alive
221
231
  Content-Type:
@@ -224,9 +234,9 @@ http_interactions:
224
234
  - '153'
225
235
  body:
226
236
  encoding: UTF-8
227
- string: '[{"timestamp":1467303859560,"value":4},{"timestamp":<%= minus10 %>,"value":3},{"timestamp":<%= minus20 %>,"value":2},{"timestamp":<%= minus30 %>,"value":1}]'
237
+ string: '[{"timestamp":1471274437576,"value":4},{"timestamp":<%= minus10 %>,"value":3},{"timestamp":<%= minus20 %>,"value":2},{"timestamp":<%= minus30 %>,"value":1}]'
228
238
  http_version:
229
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
239
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
230
240
  - request:
231
241
  method: get
232
242
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/?limit=1&order=DESC
@@ -237,13 +247,15 @@ http_interactions:
237
247
  Accept:
238
248
  - application/json
239
249
  Accept-Encoding:
240
- - gzip, deflate
250
+ - identity
251
+ User-Agent:
252
+ - hawkular-client-ruby
241
253
  Hawkular-Tenant:
242
- - vcr-test-tenant-123
254
+ - <%= vcr_test_tenant %>
243
255
  Content-Type:
244
256
  - application/json
245
- User-Agent:
246
- - Ruby
257
+ Host:
258
+ - localhost:8080
247
259
  response:
248
260
  status:
249
261
  code: 200
@@ -260,7 +272,7 @@ http_interactions:
260
272
  Pragma:
261
273
  - no-cache
262
274
  Date:
263
- - Thu, 30 Jun 2016 16:24:19 GMT
275
+ - Mon, 15 Aug 2016 15:20:37 GMT
264
276
  Connection:
265
277
  - keep-alive
266
278
  Content-Type:
@@ -269,9 +281,9 @@ http_interactions:
269
281
  - '39'
270
282
  body:
271
283
  encoding: UTF-8
272
- string: '[{"timestamp":1467303859560,"value":4}]'
284
+ string: '[{"timestamp":1471274437576,"value":4}]'
273
285
  http_version:
274
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
286
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
275
287
  - request:
276
288
  method: get
277
289
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/?end=<%= minus4h %>&start=<%= minus8h %>
@@ -282,13 +294,15 @@ http_interactions:
282
294
  Accept:
283
295
  - application/json
284
296
  Accept-Encoding:
285
- - gzip, deflate
297
+ - identity
298
+ User-Agent:
299
+ - hawkular-client-ruby
286
300
  Hawkular-Tenant:
287
- - vcr-test-tenant-123
301
+ - <%= vcr_test_tenant %>
288
302
  Content-Type:
289
303
  - application/json
290
- User-Agent:
291
- - Ruby
304
+ Host:
305
+ - localhost:8080
292
306
  response:
293
307
  status:
294
308
  code: 204
@@ -305,10 +319,10 @@ http_interactions:
305
319
  Pragma:
306
320
  - no-cache
307
321
  Date:
308
- - Thu, 30 Jun 2016 16:24:19 GMT
322
+ - Mon, 15 Aug 2016 15:20:37 GMT
309
323
  body:
310
324
  encoding: UTF-8
311
325
  string: ''
312
326
  http_version:
313
- recorded_at: Thu, 30 Jun 2016 16:24:19 GMT
314
- recorded_with: VCR 3.0.1
327
+ recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
328
+ recorded_with: VCR 3.0.3