hawkular-client 2.9.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (340) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.rdoc +27 -0
  3. data/README.rdoc +14 -14
  4. data/lib/hawkular/alerts/alerts_api.rb +43 -7
  5. data/lib/hawkular/client_utils.rb +0 -3
  6. data/lib/hawkular/hawkular_client.rb +1 -1
  7. data/lib/hawkular/inventory/entities.rb +55 -19
  8. data/lib/hawkular/inventory/inventory_api.rb +313 -412
  9. data/lib/hawkular/metrics/metric_api.rb +5 -2
  10. data/lib/hawkular/operations/operations_api.rb +0 -8
  11. data/lib/hawkular/tokens/tokens_api.rb +0 -3
  12. data/lib/hawkular/version.rb +1 -1
  13. metadata +3 -647
  14. data/.coveralls.yml +0 -1
  15. data/.gitignore +0 -56
  16. data/.rubocop.yml +0 -32
  17. data/.travis.yml +0 -20
  18. data/.travis/start_hawkular_services.sh +0 -21
  19. data/.travis/wait_for_services.rb +0 -39
  20. data/.yardopts +0 -1
  21. data/Gemfile +0 -2
  22. data/Rakefile +0 -20
  23. data/api_breaking_changes.rdoc +0 -84
  24. data/docker-compose.yml +0 -17
  25. data/hawkularclient.gemspec +0 -43
  26. data/spec/README.rdoc +0 -62
  27. data/spec/integration/alert-resources/alerts-test-data.json +0 -40
  28. data/spec/integration/alert-resources/events-test-data.json +0 -78
  29. data/spec/integration/alert-resources/triggers-test-data.json +0 -66
  30. data/spec/integration/alerts_spec.rb +0 -774
  31. data/spec/integration/env_config_spec.rb +0 -39
  32. data/spec/integration/hawkular_client_spec.rb +0 -304
  33. data/spec/integration/hello-world-definitions.json +0 -45
  34. data/spec/integration/inventory_spec.rb +0 -680
  35. data/spec/integration/logger_spec.rb +0 -36
  36. data/spec/integration/metric_spec.rb +0 -953
  37. data/spec/integration/operations_spec.rb +0 -591
  38. data/spec/integration/tokens_spec.rb +0 -49
  39. data/spec/resources/driver.jar +0 -0
  40. data/spec/resources/sample.war +0 -0
  41. data/spec/spec_helper.rb +0 -336
  42. data/spec/unit/base_spec.rb +0 -256
  43. data/spec/unit/canonical_path_spec.rb +0 -102
  44. data/spec/unit/client_spec.rb +0 -55
  45. data/spec/unit/deprecations_spec.rb +0 -19
  46. data/spec/vcr/vcr_setup.rb +0 -16
  47. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_acknowledge_an_alert.yml +0 -205
  48. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_add_tags_to_existing_alert.yml +0 -210
  49. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_fetch_single_alert.yml +0 -108
  50. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts.yml +0 -59
  51. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts_for_trigger.yml +0 -58
  52. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts_for_unknown_trigger.yml +0 -50
  53. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_open_alerts.yml +0 -59
  54. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_remove_tags_from_existing_alert.yml +0 -257
  55. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_resolve_an_alert.yml +0 -207
  56. data/spec/vcr_cassettes/Alert/Alerts/Templates/setup.yml +0 -255
  57. data/spec/vcr_cassettes/Alert/Alerts/Templates/setup_cleanup.yml +0 -302
  58. data/spec/vcr_cassettes/Alert/EndToEnd/Templates/Should_create_and_fire_a_trigger.yml +0 -527
  59. data/spec/vcr_cassettes/Alert/Events/Templates/Should_create_an_event.yml +0 -101
  60. data/spec/vcr_cassettes/Alert/Events/Templates/Should_delete_an_event.yml +0 -148
  61. data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events.yml +0 -91
  62. data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events_using_criteria.yml +0 -60
  63. data/spec/vcr_cassettes/Alert/Events/Templates/Should_not_list_events_using_criteria.yml +0 -50
  64. data/spec/vcr_cassettes/Alert/Events/Templates/setup.yml +0 -615
  65. data/spec/vcr_cassettes/Alert/Events/Templates/setup_cleanup.yml +0 -567
  66. data/spec/vcr_cassettes/Alert/Groups/Templates/Should_operate_a_complex_group_trigger.yml +0 -1882
  67. data/spec/vcr_cassettes/Alert/Templates/Should_return_the_version.yml +0 -42
  68. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers.yml +0 -55
  69. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_ID.yml +0 -56
  70. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tag.yml +0 -56
  71. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tags.yml +0 -56
  72. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_bulk_load_triggers.yml +0 -243
  73. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_create_a_basic_trigger_with_action.yml +0 -386
  74. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_create_a_firing_ALL_ANY_trigger.yml +0 -483
  75. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_create_an_action.yml +0 -146
  76. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_Trigger_with_conditions.yml +0 -144
  77. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_metric_Trigger.yml +0 -50
  78. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_the_action_definitions.yml +0 -228
  79. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_not_create_an_action_for_unknown_plugin.yml +0 -50
  80. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_not_create_an_action_for_unknown_properties.yml +0 -100
  81. data/spec/vcr_cassettes/Alert/Triggers/Templates/setup.yml +0 -52
  82. data/spec/vcr_cassettes/Alert/Triggers/Templates/setup_cleanup.yml +0 -285
  83. data/spec/vcr_cassettes/HawkularClient/Should_err_on_bad_credentials.yml +0 -42
  84. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +0 -317
  85. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml +0 -103
  86. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_types_with_bad_feed.yml +0 -103
  87. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +0 -325
  88. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml +0 -117
  89. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +0 -111
  90. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_retrieve_tags_for_Availability.yml +0 -155
  91. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_return_Availability_using_Hash_parameter.yml +0 -155
  92. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_return_the_version.yml +0 -89
  93. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_work_the_same_way_when_pushing_metric_data_to_non-existing_counter.yml +0 -114
  94. data/spec/vcr_cassettes/HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml +0 -158
  95. data/spec/vcr_cassettes/HawkularClient/and_Operations_client/Should_work_initializing_with_URI.yml +0 -48
  96. data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +0 -44
  97. data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_work_initializing_with_URI.json +0 -9
  98. data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI.yml +0 -169
  99. data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI_on_metrics_client.yml +0 -42
  100. data/spec/vcr_cassettes/Inventory/NonSecure/Connection/Templates/Should_err_on_bad_credentials.yml +0 -44
  101. data/spec/vcr_cassettes/Inventory/NonSecure/Tenants/Templates/Should_Get_Tenant_For_Explicit_Credentials.yml +0 -101
  102. data/spec/vcr_cassettes/Inventory/NonSecure/Tenants/Templates/Should_Get_Tenant_For_Implicit_Credentials.yml +0 -101
  103. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Client_should_listen_on_various_inventory_events.json +0 -47
  104. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.yml +0 -207
  105. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Helpers/create_url.yml +0 -52
  106. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +0 -411
  107. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Helpers/get_feeds.yml +0 -62
  108. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +0 -133
  109. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_feed.yml +0 -59
  110. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_feed_again.yml +0 -181
  111. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +0 -664
  112. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_resource.yml +0 -360
  113. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_resource_with_metric.yml +0 -846
  114. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_resourcetype.yml +0 -169
  115. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_and_delete_feed.yml +0 -166
  116. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +0 -420
  117. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +0 -132
  118. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_have_a_consistent_behaviour_when_creating_an_already_existing_resource.yml +0 -714
  119. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_have_the_same_requested_metric_type_id.yml +0 -73
  120. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_URLs.yml +0 -90
  121. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_WildFlys.yml +0 -70
  122. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +0 -138
  123. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_all_the_resource_types.yml +0 -59
  124. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +0 -333
  125. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_children_of_nested_resource.yml +0 -180
  126. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_feeds.yml +0 -62
  127. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +0 -943
  128. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +0 -361
  129. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +0 -94
  130. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +0 -294
  131. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +0 -871
  132. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +0 -740
  133. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +0 -1117
  134. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +0 -393
  135. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_resources_for_feed.yml +0 -84
  136. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_types_with_bad_feed.yml +0 -55
  137. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_types_with_feed.yml +0 -166
  138. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_not_find_an_unknown_resource.yml +0 -59
  139. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_return_config_data_of_given_nested_resource.yml +0 -66
  140. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +0 -71
  141. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_return_data_from_get_entity.yml +0 -230
  142. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_return_the_version.yml +0 -50
  143. data/spec/vcr_cassettes/Inventory/Secure/Connection/Templates/Should_err_on_bad_credentials.yml +0 -44
  144. data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Explicit_Credentials.yml +0 -101
  145. data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Implicit_Credentials.yml +0 -101
  146. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Client_should_listen_on_various_inventory_events.json +0 -47
  147. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.yml +0 -207
  148. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/create_url.yml +0 -52
  149. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +0 -411
  150. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/get_feeds.yml +0 -62
  151. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +0 -133
  152. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed.yml +0 -59
  153. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed_again.yml +0 -181
  154. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +0 -664
  155. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resource.yml +0 -360
  156. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resource_with_metric.yml +0 -846
  157. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resourcetype.yml +0 -169
  158. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_delete_feed.yml +0 -166
  159. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +0 -420
  160. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +0 -132
  161. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_have_the_same_requested_metric_type_id.yml +0 -73
  162. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_URLs.yml +0 -90
  163. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys.yml +0 -70
  164. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +0 -138
  165. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_all_the_resource_types.yml +0 -59
  166. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +0 -333
  167. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_nested_resource.yml +0 -180
  168. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_feeds.yml +0 -62
  169. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +0 -943
  170. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +0 -361
  171. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +0 -90
  172. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +0 -294
  173. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +0 -871
  174. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +0 -740
  175. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +0 -1117
  176. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +0 -393
  177. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_resources_for_feed.yml +0 -84
  178. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_bad_feed.yml +0 -55
  179. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_feed.yml +0 -166
  180. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_not_find_an_unknown_resource.yml +0 -59
  181. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_nested_resource.yml +0 -66
  182. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +0 -71
  183. data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_the_version.yml +0 -50
  184. data/spec/vcr_cassettes/Inventory/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml +0 -114
  185. data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +0 -132
  186. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +0 -51
  187. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +0 -92
  188. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +0 -101
  189. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +0 -101
  190. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +0 -101
  191. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +0 -50
  192. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +0 -146
  193. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +0 -146
  194. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/setup_client.yml +0 -44
  195. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -83
  196. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -83
  197. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -120
  198. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -200
  199. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -83
  200. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -83
  201. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -200
  202. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -237
  203. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -120
  204. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -83
  205. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -83
  206. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -237
  207. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -120
  208. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_return_periods.yml +0 -81
  209. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -200
  210. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -270
  211. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -237
  212. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Simple/Should_be_Cool.yml +0 -82
  213. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Status/Should_return_the_version.yml +0 -42
  214. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -83
  215. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/All_Tags_for_metrics/Should_fetch_all_metric_tags_for_metrics_definitions.yml +0 -434
  216. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/All_Tags_for_metrics/Should_fetch_all_metrics_with_some_tags.yml +0 -1251
  217. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -99
  218. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
  219. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -138
  220. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -144
  221. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
  222. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/setup_client.yml +0 -44
  223. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
  224. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
  225. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
  226. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +0 -328
  227. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
  228. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -144
  229. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/setup_client.yml +0 -44
  230. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -99
  231. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -99
  232. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -281
  233. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -144
  234. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +0 -97
  235. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +0 -196
  236. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +0 -197
  237. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
  238. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/setup_client.yml +0 -44
  239. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_rate_stats_for_mixed_metric.yml +0 -328
  240. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +0 -363
  241. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -414
  242. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
  243. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -285
  244. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/setup_client.yml +0 -44
  245. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/No_Tenant/Should_fail.yml +0 -89
  246. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Simple/Should_be_Cool.yml +0 -48
  247. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Status/Should_return_the_version.yml +0 -85
  248. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/Should_create_string_definition_using_Hash.yml +0 -99
  249. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/Should_create_string_definition_using_MetricDefinition.yml +0 -99
  250. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/Should_push_metric_data_to_existing_string.yml +0 -281
  251. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/Should_push_metric_data_to_non-existing_string.yml +0 -144
  252. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/setup_client.yml +0 -44
  253. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tags_Metrics/setup_client.yml +0 -44
  254. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +0 -103
  255. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/setup_client.yml +0 -44
  256. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/setup_client.yml +0 -44
  257. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +0 -51
  258. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +0 -92
  259. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +0 -101
  260. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +0 -101
  261. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +0 -101
  262. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +0 -50
  263. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +0 -146
  264. data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +0 -146
  265. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -99
  266. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
  267. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
  268. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -144
  269. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
  270. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
  271. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
  272. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
  273. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +0 -328
  274. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
  275. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -144
  276. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -99
  277. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -99
  278. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -281
  279. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -144
  280. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +0 -97
  281. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +0 -50
  282. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +0 -51
  283. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
  284. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +0 -364
  285. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -373
  286. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
  287. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -285
  288. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/No_Tenant/Should_fail.yml +0 -50
  289. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Simple/Should_be_Cool.yml +0 -48
  290. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Status/Should_return_the_version.yml +0 -44
  291. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +0 -99
  292. data/spec/vcr_cassettes/New_API_Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -230
  293. data/spec/vcr_cassettes/New_API_Mixed_metrics/Should_send_mixed_metric_request.yml +0 -300
  294. data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/agent_properties.yml +0 -124
  295. data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/get_feed.yml +0 -61
  296. data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/get_tenant.yml +0 -55
  297. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_JDBC_driver_should_add_the_driver.json +0 -23
  298. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_XA_datasource_should_be_doable.json +0 -23
  299. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_deployment_should_be_doable.json +0 -23
  300. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_non-XA_datasource_should_be_doable.json +0 -23
  301. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +0 -23
  302. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +0 -23
  303. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +0 -23
  304. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +0 -32
  305. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +0 -23
  306. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +0 -23
  307. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +0 -23
  308. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Update_collection_intervals_should_be_performed_and_eventually_respond_with_success.json +0 -23
  309. data/spec/vcr_cassettes/Operation/NonSecure/Operation/should_not_be_possible_to_perform_on_closed_client.json +0 -12
  310. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +0 -9
  311. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +0 -9
  312. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_no_host.json +0 -3
  313. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established.json +0 -9
  314. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established_via_entrypoint.json +0 -9
  315. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_run_into_error_callback.json +0 -18
  316. data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +0 -13
  317. data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_feed.yml +0 -61
  318. data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_tenant.yml +0 -55
  319. data/spec/vcr_cassettes/Operation/Secure/Operation/Add_JDBC_driver_should_add_the_driver.json +0 -23
  320. data/spec/vcr_cassettes/Operation/Secure/Operation/Add_datasource_should_be_doable.json +0 -23
  321. data/spec/vcr_cassettes/Operation/Secure/Operation/Add_deployment_should_be_doable.json +0 -23
  322. data/spec/vcr_cassettes/Operation/Secure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +0 -23
  323. data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +0 -23
  324. data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +0 -23
  325. data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +0 -32
  326. data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +0 -23
  327. data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +0 -23
  328. data/spec/vcr_cassettes/Operation/Secure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +0 -23
  329. data/spec/vcr_cassettes/Operation/Secure/Operation/should_not_be_possible_to_perform_on_closed_client.json +0 -12
  330. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +0 -9
  331. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +0 -9
  332. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_no_host.json +0 -3
  333. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established.json +0 -9
  334. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established_via_entrypoint.json +0 -9
  335. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback.json +0 -18
  336. data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +0 -13
  337. data/spec/vcr_cassettes/Tokens/Should_be_able_to_create_a_new_token_for_an_actual_user.yml +0 -57
  338. data/spec/vcr_cassettes/Tokens/Should_be_able_to_list_the_available_tokens.yml +0 -49
  339. data/spec/vcr_cassettes/Tokens/Should_get_a_401_when_attempting_to_create_a_token_with_a_wrong_password.yml +0 -56
  340. data/spec/vcr_cassettes/Tokens/Should_get_a_401_when_attempting_to_create_a_token_without_a_password.yml +0 -55
@@ -1,132 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS
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
- - localhost:8080
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
- - Tue, 30 Aug 2016 15:25:02 GMT
39
- Connection:
40
- - keep-alive
41
- Content-Type:
42
- - application/json
43
- Content-Length:
44
- - '759'
45
- body:
46
- encoding: UTF-8
47
- string: |-
48
- {
49
- "path" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS",
50
- "name" : "Datasource [ExampleDS]",
51
- "identityHash" : "b1ad1d93643dccfbd37acdeb9d5f9c7de3294eb",
52
- "contentHash" : "b58b567684c11abcad41d4c9987f5ab7dcc91e9b",
53
- "syncHash" : "a43968939bf36bfeeeb7cb5845b8cd749e462df",
54
- "type" : {
55
- "path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Datasource",
56
- "name" : "Datasource",
57
- "identityHash" : "b3291af08b396960f425871b493b6d9ee97e339f",
58
- "contentHash" : "546c2a207bd841a0c2d94a6ae8a87371c36ffa9f",
59
- "syncHash" : "f65ba261ef70efe3812e95a9ecb68d4fb6f3157",
60
- "id" : "Datasource"
61
- },
62
- "id" : "Local~/subsystem=datasources/data-source=ExampleDS"
63
- }
64
- http_version:
65
- recorded_at: Tue, 30 Aug 2016 15:25:02 GMT
66
- - request:
67
- method: get
68
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/d;configuration
69
- body:
70
- encoding: US-ASCII
71
- string: ''
72
- headers:
73
- Accept:
74
- - application/json
75
- Accept-Encoding:
76
- - identity
77
- User-Agent:
78
- - hawkular-client-ruby
79
- Hawkular-Tenant:
80
- - hawkular
81
- Content-Type:
82
- - application/json
83
- Host:
84
- - localhost:8080
85
- response:
86
- status:
87
- code: 200
88
- message: OK
89
- headers:
90
- Expires:
91
- - '0'
92
- Cache-Control:
93
- - no-cache, no-store, must-revalidate
94
- X-Powered-By:
95
- - Undertow/1
96
- Server:
97
- - WildFly/10
98
- Pragma:
99
- - no-cache
100
- Date:
101
- - Tue, 30 Aug 2016 15:25:02 GMT
102
- Connection:
103
- - keep-alive
104
- Content-Type:
105
- - application/json
106
- Content-Length:
107
- - '740'
108
- body:
109
- encoding: UTF-8
110
- string: |-
111
- {
112
- "path" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/d;configuration",
113
- "name" : "configuration",
114
- "identityHash" : "823ca07d76929e39fc468d25111455355aa81a8",
115
- "contentHash" : "20125a70ce2d55719321b336bf632eb518bcb4a",
116
- "syncHash" : "765d944a948b9f54ffe4b98d869f8b6ee16b2121",
117
- "value" : {
118
- "Connection Properties" : null,
119
- "Datasource Class" : null,
120
- "Security Domain" : null,
121
- "Username" : "sa",
122
- "Driver Name" : "h2",
123
- "JNDI Name" : "java:jboss/datasources/ExampleDS",
124
- "Connection URL" : "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE",
125
- "Enabled" : "true",
126
- "Driver Class" : null,
127
- "Password" : "sa"
128
- }
129
- }
130
- http_version:
131
- recorded_at: Tue, 30 Aug 2016 15:25:02 GMT
132
- recorded_with: VCR 3.0.3
@@ -1,714 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/feed
6
- body:
7
- encoding: UTF-8
8
- string: '{"properties":{},"id":"NonSecure_feed_may_exist","name":null,"outgoing":{},"incoming":{}}'
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - identity
14
- User-Agent:
15
- - hawkular-client-ruby
16
- Hawkular-Tenant:
17
- - hawkular
18
- Content-Type:
19
- - application/json
20
- Content-Length:
21
- - '89'
22
- Host:
23
- - localhost:8080
24
- response:
25
- status:
26
- code: 201
27
- message: Created
28
- headers:
29
- Expires:
30
- - '0'
31
- Cache-Control:
32
- - no-cache, no-store, must-revalidate
33
- X-Powered-By:
34
- - Undertow/1
35
- Server:
36
- - WildFly/10
37
- Pragma:
38
- - no-cache
39
- Location:
40
- - http://localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist
41
- Date:
42
- - Thu, 05 Jan 2017 17:54:24 GMT
43
- Connection:
44
- - keep-alive
45
- Content-Type:
46
- - application/json
47
- Content-Length:
48
- - '271'
49
- body:
50
- encoding: UTF-8
51
- string: |-
52
- {
53
- "path" : "/t;hawkular/f;NonSecure_feed_may_exist",
54
- "identityHash" : "353d88f09127d8b924e48c6daf58ee242f5fdf",
55
- "contentHash" : "da39a3ee5e6b4bd3255bfef95601890afd879",
56
- "syncHash" : "375bd5f424eda759c01f5bdf1334719abf2740c7",
57
- "id" : "NonSecure_feed_may_exist"
58
- }
59
- http_version:
60
- recorded_at: Thu, 05 Jan 2017 17:54:24 GMT
61
- - request:
62
- method: post
63
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/resourceType
64
- body:
65
- encoding: UTF-8
66
- string: '{"properties":{},"id":"rt-123","name":"ResourceType","outgoing":{},"incoming":{}}'
67
- headers:
68
- Accept:
69
- - application/json
70
- Accept-Encoding:
71
- - identity
72
- User-Agent:
73
- - hawkular-client-ruby
74
- Hawkular-Tenant:
75
- - hawkular
76
- Content-Type:
77
- - application/json
78
- Content-Length:
79
- - '81'
80
- Host:
81
- - localhost:8080
82
- response:
83
- status:
84
- code: 201
85
- message: Created
86
- headers:
87
- Expires:
88
- - '0'
89
- Cache-Control:
90
- - no-cache, no-store, must-revalidate
91
- X-Powered-By:
92
- - Undertow/1
93
- Server:
94
- - WildFly/10
95
- Pragma:
96
- - no-cache
97
- Location:
98
- - http://localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/rt;rt-123
99
- Date:
100
- - Thu, 05 Jan 2017 17:54:24 GMT
101
- Connection:
102
- - keep-alive
103
- Content-Type:
104
- - application/json
105
- Content-Length:
106
- - '290'
107
- body:
108
- encoding: UTF-8
109
- string: |-
110
- {
111
- "path" : "/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123",
112
- "name" : "ResourceType",
113
- "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
114
- "contentHash" : "1b49accb63cf5aa916f3ee6d952a85fe27725b",
115
- "syncHash" : "59e97c8fa23e2ad25994ed7a136127fbbaf9e3b",
116
- "id" : "rt-123"
117
- }
118
- http_version:
119
- recorded_at: Thu, 05 Jan 2017 17:54:24 GMT
120
- - request:
121
- method: get
122
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/rt;rt-123
123
- body:
124
- encoding: US-ASCII
125
- string: ''
126
- headers:
127
- Accept:
128
- - application/json
129
- Accept-Encoding:
130
- - identity
131
- User-Agent:
132
- - hawkular-client-ruby
133
- Hawkular-Tenant:
134
- - hawkular
135
- Content-Type:
136
- - application/json
137
- Host:
138
- - localhost:8080
139
- response:
140
- status:
141
- code: 200
142
- message: OK
143
- headers:
144
- Expires:
145
- - '0'
146
- Cache-Control:
147
- - no-cache, no-store, must-revalidate
148
- X-Powered-By:
149
- - Undertow/1
150
- Server:
151
- - WildFly/10
152
- Pragma:
153
- - no-cache
154
- Date:
155
- - Thu, 05 Jan 2017 17:54:24 GMT
156
- Connection:
157
- - keep-alive
158
- Content-Type:
159
- - application/json
160
- Content-Length:
161
- - '290'
162
- body:
163
- encoding: UTF-8
164
- string: |-
165
- {
166
- "path" : "/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123",
167
- "name" : "ResourceType",
168
- "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
169
- "contentHash" : "1b49accb63cf5aa916f3ee6d952a85fe27725b",
170
- "syncHash" : "59e97c8fa23e2ad25994ed7a136127fbbaf9e3b",
171
- "id" : "rt-123"
172
- }
173
- http_version:
174
- recorded_at: Thu, 05 Jan 2017 17:54:24 GMT
175
- - request:
176
- method: post
177
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/resource
178
- body:
179
- encoding: UTF-8
180
- string: '{"properties":{"version":1.0},"id":"r999","name":"My Resource","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123"}'
181
- headers:
182
- Accept:
183
- - application/json
184
- Accept-Encoding:
185
- - identity
186
- User-Agent:
187
- - hawkular-client-ruby
188
- Hawkular-Tenant:
189
- - hawkular
190
- Content-Type:
191
- - application/json
192
- Content-Length:
193
- - '161'
194
- Host:
195
- - localhost:8080
196
- response:
197
- status:
198
- code: 201
199
- message: Created
200
- headers:
201
- Expires:
202
- - '0'
203
- Cache-Control:
204
- - no-cache, no-store, must-revalidate
205
- X-Powered-By:
206
- - Undertow/1
207
- Server:
208
- - WildFly/10
209
- Pragma:
210
- - no-cache
211
- Location:
212
- - http://localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/r;r999
213
- Date:
214
- - Thu, 05 Jan 2017 17:54:24 GMT
215
- Connection:
216
- - keep-alive
217
- Content-Type:
218
- - application/json
219
- Content-Length:
220
- - '649'
221
- body:
222
- encoding: UTF-8
223
- string: |-
224
- {
225
- "path" : "/t;hawkular/f;NonSecure_feed_may_exist/r;r999",
226
- "properties" : {
227
- "version" : 1.0
228
- },
229
- "name" : "My Resource",
230
- "identityHash" : "a1699b33d9c8e63357ba65e5cf59b2c46552cb45",
231
- "contentHash" : "72591f28d2c8c7fe844cd85796463541cfb4c8f",
232
- "syncHash" : "f55a78843cc58b52a3b114e9718b8aee6dbc2961",
233
- "type" : {
234
- "path" : "/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123",
235
- "name" : "ResourceType",
236
- "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
237
- "contentHash" : "1b49accb63cf5aa916f3ee6d952a85fe27725b",
238
- "syncHash" : "59e97c8fa23e2ad25994ed7a136127fbbaf9e3b",
239
- "id" : "rt-123"
240
- },
241
- "id" : "r999"
242
- }
243
- http_version:
244
- recorded_at: Thu, 05 Jan 2017 17:54:24 GMT
245
- - request:
246
- method: post
247
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/resource
248
- body:
249
- encoding: UTF-8
250
- string: '{"properties":{"version":1.0},"id":"r999","name":"My Resource","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123"}'
251
- headers:
252
- Accept:
253
- - application/json
254
- Accept-Encoding:
255
- - identity
256
- User-Agent:
257
- - hawkular-client-ruby
258
- Hawkular-Tenant:
259
- - hawkular
260
- Content-Type:
261
- - application/json
262
- Content-Length:
263
- - '161'
264
- Host:
265
- - localhost:8080
266
- response:
267
- status:
268
- code: 409
269
- message: Conflict
270
- headers:
271
- Expires:
272
- - '0'
273
- Cache-Control:
274
- - no-cache, no-store, must-revalidate
275
- X-Powered-By:
276
- - Undertow/1
277
- Server:
278
- - WildFly/10
279
- Pragma:
280
- - no-cache
281
- Date:
282
- - Thu, 05 Jan 2017 17:54:24 GMT
283
- Connection:
284
- - keep-alive
285
- Content-Type:
286
- - application/json
287
- Content-Length:
288
- - '830'
289
- body:
290
- encoding: UTF-8
291
- string: |-
292
- {
293
- "errorMsg" : "Entity with id 'r999' already exists at some of the positions: [[Types[Tenant], Ids[hawkular], Related[, rel='contains', role=SOURCE], Types[Feed], Ids[NonSecure_feed_may_exist], Related[, rel='contains', role=SOURCE], Types[Resource], Ids[r999]]]",
294
- "details" : {
295
- "entityId" : "r999",
296
- "paths" : [ [ {
297
- "types" : [ "org.hawkular.inventory.api.model.Tenant" ]
298
- }, {
299
- "ids" : [ "hawkular" ]
300
- }, {
301
- "relationshipName" : "contains",
302
- "entityRole" : "SOURCE"
303
- }, {
304
- "types" : [ "org.hawkular.inventory.api.model.Feed" ]
305
- }, {
306
- "ids" : [ "NonSecure_feed_may_exist" ]
307
- }, {
308
- "relationshipName" : "contains",
309
- "entityRole" : "SOURCE"
310
- }, {
311
- "types" : [ "org.hawkular.inventory.api.model.Resource" ]
312
- }, {
313
- "ids" : [ "r999" ]
314
- } ] ]
315
- }
316
- }
317
- http_version:
318
- recorded_at: Thu, 05 Jan 2017 17:54:24 GMT
319
- - request:
320
- method: get
321
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/r;r999
322
- body:
323
- encoding: US-ASCII
324
- string: ''
325
- headers:
326
- Accept:
327
- - application/json
328
- Accept-Encoding:
329
- - identity
330
- User-Agent:
331
- - hawkular-client-ruby
332
- Hawkular-Tenant:
333
- - hawkular
334
- Content-Type:
335
- - application/json
336
- Host:
337
- - localhost:8080
338
- response:
339
- status:
340
- code: 200
341
- message: OK
342
- headers:
343
- Expires:
344
- - '0'
345
- Cache-Control:
346
- - no-cache, no-store, must-revalidate
347
- X-Powered-By:
348
- - Undertow/1
349
- Server:
350
- - WildFly/10
351
- Pragma:
352
- - no-cache
353
- Date:
354
- - Thu, 05 Jan 2017 17:54:24 GMT
355
- Connection:
356
- - keep-alive
357
- Content-Type:
358
- - application/json
359
- Content-Length:
360
- - '649'
361
- body:
362
- encoding: UTF-8
363
- string: |-
364
- {
365
- "path" : "/t;hawkular/f;NonSecure_feed_may_exist/r;r999",
366
- "properties" : {
367
- "version" : 1.0
368
- },
369
- "name" : "My Resource",
370
- "identityHash" : "a1699b33d9c8e63357ba65e5cf59b2c46552cb45",
371
- "contentHash" : "72591f28d2c8c7fe844cd85796463541cfb4c8f",
372
- "syncHash" : "f55a78843cc58b52a3b114e9718b8aee6dbc2961",
373
- "type" : {
374
- "path" : "/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123",
375
- "name" : "ResourceType",
376
- "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
377
- "contentHash" : "1b49accb63cf5aa916f3ee6d952a85fe27725b",
378
- "syncHash" : "59e97c8fa23e2ad25994ed7a136127fbbaf9e3b",
379
- "id" : "rt-123"
380
- },
381
- "id" : "r999"
382
- }
383
- http_version:
384
- recorded_at: Thu, 05 Jan 2017 17:54:24 GMT
385
- - request:
386
- method: get
387
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/r;r999/d;configuration
388
- body:
389
- encoding: US-ASCII
390
- string: ''
391
- headers:
392
- Accept:
393
- - application/json
394
- Accept-Encoding:
395
- - identity
396
- User-Agent:
397
- - hawkular-client-ruby
398
- Hawkular-Tenant:
399
- - hawkular
400
- Content-Type:
401
- - application/json
402
- Host:
403
- - localhost:8080
404
- response:
405
- status:
406
- code: 404
407
- message: Not Found
408
- headers:
409
- Expires:
410
- - '0'
411
- Cache-Control:
412
- - no-cache, no-store, must-revalidate
413
- X-Powered-By:
414
- - Undertow/1
415
- Server:
416
- - WildFly/10
417
- Pragma:
418
- - no-cache
419
- Date:
420
- - Thu, 05 Jan 2017 17:54:24 GMT
421
- Connection:
422
- - keep-alive
423
- Content-Type:
424
- - application/json
425
- Content-Length:
426
- - '320'
427
- body:
428
- encoding: UTF-8
429
- string: |-
430
- {
431
- "errorMsg" : "No DataEntity found on any of the following paths: [[CanonicalPaths[/t;hawkular/f;NonSecure_feed_may_exist/r;r999/d;configuration]]]",
432
- "details" : {
433
- "entityType" : "DataEntity",
434
- "path" : [ [ {
435
- "paths" : [ "/t;hawkular/f;NonSecure_feed_may_exist/r;r999/d;configuration" ]
436
- } ] ]
437
- }
438
- }
439
- http_version:
440
- recorded_at: Thu, 05 Jan 2017 17:54:24 GMT
441
- - request:
442
- method: post
443
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/r;r999/resource
444
- body:
445
- encoding: UTF-8
446
- string: '{"properties":{"version":1.0},"id":"r1000","name":"My Resource","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123"}'
447
- headers:
448
- Accept:
449
- - application/json
450
- Accept-Encoding:
451
- - identity
452
- User-Agent:
453
- - hawkular-client-ruby
454
- Hawkular-Tenant:
455
- - hawkular
456
- Content-Type:
457
- - application/json
458
- Content-Length:
459
- - '162'
460
- Host:
461
- - localhost:8080
462
- response:
463
- status:
464
- code: 201
465
- message: Created
466
- headers:
467
- Expires:
468
- - '0'
469
- Cache-Control:
470
- - no-cache, no-store, must-revalidate
471
- X-Powered-By:
472
- - Undertow/1
473
- Server:
474
- - WildFly/10
475
- Pragma:
476
- - no-cache
477
- Location:
478
- - http://localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/r;r999/r;r1000
479
- Date:
480
- - Thu, 05 Jan 2017 17:54:24 GMT
481
- Connection:
482
- - keep-alive
483
- Content-Type:
484
- - application/json
485
- Content-Length:
486
- - '657'
487
- body:
488
- encoding: UTF-8
489
- string: |-
490
- {
491
- "path" : "/t;hawkular/f;NonSecure_feed_may_exist/r;r999/r;r1000",
492
- "properties" : {
493
- "version" : 1.0
494
- },
495
- "name" : "My Resource",
496
- "identityHash" : "5c5259d4c6ae817c118d2bd9ab4595cb402da40",
497
- "contentHash" : "3193964b5578ac51533be1b493b3dc0123a4b4a",
498
- "syncHash" : "89e5fdccc4a7d979a4bc3b1a20c842d9d4205113",
499
- "type" : {
500
- "path" : "/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123",
501
- "name" : "ResourceType",
502
- "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
503
- "contentHash" : "1b49accb63cf5aa916f3ee6d952a85fe27725b",
504
- "syncHash" : "59e97c8fa23e2ad25994ed7a136127fbbaf9e3b",
505
- "id" : "rt-123"
506
- },
507
- "id" : "r1000"
508
- }
509
- http_version:
510
- recorded_at: Thu, 05 Jan 2017 17:54:24 GMT
511
- - request:
512
- method: post
513
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/r;r999/resource
514
- body:
515
- encoding: UTF-8
516
- string: '{"properties":{"version":1.0},"id":"r1000","name":"My Resource","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123"}'
517
- headers:
518
- Accept:
519
- - application/json
520
- Accept-Encoding:
521
- - identity
522
- User-Agent:
523
- - hawkular-client-ruby
524
- Hawkular-Tenant:
525
- - hawkular
526
- Content-Type:
527
- - application/json
528
- Content-Length:
529
- - '162'
530
- Host:
531
- - localhost:8080
532
- response:
533
- status:
534
- code: 409
535
- message: Conflict
536
- headers:
537
- Expires:
538
- - '0'
539
- Cache-Control:
540
- - no-cache, no-store, must-revalidate
541
- X-Powered-By:
542
- - Undertow/1
543
- Server:
544
- - WildFly/10
545
- Pragma:
546
- - no-cache
547
- Date:
548
- - Thu, 05 Jan 2017 17:54:24 GMT
549
- Connection:
550
- - keep-alive
551
- Content-Type:
552
- - application/json
553
- Content-Length:
554
- - '1087'
555
- body:
556
- encoding: UTF-8
557
- string: |-
558
- {
559
- "errorMsg" : "Entity with id 'r1000' already exists at some of the positions: [[Types[Tenant], Ids[hawkular], Related[, rel='contains', role=SOURCE], Types[Feed], Ids[NonSecure_feed_may_exist], Related[, rel='contains', role=SOURCE], Types[Resource], Ids[r999], Related[, rel='contains', role=SOURCE], Types[Resource], Ids[r1000]]]",
560
- "details" : {
561
- "entityId" : "r1000",
562
- "paths" : [ [ {
563
- "types" : [ "org.hawkular.inventory.api.model.Tenant" ]
564
- }, {
565
- "ids" : [ "hawkular" ]
566
- }, {
567
- "relationshipName" : "contains",
568
- "entityRole" : "SOURCE"
569
- }, {
570
- "types" : [ "org.hawkular.inventory.api.model.Feed" ]
571
- }, {
572
- "ids" : [ "NonSecure_feed_may_exist" ]
573
- }, {
574
- "relationshipName" : "contains",
575
- "entityRole" : "SOURCE"
576
- }, {
577
- "types" : [ "org.hawkular.inventory.api.model.Resource" ]
578
- }, {
579
- "ids" : [ "r999" ]
580
- }, {
581
- "relationshipName" : "contains",
582
- "entityRole" : "SOURCE"
583
- }, {
584
- "types" : [ "org.hawkular.inventory.api.model.Resource" ]
585
- }, {
586
- "ids" : [ "r1000" ]
587
- } ] ]
588
- }
589
- }
590
- http_version:
591
- recorded_at: Thu, 05 Jan 2017 17:54:24 GMT
592
- - request:
593
- method: get
594
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/r;r999/r;r1000
595
- body:
596
- encoding: US-ASCII
597
- string: ''
598
- headers:
599
- Accept:
600
- - application/json
601
- Accept-Encoding:
602
- - identity
603
- User-Agent:
604
- - hawkular-client-ruby
605
- Hawkular-Tenant:
606
- - hawkular
607
- Content-Type:
608
- - application/json
609
- Host:
610
- - localhost:8080
611
- response:
612
- status:
613
- code: 200
614
- message: OK
615
- headers:
616
- Expires:
617
- - '0'
618
- Cache-Control:
619
- - no-cache, no-store, must-revalidate
620
- X-Powered-By:
621
- - Undertow/1
622
- Server:
623
- - WildFly/10
624
- Pragma:
625
- - no-cache
626
- Date:
627
- - Thu, 05 Jan 2017 17:54:24 GMT
628
- Connection:
629
- - keep-alive
630
- Content-Type:
631
- - application/json
632
- Content-Length:
633
- - '657'
634
- body:
635
- encoding: UTF-8
636
- string: |-
637
- {
638
- "path" : "/t;hawkular/f;NonSecure_feed_may_exist/r;r999/r;r1000",
639
- "properties" : {
640
- "version" : 1.0
641
- },
642
- "name" : "My Resource",
643
- "identityHash" : "5c5259d4c6ae817c118d2bd9ab4595cb402da40",
644
- "contentHash" : "3193964b5578ac51533be1b493b3dc0123a4b4a",
645
- "syncHash" : "89e5fdccc4a7d979a4bc3b1a20c842d9d4205113",
646
- "type" : {
647
- "path" : "/t;hawkular/f;NonSecure_feed_may_exist/rt;rt-123",
648
- "name" : "ResourceType",
649
- "identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
650
- "contentHash" : "1b49accb63cf5aa916f3ee6d952a85fe27725b",
651
- "syncHash" : "59e97c8fa23e2ad25994ed7a136127fbbaf9e3b",
652
- "id" : "rt-123"
653
- },
654
- "id" : "r1000"
655
- }
656
- http_version:
657
- recorded_at: Thu, 05 Jan 2017 17:54:24 GMT
658
- - request:
659
- method: get
660
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;NonSecure_feed_may_exist/r;r999/r;r1000/d;configuration
661
- body:
662
- encoding: US-ASCII
663
- string: ''
664
- headers:
665
- Accept:
666
- - application/json
667
- Accept-Encoding:
668
- - identity
669
- User-Agent:
670
- - hawkular-client-ruby
671
- Hawkular-Tenant:
672
- - hawkular
673
- Content-Type:
674
- - application/json
675
- Host:
676
- - localhost:8080
677
- response:
678
- status:
679
- code: 404
680
- message: Not Found
681
- headers:
682
- Expires:
683
- - '0'
684
- Cache-Control:
685
- - no-cache, no-store, must-revalidate
686
- X-Powered-By:
687
- - Undertow/1
688
- Server:
689
- - WildFly/10
690
- Pragma:
691
- - no-cache
692
- Date:
693
- - Thu, 05 Jan 2017 17:54:24 GMT
694
- Connection:
695
- - keep-alive
696
- Content-Type:
697
- - application/json
698
- Content-Length:
699
- - '336'
700
- body:
701
- encoding: UTF-8
702
- string: |-
703
- {
704
- "errorMsg" : "No DataEntity found on any of the following paths: [[CanonicalPaths[/t;hawkular/f;NonSecure_feed_may_exist/r;r999/r;r1000/d;configuration]]]",
705
- "details" : {
706
- "entityType" : "DataEntity",
707
- "path" : [ [ {
708
- "paths" : [ "/t;hawkular/f;NonSecure_feed_may_exist/r;r999/r;r1000/d;configuration" ]
709
- } ] ]
710
- }
711
- }
712
- http_version:
713
- recorded_at: Thu, 05 Jan 2017 17:54:24 GMT
714
- recorded_with: VCR 3.0.3