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: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/feed
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: '{"properties":{},"id":"feed_may_exist","name":null,"outgoing":{},"incoming":{}}'
@@ -19,6 +19,8 @@ http_interactions:
19
19
  - application/json
20
20
  Content-Length:
21
21
  - '79'
22
+ Host:
23
+ - 127.0.0.1:8443
22
24
  response:
23
25
  status:
24
26
  code: 409
@@ -35,7 +37,7 @@ http_interactions:
35
37
  Pragma:
36
38
  - no-cache
37
39
  Date:
38
- - Thu, 14 Jul 2016 16:23:46 GMT
40
+ - Wed, 10 Aug 2016 22:35:50 GMT
39
41
  Connection:
40
42
  - keep-alive
41
43
  Content-Type:
@@ -64,10 +66,10 @@ http_interactions:
64
66
  }
65
67
  }
66
68
  http_version:
67
- recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
69
+ recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
68
70
  - request:
69
71
  method: get
70
- uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist
72
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist
71
73
  body:
72
74
  encoding: US-ASCII
73
75
  string: ''
@@ -82,6 +84,8 @@ http_interactions:
82
84
  - hawkular
83
85
  Content-Type:
84
86
  - application/json
87
+ Host:
88
+ - 127.0.0.1:8443
85
89
  response:
86
90
  status:
87
91
  code: 200
@@ -98,29 +102,29 @@ http_interactions:
98
102
  Pragma:
99
103
  - no-cache
100
104
  Date:
101
- - Thu, 14 Jul 2016 16:23:46 GMT
105
+ - Wed, 10 Aug 2016 22:35:50 GMT
102
106
  Connection:
103
107
  - keep-alive
104
108
  Content-Type:
105
109
  - application/json
106
110
  Content-Length:
107
- - '223'
111
+ - '225'
108
112
  body:
109
113
  encoding: UTF-8
110
114
  string: |-
111
115
  {
112
116
  "path" : "/t;hawkular/f;feed_may_exist",
113
117
  "properties" : {
114
- "__identityHash" : "55affa87de54513afac93594fab92745c814eea"
118
+ "__identityHash" : "95604cd341ec20d5a059792fbc18603bf754fbcc"
115
119
  },
116
- "identityHash" : "55affa87de54513afac93594fab92745c814eea",
120
+ "identityHash" : "95604cd341ec20d5a059792fbc18603bf754fbcc",
117
121
  "id" : "feed_may_exist"
118
122
  }
119
123
  http_version:
120
- recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
124
+ recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
121
125
  - request:
122
126
  method: post
123
- uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/resourceType
127
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/resourceType
124
128
  body:
125
129
  encoding: UTF-8
126
130
  string: '{"properties":{},"id":"rt-123","name":"ResourceType","outgoing":{},"incoming":{}}'
@@ -137,6 +141,8 @@ http_interactions:
137
141
  - application/json
138
142
  Content-Length:
139
143
  - '81'
144
+ Host:
145
+ - 127.0.0.1:8443
140
146
  response:
141
147
  status:
142
148
  code: 409
@@ -153,7 +159,7 @@ http_interactions:
153
159
  Pragma:
154
160
  - no-cache
155
161
  Date:
156
- - Thu, 14 Jul 2016 16:23:46 GMT
162
+ - Wed, 10 Aug 2016 22:35:50 GMT
157
163
  Connection:
158
164
  - keep-alive
159
165
  Content-Type:
@@ -168,10 +174,10 @@ http_interactions:
168
174
  "details" : { }
169
175
  }
170
176
  http_version:
171
- recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
177
+ recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
172
178
  - request:
173
179
  method: get
174
- uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/rt;rt-123
180
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/rt;rt-123
175
181
  body:
176
182
  encoding: US-ASCII
177
183
  string: ''
@@ -186,6 +192,8 @@ http_interactions:
186
192
  - hawkular
187
193
  Content-Type:
188
194
  - application/json
195
+ Host:
196
+ - 127.0.0.1:8443
189
197
  response:
190
198
  status:
191
199
  code: 200
@@ -202,7 +210,7 @@ http_interactions:
202
210
  Pragma:
203
211
  - no-cache
204
212
  Date:
205
- - Thu, 14 Jul 2016 16:23:46 GMT
213
+ - Wed, 10 Aug 2016 22:35:50 GMT
206
214
  Connection:
207
215
  - keep-alive
208
216
  Content-Type:
@@ -219,13 +227,13 @@ http_interactions:
219
227
  "id" : "rt-123"
220
228
  }
221
229
  http_version:
222
- recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
230
+ recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
223
231
  - request:
224
232
  method: post
225
- uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/resource
233
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/resource
226
234
  body:
227
235
  encoding: UTF-8
228
- string: '{"properties":{"version":1.0},"id":"r125","name":"My Resource","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;feed_may_exist/rt;rt-123"}'
236
+ string: '{"properties":{"version":1.0},"id":"r123","name":"My Resource","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;feed_may_exist/rt;rt-123"}'
229
237
  headers:
230
238
  Accept:
231
239
  - application/json
@@ -239,6 +247,8 @@ http_interactions:
239
247
  - application/json
240
248
  Content-Length:
241
249
  - '151'
250
+ Host:
251
+ - 127.0.0.1:8443
242
252
  response:
243
253
  status:
244
254
  code: 201
@@ -255,38 +265,38 @@ http_interactions:
255
265
  Pragma:
256
266
  - no-cache
257
267
  Location:
258
- - http://localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r125
268
+ - https://127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/r;r123
259
269
  Date:
260
- - Thu, 14 Jul 2016 16:23:46 GMT
270
+ - Wed, 10 Aug 2016 22:35:51 GMT
261
271
  Connection:
262
272
  - keep-alive
263
273
  Content-Type:
264
274
  - application/json
265
275
  Content-Length:
266
- - '386'
276
+ - '383'
267
277
  body:
268
278
  encoding: UTF-8
269
279
  string: |-
270
280
  {
271
- "path" : "/t;hawkular/f;feed_may_exist/r;r125",
281
+ "path" : "/t;hawkular/f;feed_may_exist/r;r123",
272
282
  "properties" : {
273
283
  "version" : 1.0
274
284
  },
275
285
  "name" : "My Resource",
276
- "identityHash" : "4f6d7ec5cdd2f75ca2cb9e4d0499c7bc0f5c5a2",
286
+ "identityHash" : "3be2debda577083937e8830525b1bef4fa48",
277
287
  "type" : {
278
288
  "path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
279
289
  "name" : "ResourceType",
280
290
  "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
281
291
  "id" : "rt-123"
282
292
  },
283
- "id" : "r125"
293
+ "id" : "r123"
284
294
  }
285
295
  http_version:
286
- recorded_at: Thu, 14 Jul 2016 16:23:46 GMT
296
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
287
297
  - request:
288
298
  method: get
289
- uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r125
299
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/r;r123
290
300
  body:
291
301
  encoding: US-ASCII
292
302
  string: ''
@@ -301,6 +311,8 @@ http_interactions:
301
311
  - hawkular
302
312
  Content-Type:
303
313
  - application/json
314
+ Host:
315
+ - 127.0.0.1:8443
304
316
  response:
305
317
  status:
306
318
  code: 200
@@ -317,86 +329,32 @@ http_interactions:
317
329
  Pragma:
318
330
  - no-cache
319
331
  Date:
320
- - Thu, 14 Jul 2016 16:23:47 GMT
332
+ - Wed, 10 Aug 2016 22:35:51 GMT
321
333
  Connection:
322
334
  - keep-alive
323
335
  Content-Type:
324
336
  - application/json
325
337
  Content-Length:
326
- - '452'
338
+ - '446'
327
339
  body:
328
340
  encoding: UTF-8
329
341
  string: |-
330
342
  {
331
- "path" : "/t;hawkular/f;feed_may_exist/r;r125",
343
+ "path" : "/t;hawkular/f;feed_may_exist/r;r123",
332
344
  "properties" : {
333
- "__identityHash" : "4f6d7ec5cdd2f75ca2cb9e4d0499c7bc0f5c5a2",
345
+ "__identityHash" : "3be2debda577083937e8830525b1bef4fa48",
334
346
  "version" : 1.0
335
347
  },
336
348
  "name" : "My Resource",
337
- "identityHash" : "4f6d7ec5cdd2f75ca2cb9e4d0499c7bc0f5c5a2",
349
+ "identityHash" : "3be2debda577083937e8830525b1bef4fa48",
338
350
  "type" : {
339
351
  "path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
340
352
  "name" : "ResourceType",
341
353
  "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
342
354
  "id" : "rt-123"
343
355
  },
344
- "id" : "r125"
356
+ "id" : "r123"
345
357
  }
346
358
  http_version:
347
- recorded_at: Thu, 14 Jul 2016 16:23:47 GMT
348
- - request:
349
- method: get
350
- uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r125/d;configuration
351
- body:
352
- encoding: US-ASCII
353
- string: ''
354
- headers:
355
- Accept:
356
- - application/json
357
- Accept-Encoding:
358
- - identity
359
- User-Agent:
360
- - hawkular-client-ruby
361
- Hawkular-Tenant:
362
- - hawkular
363
- Content-Type:
364
- - application/json
365
- response:
366
- status:
367
- code: 404
368
- message: Not Found
369
- headers:
370
- Expires:
371
- - '0'
372
- Cache-Control:
373
- - no-cache, no-store, must-revalidate
374
- X-Powered-By:
375
- - Undertow/1
376
- Server:
377
- - WildFly/10
378
- Pragma:
379
- - no-cache
380
- Date:
381
- - Thu, 14 Jul 2016 16:23:47 GMT
382
- Connection:
383
- - keep-alive
384
- Content-Type:
385
- - application/json
386
- Content-Length:
387
- - '300'
388
- body:
389
- encoding: UTF-8
390
- string: |-
391
- {
392
- "errorMsg" : "No DataEntity found on any of the following paths: [[CanonicalPaths[/t;hawkular/f;feed_may_exist/r;r125/d;configuration]]]",
393
- "details" : {
394
- "entityType" : "DataEntity",
395
- "path" : [ [ {
396
- "paths" : [ "/t;hawkular/f;feed_may_exist/r;r125/d;configuration" ]
397
- } ] ]
398
- }
399
- }
400
- http_version:
401
- recorded_at: Thu, 14 Jul 2016 16:23:47 GMT
402
- recorded_with: VCR 3.0.1
359
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
360
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,846 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/feed
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"properties":{},"id":"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
+ - '79'
22
+ Host:
23
+ - 127.0.0.1:8443
24
+ response:
25
+ status:
26
+ code: 409
27
+ message: Conflict
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
+ Date:
40
+ - Wed, 10 Aug 2016 22:35:51 GMT
41
+ Connection:
42
+ - keep-alive
43
+ Content-Type:
44
+ - application/json
45
+ Content-Length:
46
+ - '663'
47
+ body:
48
+ encoding: UTF-8
49
+ string: |-
50
+ {
51
+ "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]]]",
52
+ "details" : {
53
+ "entityId" : "feed_may_exist",
54
+ "paths" : [ [ {
55
+ "types" : [ "org.hawkular.inventory.api.model.Tenant" ]
56
+ }, {
57
+ "ids" : [ "hawkular" ]
58
+ }, {
59
+ "relationshipName" : "contains",
60
+ "entityRole" : "SOURCE"
61
+ }, {
62
+ "types" : [ "org.hawkular.inventory.api.model.Feed" ]
63
+ }, {
64
+ "ids" : [ "feed_may_exist" ]
65
+ } ] ]
66
+ }
67
+ }
68
+ http_version:
69
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
70
+ - request:
71
+ method: get
72
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist
73
+ body:
74
+ encoding: US-ASCII
75
+ string: ''
76
+ headers:
77
+ Accept:
78
+ - application/json
79
+ Accept-Encoding:
80
+ - identity
81
+ User-Agent:
82
+ - hawkular-client-ruby
83
+ Hawkular-Tenant:
84
+ - hawkular
85
+ Content-Type:
86
+ - application/json
87
+ Host:
88
+ - 127.0.0.1:8443
89
+ response:
90
+ status:
91
+ code: 200
92
+ message: OK
93
+ headers:
94
+ Expires:
95
+ - '0'
96
+ Cache-Control:
97
+ - no-cache, no-store, must-revalidate
98
+ X-Powered-By:
99
+ - Undertow/1
100
+ Server:
101
+ - WildFly/10
102
+ Pragma:
103
+ - no-cache
104
+ Date:
105
+ - Wed, 10 Aug 2016 22:35:51 GMT
106
+ Connection:
107
+ - keep-alive
108
+ Content-Type:
109
+ - application/json
110
+ Content-Length:
111
+ - '219'
112
+ body:
113
+ encoding: UTF-8
114
+ string: |-
115
+ {
116
+ "path" : "/t;hawkular/f;feed_may_exist",
117
+ "properties" : {
118
+ "__identityHash" : "74c06ecbd9cadebfda6338c1333995f6cc55b"
119
+ },
120
+ "identityHash" : "74c06ecbd9cadebfda6338c1333995f6cc55b",
121
+ "id" : "feed_may_exist"
122
+ }
123
+ http_version:
124
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
125
+ - request:
126
+ method: post
127
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/resourceType
128
+ body:
129
+ encoding: UTF-8
130
+ string: '{"properties":{},"id":"rt-123","name":"ResourceType","outgoing":{},"incoming":{}}'
131
+ headers:
132
+ Accept:
133
+ - application/json
134
+ Accept-Encoding:
135
+ - identity
136
+ User-Agent:
137
+ - hawkular-client-ruby
138
+ Hawkular-Tenant:
139
+ - hawkular
140
+ Content-Type:
141
+ - application/json
142
+ Content-Length:
143
+ - '81'
144
+ Host:
145
+ - 127.0.0.1:8443
146
+ response:
147
+ status:
148
+ code: 409
149
+ message: Conflict
150
+ headers:
151
+ Expires:
152
+ - '0'
153
+ Cache-Control:
154
+ - no-cache, no-store, must-revalidate
155
+ X-Powered-By:
156
+ - Undertow/1
157
+ Server:
158
+ - WildFly/10
159
+ Pragma:
160
+ - no-cache
161
+ Date:
162
+ - Wed, 10 Aug 2016 22:35:51 GMT
163
+ Connection:
164
+ - keep-alive
165
+ Content-Type:
166
+ - application/json
167
+ Content-Length:
168
+ - '107'
169
+ body:
170
+ encoding: UTF-8
171
+ string: |-
172
+ {
173
+ "errorMsg" : "Entity with id 'null' already exists at some of the positions: null",
174
+ "details" : { }
175
+ }
176
+ http_version:
177
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
178
+ - request:
179
+ method: get
180
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/rt;rt-123
181
+ body:
182
+ encoding: US-ASCII
183
+ string: ''
184
+ headers:
185
+ Accept:
186
+ - application/json
187
+ Accept-Encoding:
188
+ - identity
189
+ User-Agent:
190
+ - hawkular-client-ruby
191
+ Hawkular-Tenant:
192
+ - hawkular
193
+ Content-Type:
194
+ - application/json
195
+ Host:
196
+ - 127.0.0.1:8443
197
+ response:
198
+ status:
199
+ code: 200
200
+ message: OK
201
+ headers:
202
+ Expires:
203
+ - '0'
204
+ Cache-Control:
205
+ - no-cache, no-store, must-revalidate
206
+ X-Powered-By:
207
+ - Undertow/1
208
+ Server:
209
+ - WildFly/10
210
+ Pragma:
211
+ - no-cache
212
+ Date:
213
+ - Wed, 10 Aug 2016 22:35:51 GMT
214
+ Connection:
215
+ - keep-alive
216
+ Content-Type:
217
+ - application/json
218
+ Content-Length:
219
+ - '162'
220
+ body:
221
+ encoding: UTF-8
222
+ string: |-
223
+ {
224
+ "path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
225
+ "name" : "ResourceType",
226
+ "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
227
+ "id" : "rt-123"
228
+ }
229
+ http_version:
230
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
231
+ - request:
232
+ method: post
233
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/resource
234
+ body:
235
+ encoding: UTF-8
236
+ string: '{"properties":{"version":1.0},"id":"r124","name":"My Resource","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;feed_may_exist/rt;rt-123"}'
237
+ headers:
238
+ Accept:
239
+ - application/json
240
+ Accept-Encoding:
241
+ - identity
242
+ User-Agent:
243
+ - hawkular-client-ruby
244
+ Hawkular-Tenant:
245
+ - hawkular
246
+ Content-Type:
247
+ - application/json
248
+ Content-Length:
249
+ - '151'
250
+ Host:
251
+ - 127.0.0.1:8443
252
+ response:
253
+ status:
254
+ code: 201
255
+ message: Created
256
+ headers:
257
+ Expires:
258
+ - '0'
259
+ Cache-Control:
260
+ - no-cache, no-store, must-revalidate
261
+ X-Powered-By:
262
+ - Undertow/1
263
+ Server:
264
+ - WildFly/10
265
+ Pragma:
266
+ - no-cache
267
+ Location:
268
+ - https://127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/r;r124
269
+ Date:
270
+ - Wed, 10 Aug 2016 22:35:51 GMT
271
+ Connection:
272
+ - keep-alive
273
+ Content-Type:
274
+ - application/json
275
+ Content-Length:
276
+ - '384'
277
+ body:
278
+ encoding: UTF-8
279
+ string: |-
280
+ {
281
+ "path" : "/t;hawkular/f;feed_may_exist/r;r124",
282
+ "properties" : {
283
+ "version" : 1.0
284
+ },
285
+ "name" : "My Resource",
286
+ "identityHash" : "4458723fedfbb69a19a166e65edba47dbc45e",
287
+ "type" : {
288
+ "path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
289
+ "name" : "ResourceType",
290
+ "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
291
+ "id" : "rt-123"
292
+ },
293
+ "id" : "r124"
294
+ }
295
+ http_version:
296
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
297
+ - request:
298
+ method: get
299
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/r;r124
300
+ body:
301
+ encoding: US-ASCII
302
+ string: ''
303
+ headers:
304
+ Accept:
305
+ - application/json
306
+ Accept-Encoding:
307
+ - identity
308
+ User-Agent:
309
+ - hawkular-client-ruby
310
+ Hawkular-Tenant:
311
+ - hawkular
312
+ Content-Type:
313
+ - application/json
314
+ Host:
315
+ - 127.0.0.1:8443
316
+ response:
317
+ status:
318
+ code: 200
319
+ message: OK
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
+ Date:
332
+ - Wed, 10 Aug 2016 22:35:51 GMT
333
+ Connection:
334
+ - keep-alive
335
+ Content-Type:
336
+ - application/json
337
+ Content-Length:
338
+ - '448'
339
+ body:
340
+ encoding: UTF-8
341
+ string: |-
342
+ {
343
+ "path" : "/t;hawkular/f;feed_may_exist/r;r124",
344
+ "properties" : {
345
+ "__identityHash" : "4458723fedfbb69a19a166e65edba47dbc45e",
346
+ "version" : 1.0
347
+ },
348
+ "name" : "My Resource",
349
+ "identityHash" : "4458723fedfbb69a19a166e65edba47dbc45e",
350
+ "type" : {
351
+ "path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
352
+ "name" : "ResourceType",
353
+ "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
354
+ "id" : "rt-123"
355
+ },
356
+ "id" : "r124"
357
+ }
358
+ http_version:
359
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
360
+ - request:
361
+ method: post
362
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/metricType
363
+ body:
364
+ encoding: UTF-8
365
+ string: '{"id":"mt-124","type":"GAUGE","unit":"NONE","collectionInterval":60}'
366
+ headers:
367
+ Accept:
368
+ - application/json
369
+ Accept-Encoding:
370
+ - identity
371
+ User-Agent:
372
+ - hawkular-client-ruby
373
+ Hawkular-Tenant:
374
+ - hawkular
375
+ Content-Type:
376
+ - application/json
377
+ Content-Length:
378
+ - '68'
379
+ Host:
380
+ - 127.0.0.1:8443
381
+ response:
382
+ status:
383
+ code: 201
384
+ message: Created
385
+ headers:
386
+ Expires:
387
+ - '0'
388
+ Cache-Control:
389
+ - no-cache, no-store, must-revalidate
390
+ X-Powered-By:
391
+ - Undertow/1
392
+ Server:
393
+ - WildFly/10
394
+ Pragma:
395
+ - no-cache
396
+ Location:
397
+ - https://127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/mt;mt-124
398
+ Date:
399
+ - Wed, 10 Aug 2016 22:35:51 GMT
400
+ Connection:
401
+ - keep-alive
402
+ Content-Type:
403
+ - application/json
404
+ Content-Length:
405
+ - '203'
406
+ body:
407
+ encoding: UTF-8
408
+ string: |-
409
+ {
410
+ "path" : "/t;hawkular/f;feed_may_exist/mt;mt-124",
411
+ "identityHash" : "dabc11fbfd76774e47c38f91ea832d404cc0df",
412
+ "unit" : "NONE",
413
+ "type" : "GAUGE",
414
+ "collectionInterval" : 60,
415
+ "id" : "mt-124"
416
+ }
417
+ http_version:
418
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
419
+ - request:
420
+ method: get
421
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/mt;mt-124
422
+ body:
423
+ encoding: US-ASCII
424
+ string: ''
425
+ headers:
426
+ Accept:
427
+ - application/json
428
+ Accept-Encoding:
429
+ - identity
430
+ User-Agent:
431
+ - hawkular-client-ruby
432
+ Hawkular-Tenant:
433
+ - hawkular
434
+ Content-Type:
435
+ - application/json
436
+ Host:
437
+ - 127.0.0.1:8443
438
+ response:
439
+ status:
440
+ code: 200
441
+ message: OK
442
+ headers:
443
+ Expires:
444
+ - '0'
445
+ Cache-Control:
446
+ - no-cache, no-store, must-revalidate
447
+ X-Powered-By:
448
+ - Undertow/1
449
+ Server:
450
+ - WildFly/10
451
+ Pragma:
452
+ - no-cache
453
+ Date:
454
+ - Wed, 10 Aug 2016 22:35:51 GMT
455
+ Connection:
456
+ - keep-alive
457
+ Content-Type:
458
+ - application/json
459
+ Content-Length:
460
+ - '203'
461
+ body:
462
+ encoding: UTF-8
463
+ string: |-
464
+ {
465
+ "path" : "/t;hawkular/f;feed_may_exist/mt;mt-124",
466
+ "identityHash" : "dabc11fbfd76774e47c38f91ea832d404cc0df",
467
+ "unit" : "NONE",
468
+ "type" : "GAUGE",
469
+ "collectionInterval" : 60,
470
+ "id" : "mt-124"
471
+ }
472
+ http_version:
473
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
474
+ - request:
475
+ method: post
476
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/metric
477
+ body:
478
+ encoding: UTF-8
479
+ string: '{"id":"m-124","name":"m-124","metricTypePath":"/t;hawkular/f;feed_may_exist/mt;mt-124"}'
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
+ Content-Length:
492
+ - '87'
493
+ Host:
494
+ - 127.0.0.1:8443
495
+ response:
496
+ status:
497
+ code: 201
498
+ message: Created
499
+ headers:
500
+ Expires:
501
+ - '0'
502
+ Cache-Control:
503
+ - no-cache, no-store, must-revalidate
504
+ X-Powered-By:
505
+ - Undertow/1
506
+ Server:
507
+ - WildFly/10
508
+ Pragma:
509
+ - no-cache
510
+ Location:
511
+ - https://127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/m;m-124
512
+ Date:
513
+ - Wed, 10 Aug 2016 22:35:51 GMT
514
+ Connection:
515
+ - keep-alive
516
+ Content-Type:
517
+ - application/json
518
+ Content-Length:
519
+ - '380'
520
+ body:
521
+ encoding: UTF-8
522
+ string: |-
523
+ {
524
+ "path" : "/t;hawkular/f;feed_may_exist/m;m-124",
525
+ "name" : "m-124",
526
+ "identityHash" : "816e3f69c829acf281b31ac82e7ba3213bf2",
527
+ "type" : {
528
+ "path" : "/t;hawkular/f;feed_may_exist/mt;mt-124",
529
+ "identityHash" : "dabc11fbfd76774e47c38f91ea832d404cc0df",
530
+ "unit" : "NONE",
531
+ "type" : "GAUGE",
532
+ "collectionInterval" : 60,
533
+ "id" : "mt-124"
534
+ },
535
+ "id" : "m-124"
536
+ }
537
+ http_version:
538
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
539
+ - request:
540
+ method: get
541
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/m;m-124
542
+ body:
543
+ encoding: US-ASCII
544
+ string: ''
545
+ headers:
546
+ Accept:
547
+ - application/json
548
+ Accept-Encoding:
549
+ - identity
550
+ User-Agent:
551
+ - hawkular-client-ruby
552
+ Hawkular-Tenant:
553
+ - hawkular
554
+ Content-Type:
555
+ - application/json
556
+ Host:
557
+ - 127.0.0.1:8443
558
+ response:
559
+ status:
560
+ code: 200
561
+ message: OK
562
+ headers:
563
+ Expires:
564
+ - '0'
565
+ Cache-Control:
566
+ - no-cache, no-store, must-revalidate
567
+ X-Powered-By:
568
+ - Undertow/1
569
+ Server:
570
+ - WildFly/10
571
+ Pragma:
572
+ - no-cache
573
+ Date:
574
+ - Wed, 10 Aug 2016 22:35:51 GMT
575
+ Connection:
576
+ - keep-alive
577
+ Content-Type:
578
+ - application/json
579
+ Content-Length:
580
+ - '466'
581
+ body:
582
+ encoding: UTF-8
583
+ string: |-
584
+ {
585
+ "path" : "/t;hawkular/f;feed_may_exist/m;m-124",
586
+ "properties" : {
587
+ "__identityHash" : "816e3f69c829acf281b31ac82e7ba3213bf2"
588
+ },
589
+ "name" : "m-124",
590
+ "identityHash" : "816e3f69c829acf281b31ac82e7ba3213bf2",
591
+ "type" : {
592
+ "path" : "/t;hawkular/f;feed_may_exist/mt;mt-124",
593
+ "identityHash" : "dabc11fbfd76774e47c38f91ea832d404cc0df",
594
+ "unit" : "NONE",
595
+ "type" : "GAUGE",
596
+ "collectionInterval" : 60,
597
+ "id" : "mt-124"
598
+ },
599
+ "id" : "m-124"
600
+ }
601
+ http_version:
602
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
603
+ - request:
604
+ method: post
605
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/r;r124/relationship
606
+ body:
607
+ encoding: UTF-8
608
+ string: '[{"otherEnd":"/t;hawkular/f;feed_may_exist/m;m-124","name":"incorporates"}]'
609
+ headers:
610
+ Accept:
611
+ - application/json
612
+ Accept-Encoding:
613
+ - identity
614
+ User-Agent:
615
+ - hawkular-client-ruby
616
+ Hawkular-Tenant:
617
+ - hawkular
618
+ Content-Type:
619
+ - application/json
620
+ Content-Length:
621
+ - '75'
622
+ Host:
623
+ - 127.0.0.1:8443
624
+ response:
625
+ status:
626
+ code: 201
627
+ message: Created
628
+ headers:
629
+ Expires:
630
+ - '0'
631
+ Cache-Control:
632
+ - no-cache, no-store, must-revalidate
633
+ X-Powered-By:
634
+ - Undertow/1
635
+ Server:
636
+ - WildFly/10
637
+ Pragma:
638
+ - no-cache
639
+ Location:
640
+ - https://127.0.0.1:8443/hawkular/inventory/entity/rl;4oisg-38fls-8tn9-38gsg
641
+ Date:
642
+ - Wed, 10 Aug 2016 22:35:51 GMT
643
+ Connection:
644
+ - keep-alive
645
+ Content-Type:
646
+ - application/json
647
+ Content-Length:
648
+ - '173'
649
+ body:
650
+ encoding: UTF-8
651
+ string: |-
652
+ [ {
653
+ "id" : "4oisg-38fls-8tn9-38gsg",
654
+ "name" : "incorporates",
655
+ "source" : "/t;hawkular/f;feed_may_exist/r;r124",
656
+ "target" : "/t;hawkular/f;feed_may_exist/m;m-124"
657
+ } ]
658
+ http_version:
659
+ recorded_at: Wed, 10 Aug 2016 22:35:51 GMT
660
+ - request:
661
+ method: post
662
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/metric
663
+ body:
664
+ encoding: UTF-8
665
+ string: '{"id":"m-124-1","name":"Metric1","metricTypePath":"/t;hawkular/f;feed_may_exist/mt;mt-124"}'
666
+ headers:
667
+ Accept:
668
+ - application/json
669
+ Accept-Encoding:
670
+ - identity
671
+ User-Agent:
672
+ - hawkular-client-ruby
673
+ Hawkular-Tenant:
674
+ - hawkular
675
+ Content-Type:
676
+ - application/json
677
+ Content-Length:
678
+ - '91'
679
+ Host:
680
+ - 127.0.0.1:8443
681
+ response:
682
+ status:
683
+ code: 201
684
+ message: Created
685
+ headers:
686
+ Expires:
687
+ - '0'
688
+ Cache-Control:
689
+ - no-cache, no-store, must-revalidate
690
+ X-Powered-By:
691
+ - Undertow/1
692
+ Server:
693
+ - WildFly/10
694
+ Pragma:
695
+ - no-cache
696
+ Location:
697
+ - https://127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/m;m-124-1
698
+ Date:
699
+ - Wed, 10 Aug 2016 22:35:52 GMT
700
+ Connection:
701
+ - keep-alive
702
+ Content-Type:
703
+ - application/json
704
+ Content-Length:
705
+ - '389'
706
+ body:
707
+ encoding: UTF-8
708
+ string: |-
709
+ {
710
+ "path" : "/t;hawkular/f;feed_may_exist/m;m-124-1",
711
+ "name" : "Metric1",
712
+ "identityHash" : "979c135fb98bdc57a1e95a159ec2a24b9caa562",
713
+ "type" : {
714
+ "path" : "/t;hawkular/f;feed_may_exist/mt;mt-124",
715
+ "identityHash" : "dabc11fbfd76774e47c38f91ea832d404cc0df",
716
+ "unit" : "NONE",
717
+ "type" : "GAUGE",
718
+ "collectionInterval" : 60,
719
+ "id" : "mt-124"
720
+ },
721
+ "id" : "m-124-1"
722
+ }
723
+ http_version:
724
+ recorded_at: Wed, 10 Aug 2016 22:35:52 GMT
725
+ - request:
726
+ method: get
727
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/m;m-124-1
728
+ body:
729
+ encoding: US-ASCII
730
+ string: ''
731
+ headers:
732
+ Accept:
733
+ - application/json
734
+ Accept-Encoding:
735
+ - identity
736
+ User-Agent:
737
+ - hawkular-client-ruby
738
+ Hawkular-Tenant:
739
+ - hawkular
740
+ Content-Type:
741
+ - application/json
742
+ Host:
743
+ - 127.0.0.1:8443
744
+ response:
745
+ status:
746
+ code: 200
747
+ message: OK
748
+ headers:
749
+ Expires:
750
+ - '0'
751
+ Cache-Control:
752
+ - no-cache, no-store, must-revalidate
753
+ X-Powered-By:
754
+ - Undertow/1
755
+ Server:
756
+ - WildFly/10
757
+ Pragma:
758
+ - no-cache
759
+ Date:
760
+ - Wed, 10 Aug 2016 22:35:52 GMT
761
+ Connection:
762
+ - keep-alive
763
+ Content-Type:
764
+ - application/json
765
+ Content-Length:
766
+ - '478'
767
+ body:
768
+ encoding: UTF-8
769
+ string: |-
770
+ {
771
+ "path" : "/t;hawkular/f;feed_may_exist/m;m-124-1",
772
+ "properties" : {
773
+ "__identityHash" : "979c135fb98bdc57a1e95a159ec2a24b9caa562"
774
+ },
775
+ "name" : "Metric1",
776
+ "identityHash" : "979c135fb98bdc57a1e95a159ec2a24b9caa562",
777
+ "type" : {
778
+ "path" : "/t;hawkular/f;feed_may_exist/mt;mt-124",
779
+ "identityHash" : "dabc11fbfd76774e47c38f91ea832d404cc0df",
780
+ "unit" : "NONE",
781
+ "type" : "GAUGE",
782
+ "collectionInterval" : 60,
783
+ "id" : "mt-124"
784
+ },
785
+ "id" : "m-124-1"
786
+ }
787
+ http_version:
788
+ recorded_at: Wed, 10 Aug 2016 22:35:52 GMT
789
+ - request:
790
+ method: post
791
+ uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/r;r124/relationship
792
+ body:
793
+ encoding: UTF-8
794
+ string: '[{"otherEnd":"/t;hawkular/f;feed_may_exist/m;m-124-1","name":"incorporates"}]'
795
+ headers:
796
+ Accept:
797
+ - application/json
798
+ Accept-Encoding:
799
+ - identity
800
+ User-Agent:
801
+ - hawkular-client-ruby
802
+ Hawkular-Tenant:
803
+ - hawkular
804
+ Content-Type:
805
+ - application/json
806
+ Content-Length:
807
+ - '77'
808
+ Host:
809
+ - 127.0.0.1:8443
810
+ response:
811
+ status:
812
+ code: 201
813
+ message: Created
814
+ headers:
815
+ Expires:
816
+ - '0'
817
+ Cache-Control:
818
+ - no-cache, no-store, must-revalidate
819
+ X-Powered-By:
820
+ - Undertow/1
821
+ Server:
822
+ - WildFly/10
823
+ Pragma:
824
+ - no-cache
825
+ Location:
826
+ - https://127.0.0.1:8443/hawkular/inventory/entity/rl;4oja8-38fls-8tn9-38hds
827
+ Date:
828
+ - Wed, 10 Aug 2016 22:35:52 GMT
829
+ Connection:
830
+ - keep-alive
831
+ Content-Type:
832
+ - application/json
833
+ Content-Length:
834
+ - '175'
835
+ body:
836
+ encoding: UTF-8
837
+ string: |-
838
+ [ {
839
+ "id" : "4oja8-38fls-8tn9-38hds",
840
+ "name" : "incorporates",
841
+ "source" : "/t;hawkular/f;feed_may_exist/r;r124",
842
+ "target" : "/t;hawkular/f;feed_may_exist/m;m-124-1"
843
+ } ]
844
+ http_version:
845
+ recorded_at: Wed, 10 Aug 2016 22:35:52 GMT
846
+ recorded_with: VCR 3.0.3