hawkular-client 2.2.1 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.rdoc +12 -0
  3. data/README.rdoc +5 -3
  4. data/Rakefile +8 -0
  5. data/hawkularclient.gemspec +1 -1
  6. data/lib/hawkular/base_client.rb +19 -1
  7. data/lib/hawkular/hawkular_client.rb +1 -1
  8. data/lib/hawkular/hawkular_client_utils.rb +1 -0
  9. data/lib/hawkular/inventory/entities.rb +234 -0
  10. data/lib/hawkular/inventory/inventory_api.rb +92 -311
  11. data/lib/hawkular/metrics/metric_api.rb +23 -10
  12. data/lib/hawkular/metrics/metrics_client.rb +14 -0
  13. data/lib/hawkular/operations/operations_api.rb +8 -2
  14. data/lib/hawkular/version.rb +1 -1
  15. data/spec/README.rdoc +62 -0
  16. data/spec/integration/alerts_spec.rb +18 -14
  17. data/spec/integration/hawkular_client_spec.rb +53 -14
  18. data/spec/integration/inventory_spec.rb +91 -44
  19. data/spec/integration/metric_spec.rb +574 -420
  20. data/spec/integration/operations_spec.rb +78 -5
  21. data/spec/integration/tokens_spec.rb +8 -4
  22. data/spec/spec_helper.rb +73 -13
  23. data/spec/unit/base_spec.rb +30 -1
  24. data/spec/unit/client_spec.rb +21 -9
  25. data/spec/vcr_cassettes/HawkularClient/Should_err_on_bad_credentials.yml +42 -0
  26. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +64 -34
  27. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml +27 -43
  28. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_types_with_bad_feed.yml +12 -8
  29. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +144 -64
  30. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml +26 -14
  31. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +20 -158
  32. data/spec/vcr_cassettes/HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml +40 -30
  33. data/spec/vcr_cassettes/{Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml → HawkularClient/and_Operations_client/Should_work_initializing_with_URI.yml} +18 -20
  34. data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +8 -8
  35. data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_work_initializing_with_URI.json +9 -0
  36. data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI.yml +77 -20
  37. data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI_on_metrics_client.yml +3 -3
  38. data/spec/vcr_cassettes/Inventory/Connection/Should_err_on_bad_credentials.yml +42 -0
  39. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +59 -12
  40. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +59 -12
  41. data/spec/vcr_cassettes/Inventory/{Helpers → inventory_0_17/Helpers}/create_url.yml +9 -7
  42. data/spec/vcr_cassettes/Inventory/{Templates/Should_list_feeds_when_using_SSL_without_certificate.yml → inventory_0_17/Helpers/get_feeds.yml} +23 -21
  43. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.json +47 -0
  44. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Client_should_listen_on_various_inventory_events.yml +48 -40
  45. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +397 -0
  46. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +129 -0
  47. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_feed.yml +13 -10
  48. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_feed_again.yml +40 -29
  49. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_nested_resource_and_metric_on_it.yml +193 -237
  50. data/spec/vcr_cassettes/Inventory/{Templates/Should_create_and_get_a_resource.yml → inventory_0_17/Templates/Should_create_a_resource.yml} +86 -172
  51. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_resource_with_metric.yml +296 -158
  52. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_resourcetype.yml +38 -29
  53. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_and_delete_feed.yml +42 -27
  54. data/spec/vcr_cassettes/Inventory/{Templates/Should_create_a_resource.yml → inventory_0_17/Templates/Should_create_and_get_a_resource.yml} +109 -89
  55. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_URLs.yml +20 -17
  56. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_WildFlys.yml +19 -12
  57. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +131 -0
  58. data/spec/vcr_cassettes/Inventory/{Helpers/get_feeds.yml → inventory_0_17/Templates/Should_list_all_the_resource_types.yml} +14 -11
  59. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +315 -0
  60. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_children_of_nested_resource.yml +45 -30
  61. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_feeds.yml +16 -10
  62. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml +60 -0
  63. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +935 -0
  64. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +357 -0
  65. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +122 -0
  66. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +292 -0
  67. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +235 -0
  68. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +121 -0
  69. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +1099 -0
  70. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +377 -0
  71. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_resources_for_feed.yml +19 -9
  72. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_types_with_bad_feed.yml +10 -8
  73. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_types_with_feed.yml +164 -0
  74. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_not_find_an_unknown_resource.yml +12 -10
  75. data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_return_config_data_of_given_nested_resource.yml +17 -11
  76. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +66 -0
  77. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_return_the_version.yml +48 -0
  78. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Get_metric_definition_by_id.yml +49 -0
  79. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Retrieve_metric_rate_points.yml +88 -0
  80. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_Availability_definition.yml +97 -0
  81. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_Counter_definition.yml +97 -0
  82. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_gauge_definition.yml +97 -0
  83. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_push_metric_data_to_existing_gauge.yml +48 -0
  84. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_update_tags_for_Availability_definition.yml +140 -0
  85. data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_update_tags_for_gauge_definition.yml +140 -0
  86. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +95 -0
  87. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +95 -0
  88. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +93 -0
  89. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +138 -0
  90. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +230 -0
  91. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +95 -0
  92. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +95 -0
  93. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +230 -0
  94. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +314 -0
  95. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +269 -0
  96. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +138 -0
  97. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +95 -0
  98. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +95 -0
  99. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +269 -0
  100. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +138 -0
  101. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +93 -0
  102. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +230 -0
  103. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +330 -0
  104. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
  105. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +273 -0
  106. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +48 -0
  107. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +48 -0
  108. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Status/Should_return_the_version.yml +42 -0
  109. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +95 -0
  110. data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +5 -9
  111. data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_create_and_return_Availability_using_Hash_parameter.yml +5 -9
  112. data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_push_metric_data_to_non-existing_Availability.yml +9 -15
  113. data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_update_tags_for_Availability_definition.yml +11 -21
  114. data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_create_and_return_counter_using_Hash_parameter.yml +5 -9
  115. data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_create_counter_definition_using_MetricDefinition_parameter.yml +5 -9
  116. data/spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +200 -0
  117. data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_push_metric_data_to_existing_counter.yml +16 -28
  118. data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_push_metric_data_to_non-existing_counter.yml +9 -15
  119. data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_create_gauge_definition_using_Hash.yml +5 -9
  120. data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_create_gauge_definition_using_MetricDefinition.yml +6 -10
  121. data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_push_metric_data_to_existing_gauge.yml +18 -30
  122. data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_push_metric_data_to_non-existing_gauge.yml +9 -15
  123. data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_return_periods.yml +6 -10
  124. data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_update_tags_for_gauge_definition.yml +11 -21
  125. data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_0_8_0/Templates/Mixed_metrics}/Should_send_mixed_metric_request.yml +19 -33
  126. data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_0_8_0/Templates/Mixed_metrics}/Should_send_mixed_metric_request_of_a_single_type.yml +19 -31
  127. data/spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Simple/Should_be_Cool.yml +82 -0
  128. data/spec/vcr_cassettes/Metrics/{Status.yml → metrics_0_8_0/Templates/Status/Should_return_the_version.yml} +6 -8
  129. data/spec/vcr_cassettes/{Tenants → Metrics/metrics_0_8_0/Templates/Tenants}/Should_create_and_return_tenant.yml +12 -8
  130. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +95 -0
  131. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +95 -0
  132. data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_services/Templates/Availability_metrics}/Should_group_contiguous_values.yml +7 -7
  133. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +138 -0
  134. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +230 -0
  135. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +95 -0
  136. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +95 -0
  137. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +230 -0
  138. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +314 -0
  139. data/spec/vcr_cassettes/{Counter_metrics/Should_get_metrics_with_limit_and_order.yml → Metrics/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml} +72 -61
  140. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +138 -0
  141. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +95 -0
  142. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +95 -0
  143. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +269 -0
  144. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +138 -0
  145. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +93 -0
  146. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +48 -0
  147. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +49 -0
  148. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +230 -0
  149. data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_services/Templates/Mixed_metrics}/Should_requests_raw_data_for_multiple_metrics.yml +25 -25
  150. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
  151. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +273 -0
  152. data/spec/vcr_cassettes/{No_Tenant → Metrics/metrics_services/Templates/No_Tenant}/Should_fail.yml +16 -10
  153. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Simple/Should_be_Cool.yml +48 -0
  154. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Status/Should_return_the_version.yml +42 -0
  155. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +95 -0
  156. data/spec/vcr_cassettes/{Counter_metrics → New_API_Counter_metrics}/Should_get_metrics_as_bucketed_results.yml +73 -33
  157. data/spec/vcr_cassettes/New_API_Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
  158. data/spec/vcr_cassettes/Operation/Helpers/get_feed.yml +17 -11
  159. data/spec/vcr_cassettes/Operation/Helpers/get_tenant.yml +13 -11
  160. data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +2 -2
  161. data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +2 -2
  162. data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +2 -2
  163. data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +4 -4
  164. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +2 -2
  165. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +2 -2
  166. data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +2 -2
  167. data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +2 -2
  168. data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +2 -2
  169. data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +2 -2
  170. data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
  171. data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
  172. data/spec/vcr_cassettes/Operation/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +13 -0
  173. metadata +259 -139
  174. data/spec/vcr_cassettes/Gauge_metrics/Platform_mem.yml +0 -44
  175. data/spec/vcr_cassettes/Gauge_metrics/Platform_mem_def.yml +0 -45
  176. data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +0 -4446
  177. data/spec/vcr_cassettes/Inventory/Templates/Client_should_listen_on_various_inventory_events.json +0 -47
  178. data/spec/vcr_cassettes/Inventory/Templates/Helpers/generate_some_events_for_websocket.yml +0 -542
  179. data/spec/vcr_cassettes/Inventory/Templates/Should_List_datasources_with_no_props.yml +0 -174
  180. data/spec/vcr_cassettes/Inventory/Templates/Should_list_WildFlys_with_props.yml +0 -115
  181. data/spec/vcr_cassettes/Inventory/Templates/Should_list_all_the_resource_types.yml +0 -126
  182. data/spec/vcr_cassettes/Inventory/Templates/Should_list_children_of_WildFly.yml +0 -308
  183. data/spec/vcr_cassettes/Inventory/Templates/Should_list_heap_metrics_for_WildFlys.yml +0 -712
  184. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_for_WildFlys.yml +0 -278
  185. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_metric_type.yml +0 -530
  186. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_resource_type.yml +0 -278
  187. data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource.yml +0 -185
  188. data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource_type.yml +0 -126
  189. data/spec/vcr_cassettes/Inventory/Templates/Should_list_recursive_children_of_WildFly.yml +0 -2369
  190. data/spec/vcr_cassettes/Inventory/Templates/Should_list_relationships_of_WildFly.yml +0 -415
  191. data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_feed.yml +0 -124
  192. data/spec/vcr_cassettes/Inventory/Templates/Should_return_config_data_of_given_resource.yml +0 -57
  193. data/spec/vcr_cassettes/Simple/Should_be_Cool.yml +0 -208
  194. data/spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +0 -50
@@ -1,278 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/WildFly%20Server/resources
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Content-Type:
15
- - application/json
16
- User-Agent:
17
- - Ruby
18
- response:
19
- status:
20
- code: 200
21
- message: OK
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
- - Thu, 05 May 2016 11:18:41 GMT
35
- X-Total-Count:
36
- - '1'
37
- Connection:
38
- - keep-alive
39
- Content-Type:
40
- - application/json
41
- Content-Length:
42
- - '351'
43
- Link:
44
- - <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/WildFly%20Server/resources>;
45
- rel="current"
46
- body:
47
- encoding: ASCII-8BIT
48
- string: |-
49
- [ {
50
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~",
51
- "type" : {
52
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;WildFly%20Server",
53
- "name" : "WildFly Server",
54
- "id" : "WildFly Server"
55
- },
56
- "name" : "localhost/Local",
57
- "id" : "Local~~"
58
- } ]
59
- http_version:
60
- recorded_at: Thu, 05 May 2016 11:18:41 GMT
61
- - request:
62
- method: get
63
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/metrics?sort=id
64
- body:
65
- encoding: US-ASCII
66
- string: ''
67
- headers:
68
- Accept:
69
- - application/json
70
- Accept-Encoding:
71
- - gzip, deflate
72
- Content-Type:
73
- - application/json
74
- User-Agent:
75
- - Ruby
76
- response:
77
- status:
78
- code: 200
79
- message: OK
80
- headers:
81
- Expires:
82
- - '0'
83
- Cache-Control:
84
- - no-cache, no-store, must-revalidate
85
- X-Powered-By:
86
- - Undertow/1
87
- Server:
88
- - WildFly/10
89
- Pragma:
90
- - no-cache
91
- Date:
92
- - Thu, 05 May 2016 11:18:42 GMT
93
- X-Total-Count:
94
- - '14'
95
- Connection:
96
- - keep-alive
97
- Content-Type:
98
- - application/json
99
- Content-Length:
100
- - '10779'
101
- Link:
102
- - <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/metrics?sort=id>;
103
- rel="current"
104
- body:
105
- encoding: ASCII-8BIT
106
- string: |-
107
- [ {
108
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;AI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~AT~Server%20Availability~App%20Server",
109
- "type" : {
110
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Server%20Availability~App%20Server",
111
- "name" : "Server Availability~App Server",
112
- "unit" : "NONE",
113
- "type" : "AVAILABILITY",
114
- "collectionInterval" : 30,
115
- "id" : "Server Availability~App Server"
116
- },
117
- "name" : "Server Availability~App Server",
118
- "id" : "AI~R~[<%= feed_uuid %>/Local~~]~AT~Server Availability~App Server"
119
- }, {
120
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
121
- "type" : {
122
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
123
- "name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
124
- "unit" : "NONE",
125
- "type" : "GAUGE",
126
- "collectionInterval" : 60,
127
- "id" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
128
- },
129
- "name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
130
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
131
- }, {
132
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
133
- "type" : {
134
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
135
- "name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
136
- "unit" : "NONE",
137
- "type" : "COUNTER",
138
- "collectionInterval" : 60,
139
- "id" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
140
- },
141
- "name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
142
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
143
- }, {
144
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
145
- "type" : {
146
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
147
- "name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
148
- "unit" : "NONE",
149
- "type" : "GAUGE",
150
- "collectionInterval" : 60,
151
- "id" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
152
- },
153
- "name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
154
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
155
- }, {
156
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
157
- "type" : {
158
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
159
- "name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
160
- "unit" : "NONE",
161
- "type" : "COUNTER",
162
- "collectionInterval" : 60,
163
- "id" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
164
- },
165
- "name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
166
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
167
- }, {
168
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
169
- "type" : {
170
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
171
- "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
172
- "unit" : "NONE",
173
- "type" : "COUNTER",
174
- "collectionInterval" : 60,
175
- "id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
176
- },
177
- "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
178
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
179
- }, {
180
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
181
- "type" : {
182
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
183
- "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
184
- "unit" : "NONE",
185
- "type" : "COUNTER",
186
- "collectionInterval" : 60,
187
- "id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
188
- },
189
- "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
190
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
191
- }, {
192
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
193
- "type" : {
194
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
195
- "name" : "WildFly Memory Metrics~Accumulated GC Duration",
196
- "unit" : "NONE",
197
- "type" : "COUNTER",
198
- "collectionInterval" : 60,
199
- "id" : "WildFly Memory Metrics~Accumulated GC Duration"
200
- },
201
- "name" : "WildFly Memory Metrics~Accumulated GC Duration",
202
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Accumulated GC Duration"
203
- }, {
204
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Committed",
205
- "type" : {
206
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Committed",
207
- "name" : "WildFly Memory Metrics~Heap Committed",
208
- "unit" : "NONE",
209
- "type" : "GAUGE",
210
- "collectionInterval" : 60,
211
- "id" : "WildFly Memory Metrics~Heap Committed"
212
- },
213
- "name" : "WildFly Memory Metrics~Heap Committed",
214
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Committed"
215
- }, {
216
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Max",
217
- "type" : {
218
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Max",
219
- "name" : "WildFly Memory Metrics~Heap Max",
220
- "unit" : "NONE",
221
- "type" : "GAUGE",
222
- "collectionInterval" : 60,
223
- "id" : "WildFly Memory Metrics~Heap Max"
224
- },
225
- "name" : "WildFly Memory Metrics~Heap Max",
226
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Max"
227
- }, {
228
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Used",
229
- "type" : {
230
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Used",
231
- "name" : "WildFly Memory Metrics~Heap Used",
232
- "unit" : "BYTES",
233
- "type" : "GAUGE",
234
- "collectionInterval" : 30,
235
- "id" : "WildFly Memory Metrics~Heap Used"
236
- },
237
- "name" : "WildFly Memory Metrics~Heap Used",
238
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Used"
239
- }, {
240
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Committed",
241
- "type" : {
242
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Committed",
243
- "name" : "WildFly Memory Metrics~NonHeap Committed",
244
- "unit" : "NONE",
245
- "type" : "GAUGE",
246
- "collectionInterval" : 60,
247
- "id" : "WildFly Memory Metrics~NonHeap Committed"
248
- },
249
- "name" : "WildFly Memory Metrics~NonHeap Committed",
250
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Committed"
251
- }, {
252
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Used",
253
- "type" : {
254
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Used",
255
- "name" : "WildFly Memory Metrics~NonHeap Used",
256
- "unit" : "NONE",
257
- "type" : "GAUGE",
258
- "collectionInterval" : 30,
259
- "id" : "WildFly Memory Metrics~NonHeap Used"
260
- },
261
- "name" : "WildFly Memory Metrics~NonHeap Used",
262
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Used"
263
- }, {
264
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Threading%20Metrics~Thread%20Count",
265
- "type" : {
266
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Threading%20Metrics~Thread%20Count",
267
- "name" : "WildFly Threading Metrics~Thread Count",
268
- "unit" : "NONE",
269
- "type" : "GAUGE",
270
- "collectionInterval" : 120,
271
- "id" : "WildFly Threading Metrics~Thread Count"
272
- },
273
- "name" : "WildFly Threading Metrics~Thread Count",
274
- "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Threading Metrics~Thread Count"
275
- } ]
276
- http_version:
277
- recorded_at: Thu, 05 May 2016 11:18:42 GMT
278
- recorded_with: VCR 3.0.1
@@ -1,530 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/metricTypes/Total%20Space
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Content-Type:
15
- - application/json
16
- User-Agent:
17
- - Ruby
18
- response:
19
- status:
20
- code: 200
21
- message: OK
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
- - Thu, 05 May 2016 11:18:44 GMT
35
- Connection:
36
- - keep-alive
37
- Content-Type:
38
- - application/json
39
- Content-Length:
40
- - '232'
41
- body:
42
- encoding: ASCII-8BIT
43
- string: |-
44
- {
45
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
46
- "name" : "Total Space",
47
- "unit" : "BYTES",
48
- "type" : "GAUGE",
49
- "collectionInterval" : 300,
50
- "id" : "Total Space"
51
- }
52
- http_version:
53
- recorded_at: Thu, 05 May 2016 11:18:44 GMT
54
- - request:
55
- method: get
56
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space/relationships?named=defines&sort=__targetCp
57
- body:
58
- encoding: US-ASCII
59
- string: ''
60
- headers:
61
- Accept:
62
- - application/json
63
- Accept-Encoding:
64
- - gzip, deflate
65
- Content-Type:
66
- - application/json
67
- User-Agent:
68
- - Ruby
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
- - Thu, 05 May 2016 11:18:44 GMT
86
- X-Total-Count:
87
- - '7'
88
- Connection:
89
- - keep-alive
90
- Content-Type:
91
- - application/json
92
- Content-Length:
93
- - '3102'
94
- Link:
95
- - <http://localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space/relationships?sort=__targetCp&named=defines>;
96
- rel="current"
97
- body:
98
- encoding: ASCII-8BIT
99
- string: |-
100
- [ {
101
- "id" : "1jwg-9hc-1g5x-1erk",
102
- "name" : "defines",
103
- "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
104
- "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D%2Fdev%2Fmapper%2Ffedora-home%5D~MT~Total%20Space"
105
- }, {
106
- "id" : "1iow-9hc-1g5x-1dds",
107
- "name" : "defines",
108
- "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
109
- "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D%2Fdev%2Fsda3%5D~MT~Total%20Space"
110
- }, {
111
- "id" : "1iio-9hc-1g5x-1d6o",
112
- "name" : "defines",
113
- "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
114
- "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dhugetlbfs%5D~MT~Total%20Space"
115
- }, {
116
- "id" : "1k8w-9hc-1g5x-1f5s",
117
- "name" : "defines",
118
- "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
119
- "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dmqueue%5D~MT~Total%20Space"
120
- }, {
121
- "id" : "1jk0-9hc-1g5x-1edc",
122
- "name" : "defines",
123
- "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
124
- "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dsunrpc%5D~MT~Total%20Space"
125
- }, {
126
- "id" : "1i68-9hc-1g5x-1csg",
127
- "name" : "defines",
128
- "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
129
- "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dtmpfs%5D~MT~Total%20Space"
130
- }, {
131
- "id" : "1j1c-9hc-1g5x-1ds0",
132
- "name" : "defines",
133
- "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
134
- "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D~%5D~MT~Total%20Space"
135
- } ]
136
- http_version:
137
- recorded_at: Thu, 05 May 2016 11:18:44 GMT
138
- - request:
139
- method: get
140
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=%2Fdev%2Fmapper%2Ffedora-home%5D~MT~Total%20Space
141
- body:
142
- encoding: US-ASCII
143
- string: ''
144
- headers:
145
- Accept:
146
- - application/json
147
- Accept-Encoding:
148
- - gzip, deflate
149
- Content-Type:
150
- - application/json
151
- User-Agent:
152
- - Ruby
153
- response:
154
- status:
155
- code: 200
156
- message: OK
157
- headers:
158
- Expires:
159
- - '0'
160
- Cache-Control:
161
- - no-cache, no-store, must-revalidate
162
- X-Powered-By:
163
- - Undertow/1
164
- Server:
165
- - WildFly/10
166
- Pragma:
167
- - no-cache
168
- Date:
169
- - Thu, 05 May 2016 11:18:44 GMT
170
- Connection:
171
- - keep-alive
172
- Content-Type:
173
- - application/json
174
- Content-Length:
175
- - '764'
176
- body:
177
- encoding: ASCII-8BIT
178
- string: |-
179
- {
180
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D%2Fdev%2Fmapper%2Ffedora-home%5D~MT~Total%20Space",
181
- "type" : {
182
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
183
- "name" : "Total Space",
184
- "unit" : "BYTES",
185
- "type" : "GAUGE",
186
- "collectionInterval" : 300,
187
- "id" : "Total Space"
188
- },
189
- "name" : "Total Space",
190
- "id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=/dev/mapper/fedora-home]~MT~Total Space"
191
- }
192
- http_version:
193
- recorded_at: Thu, 05 May 2016 11:18:44 GMT
194
- - request:
195
- method: get
196
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=%2Fdev%2Fsda3%5D~MT~Total%20Space
197
- body:
198
- encoding: US-ASCII
199
- string: ''
200
- headers:
201
- Accept:
202
- - application/json
203
- Accept-Encoding:
204
- - gzip, deflate
205
- Content-Type:
206
- - application/json
207
- User-Agent:
208
- - Ruby
209
- response:
210
- status:
211
- code: 200
212
- message: OK
213
- headers:
214
- Expires:
215
- - '0'
216
- Cache-Control:
217
- - no-cache, no-store, must-revalidate
218
- X-Powered-By:
219
- - Undertow/1
220
- Server:
221
- - WildFly/10
222
- Pragma:
223
- - no-cache
224
- Date:
225
- - Thu, 05 May 2016 11:18:44 GMT
226
- Connection:
227
- - keep-alive
228
- Content-Type:
229
- - application/json
230
- Content-Length:
231
- - '734'
232
- body:
233
- encoding: ASCII-8BIT
234
- string: |-
235
- {
236
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D%2Fdev%2Fsda3%5D~MT~Total%20Space",
237
- "type" : {
238
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
239
- "name" : "Total Space",
240
- "unit" : "BYTES",
241
- "type" : "GAUGE",
242
- "collectionInterval" : 300,
243
- "id" : "Total Space"
244
- },
245
- "name" : "Total Space",
246
- "id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=/dev/sda3]~MT~Total Space"
247
- }
248
- http_version:
249
- recorded_at: Thu, 05 May 2016 11:18:44 GMT
250
- - request:
251
- method: get
252
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=hugetlbfs%5D~MT~Total%20Space
253
- body:
254
- encoding: US-ASCII
255
- string: ''
256
- headers:
257
- Accept:
258
- - application/json
259
- Accept-Encoding:
260
- - gzip, deflate
261
- Content-Type:
262
- - application/json
263
- User-Agent:
264
- - Ruby
265
- response:
266
- status:
267
- code: 200
268
- message: OK
269
- headers:
270
- Expires:
271
- - '0'
272
- Cache-Control:
273
- - no-cache, no-store, must-revalidate
274
- X-Powered-By:
275
- - Undertow/1
276
- Server:
277
- - WildFly/10
278
- Pragma:
279
- - no-cache
280
- Date:
281
- - Thu, 05 May 2016 11:18:44 GMT
282
- Connection:
283
- - keep-alive
284
- Content-Type:
285
- - application/json
286
- Content-Length:
287
- - '730'
288
- body:
289
- encoding: ASCII-8BIT
290
- string: |-
291
- {
292
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dhugetlbfs%5D~MT~Total%20Space",
293
- "type" : {
294
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
295
- "name" : "Total Space",
296
- "unit" : "BYTES",
297
- "type" : "GAUGE",
298
- "collectionInterval" : 300,
299
- "id" : "Total Space"
300
- },
301
- "name" : "Total Space",
302
- "id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=hugetlbfs]~MT~Total Space"
303
- }
304
- http_version:
305
- recorded_at: Thu, 05 May 2016 11:18:44 GMT
306
- - request:
307
- method: get
308
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=mqueue%5D~MT~Total%20Space
309
- body:
310
- encoding: US-ASCII
311
- string: ''
312
- headers:
313
- Accept:
314
- - application/json
315
- Accept-Encoding:
316
- - gzip, deflate
317
- Content-Type:
318
- - application/json
319
- User-Agent:
320
- - Ruby
321
- response:
322
- status:
323
- code: 200
324
- message: OK
325
- headers:
326
- Expires:
327
- - '0'
328
- Cache-Control:
329
- - no-cache, no-store, must-revalidate
330
- X-Powered-By:
331
- - Undertow/1
332
- Server:
333
- - WildFly/10
334
- Pragma:
335
- - no-cache
336
- Date:
337
- - Thu, 05 May 2016 11:18:44 GMT
338
- Connection:
339
- - keep-alive
340
- Content-Type:
341
- - application/json
342
- Content-Length:
343
- - '724'
344
- body:
345
- encoding: ASCII-8BIT
346
- string: |-
347
- {
348
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dmqueue%5D~MT~Total%20Space",
349
- "type" : {
350
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
351
- "name" : "Total Space",
352
- "unit" : "BYTES",
353
- "type" : "GAUGE",
354
- "collectionInterval" : 300,
355
- "id" : "Total Space"
356
- },
357
- "name" : "Total Space",
358
- "id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=mqueue]~MT~Total Space"
359
- }
360
- http_version:
361
- recorded_at: Thu, 05 May 2016 11:18:44 GMT
362
- - request:
363
- method: get
364
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=sunrpc%5D~MT~Total%20Space
365
- body:
366
- encoding: US-ASCII
367
- string: ''
368
- headers:
369
- Accept:
370
- - application/json
371
- Accept-Encoding:
372
- - gzip, deflate
373
- Content-Type:
374
- - application/json
375
- User-Agent:
376
- - Ruby
377
- response:
378
- status:
379
- code: 200
380
- message: OK
381
- headers:
382
- Expires:
383
- - '0'
384
- Cache-Control:
385
- - no-cache, no-store, must-revalidate
386
- X-Powered-By:
387
- - Undertow/1
388
- Server:
389
- - WildFly/10
390
- Pragma:
391
- - no-cache
392
- Date:
393
- - Thu, 05 May 2016 11:18:44 GMT
394
- Connection:
395
- - keep-alive
396
- Content-Type:
397
- - application/json
398
- Content-Length:
399
- - '724'
400
- body:
401
- encoding: ASCII-8BIT
402
- string: |-
403
- {
404
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dsunrpc%5D~MT~Total%20Space",
405
- "type" : {
406
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
407
- "name" : "Total Space",
408
- "unit" : "BYTES",
409
- "type" : "GAUGE",
410
- "collectionInterval" : 300,
411
- "id" : "Total Space"
412
- },
413
- "name" : "Total Space",
414
- "id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=sunrpc]~MT~Total Space"
415
- }
416
- http_version:
417
- recorded_at: Thu, 05 May 2016 11:18:44 GMT
418
- - request:
419
- method: get
420
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=tmpfs%5D~MT~Total%20Space
421
- body:
422
- encoding: US-ASCII
423
- string: ''
424
- headers:
425
- Accept:
426
- - application/json
427
- Accept-Encoding:
428
- - gzip, deflate
429
- Content-Type:
430
- - application/json
431
- User-Agent:
432
- - Ruby
433
- response:
434
- status:
435
- code: 200
436
- message: OK
437
- headers:
438
- Expires:
439
- - '0'
440
- Cache-Control:
441
- - no-cache, no-store, must-revalidate
442
- X-Powered-By:
443
- - Undertow/1
444
- Server:
445
- - WildFly/10
446
- Pragma:
447
- - no-cache
448
- Date:
449
- - Thu, 05 May 2016 11:18:44 GMT
450
- Connection:
451
- - keep-alive
452
- Content-Type:
453
- - application/json
454
- Content-Length:
455
- - '722'
456
- body:
457
- encoding: ASCII-8BIT
458
- string: |-
459
- {
460
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dtmpfs%5D~MT~Total%20Space",
461
- "type" : {
462
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
463
- "name" : "Total Space",
464
- "unit" : "BYTES",
465
- "type" : "GAUGE",
466
- "collectionInterval" : 300,
467
- "id" : "Total Space"
468
- },
469
- "name" : "Total Space",
470
- "id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=tmpfs]~MT~Total Space"
471
- }
472
- http_version:
473
- recorded_at: Thu, 05 May 2016 11:18:44 GMT
474
- - request:
475
- method: get
476
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=~%5D~MT~Total%20Space
477
- body:
478
- encoding: US-ASCII
479
- string: ''
480
- headers:
481
- Accept:
482
- - application/json
483
- Accept-Encoding:
484
- - gzip, deflate
485
- Content-Type:
486
- - application/json
487
- User-Agent:
488
- - Ruby
489
- response:
490
- status:
491
- code: 200
492
- message: OK
493
- headers:
494
- Expires:
495
- - '0'
496
- Cache-Control:
497
- - no-cache, no-store, must-revalidate
498
- X-Powered-By:
499
- - Undertow/1
500
- Server:
501
- - WildFly/10
502
- Pragma:
503
- - no-cache
504
- Date:
505
- - Thu, 05 May 2016 11:18:44 GMT
506
- Connection:
507
- - keep-alive
508
- Content-Type:
509
- - application/json
510
- Content-Length:
511
- - '714'
512
- body:
513
- encoding: ASCII-8BIT
514
- string: |-
515
- {
516
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D~%5D~MT~Total%20Space",
517
- "type" : {
518
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
519
- "name" : "Total Space",
520
- "unit" : "BYTES",
521
- "type" : "GAUGE",
522
- "collectionInterval" : 300,
523
- "id" : "Total Space"
524
- },
525
- "name" : "Total Space",
526
- "id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=~]~MT~Total Space"
527
- }
528
- http_version:
529
- recorded_at: Thu, 05 May 2016 11:18:44 GMT
530
- recorded_with: VCR 3.0.1