hawkular-client 2.6.0 → 2.7.0

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