hawkular-client 2.6.0 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (291) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.rdoc +5 -2
  3. data/lib/hawkular/hawkular_client.rb +1 -1
  4. data/lib/hawkular/inventory/inventory_api.rb +2 -1
  5. data/lib/hawkular/metrics/metric_api.rb +4 -1
  6. data/lib/hawkular/operations/operations_api.rb +7 -4
  7. data/lib/hawkular/version.rb +1 -1
  8. data/spec/integration/inventory_spec.rb +516 -466
  9. data/spec/integration/metric_spec.rb +612 -561
  10. data/spec/integration/operations_spec.rb +425 -504
  11. data/spec/spec_helper.rb +73 -19
  12. data/spec/vcr_cassettes/Inventory/{Connection → NonSecure/Connection/Templates}/Should_err_on_bad_credentials.yml +6 -4
  13. data/spec/vcr_cassettes/Inventory/{Tenants → NonSecure/Tenants/Templates}/Should_Get_Tenant_For_Explicit_Credentials.yml +13 -9
  14. data/spec/vcr_cassettes/Inventory/{Tenants → NonSecure/Tenants/Templates}/Should_Get_Tenant_For_Implicit_Credentials.yml +13 -9
  15. data/spec/vcr_cassettes/Inventory/{inventory_0_17/Templates → NonSecure/inventory_0_17}/Client_should_listen_on_various_inventory_events.json +5 -5
  16. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Client_should_listen_on_various_inventory_events.yml +21 -13
  17. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17/Templates}/Helpers/create_url.yml +12 -10
  18. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Helpers/generate_some_events_for_websocket.yml +51 -37
  19. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17/Templates}/Helpers/get_feeds.yml +11 -9
  20. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_List_datasources_with_no_props.yml +11 -7
  21. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_feed.yml +6 -4
  22. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_feed_again.yml +16 -10
  23. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +664 -0
  24. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_resource.yml +31 -19
  25. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_resource_with_metric.yml +77 -49
  26. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_resourcetype.yml +16 -10
  27. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_and_delete_feed.yml +19 -13
  28. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +420 -0
  29. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +132 -0
  30. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_have_the_same_requested_metric_type_id.yml +8 -8
  31. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_URLs.yml +29 -7
  32. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_WildFlys.yml +10 -8
  33. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_WildFlys_with_props.yml +24 -17
  34. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_all_the_resource_types.yml +6 -4
  35. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_children_of_WildFly.yml +31 -13
  36. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_children_of_nested_resource.yml +16 -10
  37. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_feeds.yml +9 -7
  38. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_heap_metrics_for_WildFlys.yml +196 -188
  39. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_metrics_for_WildFlys.yml +72 -68
  40. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_metrics_of_given_metric_type.yml +12 -44
  41. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_metrics_of_given_resource_type.yml +63 -61
  42. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_operation_definitions_of_given_resource.yml +220 -156
  43. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_operation_definitions_of_given_resource_type.yml +200 -140
  44. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_recursive_children_of_WildFly.yml +30 -12
  45. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_relationships_of_WildFly.yml +129 -113
  46. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_resources_for_feed.yml +12 -10
  47. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_types_with_bad_feed.yml +6 -4
  48. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_types_with_feed.yml +7 -5
  49. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_not_find_an_unknown_resource.yml +6 -4
  50. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_return_config_data_of_given_nested_resource.yml +6 -4
  51. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_return_config_data_of_given_resource.yml +15 -10
  52. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_return_the_version.yml +8 -6
  53. data/spec/vcr_cassettes/Inventory/Secure/Connection/Templates/Should_err_on_bad_credentials.yml +44 -0
  54. data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Explicit_Credentials.yml +101 -0
  55. data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Implicit_Credentials.yml +101 -0
  56. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Client_should_listen_on_various_inventory_events.json +47 -0
  57. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.yml +207 -0
  58. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/create_url.yml +52 -0
  59. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +411 -0
  60. data/spec/vcr_cassettes/Inventory/{inventory_0_17/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml → Secure/inventory_0_17/Templates/Helpers/get_feeds.yml} +13 -11
  61. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +133 -0
  62. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed.yml +59 -0
  63. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed_again.yml +181 -0
  64. data/spec/vcr_cassettes/Inventory/{inventory_0_17 → Secure/inventory_0_17}/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +108 -150
  65. data/spec/vcr_cassettes/Inventory/{inventory_0_17/Templates/Should_create_and_get_a_resource.yml → Secure/inventory_0_17/Templates/Should_create_a_resource.yml} +45 -87
  66. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resource_with_metric.yml +846 -0
  67. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resourcetype.yml +169 -0
  68. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_delete_feed.yml +166 -0
  69. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +420 -0
  70. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +132 -0
  71. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_have_the_same_requested_metric_type_id.yml +73 -0
  72. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_URLs.yml +90 -0
  73. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys.yml +70 -0
  74. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +138 -0
  75. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_all_the_resource_types.yml +59 -0
  76. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +333 -0
  77. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_nested_resource.yml +180 -0
  78. data/spec/vcr_cassettes/{Operation/Helpers/get_feed.yml → Inventory/Secure/inventory_0_17/Templates/Should_list_feeds.yml} +13 -11
  79. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +943 -0
  80. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +361 -0
  81. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +90 -0
  82. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +294 -0
  83. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +871 -0
  84. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +740 -0
  85. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +1117 -0
  86. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +393 -0
  87. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_resources_for_feed.yml +84 -0
  88. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_bad_feed.yml +55 -0
  89. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_feed.yml +166 -0
  90. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_not_find_an_unknown_resource.yml +59 -0
  91. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_nested_resource.yml +66 -0
  92. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +71 -0
  93. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_the_version.yml +50 -0
  94. data/spec/vcr_cassettes/Inventory/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml +114 -0
  95. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Get_metric_definition_by_id.yml +10 -8
  96. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Retrieve_metric_rate_points.yml +18 -14
  97. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_create_Availability_definition.yml +18 -14
  98. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_create_Counter_definition.yml +18 -14
  99. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_create_gauge_definition.yml +18 -14
  100. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_push_metric_data_to_existing_gauge.yml +9 -7
  101. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_update_tags_for_Availability_definition.yml +28 -22
  102. data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_update_tags_for_gauge_definition.yml +28 -22
  103. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +12 -8
  104. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +14 -10
  105. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_group_contiguous_values.yml +10 -6
  106. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +19 -13
  107. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +31 -21
  108. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +14 -10
  109. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +12 -8
  110. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +28 -18
  111. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +38 -24
  112. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +32 -20
  113. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +19 -13
  114. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +14 -10
  115. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +12 -8
  116. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +32 -20
  117. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +19 -13
  118. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_return_periods.yml +10 -6
  119. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +31 -21
  120. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +48 -52
  121. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +39 -25
  122. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +36 -24
  123. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/No_Tenant/Should_fail.yml +6 -4
  124. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Simple/Should_be_Cool.yml +2 -2
  125. data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Status/Should_return_the_version.yml +5 -3
  126. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
  127. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -0
  128. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +3 -3
  129. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -0
  130. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -0
  131. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +3 -3
  132. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -0
  133. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -0
  134. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -0
  135. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -0
  136. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +3 -3
  137. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -0
  138. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -0
  139. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -0
  140. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_return_periods.yml +0 -0
  141. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -0
  142. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -0
  143. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -0
  144. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Simple/Should_be_Cool.yml +0 -0
  145. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Status/Should_return_the_version.yml +0 -0
  146. data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Tenants/Should_create_and_return_tenant.yml +0 -0
  147. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +19 -15
  148. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +21 -17
  149. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_group_contiguous_values.yml +17 -13
  150. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +29 -23
  151. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +47 -37
  152. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +21 -17
  153. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +19 -15
  154. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +44 -34
  155. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +60 -46
  156. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +51 -39
  157. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +29 -23
  158. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +21 -17
  159. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +19 -15
  160. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +51 -39
  161. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +29 -23
  162. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_return_periods.yml +17 -13
  163. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +50 -0
  164. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +12 -10
  165. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +47 -37
  166. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_rate_stats_for_mixed_metric.yml +328 -0
  167. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +32 -32
  168. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +70 -74
  169. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +61 -47
  170. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +55 -43
  171. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/No_Tenant/Should_fail.yml +9 -7
  172. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Simple/Should_be_Cool.yml +3 -3
  173. data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Status/Should_return_the_version.yml +10 -8
  174. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
  175. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +51 -0
  176. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +92 -0
  177. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +101 -0
  178. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +101 -0
  179. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +101 -0
  180. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +50 -0
  181. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +146 -0
  182. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +146 -0
  183. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +99 -0
  184. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +99 -0
  185. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +97 -0
  186. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +144 -0
  187. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +240 -0
  188. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +99 -0
  189. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +99 -0
  190. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +240 -0
  191. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +328 -0
  192. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +281 -0
  193. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +144 -0
  194. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +99 -0
  195. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +99 -0
  196. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +281 -0
  197. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +144 -0
  198. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +97 -0
  199. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +240 -0
  200. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +326 -0
  201. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +314 -0
  202. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +285 -0
  203. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +50 -0
  204. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +48 -0
  205. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Status/Should_return_the_version.yml +44 -0
  206. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
  207. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +99 -0
  208. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +99 -0
  209. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +97 -0
  210. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +144 -0
  211. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +240 -0
  212. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +99 -0
  213. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +99 -0
  214. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +240 -0
  215. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +328 -0
  216. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +281 -0
  217. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +144 -0
  218. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +99 -0
  219. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +99 -0
  220. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +281 -0
  221. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +144 -0
  222. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +97 -0
  223. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +50 -0
  224. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +51 -0
  225. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +240 -0
  226. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +364 -0
  227. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +326 -0
  228. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +314 -0
  229. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +285 -0
  230. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/No_Tenant/Should_fail.yml +50 -0
  231. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Simple/Should_be_Cool.yml +48 -0
  232. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Status/Should_return_the_version.yml +44 -0
  233. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
  234. data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/get_feed.yml +61 -0
  235. data/spec/vcr_cassettes/Operation/{Helpers → NonSecure/Helpers/Templates}/get_tenant.yml +8 -5
  236. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_JDBC_driver_should_add_the_driver.json +23 -0
  237. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_datasource_should_be_doable.json +23 -0
  238. data/spec/vcr_cassettes/Operation/{Operation → NonSecure/Operation}/Add_deployment_should_be_doable.json +4 -7
  239. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +23 -0
  240. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +23 -0
  241. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +23 -0
  242. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +32 -0
  243. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +23 -0
  244. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +23 -0
  245. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +23 -0
  246. data/spec/vcr_cassettes/Operation/{Operation → NonSecure/Operation}/should_not_be_possible_to_perform_on_closed_client.json +1 -1
  247. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
  248. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
  249. data/spec/vcr_cassettes/Operation/{Websocket_connection → NonSecure/Websocket_connection}/should_bail_with_no_host.json +0 -0
  250. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established.json +9 -0
  251. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established_via_entrypoint.json +9 -0
  252. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_run_into_error_callback.json +18 -0
  253. data/spec/vcr_cassettes/Operation/{Websocket_connection → NonSecure/Websocket_connection}/should_run_into_error_callback_because_bad_hash_parameters.json +1 -1
  254. data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_feed.yml +61 -0
  255. data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_tenant.yml +55 -0
  256. data/spec/vcr_cassettes/Operation/Secure/Operation/Add_JDBC_driver_should_add_the_driver.json +23 -0
  257. data/spec/vcr_cassettes/Operation/Secure/Operation/Add_datasource_should_be_doable.json +23 -0
  258. data/spec/vcr_cassettes/Operation/Secure/Operation/Add_deployment_should_be_doable.json +23 -0
  259. data/spec/vcr_cassettes/Operation/Secure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +23 -0
  260. data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +23 -0
  261. data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +23 -0
  262. data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +32 -0
  263. data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +23 -0
  264. data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +23 -0
  265. data/spec/vcr_cassettes/Operation/Secure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +23 -0
  266. data/spec/vcr_cassettes/Operation/Secure/Operation/should_not_be_possible_to_perform_on_closed_client.json +12 -0
  267. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
  268. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
  269. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_no_host.json +3 -0
  270. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established.json +9 -0
  271. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established_via_entrypoint.json +9 -0
  272. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback.json +18 -0
  273. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +13 -0
  274. metadata +526 -282
  275. data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -95
  276. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +0 -48
  277. data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +0 -95
  278. data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +0 -26
  279. data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +0 -26
  280. data/spec/vcr_cassettes/Operation/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +0 -26
  281. data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +0 -26
  282. data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +0 -26
  283. data/spec/vcr_cassettes/Operation/Operation/Restart_can_be_run_multiple_times_in_parallel.json +0 -40
  284. data/spec/vcr_cassettes/Operation/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +0 -26
  285. data/spec/vcr_cassettes/Operation/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +0 -26
  286. data/spec/vcr_cassettes/Operation/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +0 -26
  287. data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +0 -9
  288. data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +0 -9
  289. data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json +0 -9
  290. data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established_via_entrypoint.json +0 -9
  291. data/spec/vcr_cassettes/Operation/Websocket_connection/should_run_into_error_callback.json +0 -13
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/feed
5
+ uri: http://<%= super_secret_username %>:<%= 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":{}}'
@@ -19,6 +19,8 @@ http_interactions:
19
19
  - application/json
20
20
  Content-Length:
21
21
  - '101'
22
+ Host:
23
+ - localhost:8080
22
24
  response:
23
25
  status:
24
26
  code: 201
@@ -37,7 +39,7 @@ http_interactions:
37
39
  Location:
38
40
  - http://localhost:8080/hawkular/inventory/entity/f;feed_1123sdncisud6237ui23hjbdscuzsad
39
41
  Date:
40
- - Thu, 14 Jul 2016 16:23:43 GMT
42
+ - Wed, 10 Aug 2016 22:35:37 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Type:
@@ -53,5 +55,5 @@ http_interactions:
53
55
  "id" : "feed_1123sdncisud6237ui23hjbdscuzsad"
54
56
  }
55
57
  http_version:
56
- recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
57
- recorded_with: VCR 3.0.1
58
+ recorded_at: Wed, 10 Aug 2016 22:35:37 GMT
59
+ recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/feed
5
+ uri: http://<%= super_secret_username %>:<%= 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":{}}'
@@ -19,6 +19,8 @@ http_interactions:
19
19
  - application/json
20
20
  Content-Length:
21
21
  - '99'
22
+ Host:
23
+ - localhost:8080
22
24
  response:
23
25
  status:
24
26
  code: 201
@@ -37,7 +39,7 @@ http_interactions:
37
39
  Location:
38
40
  - http://localhost:8080/hawkular/inventory/entity/f;feed_1123sdncisud6237ui2378789vvgX
39
41
  Date:
40
- - Thu, 14 Jul 2016 16:23:44 GMT
42
+ - Wed, 10 Aug 2016 22:35:37 GMT
41
43
  Connection:
42
44
  - keep-alive
43
45
  Content-Type:
@@ -53,10 +55,10 @@ http_interactions:
53
55
  "id" : "feed_1123sdncisud6237ui2378789vvgX"
54
56
  }
55
57
  http_version:
56
- recorded_at: Thu, 14 Jul 2016 16:23:44 GMT
58
+ recorded_at: Wed, 10 Aug 2016 22:35:37 GMT
57
59
  - request:
58
60
  method: post
59
- uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/feed
61
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/feed
60
62
  body:
61
63
  encoding: UTF-8
62
64
  string: '{"properties":{},"id":"feed_1123sdncisud6237ui2378789vvgX","name":null,"outgoing":{},"incoming":{}}'
@@ -73,6 +75,8 @@ http_interactions:
73
75
  - application/json
74
76
  Content-Length:
75
77
  - '99'
78
+ Host:
79
+ - localhost:8080
76
80
  response:
77
81
  status:
78
82
  code: 409
@@ -89,7 +93,7 @@ http_interactions:
89
93
  Pragma:
90
94
  - no-cache
91
95
  Date:
92
- - Thu, 14 Jul 2016 16:23:44 GMT
96
+ - Wed, 10 Aug 2016 22:35:37 GMT
93
97
  Connection:
94
98
  - keep-alive
95
99
  Content-Type:
@@ -118,10 +122,10 @@ http_interactions:
118
122
  }
119
123
  }
120
124
  http_version:
121
- recorded_at: Thu, 14 Jul 2016 16:23:44 GMT
125
+ recorded_at: Wed, 10 Aug 2016 22:35:37 GMT
122
126
  - request:
123
127
  method: get
124
- uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_1123sdncisud6237ui2378789vvgX
128
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_1123sdncisud6237ui2378789vvgX
125
129
  body:
126
130
  encoding: US-ASCII
127
131
  string: ''
@@ -136,6 +140,8 @@ http_interactions:
136
140
  - hawkular
137
141
  Content-Type:
138
142
  - application/json
143
+ Host:
144
+ - localhost:8080
139
145
  response:
140
146
  status:
141
147
  code: 200
@@ -152,7 +158,7 @@ http_interactions:
152
158
  Pragma:
153
159
  - no-cache
154
160
  Date:
155
- - Thu, 14 Jul 2016 16:23:44 GMT
161
+ - Wed, 10 Aug 2016 22:35:37 GMT
156
162
  Connection:
157
163
  - keep-alive
158
164
  Content-Type:
@@ -171,5 +177,5 @@ http_interactions:
171
177
  "id" : "feed_1123sdncisud6237ui2378789vvgX"
172
178
  }
173
179
  http_version:
174
- recorded_at: Thu, 14 Jul 2016 16:23:44 GMT
175
- recorded_with: VCR 3.0.1
180
+ recorded_at: Wed, 10 Aug 2016 22:35:37 GMT
181
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,664 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/feed
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"properties":{},"id":"NonSecure_feed_may_exist","name":null,"outgoing":{},"incoming":{}}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
16
+ Hawkular-Tenant:
17
+ - hawkular
18
+ Content-Type:
19
+ - application/json
20
+ Content-Length:
21
+ - '89'
22
+ Host:
23
+ - localhost:8080
24
+ response:
25
+ status:
26
+ code: 201
27
+ message: Created
28
+ headers:
29
+ Expires:
30
+ - '0'
31
+ Cache-Control:
32
+ - no-cache, no-store, must-revalidate
33
+ X-Powered-By:
34
+ - Undertow/1
35
+ Server:
36
+ - WildFly/10
37
+ Pragma:
38
+ - no-cache
39
+ Location:
40
+ - http://localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist
41
+ Date:
42
+ - Wed, 10 Aug 2016 22:35:39 GMT
43
+ Connection:
44
+ - keep-alive
45
+ Content-Type:
46
+ - application/json
47
+ Content-Length:
48
+ - '153'
49
+ body:
50
+ encoding: UTF-8
51
+ string: |-
52
+ {
53
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist",
54
+ "identityHash" : "353d88f09127d8b924e48c6daf58ee242f5fdf",
55
+ "id" : "NonSecure_feed_may_exist"
56
+ }
57
+ http_version:
58
+ recorded_at: Wed, 10 Aug 2016 22:35:39 GMT
59
+ - request:
60
+ method: post
61
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/resourceType
62
+ body:
63
+ encoding: UTF-8
64
+ string: '{"properties":{},"id":"rt-123-1","name":"ResourceType","outgoing":{},"incoming":{}}'
65
+ headers:
66
+ Accept:
67
+ - application/json
68
+ Accept-Encoding:
69
+ - identity
70
+ User-Agent:
71
+ - hawkular-client-ruby
72
+ Hawkular-Tenant:
73
+ - hawkular
74
+ Content-Type:
75
+ - application/json
76
+ Content-Length:
77
+ - '83'
78
+ Host:
79
+ - localhost:8080
80
+ response:
81
+ status:
82
+ code: 201
83
+ message: Created
84
+ headers:
85
+ Expires:
86
+ - '0'
87
+ Cache-Control:
88
+ - no-cache, no-store, must-revalidate
89
+ X-Powered-By:
90
+ - Undertow/1
91
+ Server:
92
+ - WildFly/10
93
+ Pragma:
94
+ - no-cache
95
+ Location:
96
+ - http://localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/rt;rt-123-1
97
+ Date:
98
+ - Wed, 10 Aug 2016 22:35:39 GMT
99
+ Connection:
100
+ - keep-alive
101
+ Content-Type:
102
+ - application/json
103
+ Content-Length:
104
+ - '175'
105
+ body:
106
+ encoding: UTF-8
107
+ string: |-
108
+ {
109
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123-1",
110
+ "name" : "ResourceType",
111
+ "identityHash" : "5c475fba1eab01a3f0fbabfbe0efac752aeb7",
112
+ "id" : "rt-123-1"
113
+ }
114
+ http_version:
115
+ recorded_at: Wed, 10 Aug 2016 22:35:39 GMT
116
+ - request:
117
+ method: get
118
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/rt;rt-123-1
119
+ body:
120
+ encoding: US-ASCII
121
+ string: ''
122
+ headers:
123
+ Accept:
124
+ - application/json
125
+ Accept-Encoding:
126
+ - identity
127
+ User-Agent:
128
+ - hawkular-client-ruby
129
+ Hawkular-Tenant:
130
+ - hawkular
131
+ Content-Type:
132
+ - application/json
133
+ Host:
134
+ - localhost:8080
135
+ response:
136
+ status:
137
+ code: 200
138
+ message: OK
139
+ headers:
140
+ Expires:
141
+ - '0'
142
+ Cache-Control:
143
+ - no-cache, no-store, must-revalidate
144
+ X-Powered-By:
145
+ - Undertow/1
146
+ Server:
147
+ - WildFly/10
148
+ Pragma:
149
+ - no-cache
150
+ Date:
151
+ - Wed, 10 Aug 2016 22:35:39 GMT
152
+ Connection:
153
+ - keep-alive
154
+ Content-Type:
155
+ - application/json
156
+ Content-Length:
157
+ - '175'
158
+ body:
159
+ encoding: UTF-8
160
+ string: |-
161
+ {
162
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123-1",
163
+ "name" : "ResourceType",
164
+ "identityHash" : "5c475fba1eab01a3f0fbabfbe0efac752aeb7",
165
+ "id" : "rt-123-1"
166
+ }
167
+ http_version:
168
+ recorded_at: Wed, 10 Aug 2016 22:35:39 GMT
169
+ - request:
170
+ method: post
171
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/resource
172
+ body:
173
+ encoding: UTF-8
174
+ string: '{"properties":{},"id":"r124-a","name":"Res-a","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123-1"}'
175
+ headers:
176
+ Accept:
177
+ - application/json
178
+ Accept-Encoding:
179
+ - identity
180
+ User-Agent:
181
+ - hawkular-client-ruby
182
+ Hawkular-Tenant:
183
+ - hawkular
184
+ Content-Type:
185
+ - application/json
186
+ Content-Length:
187
+ - '146'
188
+ Host:
189
+ - localhost:8080
190
+ response:
191
+ status:
192
+ code: 201
193
+ message: Created
194
+ headers:
195
+ Expires:
196
+ - '0'
197
+ Cache-Control:
198
+ - no-cache, no-store, must-revalidate
199
+ X-Powered-By:
200
+ - Undertow/1
201
+ Server:
202
+ - WildFly/10
203
+ Pragma:
204
+ - no-cache
205
+ Location:
206
+ - http://localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/r;r124-a
207
+ Date:
208
+ - Wed, 10 Aug 2016 22:35:39 GMT
209
+ Connection:
210
+ - keep-alive
211
+ Content-Type:
212
+ - application/json
213
+ Content-Length:
214
+ - '363'
215
+ body:
216
+ encoding: UTF-8
217
+ string: |-
218
+ {
219
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/r;r124-a",
220
+ "name" : "Res-a",
221
+ "identityHash" : "e07eef8c1a65533438b95acac69cfe2d09b75ca",
222
+ "type" : {
223
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123-1",
224
+ "name" : "ResourceType",
225
+ "identityHash" : "5c475fba1eab01a3f0fbabfbe0efac752aeb7",
226
+ "id" : "rt-123-1"
227
+ },
228
+ "id" : "r124-a"
229
+ }
230
+ http_version:
231
+ recorded_at: Wed, 10 Aug 2016 22:35:39 GMT
232
+ - request:
233
+ method: post
234
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/r;r124-a/resource
235
+ body:
236
+ encoding: UTF-8
237
+ string: '{"properties":{},"id":"r124-b","name":"Res-a","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123-1"}'
238
+ headers:
239
+ Accept:
240
+ - application/json
241
+ Accept-Encoding:
242
+ - identity
243
+ User-Agent:
244
+ - hawkular-client-ruby
245
+ Hawkular-Tenant:
246
+ - hawkular
247
+ Content-Type:
248
+ - application/json
249
+ Content-Length:
250
+ - '146'
251
+ Host:
252
+ - localhost:8080
253
+ response:
254
+ status:
255
+ code: 201
256
+ message: Created
257
+ headers:
258
+ Expires:
259
+ - '0'
260
+ Cache-Control:
261
+ - no-cache, no-store, must-revalidate
262
+ X-Powered-By:
263
+ - Undertow/1
264
+ Server:
265
+ - WildFly/10
266
+ Pragma:
267
+ - no-cache
268
+ Location:
269
+ - http://localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/r;r124-a/r;r124-b
270
+ Date:
271
+ - Wed, 10 Aug 2016 22:35:39 GMT
272
+ Connection:
273
+ - keep-alive
274
+ Content-Type:
275
+ - application/json
276
+ Content-Length:
277
+ - '371'
278
+ body:
279
+ encoding: UTF-8
280
+ string: |-
281
+ {
282
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/r;r124-a/r;r124-b",
283
+ "name" : "Res-a",
284
+ "identityHash" : "8250626a081e4efe5a53fde75a06a2b81b30dd",
285
+ "type" : {
286
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123-1",
287
+ "name" : "ResourceType",
288
+ "identityHash" : "5c475fba1eab01a3f0fbabfbe0efac752aeb7",
289
+ "id" : "rt-123-1"
290
+ },
291
+ "id" : "r124-b"
292
+ }
293
+ http_version:
294
+ recorded_at: Wed, 10 Aug 2016 22:35:39 GMT
295
+ - request:
296
+ method: post
297
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/metricType
298
+ body:
299
+ encoding: UTF-8
300
+ string: '{"id":"mt-124-a","type":"GAUGE","unit":"NONE","collectionInterval":60}'
301
+ headers:
302
+ Accept:
303
+ - application/json
304
+ Accept-Encoding:
305
+ - identity
306
+ User-Agent:
307
+ - hawkular-client-ruby
308
+ Hawkular-Tenant:
309
+ - hawkular
310
+ Content-Type:
311
+ - application/json
312
+ Content-Length:
313
+ - '70'
314
+ Host:
315
+ - localhost:8080
316
+ response:
317
+ status:
318
+ code: 201
319
+ message: Created
320
+ headers:
321
+ Expires:
322
+ - '0'
323
+ Cache-Control:
324
+ - no-cache, no-store, must-revalidate
325
+ X-Powered-By:
326
+ - Undertow/1
327
+ Server:
328
+ - WildFly/10
329
+ Pragma:
330
+ - no-cache
331
+ Location:
332
+ - http://localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/mt;mt-124-a
333
+ Date:
334
+ - Wed, 10 Aug 2016 22:35:39 GMT
335
+ Connection:
336
+ - keep-alive
337
+ Content-Type:
338
+ - application/json
339
+ Content-Length:
340
+ - '218'
341
+ body:
342
+ encoding: UTF-8
343
+ string: |-
344
+ {
345
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/mt;mt-124-a",
346
+ "identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
347
+ "unit" : "NONE",
348
+ "type" : "GAUGE",
349
+ "collectionInterval" : 60,
350
+ "id" : "mt-124-a"
351
+ }
352
+ http_version:
353
+ recorded_at: Wed, 10 Aug 2016 22:35:39 GMT
354
+ - request:
355
+ method: get
356
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/mt;mt-124-a
357
+ body:
358
+ encoding: US-ASCII
359
+ string: ''
360
+ headers:
361
+ Accept:
362
+ - application/json
363
+ Accept-Encoding:
364
+ - identity
365
+ User-Agent:
366
+ - hawkular-client-ruby
367
+ Hawkular-Tenant:
368
+ - hawkular
369
+ Content-Type:
370
+ - application/json
371
+ Host:
372
+ - localhost:8080
373
+ response:
374
+ status:
375
+ code: 200
376
+ message: OK
377
+ headers:
378
+ Expires:
379
+ - '0'
380
+ Cache-Control:
381
+ - no-cache, no-store, must-revalidate
382
+ X-Powered-By:
383
+ - Undertow/1
384
+ Server:
385
+ - WildFly/10
386
+ Pragma:
387
+ - no-cache
388
+ Date:
389
+ - Wed, 10 Aug 2016 22:35:39 GMT
390
+ Connection:
391
+ - keep-alive
392
+ Content-Type:
393
+ - application/json
394
+ Content-Length:
395
+ - '218'
396
+ body:
397
+ encoding: UTF-8
398
+ string: |-
399
+ {
400
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/mt;mt-124-a",
401
+ "identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
402
+ "unit" : "NONE",
403
+ "type" : "GAUGE",
404
+ "collectionInterval" : 60,
405
+ "id" : "mt-124-a"
406
+ }
407
+ http_version:
408
+ recorded_at: Wed, 10 Aug 2016 22:35:39 GMT
409
+ - request:
410
+ method: post
411
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/metric
412
+ body:
413
+ encoding: UTF-8
414
+ string: '{"id":"m-124-a","name":"MetricUnderNestedResource","metricTypePath":"/t;hawkular/f;NonSecure_feed_may_exist/mt;mt-124-a"}'
415
+ headers:
416
+ Accept:
417
+ - application/json
418
+ Accept-Encoding:
419
+ - identity
420
+ User-Agent:
421
+ - hawkular-client-ruby
422
+ Hawkular-Tenant:
423
+ - hawkular
424
+ Content-Type:
425
+ - application/json
426
+ Content-Length:
427
+ - '121'
428
+ Host:
429
+ - localhost:8080
430
+ response:
431
+ status:
432
+ code: 201
433
+ message: Created
434
+ headers:
435
+ Expires:
436
+ - '0'
437
+ Cache-Control:
438
+ - no-cache, no-store, must-revalidate
439
+ X-Powered-By:
440
+ - Undertow/1
441
+ Server:
442
+ - WildFly/10
443
+ Pragma:
444
+ - no-cache
445
+ Location:
446
+ - http://localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/m;m-124-a
447
+ Date:
448
+ - Wed, 10 Aug 2016 22:35:39 GMT
449
+ Connection:
450
+ - keep-alive
451
+ Content-Type:
452
+ - application/json
453
+ Content-Length:
454
+ - '431'
455
+ body:
456
+ encoding: UTF-8
457
+ string: |-
458
+ {
459
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/m;m-124-a",
460
+ "name" : "MetricUnderNestedResource",
461
+ "identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d",
462
+ "type" : {
463
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/mt;mt-124-a",
464
+ "identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
465
+ "unit" : "NONE",
466
+ "type" : "GAUGE",
467
+ "collectionInterval" : 60,
468
+ "id" : "mt-124-a"
469
+ },
470
+ "id" : "m-124-a"
471
+ }
472
+ http_version:
473
+ recorded_at: Wed, 10 Aug 2016 22:35:39 GMT
474
+ - request:
475
+ method: get
476
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/m;m-124-a
477
+ body:
478
+ encoding: US-ASCII
479
+ string: ''
480
+ headers:
481
+ Accept:
482
+ - application/json
483
+ Accept-Encoding:
484
+ - identity
485
+ User-Agent:
486
+ - hawkular-client-ruby
487
+ Hawkular-Tenant:
488
+ - hawkular
489
+ Content-Type:
490
+ - application/json
491
+ Host:
492
+ - localhost:8080
493
+ response:
494
+ status:
495
+ code: 200
496
+ message: OK
497
+ headers:
498
+ Expires:
499
+ - '0'
500
+ Cache-Control:
501
+ - no-cache, no-store, must-revalidate
502
+ X-Powered-By:
503
+ - Undertow/1
504
+ Server:
505
+ - WildFly/10
506
+ Pragma:
507
+ - no-cache
508
+ Date:
509
+ - Wed, 10 Aug 2016 22:35:39 GMT
510
+ Connection:
511
+ - keep-alive
512
+ Content-Type:
513
+ - application/json
514
+ Content-Length:
515
+ - '519'
516
+ body:
517
+ encoding: UTF-8
518
+ string: |-
519
+ {
520
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/m;m-124-a",
521
+ "properties" : {
522
+ "__identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d"
523
+ },
524
+ "name" : "MetricUnderNestedResource",
525
+ "identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d",
526
+ "type" : {
527
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/mt;mt-124-a",
528
+ "identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
529
+ "unit" : "NONE",
530
+ "type" : "GAUGE",
531
+ "collectionInterval" : 60,
532
+ "id" : "mt-124-a"
533
+ },
534
+ "id" : "m-124-a"
535
+ }
536
+ http_version:
537
+ recorded_at: Wed, 10 Aug 2016 22:35:39 GMT
538
+ - request:
539
+ method: post
540
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/r;r124-a/r;r124-b/relationship
541
+ body:
542
+ encoding: UTF-8
543
+ string: '[{"otherEnd":"/t;hawkular/f;NonSecure_feed_may_exist/m;m-124-a","name":"incorporates"}]'
544
+ headers:
545
+ Accept:
546
+ - application/json
547
+ Accept-Encoding:
548
+ - identity
549
+ User-Agent:
550
+ - hawkular-client-ruby
551
+ Hawkular-Tenant:
552
+ - hawkular
553
+ Content-Type:
554
+ - application/json
555
+ Content-Length:
556
+ - '87'
557
+ Host:
558
+ - localhost:8080
559
+ response:
560
+ status:
561
+ code: 201
562
+ message: Created
563
+ headers:
564
+ Expires:
565
+ - '0'
566
+ Cache-Control:
567
+ - no-cache, no-store, must-revalidate
568
+ X-Powered-By:
569
+ - Undertow/1
570
+ Server:
571
+ - WildFly/10
572
+ Pragma:
573
+ - no-cache
574
+ Location:
575
+ - http://localhost:8080/hawkular/inventory/entity/rl;4obz4-386ps-8tn9-3883k
576
+ Date:
577
+ - Wed, 10 Aug 2016 22:35:39 GMT
578
+ Connection:
579
+ - keep-alive
580
+ Content-Type:
581
+ - application/json
582
+ Content-Length:
583
+ - '206'
584
+ body:
585
+ encoding: UTF-8
586
+ string: |-
587
+ [ {
588
+ "id" : "4obz4-386ps-8tn9-3883k",
589
+ "name" : "incorporates",
590
+ "source" : "/t;hawkular/f;NonSecure_feed_may_exist/r;r124-a/r;r124-b",
591
+ "target" : "/t;hawkular/f;NonSecure_feed_may_exist/m;m-124-a"
592
+ } ]
593
+ http_version:
594
+ recorded_at: Wed, 10 Aug 2016 22:35:39 GMT
595
+ - request:
596
+ method: get
597
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/traversal/f;NonSecure_feed_may_exist/r;r124-a/r;r124-b/rl;incorporates/type=m?sort=id
598
+ body:
599
+ encoding: US-ASCII
600
+ string: ''
601
+ headers:
602
+ Accept:
603
+ - application/json
604
+ Accept-Encoding:
605
+ - identity
606
+ User-Agent:
607
+ - hawkular-client-ruby
608
+ Hawkular-Tenant:
609
+ - hawkular
610
+ Content-Type:
611
+ - application/json
612
+ Host:
613
+ - localhost:8080
614
+ response:
615
+ status:
616
+ code: 200
617
+ message: OK
618
+ headers:
619
+ Expires:
620
+ - '0'
621
+ Cache-Control:
622
+ - no-cache, no-store, must-revalidate
623
+ X-Powered-By:
624
+ - Undertow/1
625
+ Server:
626
+ - WildFly/10
627
+ Pragma:
628
+ - no-cache
629
+ Date:
630
+ - Wed, 10 Aug 2016 22:35:39 GMT
631
+ X-Total-Count:
632
+ - '1'
633
+ Connection:
634
+ - keep-alive
635
+ Content-Type:
636
+ - application/json
637
+ Content-Length:
638
+ - '523'
639
+ Link:
640
+ - <http://localhost:8080/hawkular/inventory/traversal/f;NonSecure_feed_may_exist/r;r124-a/r;r124-b/rl;incorporates/type=m?sort=id>;
641
+ rel="current"
642
+ body:
643
+ encoding: UTF-8
644
+ string: |-
645
+ [ {
646
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/m;m-124-a",
647
+ "properties" : {
648
+ "__identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d"
649
+ },
650
+ "name" : "MetricUnderNestedResource",
651
+ "identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d",
652
+ "type" : {
653
+ "path" : "/t;hawkular/f;NonSecure_feed_may_exist/mt;mt-124-a",
654
+ "identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
655
+ "unit" : "NONE",
656
+ "type" : "GAUGE",
657
+ "collectionInterval" : 60,
658
+ "id" : "mt-124-a"
659
+ },
660
+ "id" : "m-124-a"
661
+ } ]
662
+ http_version:
663
+ recorded_at: Wed, 10 Aug 2016 22:35:39 GMT
664
+ recorded_with: VCR 3.0.3