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
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/counters/<%= id %>/raw
6
+ body:
7
+ encoding: UTF-8
8
+ string: '[{"value":4,"timestamp":1471274440886}]'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
16
+ Content-Type:
17
+ - application/json
18
+ Content-Length:
19
+ - '39'
20
+ Host:
21
+ - 127.0.0.1:8443
22
+ response:
23
+ status:
24
+ code: 400
25
+ message: Bad Request
26
+ headers:
27
+ Expires:
28
+ - '0'
29
+ Cache-Control:
30
+ - no-cache, no-store, must-revalidate
31
+ X-Powered-By:
32
+ - Undertow/1
33
+ Server:
34
+ - WildFly/10
35
+ Pragma:
36
+ - no-cache
37
+ Date:
38
+ - Mon, 15 Aug 2016 15:20:40 GMT
39
+ Connection:
40
+ - keep-alive
41
+ Content-Type:
42
+ - application/json
43
+ Content-Length:
44
+ - '69'
45
+ body:
46
+ encoding: UTF-8
47
+ string: '{"errorMsg":"Tenant is not specified. Use ''Hawkular-Tenant'' header."}'
48
+ http_version:
49
+ recorded_at: Mon, 15 Aug 2016 15:20:40 GMT
50
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,48 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:8080/hawkular/metrics
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - localhost:8080
18
+ response:
19
+ status:
20
+ code: 401
21
+ message: Unauthorized
22
+ headers:
23
+ Expires:
24
+ - '0'
25
+ Cache-Control:
26
+ - no-cache, no-store, must-revalidate
27
+ X-Powered-By:
28
+ - Undertow/1
29
+ Server:
30
+ - WildFly/10
31
+ Pragma:
32
+ - no-cache
33
+ Date:
34
+ - Mon, 15 Aug 2016 15:20:40 GMT
35
+ Connection:
36
+ - keep-alive
37
+ Www-Authenticate:
38
+ - Basic realm="ApplicationRealm"
39
+ Content-Type:
40
+ - text/html;charset=UTF-8
41
+ Content-Length:
42
+ - '71'
43
+ body:
44
+ encoding: UTF-8
45
+ string: "<html><head><title>Error</title></head><body>Unauthorized</body></html>"
46
+ http_version:
47
+ recorded_at: Mon, 15 Aug 2016 15:20:40 GMT
48
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/status
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
16
+ Hawkular-Tenant:
17
+ - hawkular
18
+ Content-Type:
19
+ - application/json
20
+ Host:
21
+ - 127.0.0.1:8443
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Connection:
28
+ - keep-alive
29
+ X-Powered-By:
30
+ - Undertow/1
31
+ Server:
32
+ - WildFly/10
33
+ Content-Type:
34
+ - application/json
35
+ Content-Length:
36
+ - '133'
37
+ Date:
38
+ - Mon, 15 Aug 2016 15:20:43 GMT
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"MetricsService":"STARTED","Implementation-Version":"0.18.0.Final","Built-From-Git-SHA1":"d5281e70603719809bdada72249b9330b22ebf96"}'
42
+ http_version:
43
+ recorded_at: Mon, 15 Aug 2016 15:20:43 GMT
44
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,99 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/tenants
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"id":"<%= id %>"}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
16
+ Hawkular-Tenant:
17
+ - hawkular
18
+ Content-Type:
19
+ - application/json
20
+ Content-Length:
21
+ - '45'
22
+ Host:
23
+ - 127.0.0.1:8443
24
+ response:
25
+ status:
26
+ code: 201
27
+ message: Created
28
+ headers:
29
+ Expires:
30
+ - '0'
31
+ Cache-Control:
32
+ - no-cache, no-store, must-revalidate
33
+ X-Powered-By:
34
+ - Undertow/1
35
+ Server:
36
+ - WildFly/10
37
+ Pragma:
38
+ - no-cache
39
+ Location:
40
+ - https://127.0.0.1:8443/hawkular/metrics/tenants
41
+ Date:
42
+ - Mon, 15 Aug 2016 15:20:40 GMT
43
+ Connection:
44
+ - keep-alive
45
+ Content-Length:
46
+ - '0'
47
+ body:
48
+ encoding: UTF-8
49
+ string: ''
50
+ http_version:
51
+ recorded_at: Mon, 15 Aug 2016 15:20:40 GMT
52
+ - request:
53
+ method: get
54
+ uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/tenants
55
+ body:
56
+ encoding: US-ASCII
57
+ string: ''
58
+ headers:
59
+ Accept:
60
+ - application/json
61
+ Accept-Encoding:
62
+ - identity
63
+ User-Agent:
64
+ - hawkular-client-ruby
65
+ Hawkular-Tenant:
66
+ - hawkular
67
+ Content-Type:
68
+ - application/json
69
+ Host:
70
+ - 127.0.0.1:8443
71
+ response:
72
+ status:
73
+ code: 200
74
+ message: OK
75
+ headers:
76
+ Expires:
77
+ - '0'
78
+ Cache-Control:
79
+ - no-cache, no-store, must-revalidate
80
+ X-Powered-By:
81
+ - Undertow/1
82
+ Server:
83
+ - WildFly/10
84
+ Pragma:
85
+ - no-cache
86
+ Date:
87
+ - Mon, 15 Aug 2016 15:20:40 GMT
88
+ Connection:
89
+ - keep-alive
90
+ Content-Type:
91
+ - application/json
92
+ Content-Length:
93
+ - '15994'
94
+ body:
95
+ encoding: UTF-8
96
+ string: '[{"id":"67c774fa-b85e-478c-9d95-3d3d2d9c96eb"},{"id":"99513ff6-731b-4bf6-bc49-9b4cb589d438"},{"id":"c322404e-27a9-4916-acdc-82a073d7594e"},{"id":"d69421bc-f1a1-473c-9be8-1dba42c6bf50"},{"id":"51e7772e-d137-4874-aa59-85956c510a3c"},{"id":"721a3ef4-8259-4362-91a4-03b84db61294"},{"id":"a892a18a-186b-4fbc-9778-fd84fb0c9722"},{"id":"e24a96d4-36ef-4659-8f9d-7b47cc666776"},{"id":"9407d22f-dd11-496b-afe3-8187a0a5480c"},{"id":"0da2902f-d084-47b0-9ea9-0fd753378c78"},{"id":"abbbba05-5212-427f-a2dc-a1265ddeb275"},{"id":"3216f3d8-3fa5-4529-b45f-6ffa86de6f6e"},{"id":"a82a2c8d-39c2-4515-9feb-253ca74a22e4"},{"id":"1e40d594-82dc-4fa7-b409-94193ba2e345"},{"id":"7d0cfbfa-5bf9-4630-9350-d95023868f0b"},{"id":"58f1d65f-5156-4a1d-9940-b57cce463802"},{"id":"e324142c-d06b-41a0-a36b-a610bb6be114"},{"id":"<%= id %>"},{"id":"e0ae49ee-b0ec-4c87-a80f-72ce9ee7f5de"},{"id":"ccffa0a1-366f-45fc-851a-be4d4f3397f0"},{"id":"a6d002bc-9f11-46af-b755-c588c29010c8"},{"id":"3e0f698e-4546-4895-9009-a9012e586458"},{"id":"6bd98087-2343-456a-9f3f-15300b4b7e33"},{"id":"a7633e49-1560-4455-a5bd-20c3c478dc55"},{"id":"1a196765-a5be-4bd3-985f-7bae9f583815"},{"id":"7fe9d215-9596-4537-8f56-5fbb80f3cd07"},{"id":"098b0412-37d5-4dca-a1c1-b950051c3d2a"},{"id":"740bebc6-7383-474f-ba0a-c5cca06d3175"},{"id":"4136005f-907d-4acd-b4c4-d8fd829249b4"},{"id":"bcb91b80-341c-4443-bacd-2a732fe9c715"},{"id":"c1754b38-c217-43fb-88a8-b16bfb215be0"},{"id":"c722527b-4620-4ca9-b038-5afc7bad967c"},{"id":"b8e714bc-2c76-493c-864b-da212b2774f3"},{"id":"8a53c4d3-e193-4c4c-8f69-f20c43f5b7e4"},{"id":"ad31aee2-31ff-46fc-a718-f28511332d24"},{"id":"4e75b4fe-bfa6-49bd-bb6f-b5256b8fd5aa"},{"id":"baea3640-2994-487b-a41f-5a4397c908d5"},{"id":"6243f7d3-65f6-4e91-b01a-1fdec6ac62d0"},{"id":"50ab6182-61a6-4b5e-abfb-86f3d6280574"},{"id":"8fe1e629-e8a0-47e0-b84c-ad14cfaa291b"},{"id":"36a4017c-f97e-49c9-93c1-e24745137071"},{"id":"02f04b83-4ea7-4e1b-94c4-6141b2f8459d"},{"id":"950a103a-8810-4746-bdd2-c170355ed969"},{"id":"8f3bd1c4-cded-4f21-b7cf-76d93f3d7868"},{"id":"f43f3ce3-0fa1-4c6e-860c-c3d2307043c5"},{"id":"fd791113-dd2f-4e5b-acbc-f2fa08635e55"},{"id":"fd47a085-99b6-4996-a563-a6aa1c266673"},{"id":"b0337e54-5835-43b1-8216-809c53ab1c1f"},{"id":"78890432-9bf9-4932-861a-ea58be141027"},{"id":"5a8f6e22-da51-4601-a7ee-8c988d3ff485"},{"id":"a35d1e07-b6d1-49a7-a462-72f0640713f1"},{"id":"2ac8aaa4-6ef9-42a2-8a2e-d4263922c05f"},{"id":"03879bf9-46de-471f-8e13-472355f92248"},{"id":"88e626e6-e545-4549-84d4-68674e072618"},{"id":"dd9edf07-0e73-410f-89b8-d43a9fe9afe3"},{"id":"e9d3ea31-6399-4f75-a865-0da02690985c"},{"id":"7a1d5507-dd89-421a-88d2-d839999e63d3"},{"id":"e0eada82-970d-44f7-a50f-f8d31c844279"},{"id":"67f95568-b589-45a7-a612-5650ff6651e1"},{"id":"3b2e9c7b-f3aa-4e39-8390-cdbc8012f68f"},{"id":"346a236a-433c-4fca-b0ca-c3fa40eb6260"},{"id":"dd258f5c-c0c6-49d6-8923-068b76c0183c"},{"id":"e8982445-972d-478f-b999-37db4b577a73"},{"id":"ce49e9d4-7c42-4552-87fb-df9d5dd7173a"},{"id":"a66a9a4e-c83c-41f4-8a51-b085c39d9f79"},{"id":"4d5dd633-5f65-4f58-a7ac-57702548cff8"},{"id":"06ea9bd9-0aa1-4282-8124-73910f64550d"},{"id":"406c098e-6a12-4189-a1b3-cba1666704d7"},{"id":"2886d83d-30c3-4fd6-acdc-38529fa03dbf"},{"id":"957aa2b5-c1f1-4922-8f9c-eb0e0d5d305d"},{"id":"0249c88f-f1f9-469c-9c2e-c6c113f7fd05"},{"id":"ddf7c1a1-6d82-4a0f-925d-31c1fb3b00d0"},{"id":"78ffbc37-fce4-4629-b970-2247e5476b6d"},{"id":"5cd22a59-28a7-4bf8-a2b7-0a162a38b524"},{"id":"6859f311-7b1d-4503-95d5-bd9cf4be51f8"},{"id":"7feb54ec-86d4-4362-924c-a5d9da85d4dd"},{"id":"c0a5388c-1d3e-4cf7-abec-e4c5945c6170"},{"id":"19654817-32e7-441d-8cdb-b5608947b70b"},{"id":"57c3c0bd-ef9d-4439-a9c7-b7d6de71413c"},{"id":"2939977d-600d-43c6-a384-c4fbc8ec4573"},{"id":"6e8dbfad-c4e7-4139-98e8-dad53665c9f1"},{"id":"e7476fd4-b5f9-4a58-9e99-a9bee7810744"},{"id":"d8ef79bd-2716-4872-964c-dd39e5ed7f89"},{"id":"f7edad81-7319-4863-9d9a-1ae8279804ed"},{"id":"be7d8ba7-b63a-44d4-ac05-c370f7c016dd"},{"id":"5afaf0b7-515f-431b-b39c-3da9de4cc7eb"},{"id":"586ceac1-78e8-46f0-86c9-78da83116364"},{"id":"8b92461c-c763-48c5-b5fc-68252f5bcb22"},{"id":"Secure-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"NonSecuremetrics_services-vcr-tenant-81444d01-db25-4c6e-ace0-99ba715fb125"},{"id":"Securemetrics_services-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"Securemetrics_0_16_0-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"Securemetrics_0_16_0-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"Securemetrics_services-vcr-tenant-c1741aac-87f9-4c9e-9584-a9d65638b52e"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-e000d5c1-bad9-4229-97c8-70a5524b46d3"},{"id":"Securemetrics_0_16_0-vcr-tenant-3786b501-83eb-4b43-8c79-e637d1413b06"},{"id":"Securemetrics_services-vcr-tenant-d03ee744-a61e-4d77-805a-8867259eacf5"},{"id":"NonSecuremetrics_services-vcr-tenant-1fb625f3-0dab-4405-b18c-3be1b3e6e6bb"},{"id":"Secure-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"Securemetrics_0_16_0-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"NonSecure-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"NonSecuremetrics_services-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"Securemetrics_services-vcr-tenant-81444d01-db25-4c6e-ace0-99ba715fb125"},{"id":"c4e22361-6fab-47ab-b7a5-6209a674bbcd"},{"id":"3e65525b-f872-4758-a271-f7c21989163a"},{"id":"Non<%= vcr_test_tenant %>"},{"id":"27570616-02cd-4d1e-92c3-75956c3d5cf9"},{"id":"6ca85574-dc0e-4e59-ba5f-fdaf30d9df6b"},{"id":"75e7ff8b-d06b-473d-8c43-c1a05f619d68"},{"id":"0fa53e33-a49d-4bdc-a1a1-26012b25b425"},{"id":"Securemetrics_services-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"Securemetrics_0_16_0-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"1d17d491-a82d-4b25-a515-eef4456ad07b"},{"id":"9efc98df-61e2-4c20-9f36-4423b650c558"},{"id":"NonSecure-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"Securemetrics_0_16_0-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"NonSecuremetrics_services-vcr-tenant-3786b501-83eb-4b43-8c79-e637d1413b06"},{"id":"Secure-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-80f51f08-9519-4faf-8bef-936762bb979e"},{"id":"Securemetrics_0_16_0-vcr-tenant-d03ee744-a61e-4d77-805a-8867259eacf5"},{"id":"NonSecure-vcr-tenant-f875e627-acaa-4ab0-81b0-cf5a4733ee14"},{"id":"Securemetrics_services-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"Secure-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"Secure-vcr-test-tenant"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-2ec41673-b692-4033-988b-0c8accd209cd"},{"id":"NonSecure-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"3d79f0d6-2851-4c9e-b5fe-29051c9143b5"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"NonSecure-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-6eca7c2a-23b7-4f07-81cb-9753686496f5"},{"id":"vcr-test-tenant-123"},{"id":"NonSecure-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"16fb4124-b73f-4a66-a5bb-e5d66b7116cb"},{"id":"4b784620-cd0d-4448-94b4-ec5f6f3644f9"},{"id":"Secure-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"Securemetrics_services-vcr-tenant-7baf0743-323e-49a5-a65c-39bba4af78d4"},{"id":"Securemetrics_services-vcr-tenant-1fb625f3-0dab-4405-b18c-3be1b3e6e6bb"},{"id":"NonSecuremetrics_services-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"Secure-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"NonSecuremetrics_services-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"Secure-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"Securemetrics_services-vcr-tenant-f875e627-acaa-4ab0-81b0-cf5a4733ee14"},{"id":"NonSecure-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecuremetrics_services-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"273b066d-ac8d-4211-b7f2-d216cac6f83a"},{"id":"vcr-test"},{"id":"NonSecuremetrics_services-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-7baf0743-323e-49a5-a65c-39bba4af78d4"},{"id":"Securemetrics_services-vcr-tenant-3786b501-83eb-4b43-8c79-e637d1413b06"},{"id":"Securemetrics_services-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"Secure-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"NonSecure-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"Securemetrics_0_16_0-vcr-tenant-1fb625f3-0dab-4405-b18c-3be1b3e6e6bb"},{"id":"Securemetrics_services-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"Securemetrics_services-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-d03ee744-a61e-4d77-805a-8867259eacf5"},{"id":"NonSecure-vcr-test-tenant"},{"id":"Securemetrics_0_16_0-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"NonSecuremetrics_services-vcr-tenant-7baf0743-323e-49a5-a65c-39bba4af78d4"},{"id":"NonSecuremetrics_services-vcr-tenant-13bd38f1-19a9-4681-8764-b4444cac07c3"},{"id":"Securemetrics_0_16_0-vcr-tenant-6eca7c2a-23b7-4f07-81cb-9753686496f5"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-81444d01-db25-4c6e-ace0-99ba715fb125"},{"id":"NonSecuremetrics_services-vcr-tenant-a1fd7aa1-9fa6-4d8c-bc01-3444a71e660e"},{"id":"Securemetrics_services-vcr-tenant-1924590f-1afe-48e2-ab02-bed6cd3f3e5b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant"},{"id":"NonSecuremetrics_services-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"NonSecure-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"NonSecure-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"Securemetrics_services-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"Secure-vcr-tenant"},{"id":"NonSecure-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"Securemetrics_services-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"NonSecuremetrics_services-vcr-tenant-6eca7c2a-23b7-4f07-81cb-9753686496f5"},{"id":"NonSecure-vcr-tenant"},{"id":"NonSecuremetrics_services-vcr-tenant-f875e627-acaa-4ab0-81b0-cf5a4733ee14"},{"id":"NonSecure-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"NonSecuremetrics_services-vcr-tenant-2ec41673-b692-4033-988b-0c8accd209cd"},{"id":"Securemetrics_services-vcr-tenant"},{"id":"Secure-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"Securemetrics_services-vcr-tenant-a1fd7aa1-9fa6-4d8c-bc01-3444a71e660e"},{"id":"Securemetrics_0_16_0-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"Securemetrics_0_16_0-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"Securemetrics_0_16_0-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-af16af6f-1531-4fb8-ae89-5754dfc93a4d"},{"id":"Securemetrics_0_16_0-vcr-tenant"},{"id":"NonSecuremetrics_services-vcr-tenant-bb849c8d-0bca-42e6-b7e4-4224fc305d21"},{"id":"NonSecuremetrics_services-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"Securemetrics_0_16_0-vcr-tenant-7baf0743-323e-49a5-a65c-39bba4af78d4"},{"id":"Securemetrics_services-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"Securemetrics_services-vcr-tenant-2ec41673-b692-4033-988b-0c8accd209cd"},{"id":"Securemetrics_services-vcr-tenant-13bd38f1-19a9-4681-8764-b4444cac07c3"},{"id":"NonSecuremetrics_services-vcr-tenant-e000d5c1-bad9-4229-97c8-70a5524b46d3"},{"id":"Securemetrics_services-vcr-tenant-e000d5c1-bad9-4229-97c8-70a5524b46d3"},{"id":"NonSecuremetrics_services-vcr-tenant-af16af6f-1531-4fb8-ae89-5754dfc93a4d"},{"id":"Securemetrics_0_16_0-vcr-tenant-2ec41673-b692-4033-988b-0c8accd209cd"},{"id":"Securemetrics_services-vcr-tenant-bb849c8d-0bca-42e6-b7e4-4224fc305d21"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-bb849c8d-0bca-42e6-b7e4-4224fc305d21"},{"id":"Securemetrics_0_16_0-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"Securemetrics_0_16_0-vcr-tenant-e000d5c1-bad9-4229-97c8-70a5524b46d3"},{"id":"Securemetrics_services-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"NonSecuremetrics_services-vcr-tenant-c1741aac-87f9-4c9e-9584-a9d65638b52e"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-a1fd7aa1-9fa6-4d8c-bc01-3444a71e660e"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"Securemetrics_0_16_0-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"hawkular"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"Secure-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecuremetrics_services-vcr-tenant-d03ee744-a61e-4d77-805a-8867259eacf5"},{"id":"Secure-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"NonSecuremetrics_services-vcr-tenant-1924590f-1afe-48e2-ab02-bed6cd3f3e5b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-3786b501-83eb-4b43-8c79-e637d1413b06"},{"id":"Secure-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"Securemetrics_0_16_0-vcr-tenant-81444d01-db25-4c6e-ace0-99ba715fb125"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-1924590f-1afe-48e2-ab02-bed6cd3f3e5b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-1fb625f3-0dab-4405-b18c-3be1b3e6e6bb"},{"id":"NonSecuremetrics_services-vcr-tenant-80f51f08-9519-4faf-8bef-936762bb979e"},{"id":"NonSecure-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"NonSecuremetrics_services-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"Securemetrics_0_16_0-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-c1741aac-87f9-4c9e-9584-a9d65638b52e"},{"id":"NonSecuremetrics_services-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"Securemetrics_0_16_0-vcr-tenant-a1fd7aa1-9fa6-4d8c-bc01-3444a71e660e"},{"id":"NonSecuremetrics_services-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"NonSecuremetrics_services-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"NonSecure-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"Securemetrics_0_16_0-vcr-tenant-c1741aac-87f9-4c9e-9584-a9d65638b52e"},{"id":"NonSecuremetrics_services-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"Securemetrics_0_16_0-vcr-tenant-13bd38f1-19a9-4681-8764-b4444cac07c3"},{"id":"Securemetrics_0_16_0-vcr-tenant-af16af6f-1531-4fb8-ae89-5754dfc93a4d"},{"id":"Securemetrics_services-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"Secure-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"Securemetrics_0_16_0-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecuremetrics_services-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"Securemetrics_0_16_0-vcr-tenant-1924590f-1afe-48e2-ab02-bed6cd3f3e5b"},{"id":"Securemetrics_0_16_0-vcr-tenant-bb849c8d-0bca-42e6-b7e4-4224fc305d21"},{"id":"Securemetrics_services-vcr-tenant-80f51f08-9519-4faf-8bef-936762bb979e"},{"id":"Securemetrics_services-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-13bd38f1-19a9-4681-8764-b4444cac07c3"},{"id":"NonSecuremetrics_services-vcr-tenant"},{"id":"Securemetrics_0_16_0-vcr-tenant-80f51f08-9519-4faf-8bef-936762bb979e"},{"id":"Securemetrics_services-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"Securemetrics_services-vcr-tenant-af16af6f-1531-4fb8-ae89-5754dfc93a4d"},{"id":"Securemetrics_services-vcr-tenant-6eca7c2a-23b7-4f07-81cb-9753686496f5"}]'
97
+ http_version:
98
+ recorded_at: Mon, 15 Aug 2016 15:20:40 GMT
99
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,99 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/availability
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"id":"<%= id %>","dataRetention":90,"tags":{"tag":"value"}}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
16
+ Hawkular-Tenant:
17
+ - <%= vcr_test_tenant %>
18
+ Content-Type:
19
+ - application/json
20
+ Content-Length:
21
+ - '87'
22
+ Host:
23
+ - 127.0.0.1:8443
24
+ response:
25
+ status:
26
+ code: 201
27
+ message: Created
28
+ headers:
29
+ Expires:
30
+ - '0'
31
+ Cache-Control:
32
+ - no-cache, no-store, must-revalidate
33
+ X-Powered-By:
34
+ - Undertow/1
35
+ Server:
36
+ - WildFly/10
37
+ Pragma:
38
+ - no-cache
39
+ Location:
40
+ - https://127.0.0.1:8443/hawkular/metrics/availability/<%= id %>
41
+ Date:
42
+ - Mon, 15 Aug 2016 15:20:39 GMT
43
+ Connection:
44
+ - keep-alive
45
+ Content-Length:
46
+ - '0'
47
+ body:
48
+ encoding: UTF-8
49
+ string: ''
50
+ http_version:
51
+ recorded_at: Mon, 15 Aug 2016 15:20:39 GMT
52
+ - request:
53
+ method: get
54
+ uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/availability/<%= id %>
55
+ body:
56
+ encoding: US-ASCII
57
+ string: ''
58
+ headers:
59
+ Accept:
60
+ - application/json
61
+ Accept-Encoding:
62
+ - identity
63
+ User-Agent:
64
+ - hawkular-client-ruby
65
+ Hawkular-Tenant:
66
+ - <%= vcr_test_tenant %>
67
+ Content-Type:
68
+ - application/json
69
+ Host:
70
+ - 127.0.0.1:8443
71
+ response:
72
+ status:
73
+ code: 200
74
+ message: OK
75
+ headers:
76
+ Expires:
77
+ - '0'
78
+ Cache-Control:
79
+ - no-cache, no-store, must-revalidate
80
+ X-Powered-By:
81
+ - Undertow/1
82
+ Server:
83
+ - WildFly/10
84
+ Pragma:
85
+ - no-cache
86
+ Date:
87
+ - Mon, 15 Aug 2016 15:20:39 GMT
88
+ Connection:
89
+ - keep-alive
90
+ Content-Type:
91
+ - application/json
92
+ Content-Length:
93
+ - '193'
94
+ body:
95
+ encoding: UTF-8
96
+ string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}'
97
+ http_version:
98
+ recorded_at: Mon, 15 Aug 2016 15:20:39 GMT
99
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,99 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/availability
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"id":"<%= id %>","dataRetention":123,"tags":{"some":"value"}}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
16
+ Hawkular-Tenant:
17
+ - <%= vcr_test_tenant %>
18
+ Content-Type:
19
+ - application/json
20
+ Content-Length:
21
+ - '89'
22
+ Host:
23
+ - 127.0.0.1:8443
24
+ response:
25
+ status:
26
+ code: 201
27
+ message: Created
28
+ headers:
29
+ Expires:
30
+ - '0'
31
+ Cache-Control:
32
+ - no-cache, no-store, must-revalidate
33
+ X-Powered-By:
34
+ - Undertow/1
35
+ Server:
36
+ - WildFly/10
37
+ Pragma:
38
+ - no-cache
39
+ Location:
40
+ - https://127.0.0.1:8443/hawkular/metrics/availability/<%= id %>
41
+ Date:
42
+ - Mon, 15 Aug 2016 15:20:39 GMT
43
+ Connection:
44
+ - keep-alive
45
+ Content-Length:
46
+ - '0'
47
+ body:
48
+ encoding: UTF-8
49
+ string: ''
50
+ http_version:
51
+ recorded_at: Mon, 15 Aug 2016 15:20:39 GMT
52
+ - request:
53
+ method: get
54
+ uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/availability/<%= id %>
55
+ body:
56
+ encoding: US-ASCII
57
+ string: ''
58
+ headers:
59
+ Accept:
60
+ - application/json
61
+ Accept-Encoding:
62
+ - identity
63
+ User-Agent:
64
+ - hawkular-client-ruby
65
+ Hawkular-Tenant:
66
+ - <%= vcr_test_tenant %>
67
+ Content-Type:
68
+ - application/json
69
+ Host:
70
+ - 127.0.0.1:8443
71
+ response:
72
+ status:
73
+ code: 200
74
+ message: OK
75
+ headers:
76
+ Expires:
77
+ - '0'
78
+ Cache-Control:
79
+ - no-cache, no-store, must-revalidate
80
+ X-Powered-By:
81
+ - Undertow/1
82
+ Server:
83
+ - WildFly/10
84
+ Pragma:
85
+ - no-cache
86
+ Date:
87
+ - Mon, 15 Aug 2016 15:20:39 GMT
88
+ Connection:
89
+ - keep-alive
90
+ Content-Type:
91
+ - application/json
92
+ Content-Length:
93
+ - '195'
94
+ body:
95
+ encoding: UTF-8
96
+ string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}'
97
+ http_version:
98
+ recorded_at: Mon, 15 Aug 2016 15:20:39 GMT
99
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,97 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/availability/<%= id %>/data
6
+ body:
7
+ encoding: UTF-8
8
+ string: '[{"timestamp":<%= minus50 %>,"value":"up"},{"timestamp":<%= minus40 %>,"value":"up"},{"timestamp":<%= minus30 %>,"value":"down"},{"timestamp":<%= minus20 %>,"value":"down"},{"timestamp":<%= minus10 %>,"value":"down"},{"timestamp":<%= now %>,"value":"up"}]'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
16
+ Hawkular-Tenant:
17
+ - <%= vcr_test_tenant %>
18
+ Content-Type:
19
+ - application/json
20
+ Content-Length:
21
+ - '253'
22
+ Host:
23
+ - 127.0.0.1:8443
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Expires:
30
+ - '0'
31
+ Connection:
32
+ - keep-alive
33
+ Cache-Control:
34
+ - no-cache, no-store, must-revalidate
35
+ X-Powered-By:
36
+ - Undertow/1
37
+ Server:
38
+ - WildFly/10
39
+ Pragma:
40
+ - no-cache
41
+ Content-Length:
42
+ - '0'
43
+ Date:
44
+ - Mon, 15 Aug 2016 15:20:40 GMT
45
+ body:
46
+ encoding: UTF-8
47
+ string: ''
48
+ http_version:
49
+ recorded_at: Mon, 15 Aug 2016 15:20:40 GMT
50
+ - request:
51
+ method: get
52
+ uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/availability/<%= id %>/data/?distinct=true&order=ASC
53
+ body:
54
+ encoding: US-ASCII
55
+ string: ''
56
+ headers:
57
+ Accept:
58
+ - application/json
59
+ Accept-Encoding:
60
+ - identity
61
+ User-Agent:
62
+ - hawkular-client-ruby
63
+ Hawkular-Tenant:
64
+ - <%= vcr_test_tenant %>
65
+ Content-Type:
66
+ - application/json
67
+ Host:
68
+ - 127.0.0.1:8443
69
+ response:
70
+ status:
71
+ code: 200
72
+ message: OK
73
+ headers:
74
+ Expires:
75
+ - '0'
76
+ Cache-Control:
77
+ - no-cache, no-store, must-revalidate
78
+ X-Powered-By:
79
+ - Undertow/1
80
+ Server:
81
+ - WildFly/10
82
+ Pragma:
83
+ - no-cache
84
+ Date:
85
+ - Mon, 15 Aug 2016 15:20:40 GMT
86
+ Connection:
87
+ - keep-alive
88
+ Content-Type:
89
+ - application/json
90
+ Content-Length:
91
+ - '126'
92
+ body:
93
+ encoding: UTF-8
94
+ string: '[{"timestamp":<%= minus50 %>,"value":"up"},{"timestamp":<%= minus30 %>,"value":"down"},{"timestamp":<%= now %>,"value":"up"}]'
95
+ http_version:
96
+ recorded_at: Mon, 15 Aug 2016 15:20:40 GMT
97
+ recorded_with: VCR 3.0.3