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
@@ -0,0 +1,129 @@
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;Datasource/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:42 GMT
37
+ X-Total-Count:
38
+ - '1'
39
+ Connection:
40
+ - keep-alive
41
+ Content-Type:
42
+ - application/json
43
+ Content-Length:
44
+ - '608'
45
+ Link:
46
+ - <http://localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/rt;Datasource/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~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS",
53
+ "properties" : {
54
+ "__identityHash" : "e5bba7c6c22ec4591bff4532ca14e989d1498c4"
55
+ },
56
+ "name" : "Datasource [ExampleDS]",
57
+ "identityHash" : "e5bba7c6c22ec4591bff4532ca14e989d1498c4",
58
+ "type" : {
59
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Datasource",
60
+ "name" : "Datasource",
61
+ "identityHash" : "b3291af08b396960f425871b493b6d9ee97e339f",
62
+ "id" : "Datasource"
63
+ },
64
+ "id" : "Local~/subsystem=datasources/data-source=ExampleDS"
65
+ } ]
66
+ http_version:
67
+ recorded_at: Thu, 14 Jul 2016 16:23:42 GMT
68
+ - request:
69
+ method: get
70
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/d;configuration
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
+ - '585'
108
+ body:
109
+ encoding: UTF-8
110
+ string: |-
111
+ {
112
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/d;configuration",
113
+ "properties" : {
114
+ "__identityHash" : "db85f6b08996789d6b315151197ef115897dc12"
115
+ },
116
+ "name" : "configuration",
117
+ "identityHash" : "db85f6b08996789d6b315151197ef115897dc12",
118
+ "value" : {
119
+ "Username" : "sa",
120
+ "Driver Name" : "h2",
121
+ "JNDI Name" : "java:jboss/datasources/ExampleDS",
122
+ "Connection URL" : "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE",
123
+ "Enabled" : "true",
124
+ "Password" : "sa"
125
+ }
126
+ }
127
+ http_version:
128
+ recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
129
+ recorded_with: VCR 3.0.1
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/
5
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/feed
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"properties":{},"id":"feed_1123sdncisud6237ui23hjbdscuzsad","name":null,"outgoing":{},"incoming":{}}'
@@ -10,13 +10,15 @@ http_interactions:
10
10
  Accept:
11
11
  - application/json
12
12
  Accept-Encoding:
13
- - gzip, deflate
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
16
+ Hawkular-Tenant:
17
+ - hawkular
14
18
  Content-Type:
15
19
  - application/json
16
20
  Content-Length:
17
21
  - '101'
18
- User-Agent:
19
- - Ruby
20
22
  response:
21
23
  status:
22
24
  code: 201
@@ -33,22 +35,23 @@ http_interactions:
33
35
  Pragma:
34
36
  - no-cache
35
37
  Location:
36
- - http://localhost:8080/hawkular/inventory/feeds/feed_1123sdncisud6237ui23hjbdscuzsad
38
+ - http://localhost:8080/hawkular/inventory/entity/f;feed_1123sdncisud6237ui23hjbdscuzsad
37
39
  Date:
38
- - Thu, 05 May 2016 11:18:45 GMT
40
+ - Thu, 14 Jul 2016 16:23:43 GMT
39
41
  Connection:
40
42
  - keep-alive
41
43
  Content-Type:
42
44
  - application/json
43
45
  Content-Length:
44
- - '144'
46
+ - '178'
45
47
  body:
46
- encoding: ASCII-8BIT
48
+ encoding: UTF-8
47
49
  string: |-
48
50
  {
49
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_1123sdncisud6237ui23hjbdscuzsad",
51
+ "path" : "/t;hawkular/f;feed_1123sdncisud6237ui23hjbdscuzsad",
52
+ "identityHash" : "c5ef96a36ea11f6a72066f685b5d1d8b9d1daaf",
50
53
  "id" : "feed_1123sdncisud6237ui23hjbdscuzsad"
51
54
  }
52
55
  http_version:
53
- recorded_at: Thu, 05 May 2016 11:18:45 GMT
56
+ recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
54
57
  recorded_with: VCR 3.0.1
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/
5
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/feed
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"properties":{},"id":"feed_1123sdncisud6237ui2378789vvgX","name":null,"outgoing":{},"incoming":{}}'
@@ -10,13 +10,15 @@ http_interactions:
10
10
  Accept:
11
11
  - application/json
12
12
  Accept-Encoding:
13
- - gzip, deflate
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
16
+ Hawkular-Tenant:
17
+ - hawkular
14
18
  Content-Type:
15
19
  - application/json
16
20
  Content-Length:
17
21
  - '99'
18
- User-Agent:
19
- - Ruby
20
22
  response:
21
23
  status:
22
24
  code: 201
@@ -33,27 +35,28 @@ http_interactions:
33
35
  Pragma:
34
36
  - no-cache
35
37
  Location:
36
- - http://localhost:8080/hawkular/inventory/feeds/feed_1123sdncisud6237ui2378789vvgX
38
+ - http://localhost:8080/hawkular/inventory/entity/f;feed_1123sdncisud6237ui2378789vvgX
37
39
  Date:
38
- - Thu, 05 May 2016 11:18:45 GMT
40
+ - Thu, 14 Jul 2016 16:23:44 GMT
39
41
  Connection:
40
42
  - keep-alive
41
43
  Content-Type:
42
44
  - application/json
43
45
  Content-Length:
44
- - '140'
46
+ - '173'
45
47
  body:
46
- encoding: ASCII-8BIT
48
+ encoding: UTF-8
47
49
  string: |-
48
50
  {
49
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_1123sdncisud6237ui2378789vvgX",
51
+ "path" : "/t;hawkular/f;feed_1123sdncisud6237ui2378789vvgX",
52
+ "identityHash" : "55d3efb84276a901e3b5418316643249b078ab",
50
53
  "id" : "feed_1123sdncisud6237ui2378789vvgX"
51
54
  }
52
55
  http_version:
53
- recorded_at: Thu, 05 May 2016 11:18:45 GMT
56
+ recorded_at: Thu, 14 Jul 2016 16:23:44 GMT
54
57
  - request:
55
58
  method: post
56
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/
59
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/feed
57
60
  body:
58
61
  encoding: UTF-8
59
62
  string: '{"properties":{},"id":"feed_1123sdncisud6237ui2378789vvgX","name":null,"outgoing":{},"incoming":{}}'
@@ -61,13 +64,15 @@ http_interactions:
61
64
  Accept:
62
65
  - application/json
63
66
  Accept-Encoding:
64
- - gzip, deflate
67
+ - identity
68
+ User-Agent:
69
+ - hawkular-client-ruby
70
+ Hawkular-Tenant:
71
+ - hawkular
65
72
  Content-Type:
66
73
  - application/json
67
74
  Content-Length:
68
75
  - '99'
69
- User-Agent:
70
- - Ruby
71
76
  response:
72
77
  status:
73
78
  code: 409
@@ -84,24 +89,24 @@ http_interactions:
84
89
  Pragma:
85
90
  - no-cache
86
91
  Date:
87
- - Thu, 05 May 2016 11:18:45 GMT
92
+ - Thu, 14 Jul 2016 16:23:44 GMT
88
93
  Connection:
89
94
  - keep-alive
90
95
  Content-Type:
91
96
  - application/json
92
97
  Content-Length:
93
- - '847'
98
+ - '763'
94
99
  body:
95
- encoding: ASCII-8BIT
100
+ encoding: UTF-8
96
101
  string: |-
97
102
  {
98
- "errorMsg" : "Feed with id 'Feed[path='/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_1123sdncisud6237ui2378789vvgX']' has been already registered. Entity with id 'feed_1123sdncisud6237ui2378789vvgX' already exists at some of the positions: [[Types[Tenant], Ids[28026b36-8fe4-4332-84c8-524e173a68bf], Related[, rel='contains', role=SOURCE], Types[Feed], Ids[feed_1123sdncisud6237ui2378789vvgX]]]",
103
+ "errorMsg" : "Feed with id 'Feed[path='/t;hawkular/f;feed_1123sdncisud6237ui2378789vvgX']' has been already registered. Entity with id 'feed_1123sdncisud6237ui2378789vvgX' already exists at some of the positions: [[Types[Tenant], Ids[hawkular], Related[, rel='contains', role=SOURCE], Types[Feed], Ids[feed_1123sdncisud6237ui2378789vvgX]]]",
99
104
  "details" : {
100
105
  "entityId" : "feed_1123sdncisud6237ui2378789vvgX",
101
106
  "paths" : [ [ {
102
107
  "types" : [ "org.hawkular.inventory.api.model.Tenant" ]
103
108
  }, {
104
- "ids" : [ "28026b36-8fe4-4332-84c8-524e173a68bf" ]
109
+ "ids" : [ "hawkular" ]
105
110
  }, {
106
111
  "relationshipName" : "contains",
107
112
  "entityRole" : "SOURCE"
@@ -113,10 +118,10 @@ http_interactions:
113
118
  }
114
119
  }
115
120
  http_version:
116
- recorded_at: Thu, 05 May 2016 11:18:45 GMT
121
+ recorded_at: Thu, 14 Jul 2016 16:23:44 GMT
117
122
  - request:
118
123
  method: get
119
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_1123sdncisud6237ui2378789vvgX
124
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_1123sdncisud6237ui2378789vvgX
120
125
  body:
121
126
  encoding: US-ASCII
122
127
  string: ''
@@ -124,11 +129,13 @@ http_interactions:
124
129
  Accept:
125
130
  - application/json
126
131
  Accept-Encoding:
127
- - gzip, deflate
132
+ - identity
133
+ User-Agent:
134
+ - hawkular-client-ruby
135
+ Hawkular-Tenant:
136
+ - hawkular
128
137
  Content-Type:
129
138
  - application/json
130
- User-Agent:
131
- - Ruby
132
139
  response:
133
140
  status:
134
141
  code: 200
@@ -145,20 +152,24 @@ http_interactions:
145
152
  Pragma:
146
153
  - no-cache
147
154
  Date:
148
- - Thu, 05 May 2016 11:18:45 GMT
155
+ - Thu, 14 Jul 2016 16:23:44 GMT
149
156
  Connection:
150
157
  - keep-alive
151
158
  Content-Type:
152
159
  - application/json
153
160
  Content-Length:
154
- - '140'
161
+ - '261'
155
162
  body:
156
- encoding: ASCII-8BIT
163
+ encoding: UTF-8
157
164
  string: |-
158
165
  {
159
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_1123sdncisud6237ui2378789vvgX",
166
+ "path" : "/t;hawkular/f;feed_1123sdncisud6237ui2378789vvgX",
167
+ "properties" : {
168
+ "__identityHash" : "55d3efb84276a901e3b5418316643249b078ab"
169
+ },
170
+ "identityHash" : "55d3efb84276a901e3b5418316643249b078ab",
160
171
  "id" : "feed_1123sdncisud6237ui2378789vvgX"
161
172
  }
162
173
  http_version:
163
- recorded_at: Thu, 05 May 2016 11:18:45 GMT
174
+ recorded_at: Thu, 14 Jul 2016 16:23:44 GMT
164
175
  recorded_with: VCR 3.0.1
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/
5
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/feed
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"properties":{},"id":"feed_may_exist","name":null,"outgoing":{},"incoming":{}}'
@@ -10,13 +10,15 @@ http_interactions:
10
10
  Accept:
11
11
  - application/json
12
12
  Accept-Encoding:
13
- - gzip, deflate
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
16
+ Hawkular-Tenant:
17
+ - hawkular
14
18
  Content-Type:
15
19
  - application/json
16
20
  Content-Length:
17
21
  - '79'
18
- User-Agent:
19
- - Ruby
20
22
  response:
21
23
  status:
22
24
  code: 409
@@ -33,24 +35,24 @@ http_interactions:
33
35
  Pragma:
34
36
  - no-cache
35
37
  Date:
36
- - Thu, 05 May 2016 11:18:47 GMT
38
+ - Thu, 14 Jul 2016 16:23:45 GMT
37
39
  Connection:
38
40
  - keep-alive
39
41
  Content-Type:
40
42
  - application/json
41
43
  Content-Length:
42
- - '747'
44
+ - '663'
43
45
  body:
44
- encoding: ASCII-8BIT
46
+ encoding: UTF-8
45
47
  string: |-
46
48
  {
47
- "errorMsg" : "Feed with id 'Feed[path='/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist']' has been already registered. Entity with id 'feed_may_exist' already exists at some of the positions: [[Types[Tenant], Ids[28026b36-8fe4-4332-84c8-524e173a68bf], Related[, rel='contains', role=SOURCE], Types[Feed], Ids[feed_may_exist]]]",
49
+ "errorMsg" : "Feed with id 'Feed[path='/t;hawkular/f;feed_may_exist']' has been already registered. Entity with id 'feed_may_exist' already exists at some of the positions: [[Types[Tenant], Ids[hawkular], Related[, rel='contains', role=SOURCE], Types[Feed], Ids[feed_may_exist]]]",
48
50
  "details" : {
49
51
  "entityId" : "feed_may_exist",
50
52
  "paths" : [ [ {
51
53
  "types" : [ "org.hawkular.inventory.api.model.Tenant" ]
52
54
  }, {
53
- "ids" : [ "28026b36-8fe4-4332-84c8-524e173a68bf" ]
55
+ "ids" : [ "hawkular" ]
54
56
  }, {
55
57
  "relationshipName" : "contains",
56
58
  "entityRole" : "SOURCE"
@@ -62,10 +64,10 @@ http_interactions:
62
64
  }
63
65
  }
64
66
  http_version:
65
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
67
+ recorded_at: Thu, 14 Jul 2016 16:23:45 GMT
66
68
  - request:
67
69
  method: get
68
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist
70
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist
69
71
  body:
70
72
  encoding: US-ASCII
71
73
  string: ''
@@ -73,11 +75,13 @@ http_interactions:
73
75
  Accept:
74
76
  - application/json
75
77
  Accept-Encoding:
76
- - gzip, deflate
78
+ - identity
79
+ User-Agent:
80
+ - hawkular-client-ruby
81
+ Hawkular-Tenant:
82
+ - hawkular
77
83
  Content-Type:
78
84
  - application/json
79
- User-Agent:
80
- - Ruby
81
85
  response:
82
86
  status:
83
87
  code: 200
@@ -94,25 +98,29 @@ http_interactions:
94
98
  Pragma:
95
99
  - no-cache
96
100
  Date:
97
- - Thu, 05 May 2016 11:18:47 GMT
101
+ - Thu, 14 Jul 2016 16:23:45 GMT
98
102
  Connection:
99
103
  - keep-alive
100
104
  Content-Type:
101
105
  - application/json
102
106
  Content-Length:
103
- - '100'
107
+ - '223'
104
108
  body:
105
- encoding: ASCII-8BIT
109
+ encoding: UTF-8
106
110
  string: |-
107
111
  {
108
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist",
112
+ "path" : "/t;hawkular/f;feed_may_exist",
113
+ "properties" : {
114
+ "__identityHash" : "40d79f6f6da68eb3ae5aa638453c73ba635bec4"
115
+ },
116
+ "identityHash" : "40d79f6f6da68eb3ae5aa638453c73ba635bec4",
109
117
  "id" : "feed_may_exist"
110
118
  }
111
119
  http_version:
112
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
120
+ recorded_at: Thu, 14 Jul 2016 16:23:45 GMT
113
121
  - request:
114
122
  method: post
115
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resourceTypes
123
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/resourceType
116
124
  body:
117
125
  encoding: UTF-8
118
126
  string: '{"properties":{},"id":"rt-123-1","name":"ResourceType","outgoing":{},"incoming":{}}'
@@ -120,13 +128,15 @@ http_interactions:
120
128
  Accept:
121
129
  - application/json
122
130
  Accept-Encoding:
123
- - gzip, deflate
131
+ - identity
132
+ User-Agent:
133
+ - hawkular-client-ruby
134
+ Hawkular-Tenant:
135
+ - hawkular
124
136
  Content-Type:
125
137
  - application/json
126
138
  Content-Length:
127
139
  - '83'
128
- User-Agent:
129
- - Ruby
130
140
  response:
131
141
  status:
132
142
  code: 201
@@ -143,28 +153,29 @@ http_interactions:
143
153
  Pragma:
144
154
  - no-cache
145
155
  Location:
146
- - http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/resourceTypes/rt-123-1
156
+ - http://localhost:8080/hawkular/inventory/entity/f;feed_may_exist/rt;rt-123-1
147
157
  Date:
148
- - Thu, 05 May 2016 11:18:47 GMT
158
+ - Thu, 14 Jul 2016 16:23:45 GMT
149
159
  Connection:
150
160
  - keep-alive
151
161
  Content-Type:
152
162
  - application/json
153
163
  Content-Length:
154
- - '133'
164
+ - '165'
155
165
  body:
156
- encoding: ASCII-8BIT
166
+ encoding: UTF-8
157
167
  string: |-
158
168
  {
159
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/rt;rt-123-1",
169
+ "path" : "/t;hawkular/f;feed_may_exist/rt;rt-123-1",
160
170
  "name" : "ResourceType",
171
+ "identityHash" : "5c475fba1eab01a3f0fbabfbe0efac752aeb7",
161
172
  "id" : "rt-123-1"
162
173
  }
163
174
  http_version:
164
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
175
+ recorded_at: Thu, 14 Jul 2016 16:23:45 GMT
165
176
  - request:
166
177
  method: get
167
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resourceTypes/rt-123-1
178
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/rt;rt-123-1
168
179
  body:
169
180
  encoding: US-ASCII
170
181
  string: ''
@@ -172,11 +183,13 @@ http_interactions:
172
183
  Accept:
173
184
  - application/json
174
185
  Accept-Encoding:
175
- - gzip, deflate
186
+ - identity
187
+ User-Agent:
188
+ - hawkular-client-ruby
189
+ Hawkular-Tenant:
190
+ - hawkular
176
191
  Content-Type:
177
192
  - application/json
178
- User-Agent:
179
- - Ruby
180
193
  response:
181
194
  status:
182
195
  code: 200
@@ -193,40 +206,43 @@ http_interactions:
193
206
  Pragma:
194
207
  - no-cache
195
208
  Date:
196
- - Thu, 05 May 2016 11:18:47 GMT
209
+ - Thu, 14 Jul 2016 16:23:45 GMT
197
210
  Connection:
198
211
  - keep-alive
199
212
  Content-Type:
200
213
  - application/json
201
214
  Content-Length:
202
- - '133'
215
+ - '165'
203
216
  body:
204
- encoding: ASCII-8BIT
217
+ encoding: UTF-8
205
218
  string: |-
206
219
  {
207
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/rt;rt-123-1",
220
+ "path" : "/t;hawkular/f;feed_may_exist/rt;rt-123-1",
208
221
  "name" : "ResourceType",
222
+ "identityHash" : "5c475fba1eab01a3f0fbabfbe0efac752aeb7",
209
223
  "id" : "rt-123-1"
210
224
  }
211
225
  http_version:
212
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
226
+ recorded_at: Thu, 14 Jul 2016 16:23:45 GMT
213
227
  - request:
214
228
  method: post
215
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources
229
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/resource
216
230
  body:
217
231
  encoding: UTF-8
218
- string: '{"properties":{},"id":"r124-a","name":"Res-a","outgoing":{},"incoming":{},"resourceTypePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/rt;rt-123-1"}'
232
+ string: '{"properties":{},"id":"r124-a","name":"Res-a","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;feed_may_exist/rt;rt-123-1"}'
219
233
  headers:
220
234
  Accept:
221
235
  - application/json
222
236
  Accept-Encoding:
223
- - gzip, deflate
237
+ - identity
238
+ User-Agent:
239
+ - hawkular-client-ruby
240
+ Hawkular-Tenant:
241
+ - hawkular
224
242
  Content-Type:
225
243
  - application/json
226
244
  Content-Length:
227
- - '164'
228
- User-Agent:
229
- - Ruby
245
+ - '136'
230
246
  response:
231
247
  status:
232
248
  code: 201
@@ -243,100 +259,51 @@ http_interactions:
243
259
  Pragma:
244
260
  - no-cache
245
261
  Location:
246
- - http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a
262
+ - http://localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r124-a
247
263
  Date:
248
- - Thu, 05 May 2016 11:18:47 GMT
264
+ - Thu, 14 Jul 2016 16:23:46 GMT
249
265
  Connection:
250
266
  - keep-alive
251
267
  Content-Type:
252
268
  - application/json
253
269
  Content-Length:
254
- - '275'
270
+ - '343'
255
271
  body:
256
- encoding: ASCII-8BIT
272
+ encoding: UTF-8
257
273
  string: |-
258
274
  {
259
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/r;r124-a",
260
- "type" : {
261
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/rt;rt-123-1",
262
- "name" : "ResourceType",
263
- "id" : "rt-123-1"
264
- },
275
+ "path" : "/t;hawkular/f;feed_may_exist/r;r124-a",
265
276
  "name" : "Res-a",
266
- "id" : "r124-a"
267
- }
268
- http_version:
269
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
270
- - request:
271
- method: get
272
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a
273
- body:
274
- encoding: US-ASCII
275
- string: ''
276
- headers:
277
- Accept:
278
- - application/json
279
- Accept-Encoding:
280
- - gzip, deflate
281
- Content-Type:
282
- - application/json
283
- User-Agent:
284
- - Ruby
285
- response:
286
- status:
287
- code: 200
288
- message: OK
289
- headers:
290
- Expires:
291
- - '0'
292
- Cache-Control:
293
- - no-cache, no-store, must-revalidate
294
- X-Powered-By:
295
- - Undertow/1
296
- Server:
297
- - WildFly/10
298
- Pragma:
299
- - no-cache
300
- Date:
301
- - Thu, 05 May 2016 11:18:47 GMT
302
- Connection:
303
- - keep-alive
304
- Content-Type:
305
- - application/json
306
- Content-Length:
307
- - '275'
308
- body:
309
- encoding: ASCII-8BIT
310
- string: |-
311
- {
312
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/r;r124-a",
277
+ "identityHash" : "e07eef8c1a65533438b95acac69cfe2d09b75ca",
313
278
  "type" : {
314
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/rt;rt-123-1",
279
+ "path" : "/t;hawkular/f;feed_may_exist/rt;rt-123-1",
315
280
  "name" : "ResourceType",
281
+ "identityHash" : "5c475fba1eab01a3f0fbabfbe0efac752aeb7",
316
282
  "id" : "rt-123-1"
317
283
  },
318
- "name" : "Res-a",
319
284
  "id" : "r124-a"
320
285
  }
321
286
  http_version:
322
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
287
+ recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
323
288
  - request:
324
289
  method: post
325
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a
290
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r124-a/resource
326
291
  body:
327
292
  encoding: UTF-8
328
- string: '{"properties":{},"id":"r124-b","name":"Res-a","outgoing":{},"incoming":{},"resourceTypePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/rt;rt-123-1"}'
293
+ string: '{"properties":{},"id":"r124-b","name":"Res-a","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;feed_may_exist/rt;rt-123-1"}'
329
294
  headers:
330
295
  Accept:
331
296
  - application/json
332
297
  Accept-Encoding:
333
- - gzip, deflate
298
+ - identity
299
+ User-Agent:
300
+ - hawkular-client-ruby
301
+ Hawkular-Tenant:
302
+ - hawkular
334
303
  Content-Type:
335
304
  - application/json
336
305
  Content-Length:
337
- - '164'
338
- User-Agent:
339
- - Ruby
306
+ - '136'
340
307
  response:
341
308
  status:
342
309
  code: 201
@@ -353,86 +320,35 @@ http_interactions:
353
320
  Pragma:
354
321
  - no-cache
355
322
  Location:
356
- - http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a/r124-b
323
+ - http://localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r124-a/r;r124-b
357
324
  Date:
358
- - Thu, 05 May 2016 11:18:47 GMT
325
+ - Thu, 14 Jul 2016 16:23:46 GMT
359
326
  Connection:
360
327
  - keep-alive
361
328
  Content-Type:
362
329
  - application/json
363
330
  Content-Length:
364
- - '284'
331
+ - '351'
365
332
  body:
366
- encoding: ASCII-8BIT
333
+ encoding: UTF-8
367
334
  string: |-
368
335
  {
369
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/r;r124-a/r;r124-b",
370
- "type" : {
371
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/rt;rt-123-1",
372
- "name" : "ResourceType",
373
- "id" : "rt-123-1"
374
- },
336
+ "path" : "/t;hawkular/f;feed_may_exist/r;r124-a/r;r124-b",
375
337
  "name" : "Res-a",
376
- "id" : "r124-b"
377
- }
378
- http_version:
379
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
380
- - request:
381
- method: get
382
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a/r124-b
383
- body:
384
- encoding: US-ASCII
385
- string: ''
386
- headers:
387
- Accept:
388
- - application/json
389
- Accept-Encoding:
390
- - gzip, deflate
391
- Content-Type:
392
- - application/json
393
- User-Agent:
394
- - Ruby
395
- response:
396
- status:
397
- code: 200
398
- message: OK
399
- headers:
400
- Expires:
401
- - '0'
402
- Cache-Control:
403
- - no-cache, no-store, must-revalidate
404
- X-Powered-By:
405
- - Undertow/1
406
- Server:
407
- - WildFly/10
408
- Pragma:
409
- - no-cache
410
- Date:
411
- - Thu, 05 May 2016 11:18:47 GMT
412
- Connection:
413
- - keep-alive
414
- Content-Type:
415
- - application/json
416
- Content-Length:
417
- - '284'
418
- body:
419
- encoding: ASCII-8BIT
420
- string: |-
421
- {
422
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/r;r124-a/r;r124-b",
338
+ "identityHash" : "8250626a081e4efe5a53fde75a06a2b81b30dd",
423
339
  "type" : {
424
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/rt;rt-123-1",
340
+ "path" : "/t;hawkular/f;feed_may_exist/rt;rt-123-1",
425
341
  "name" : "ResourceType",
342
+ "identityHash" : "5c475fba1eab01a3f0fbabfbe0efac752aeb7",
426
343
  "id" : "rt-123-1"
427
344
  },
428
- "name" : "Res-a",
429
345
  "id" : "r124-b"
430
346
  }
431
347
  http_version:
432
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
348
+ recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
433
349
  - request:
434
350
  method: post
435
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/metricTypes
351
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/metricType
436
352
  body:
437
353
  encoding: UTF-8
438
354
  string: '{"id":"mt-124-a","type":"GAUGE","unit":"NONE","collectionInterval":60}'
@@ -440,13 +356,15 @@ http_interactions:
440
356
  Accept:
441
357
  - application/json
442
358
  Accept-Encoding:
443
- - gzip, deflate
359
+ - identity
360
+ User-Agent:
361
+ - hawkular-client-ruby
362
+ Hawkular-Tenant:
363
+ - hawkular
444
364
  Content-Type:
445
365
  - application/json
446
366
  Content-Length:
447
367
  - '70'
448
- User-Agent:
449
- - Ruby
450
368
  response:
451
369
  status:
452
370
  code: 201
@@ -463,30 +381,31 @@ http_interactions:
463
381
  Pragma:
464
382
  - no-cache
465
383
  Location:
466
- - http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/metricTypes/mt-124-a
384
+ - http://localhost:8080/hawkular/inventory/entity/f;feed_may_exist/mt;mt-124-a
467
385
  Date:
468
- - Thu, 05 May 2016 11:18:47 GMT
386
+ - Thu, 14 Jul 2016 16:23:46 GMT
469
387
  Connection:
470
388
  - keep-alive
471
389
  Content-Type:
472
390
  - application/json
473
391
  Content-Length:
474
- - '174'
392
+ - '208'
475
393
  body:
476
- encoding: ASCII-8BIT
394
+ encoding: UTF-8
477
395
  string: |-
478
396
  {
479
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/mt;mt-124-a",
397
+ "path" : "/t;hawkular/f;feed_may_exist/mt;mt-124-a",
398
+ "identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
480
399
  "unit" : "NONE",
481
400
  "type" : "GAUGE",
482
401
  "collectionInterval" : 60,
483
402
  "id" : "mt-124-a"
484
403
  }
485
404
  http_version:
486
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
405
+ recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
487
406
  - request:
488
407
  method: get
489
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/metricTypes/mt-124-a
408
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/mt;mt-124-a
490
409
  body:
491
410
  encoding: US-ASCII
492
411
  string: ''
@@ -494,11 +413,13 @@ http_interactions:
494
413
  Accept:
495
414
  - application/json
496
415
  Accept-Encoding:
497
- - gzip, deflate
416
+ - identity
417
+ User-Agent:
418
+ - hawkular-client-ruby
419
+ Hawkular-Tenant:
420
+ - hawkular
498
421
  Content-Type:
499
422
  - application/json
500
- User-Agent:
501
- - Ruby
502
423
  response:
503
424
  status:
504
425
  code: 200
@@ -515,42 +436,45 @@ http_interactions:
515
436
  Pragma:
516
437
  - no-cache
517
438
  Date:
518
- - Thu, 05 May 2016 11:18:47 GMT
439
+ - Thu, 14 Jul 2016 16:23:46 GMT
519
440
  Connection:
520
441
  - keep-alive
521
442
  Content-Type:
522
443
  - application/json
523
444
  Content-Length:
524
- - '174'
445
+ - '208'
525
446
  body:
526
- encoding: ASCII-8BIT
447
+ encoding: UTF-8
527
448
  string: |-
528
449
  {
529
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/mt;mt-124-a",
450
+ "path" : "/t;hawkular/f;feed_may_exist/mt;mt-124-a",
451
+ "identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
530
452
  "unit" : "NONE",
531
453
  "type" : "GAUGE",
532
454
  "collectionInterval" : 60,
533
455
  "id" : "mt-124-a"
534
456
  }
535
457
  http_version:
536
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
458
+ recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
537
459
  - request:
538
460
  method: post
539
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/metrics
461
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/metric
540
462
  body:
541
463
  encoding: UTF-8
542
- string: '{"id":"m-124-a","name":"MetricUnderNestedResource","metricTypePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/mt;mt-124-a"}'
464
+ string: '{"id":"m-124-a","name":"MetricUnderNestedResource","metricTypePath":"/t;hawkular/f;feed_may_exist/mt;mt-124-a"}'
543
465
  headers:
544
466
  Accept:
545
467
  - application/json
546
468
  Accept-Encoding:
547
- - gzip, deflate
469
+ - identity
470
+ User-Agent:
471
+ - hawkular-client-ruby
472
+ Hawkular-Tenant:
473
+ - hawkular
548
474
  Content-Type:
549
475
  - application/json
550
476
  Content-Length:
551
- - '139'
552
- User-Agent:
553
- - Ruby
477
+ - '111'
554
478
  response:
555
479
  status:
556
480
  code: 201
@@ -567,35 +491,37 @@ http_interactions:
567
491
  Pragma:
568
492
  - no-cache
569
493
  Location:
570
- - http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/metrics/m-124-a
494
+ - http://localhost:8080/hawkular/inventory/entity/f;feed_may_exist/m;m-124-a
571
495
  Date:
572
- - Thu, 05 May 2016 11:18:47 GMT
496
+ - Thu, 14 Jul 2016 16:23:46 GMT
573
497
  Connection:
574
498
  - keep-alive
575
499
  Content-Type:
576
500
  - application/json
577
501
  Content-Length:
578
- - '342'
502
+ - '411'
579
503
  body:
580
- encoding: ASCII-8BIT
504
+ encoding: UTF-8
581
505
  string: |-
582
506
  {
583
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/m;m-124-a",
507
+ "path" : "/t;hawkular/f;feed_may_exist/m;m-124-a",
508
+ "name" : "MetricUnderNestedResource",
509
+ "identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d",
584
510
  "type" : {
585
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/mt;mt-124-a",
511
+ "path" : "/t;hawkular/f;feed_may_exist/mt;mt-124-a",
512
+ "identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
586
513
  "unit" : "NONE",
587
514
  "type" : "GAUGE",
588
515
  "collectionInterval" : 60,
589
516
  "id" : "mt-124-a"
590
517
  },
591
- "name" : "MetricUnderNestedResource",
592
518
  "id" : "m-124-a"
593
519
  }
594
520
  http_version:
595
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
521
+ recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
596
522
  - request:
597
523
  method: get
598
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/metrics/m-124-a
524
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/m;m-124-a
599
525
  body:
600
526
  encoding: US-ASCII
601
527
  string: ''
@@ -603,11 +529,13 @@ http_interactions:
603
529
  Accept:
604
530
  - application/json
605
531
  Accept-Encoding:
606
- - gzip, deflate
532
+ - identity
533
+ User-Agent:
534
+ - hawkular-client-ruby
535
+ Hawkular-Tenant:
536
+ - hawkular
607
537
  Content-Type:
608
538
  - application/json
609
- User-Agent:
610
- - Ruby
611
539
  response:
612
540
  status:
613
541
  code: 200
@@ -624,51 +552,58 @@ http_interactions:
624
552
  Pragma:
625
553
  - no-cache
626
554
  Date:
627
- - Thu, 05 May 2016 11:18:47 GMT
555
+ - Thu, 14 Jul 2016 16:23:46 GMT
628
556
  Connection:
629
557
  - keep-alive
630
558
  Content-Type:
631
559
  - application/json
632
560
  Content-Length:
633
- - '342'
561
+ - '499'
634
562
  body:
635
- encoding: ASCII-8BIT
563
+ encoding: UTF-8
636
564
  string: |-
637
565
  {
638
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/m;m-124-a",
566
+ "path" : "/t;hawkular/f;feed_may_exist/m;m-124-a",
567
+ "properties" : {
568
+ "__identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d"
569
+ },
570
+ "name" : "MetricUnderNestedResource",
571
+ "identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d",
639
572
  "type" : {
640
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/mt;mt-124-a",
573
+ "path" : "/t;hawkular/f;feed_may_exist/mt;mt-124-a",
574
+ "identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
641
575
  "unit" : "NONE",
642
576
  "type" : "GAUGE",
643
577
  "collectionInterval" : 60,
644
578
  "id" : "mt-124-a"
645
579
  },
646
- "name" : "MetricUnderNestedResource",
647
580
  "id" : "m-124-a"
648
581
  }
649
582
  http_version:
650
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
583
+ recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
651
584
  - request:
652
585
  method: post
653
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a/r124-b/metrics
586
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r124-a/r;r124-b/relationship
654
587
  body:
655
588
  encoding: UTF-8
656
- string: '["/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/m;m-124-a"]'
589
+ string: '[{"otherEnd":"/t;hawkular/f;feed_may_exist/m;m-124-a","name":"incorporates"}]'
657
590
  headers:
658
591
  Accept:
659
592
  - application/json
660
593
  Accept-Encoding:
661
- - gzip, deflate
594
+ - identity
595
+ User-Agent:
596
+ - hawkular-client-ruby
597
+ Hawkular-Tenant:
598
+ - hawkular
662
599
  Content-Type:
663
600
  - application/json
664
601
  Content-Length:
665
- - '70'
666
- User-Agent:
667
- - Ruby
602
+ - '77'
668
603
  response:
669
604
  status:
670
- code: 204
671
- message: No Content
605
+ code: 201
606
+ message: Created
672
607
  headers:
673
608
  Expires:
674
609
  - '0'
@@ -680,16 +615,30 @@ http_interactions:
680
615
  - WildFly/10
681
616
  Pragma:
682
617
  - no-cache
618
+ Location:
619
+ - http://localhost:8080/hawkular/inventory/entity/rl;702o-7kzk-1d05-7mdc
683
620
  Date:
684
- - Thu, 05 May 2016 11:18:47 GMT
621
+ - Thu, 14 Jul 2016 16:23:46 GMT
622
+ Connection:
623
+ - keep-alive
624
+ Content-Type:
625
+ - application/json
626
+ Content-Length:
627
+ - '183'
685
628
  body:
686
629
  encoding: UTF-8
687
- string: ''
630
+ string: |-
631
+ [ {
632
+ "id" : "702o-7kzk-1d05-7mdc",
633
+ "name" : "incorporates",
634
+ "source" : "/t;hawkular/f;feed_may_exist/r;r124-a/r;r124-b",
635
+ "target" : "/t;hawkular/f;feed_may_exist/m;m-124-a"
636
+ } ]
688
637
  http_version:
689
- recorded_at: Thu, 05 May 2016 11:18:47 GMT
638
+ recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
690
639
  - request:
691
640
  method: get
692
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a/r124-b/metrics?sort=id
641
+ uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/traversal/f;feed_may_exist/r;r124-a/r;r124-b/rl;incorporates/type=m?sort=id
693
642
  body:
694
643
  encoding: US-ASCII
695
644
  string: ''
@@ -697,11 +646,13 @@ http_interactions:
697
646
  Accept:
698
647
  - application/json
699
648
  Accept-Encoding:
700
- - gzip, deflate
649
+ - identity
650
+ User-Agent:
651
+ - hawkular-client-ruby
652
+ Hawkular-Tenant:
653
+ - hawkular
701
654
  Content-Type:
702
655
  - application/json
703
- User-Agent:
704
- - Ruby
705
656
  response:
706
657
  status:
707
658
  code: 200
@@ -718,7 +669,7 @@ http_interactions:
718
669
  Pragma:
719
670
  - no-cache
720
671
  Date:
721
- - Thu, 05 May 2016 11:18:48 GMT
672
+ - Thu, 14 Jul 2016 16:23:46 GMT
722
673
  X-Total-Count:
723
674
  - '1'
724
675
  Connection:
@@ -726,25 +677,30 @@ http_interactions:
726
677
  Content-Type:
727
678
  - application/json
728
679
  Content-Length:
729
- - '346'
680
+ - '503'
730
681
  Link:
731
- - <http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a/r124-b/metrics?sort=id>;
682
+ - <http://localhost:8080/hawkular/inventory/traversal/f;feed_may_exist/r;r124-a/r;r124-b/rl;incorporates/type=m?sort=id>;
732
683
  rel="current"
733
684
  body:
734
- encoding: ASCII-8BIT
685
+ encoding: UTF-8
735
686
  string: |-
736
687
  [ {
737
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/m;m-124-a",
688
+ "path" : "/t;hawkular/f;feed_may_exist/m;m-124-a",
689
+ "properties" : {
690
+ "__identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d"
691
+ },
692
+ "name" : "MetricUnderNestedResource",
693
+ "identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d",
738
694
  "type" : {
739
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/mt;mt-124-a",
695
+ "path" : "/t;hawkular/f;feed_may_exist/mt;mt-124-a",
696
+ "identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
740
697
  "unit" : "NONE",
741
698
  "type" : "GAUGE",
742
699
  "collectionInterval" : 60,
743
700
  "id" : "mt-124-a"
744
701
  },
745
- "name" : "MetricUnderNestedResource",
746
702
  "id" : "m-124-a"
747
703
  } ]
748
704
  http_version:
749
- recorded_at: Thu, 05 May 2016 11:18:48 GMT
705
+ recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
750
706
  recorded_with: VCR 3.0.1