hawkular-client 2.2.1 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -0,0 +1,292 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/rt;WildFly%20Server/rl;defines/type=r/rl;incorporates/type=m?sort=id
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
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Expires:
26
+ - '0'
27
+ Cache-Control:
28
+ - no-cache, no-store, must-revalidate
29
+ X-Powered-By:
30
+ - Undertow/1
31
+ Server:
32
+ - WildFly/10
33
+ Pragma:
34
+ - no-cache
35
+ Date:
36
+ - Thu, 14 Jul 2016 16:23:43 GMT
37
+ X-Total-Count:
38
+ - '14'
39
+ Connection:
40
+ - keep-alive
41
+ Content-Type:
42
+ - application/json
43
+ Content-Length:
44
+ - '13056'
45
+ Link:
46
+ - <http://localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/rt;WildFly%20Server/rl;defines/type=r/rl;incorporates/type=m?sort=id>;
47
+ rel="current"
48
+ body:
49
+ encoding: UTF-8
50
+ string: |-
51
+ [ {
52
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;AI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~AT~Server%20Availability~Server%20Availability",
53
+ "properties" : {
54
+ "__identityHash" : "b0565611a2d5cdb3195256dc7fe287877b5b89b"
55
+ },
56
+ "name" : "Server Availability~Server Availability",
57
+ "identityHash" : "b0565611a2d5cdb3195256dc7fe287877b5b89b",
58
+ "type" : {
59
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;Server%20Availability~Server%20Availability",
60
+ "name" : "Server Availability~Server Availability",
61
+ "identityHash" : "69beedc2b0c5cf2f3d0484b9c1aa9e4cdcf93",
62
+ "unit" : "NONE",
63
+ "type" : "AVAILABILITY",
64
+ "collectionInterval" : 30,
65
+ "id" : "Server Availability~Server Availability"
66
+ },
67
+ "id" : "AI~R~[<%= feed_uuid %>/Local~~]~AT~Server Availability~Server Availability"
68
+ }, {
69
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
70
+ "properties" : {
71
+ "__identityHash" : "17246bba43523efbb195d11279cd5716e75a0de"
72
+ },
73
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
74
+ "identityHash" : "17246bba43523efbb195d11279cd5716e75a0de",
75
+ "type" : {
76
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
77
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
78
+ "identityHash" : "a82dc495957628db4b96ca5c44213ce023c792b9",
79
+ "unit" : "NONE",
80
+ "type" : "GAUGE",
81
+ "collectionInterval" : 60,
82
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
83
+ },
84
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
85
+ }, {
86
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
87
+ "properties" : {
88
+ "__identityHash" : "5843d473a3aa198449719818ba0af2557390b6"
89
+ },
90
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
91
+ "identityHash" : "5843d473a3aa198449719818ba0af2557390b6",
92
+ "type" : {
93
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
94
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
95
+ "identityHash" : "3c806e8b625362b37f972a3594448c4aa8b3",
96
+ "unit" : "NONE",
97
+ "type" : "COUNTER",
98
+ "collectionInterval" : 60,
99
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
100
+ },
101
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
102
+ }, {
103
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
104
+ "properties" : {
105
+ "__identityHash" : "855a7aac39faba7e71734b704392f87cd3b92d9"
106
+ },
107
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
108
+ "identityHash" : "855a7aac39faba7e71734b704392f87cd3b92d9",
109
+ "type" : {
110
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
111
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
112
+ "identityHash" : "a677b62ab5ec7632a32af8b6ef08aef813fd1f",
113
+ "unit" : "NONE",
114
+ "type" : "GAUGE",
115
+ "collectionInterval" : 60,
116
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
117
+ },
118
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
119
+ }, {
120
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
121
+ "properties" : {
122
+ "__identityHash" : "d561dd16efd30fe9c7ee0317490321bbf91518"
123
+ },
124
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
125
+ "identityHash" : "d561dd16efd30fe9c7ee0317490321bbf91518",
126
+ "type" : {
127
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
128
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
129
+ "identityHash" : "6af37a7acb8c6eab4818313a281748152896534",
130
+ "unit" : "NONE",
131
+ "type" : "COUNTER",
132
+ "collectionInterval" : 60,
133
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
134
+ },
135
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
136
+ }, {
137
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
138
+ "properties" : {
139
+ "__identityHash" : "bc10337e8cde627335dacd529227759992d741c"
140
+ },
141
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
142
+ "identityHash" : "bc10337e8cde627335dacd529227759992d741c",
143
+ "type" : {
144
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
145
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
146
+ "identityHash" : "95556b3b6367d481ebfd12997646e08fef9291e0",
147
+ "unit" : "NONE",
148
+ "type" : "COUNTER",
149
+ "collectionInterval" : 60,
150
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
151
+ },
152
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
153
+ }, {
154
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
155
+ "properties" : {
156
+ "__identityHash" : "79dc48c0995d4480a216ead6a4e6af97fa434b3"
157
+ },
158
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
159
+ "identityHash" : "79dc48c0995d4480a216ead6a4e6af97fa434b3",
160
+ "type" : {
161
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
162
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
163
+ "identityHash" : "f949025e0087974acae8cffab1598344932f6c",
164
+ "unit" : "NONE",
165
+ "type" : "COUNTER",
166
+ "collectionInterval" : 60,
167
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
168
+ },
169
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
170
+ }, {
171
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
172
+ "properties" : {
173
+ "__identityHash" : "e711337f6c7ad8572d3dcb024c2314619249487"
174
+ },
175
+ "name" : "WildFly Memory Metrics~Accumulated GC Duration",
176
+ "identityHash" : "e711337f6c7ad8572d3dcb024c2314619249487",
177
+ "type" : {
178
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
179
+ "name" : "WildFly Memory Metrics~Accumulated GC Duration",
180
+ "identityHash" : "44916cf1eae6344af4cd0b2a562c5328562c3",
181
+ "unit" : "MILLISECONDS",
182
+ "type" : "COUNTER",
183
+ "collectionInterval" : 60,
184
+ "id" : "WildFly Memory Metrics~Accumulated GC Duration"
185
+ },
186
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Accumulated GC Duration"
187
+ }, {
188
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Committed",
189
+ "properties" : {
190
+ "__identityHash" : "af61954da12cdc111648e6eb8896988d82ae62ed"
191
+ },
192
+ "name" : "WildFly Memory Metrics~Heap Committed",
193
+ "identityHash" : "af61954da12cdc111648e6eb8896988d82ae62ed",
194
+ "type" : {
195
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Committed",
196
+ "name" : "WildFly Memory Metrics~Heap Committed",
197
+ "identityHash" : "405253f87a6e98aabe2d7a4a524f5796d9d97e",
198
+ "unit" : "BYTES",
199
+ "type" : "GAUGE",
200
+ "collectionInterval" : 60,
201
+ "id" : "WildFly Memory Metrics~Heap Committed"
202
+ },
203
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Committed"
204
+ }, {
205
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Max",
206
+ "properties" : {
207
+ "__identityHash" : "d86add67ad912b8f2e163a964a297c7fa5997"
208
+ },
209
+ "name" : "WildFly Memory Metrics~Heap Max",
210
+ "identityHash" : "d86add67ad912b8f2e163a964a297c7fa5997",
211
+ "type" : {
212
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Max",
213
+ "name" : "WildFly Memory Metrics~Heap Max",
214
+ "identityHash" : "a84cf574232510897e26b98fd9ea5702a95dfc7",
215
+ "unit" : "BYTES",
216
+ "type" : "GAUGE",
217
+ "collectionInterval" : 60,
218
+ "id" : "WildFly Memory Metrics~Heap Max"
219
+ },
220
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Max"
221
+ }, {
222
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Used",
223
+ "properties" : {
224
+ "__identityHash" : "6a83bcf8c41d524cff4d9c12156c1c9264cef43"
225
+ },
226
+ "name" : "WildFly Memory Metrics~Heap Used",
227
+ "identityHash" : "6a83bcf8c41d524cff4d9c12156c1c9264cef43",
228
+ "type" : {
229
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Used",
230
+ "name" : "WildFly Memory Metrics~Heap Used",
231
+ "identityHash" : "3be5b5fdabed925ac46fdc6d8295e34bbd3147a",
232
+ "unit" : "BYTES",
233
+ "type" : "GAUGE",
234
+ "collectionInterval" : 30,
235
+ "id" : "WildFly Memory Metrics~Heap Used"
236
+ },
237
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Used"
238
+ }, {
239
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Committed",
240
+ "properties" : {
241
+ "__identityHash" : "6417da32f2907035ff752b7c888cd96b662a9e48"
242
+ },
243
+ "name" : "WildFly Memory Metrics~NonHeap Committed",
244
+ "identityHash" : "6417da32f2907035ff752b7c888cd96b662a9e48",
245
+ "type" : {
246
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Committed",
247
+ "name" : "WildFly Memory Metrics~NonHeap Committed",
248
+ "identityHash" : "55d9f8e5b0a3b5d0af3fd3bac67b08b186c68b5",
249
+ "unit" : "BYTES",
250
+ "type" : "GAUGE",
251
+ "collectionInterval" : 60,
252
+ "id" : "WildFly Memory Metrics~NonHeap Committed"
253
+ },
254
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Committed"
255
+ }, {
256
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Used",
257
+ "properties" : {
258
+ "__identityHash" : "a962202dff756545627ffe41658571d99c6357"
259
+ },
260
+ "name" : "WildFly Memory Metrics~NonHeap Used",
261
+ "identityHash" : "a962202dff756545627ffe41658571d99c6357",
262
+ "type" : {
263
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Used",
264
+ "name" : "WildFly Memory Metrics~NonHeap Used",
265
+ "identityHash" : "c785eddfb0f0baa1e832fc38485d686e2297497",
266
+ "unit" : "BYTES",
267
+ "type" : "GAUGE",
268
+ "collectionInterval" : 30,
269
+ "id" : "WildFly Memory Metrics~NonHeap Used"
270
+ },
271
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Used"
272
+ }, {
273
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Threading%20Metrics~Thread%20Count",
274
+ "properties" : {
275
+ "__identityHash" : "ffda956771144b0d563846e90eaa04bce44ba88"
276
+ },
277
+ "name" : "WildFly Threading Metrics~Thread Count",
278
+ "identityHash" : "ffda956771144b0d563846e90eaa04bce44ba88",
279
+ "type" : {
280
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Threading%20Metrics~Thread%20Count",
281
+ "name" : "WildFly Threading Metrics~Thread Count",
282
+ "identityHash" : "1e41cf1c2b3c07e23983a3789c91bdc6f1cc88",
283
+ "unit" : "NONE",
284
+ "type" : "GAUGE",
285
+ "collectionInterval" : 120,
286
+ "id" : "WildFly Threading Metrics~Thread Count"
287
+ },
288
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Threading Metrics~Thread Count"
289
+ } ]
290
+ http_version:
291
+ recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
292
+ recorded_with: VCR 3.0.1
@@ -0,0 +1,235 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/rt;WildFly%20Server/rl;defines/type=r
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
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Expires:
26
+ - '0'
27
+ Cache-Control:
28
+ - no-cache, no-store, must-revalidate
29
+ X-Powered-By:
30
+ - Undertow/1
31
+ Server:
32
+ - WildFly/10
33
+ Pragma:
34
+ - no-cache
35
+ Date:
36
+ - Thu, 14 Jul 2016 16:23:43 GMT
37
+ X-Total-Count:
38
+ - '1'
39
+ Connection:
40
+ - keep-alive
41
+ Content-Type:
42
+ - application/json
43
+ Content-Length:
44
+ - '517'
45
+ Link:
46
+ - <http://localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/rt;WildFly%20Server/rl;defines/type=r>;
47
+ rel="current"
48
+ body:
49
+ encoding: UTF-8
50
+ string: |-
51
+ [ {
52
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
53
+ "properties" : {
54
+ "__identityHash" : "8f7077c6fd492ab39991ce1f7d168a0565fd9e5"
55
+ },
56
+ "name" : "WildFly Server [Local]",
57
+ "identityHash" : "8f7077c6fd492ab39991ce1f7d168a0565fd9e5",
58
+ "type" : {
59
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/rt;WildFly%20Server",
60
+ "name" : "WildFly Server",
61
+ "identityHash" : "617542c89b86e3ce52b819c1deae7ca37cf7851",
62
+ "id" : "WildFly Server"
63
+ },
64
+ "id" : "Local~~"
65
+ } ]
66
+ http_version:
67
+ recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
68
+ - request:
69
+ method: get
70
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;<%= feed_uuid %>/r;Local~~
71
+ body:
72
+ encoding: US-ASCII
73
+ string: ''
74
+ headers:
75
+ Accept:
76
+ - application/json
77
+ Accept-Encoding:
78
+ - identity
79
+ User-Agent:
80
+ - hawkular-client-ruby
81
+ Hawkular-Tenant:
82
+ - hawkular
83
+ Content-Type:
84
+ - application/json
85
+ response:
86
+ status:
87
+ code: 200
88
+ message: OK
89
+ headers:
90
+ Expires:
91
+ - '0'
92
+ Cache-Control:
93
+ - no-cache, no-store, must-revalidate
94
+ X-Powered-By:
95
+ - Undertow/1
96
+ Server:
97
+ - WildFly/10
98
+ Pragma:
99
+ - no-cache
100
+ Date:
101
+ - Thu, 14 Jul 2016 16:23:43 GMT
102
+ Connection:
103
+ - keep-alive
104
+ Content-Type:
105
+ - application/json
106
+ Content-Length:
107
+ - '513'
108
+ body:
109
+ encoding: UTF-8
110
+ string: |-
111
+ {
112
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
113
+ "properties" : {
114
+ "__identityHash" : "8f7077c6fd492ab39991ce1f7d168a0565fd9e5"
115
+ },
116
+ "name" : "WildFly Server [Local]",
117
+ "identityHash" : "8f7077c6fd492ab39991ce1f7d168a0565fd9e5",
118
+ "type" : {
119
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/rt;WildFly%20Server",
120
+ "name" : "WildFly Server",
121
+ "identityHash" : "617542c89b86e3ce52b819c1deae7ca37cf7851",
122
+ "id" : "WildFly Server"
123
+ },
124
+ "id" : "Local~~"
125
+ }
126
+ http_version:
127
+ recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
128
+ - request:
129
+ method: get
130
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/rt;WildFly%20Server/type=ot
131
+ body:
132
+ encoding: US-ASCII
133
+ string: ''
134
+ headers:
135
+ Accept:
136
+ - application/json
137
+ Accept-Encoding:
138
+ - identity
139
+ User-Agent:
140
+ - hawkular-client-ruby
141
+ Hawkular-Tenant:
142
+ - hawkular
143
+ Content-Type:
144
+ - application/json
145
+ response:
146
+ status:
147
+ code: 200
148
+ message: OK
149
+ headers:
150
+ Expires:
151
+ - '0'
152
+ Cache-Control:
153
+ - no-cache, no-store, must-revalidate
154
+ X-Powered-By:
155
+ - Undertow/1
156
+ Server:
157
+ - WildFly/10
158
+ Pragma:
159
+ - no-cache
160
+ Date:
161
+ - Thu, 14 Jul 2016 16:23:43 GMT
162
+ X-Total-Count:
163
+ - '7'
164
+ Connection:
165
+ - keep-alive
166
+ Content-Type:
167
+ - application/json
168
+ Content-Length:
169
+ - '2042'
170
+ Link:
171
+ - <http://localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/rt;WildFly%20Server/type=ot>;
172
+ rel="current"
173
+ body:
174
+ encoding: UTF-8
175
+ string: |-
176
+ [ {
177
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/rt;WildFly%20Server/ot;JDR",
178
+ "properties" : {
179
+ "__identityHash" : "417bead4a2974c52ae9884323ecd2840879e1195"
180
+ },
181
+ "name" : "JDR",
182
+ "identityHash" : "417bead4a2974c52ae9884323ecd2840879e1195",
183
+ "id" : "JDR"
184
+ }, {
185
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/rt;WildFly%20Server/ot;Reload",
186
+ "properties" : {
187
+ "__identityHash" : "248fc590d2a2a222938f445ecdad85d7c9f3e91"
188
+ },
189
+ "name" : "Reload",
190
+ "identityHash" : "248fc590d2a2a222938f445ecdad85d7c9f3e91",
191
+ "id" : "Reload"
192
+ }, {
193
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/rt;WildFly%20Server/ot;Resume",
194
+ "properties" : {
195
+ "__identityHash" : "b5103168d783b0bb67bf88f30c1fad462b635e"
196
+ },
197
+ "name" : "Resume",
198
+ "identityHash" : "b5103168d783b0bb67bf88f30c1fad462b635e",
199
+ "id" : "Resume"
200
+ }, {
201
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/rt;WildFly%20Server/ot;Shutdown",
202
+ "properties" : {
203
+ "__identityHash" : "126f14e6849f5c843f1939e64db92a7f5f126e41"
204
+ },
205
+ "name" : "Shutdown",
206
+ "identityHash" : "126f14e6849f5c843f1939e64db92a7f5f126e41",
207
+ "id" : "Shutdown"
208
+ }, {
209
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/rt;WildFly%20Server/ot;Suspend",
210
+ "properties" : {
211
+ "__identityHash" : "d57569ae2270cde6d0843fb1da72eae3d679c6a"
212
+ },
213
+ "name" : "Suspend",
214
+ "identityHash" : "d57569ae2270cde6d0843fb1da72eae3d679c6a",
215
+ "id" : "Suspend"
216
+ }, {
217
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/rt;WildFly%20Server/ot;Deploy",
218
+ "properties" : {
219
+ "__identityHash" : "c6252032c0e198b69179c06fdaa95e511836f2f"
220
+ },
221
+ "name" : "Deploy",
222
+ "identityHash" : "c6252032c0e198b69179c06fdaa95e511836f2f",
223
+ "id" : "Deploy"
224
+ }, {
225
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/rt;WildFly%20Server/ot;Undeploy",
226
+ "properties" : {
227
+ "__identityHash" : "dff1f5b0a0cc8840825994c38becf0829098f963"
228
+ },
229
+ "name" : "Undeploy",
230
+ "identityHash" : "dff1f5b0a0cc8840825994c38becf0829098f963",
231
+ "id" : "Undeploy"
232
+ } ]
233
+ http_version:
234
+ recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
235
+ recorded_with: VCR 3.0.1