hawkular-client 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.rdoc +12 -0
- data/README.rdoc +5 -3
- data/Rakefile +8 -0
- data/hawkularclient.gemspec +1 -1
- data/lib/hawkular/base_client.rb +19 -1
- data/lib/hawkular/hawkular_client.rb +1 -1
- data/lib/hawkular/hawkular_client_utils.rb +1 -0
- data/lib/hawkular/inventory/entities.rb +234 -0
- data/lib/hawkular/inventory/inventory_api.rb +92 -311
- data/lib/hawkular/metrics/metric_api.rb +23 -10
- data/lib/hawkular/metrics/metrics_client.rb +14 -0
- data/lib/hawkular/operations/operations_api.rb +8 -2
- data/lib/hawkular/version.rb +1 -1
- data/spec/README.rdoc +62 -0
- data/spec/integration/alerts_spec.rb +18 -14
- data/spec/integration/hawkular_client_spec.rb +53 -14
- data/spec/integration/inventory_spec.rb +91 -44
- data/spec/integration/metric_spec.rb +574 -420
- data/spec/integration/operations_spec.rb +78 -5
- data/spec/integration/tokens_spec.rb +8 -4
- data/spec/spec_helper.rb +73 -13
- data/spec/unit/base_spec.rb +30 -1
- data/spec/unit/client_spec.rb +21 -9
- data/spec/vcr_cassettes/HawkularClient/Should_err_on_bad_credentials.yml +42 -0
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +64 -34
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml +27 -43
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_types_with_bad_feed.yml +12 -8
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +144 -64
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml +26 -14
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +20 -158
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml +40 -30
- data/spec/vcr_cassettes/{Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml → HawkularClient/and_Operations_client/Should_work_initializing_with_URI.yml} +18 -20
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +8 -8
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_work_initializing_with_URI.json +9 -0
- data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI.yml +77 -20
- data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI_on_metrics_client.yml +3 -3
- data/spec/vcr_cassettes/Inventory/Connection/Should_err_on_bad_credentials.yml +42 -0
- data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +59 -12
- data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +59 -12
- data/spec/vcr_cassettes/Inventory/{Helpers → inventory_0_17/Helpers}/create_url.yml +9 -7
- data/spec/vcr_cassettes/Inventory/{Templates/Should_list_feeds_when_using_SSL_without_certificate.yml → inventory_0_17/Helpers/get_feeds.yml} +23 -21
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.json +47 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Client_should_listen_on_various_inventory_events.yml +48 -40
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +397 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +129 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_feed.yml +13 -10
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_feed_again.yml +40 -29
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_nested_resource_and_metric_on_it.yml +193 -237
- data/spec/vcr_cassettes/Inventory/{Templates/Should_create_and_get_a_resource.yml → inventory_0_17/Templates/Should_create_a_resource.yml} +86 -172
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_resource_with_metric.yml +296 -158
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_resourcetype.yml +38 -29
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_and_delete_feed.yml +42 -27
- data/spec/vcr_cassettes/Inventory/{Templates/Should_create_a_resource.yml → inventory_0_17/Templates/Should_create_and_get_a_resource.yml} +109 -89
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_URLs.yml +20 -17
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_WildFlys.yml +19 -12
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +131 -0
- data/spec/vcr_cassettes/Inventory/{Helpers/get_feeds.yml → inventory_0_17/Templates/Should_list_all_the_resource_types.yml} +14 -11
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +315 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_children_of_nested_resource.yml +45 -30
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_feeds.yml +16 -10
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml +60 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +935 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +357 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +122 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +292 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +235 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +121 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +1099 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +377 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_resources_for_feed.yml +19 -9
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_types_with_bad_feed.yml +10 -8
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_types_with_feed.yml +164 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_not_find_an_unknown_resource.yml +12 -10
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_return_config_data_of_given_nested_resource.yml +17 -11
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +66 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_return_the_version.yml +48 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Get_metric_definition_by_id.yml +49 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Retrieve_metric_rate_points.yml +88 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_Availability_definition.yml +97 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_Counter_definition.yml +97 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_gauge_definition.yml +97 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_push_metric_data_to_existing_gauge.yml +48 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_update_tags_for_Availability_definition.yml +140 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_update_tags_for_gauge_definition.yml +140 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +93 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +314 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +269 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +269 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +93 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +330 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +273 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +48 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +48 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Status/Should_return_the_version.yml +42 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +95 -0
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +5 -9
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_create_and_return_Availability_using_Hash_parameter.yml +5 -9
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_push_metric_data_to_non-existing_Availability.yml +9 -15
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_update_tags_for_Availability_definition.yml +11 -21
- data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_create_and_return_counter_using_Hash_parameter.yml +5 -9
- data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_create_counter_definition_using_MetricDefinition_parameter.yml +5 -9
- data/spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +200 -0
- data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_push_metric_data_to_existing_counter.yml +16 -28
- data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_push_metric_data_to_non-existing_counter.yml +9 -15
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_create_gauge_definition_using_Hash.yml +5 -9
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_create_gauge_definition_using_MetricDefinition.yml +6 -10
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_push_metric_data_to_existing_gauge.yml +18 -30
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_push_metric_data_to_non-existing_gauge.yml +9 -15
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_return_periods.yml +6 -10
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_update_tags_for_gauge_definition.yml +11 -21
- data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_0_8_0/Templates/Mixed_metrics}/Should_send_mixed_metric_request.yml +19 -33
- data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_0_8_0/Templates/Mixed_metrics}/Should_send_mixed_metric_request_of_a_single_type.yml +19 -31
- data/spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Simple/Should_be_Cool.yml +82 -0
- data/spec/vcr_cassettes/Metrics/{Status.yml → metrics_0_8_0/Templates/Status/Should_return_the_version.yml} +6 -8
- data/spec/vcr_cassettes/{Tenants → Metrics/metrics_0_8_0/Templates/Tenants}/Should_create_and_return_tenant.yml +12 -8
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +95 -0
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_services/Templates/Availability_metrics}/Should_group_contiguous_values.yml +7 -7
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +314 -0
- data/spec/vcr_cassettes/{Counter_metrics/Should_get_metrics_with_limit_and_order.yml → Metrics/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml} +72 -61
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +269 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +93 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +48 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +49 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +230 -0
- data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_services/Templates/Mixed_metrics}/Should_requests_raw_data_for_multiple_metrics.yml +25 -25
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +273 -0
- data/spec/vcr_cassettes/{No_Tenant → Metrics/metrics_services/Templates/No_Tenant}/Should_fail.yml +16 -10
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Simple/Should_be_Cool.yml +48 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Status/Should_return_the_version.yml +42 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +95 -0
- data/spec/vcr_cassettes/{Counter_metrics → New_API_Counter_metrics}/Should_get_metrics_as_bucketed_results.yml +73 -33
- data/spec/vcr_cassettes/New_API_Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
- data/spec/vcr_cassettes/Operation/Helpers/get_feed.yml +17 -11
- data/spec/vcr_cassettes/Operation/Helpers/get_tenant.yml +13 -11
- data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +4 -4
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +13 -0
- metadata +259 -139
- data/spec/vcr_cassettes/Gauge_metrics/Platform_mem.yml +0 -44
- data/spec/vcr_cassettes/Gauge_metrics/Platform_mem_def.yml +0 -45
- data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +0 -4446
- data/spec/vcr_cassettes/Inventory/Templates/Client_should_listen_on_various_inventory_events.json +0 -47
- data/spec/vcr_cassettes/Inventory/Templates/Helpers/generate_some_events_for_websocket.yml +0 -542
- data/spec/vcr_cassettes/Inventory/Templates/Should_List_datasources_with_no_props.yml +0 -174
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_WildFlys_with_props.yml +0 -115
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_all_the_resource_types.yml +0 -126
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_children_of_WildFly.yml +0 -308
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_heap_metrics_for_WildFlys.yml +0 -712
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_for_WildFlys.yml +0 -278
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_metric_type.yml +0 -530
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_resource_type.yml +0 -278
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource.yml +0 -185
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource_type.yml +0 -126
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_recursive_children_of_WildFly.yml +0 -2369
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_relationships_of_WildFly.yml +0 -415
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_feed.yml +0 -124
- data/spec/vcr_cassettes/Inventory/Templates/Should_return_config_data_of_given_resource.yml +0 -57
- data/spec/vcr_cassettes/Simple/Should_be_Cool.yml +0 -208
- data/spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +0 -50
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: http://jdoe
|
|
5
|
+
uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/traversal/f;does%20not%20exist/type=rt
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -10,11 +10,13 @@ http_interactions:
|
|
|
10
10
|
Accept:
|
|
11
11
|
- application/json
|
|
12
12
|
Accept-Encoding:
|
|
13
|
-
-
|
|
13
|
+
- identity
|
|
14
|
+
User-Agent:
|
|
15
|
+
- hawkular-client-ruby
|
|
16
|
+
Hawkular-Tenant:
|
|
17
|
+
- hawkular
|
|
14
18
|
Content-Type:
|
|
15
19
|
- application/json
|
|
16
|
-
User-Agent:
|
|
17
|
-
- Ruby
|
|
18
20
|
response:
|
|
19
21
|
status:
|
|
20
22
|
code: 200
|
|
@@ -31,7 +33,7 @@ http_interactions:
|
|
|
31
33
|
Pragma:
|
|
32
34
|
- no-cache
|
|
33
35
|
Date:
|
|
34
|
-
- Thu,
|
|
36
|
+
- Thu, 14 Jul 2016 16:23:42 GMT
|
|
35
37
|
X-Total-Count:
|
|
36
38
|
- "-1"
|
|
37
39
|
Connection:
|
|
@@ -41,11 +43,11 @@ http_interactions:
|
|
|
41
43
|
Content-Length:
|
|
42
44
|
- '3'
|
|
43
45
|
Link:
|
|
44
|
-
- <http://localhost:8080/hawkular/inventory/
|
|
46
|
+
- <http://localhost:8080/hawkular/inventory/traversal/f;does%20not%20exist/type=rt>;
|
|
45
47
|
rel="current"
|
|
46
48
|
body:
|
|
47
|
-
encoding:
|
|
49
|
+
encoding: UTF-8
|
|
48
50
|
string: "[ ]"
|
|
49
51
|
http_version:
|
|
50
|
-
recorded_at: Thu,
|
|
52
|
+
recorded_at: Thu, 14 Jul 2016 16:23:42 GMT
|
|
51
53
|
recorded_with: VCR 3.0.1
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/type=rt
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Accept:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- identity
|
|
14
|
+
User-Agent:
|
|
15
|
+
- hawkular-client-ruby
|
|
16
|
+
Hawkular-Tenant:
|
|
17
|
+
- hawkular
|
|
18
|
+
Content-Type:
|
|
19
|
+
- application/json
|
|
20
|
+
response:
|
|
21
|
+
status:
|
|
22
|
+
code: 200
|
|
23
|
+
message: OK
|
|
24
|
+
headers:
|
|
25
|
+
Expires:
|
|
26
|
+
- '0'
|
|
27
|
+
Cache-Control:
|
|
28
|
+
- no-cache, no-store, must-revalidate
|
|
29
|
+
X-Powered-By:
|
|
30
|
+
- Undertow/1
|
|
31
|
+
Server:
|
|
32
|
+
- WildFly/10
|
|
33
|
+
Pragma:
|
|
34
|
+
- no-cache
|
|
35
|
+
Date:
|
|
36
|
+
- Thu, 14 Jul 2016 16:23:42 GMT
|
|
37
|
+
X-Total-Count:
|
|
38
|
+
- '22'
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
Content-Type:
|
|
42
|
+
- application/json
|
|
43
|
+
Content-Length:
|
|
44
|
+
- '4632'
|
|
45
|
+
Link:
|
|
46
|
+
- <http://localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/type=rt>;
|
|
47
|
+
rel="current"
|
|
48
|
+
body:
|
|
49
|
+
encoding: UTF-8
|
|
50
|
+
string: |-
|
|
51
|
+
[ {
|
|
52
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Operating%20System",
|
|
53
|
+
"name" : "Operating System",
|
|
54
|
+
"identityHash" : "12ec4befc53b1ed52f39fb292ed1eea8213323",
|
|
55
|
+
"id" : "Operating System"
|
|
56
|
+
}, {
|
|
57
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;File%20Store",
|
|
58
|
+
"name" : "File Store",
|
|
59
|
+
"identityHash" : "1c35dc8269c6fd21df472c92f3d7aaee59fde",
|
|
60
|
+
"id" : "File Store"
|
|
61
|
+
}, {
|
|
62
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Memory",
|
|
63
|
+
"name" : "Memory",
|
|
64
|
+
"identityHash" : "3ed4d86c86c18faa2676e56879af947d776efba",
|
|
65
|
+
"id" : "Memory"
|
|
66
|
+
}, {
|
|
67
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Processor",
|
|
68
|
+
"name" : "Processor",
|
|
69
|
+
"identityHash" : "81d477a597103350cafceab3588c61e5f4895e34",
|
|
70
|
+
"id" : "Processor"
|
|
71
|
+
}, {
|
|
72
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;WildFly%20Server",
|
|
73
|
+
"name" : "WildFly Server",
|
|
74
|
+
"identityHash" : "617542c89b86e3ce52b819c1deae7ca37cf7851",
|
|
75
|
+
"id" : "WildFly Server"
|
|
76
|
+
}, {
|
|
77
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Datasource",
|
|
78
|
+
"name" : "Datasource",
|
|
79
|
+
"identityHash" : "b3291af08b396960f425871b493b6d9ee97e339f",
|
|
80
|
+
"id" : "Datasource"
|
|
81
|
+
}, {
|
|
82
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;JDBC%20Driver",
|
|
83
|
+
"name" : "JDBC Driver",
|
|
84
|
+
"identityHash" : "f9eaf22c8dff1416a34eb4d26a4bc6a99c46af2",
|
|
85
|
+
"id" : "JDBC Driver"
|
|
86
|
+
}, {
|
|
87
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Deployment",
|
|
88
|
+
"name" : "Deployment",
|
|
89
|
+
"identityHash" : "183e79e0462c1f2fc866ba71f5db64c477b5dc",
|
|
90
|
+
"id" : "Deployment"
|
|
91
|
+
}, {
|
|
92
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Servlet",
|
|
93
|
+
"name" : "Servlet",
|
|
94
|
+
"identityHash" : "d844da746834ebfc4aa7782c94eeaea85b4abb74",
|
|
95
|
+
"id" : "Servlet"
|
|
96
|
+
}, {
|
|
97
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Singleton%20EJB",
|
|
98
|
+
"name" : "Singleton EJB",
|
|
99
|
+
"identityHash" : "42f0638e5e8e266d17d2f7e95f35313e96fa9b39",
|
|
100
|
+
"id" : "Singleton EJB"
|
|
101
|
+
}, {
|
|
102
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Message%20Driven%20EJB",
|
|
103
|
+
"name" : "Message Driven EJB",
|
|
104
|
+
"identityHash" : "2eee38e96ef09ab44422a49bc5a8623596a34bc",
|
|
105
|
+
"id" : "Message Driven EJB"
|
|
106
|
+
}, {
|
|
107
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Stateless%20Session%20EJB",
|
|
108
|
+
"name" : "Stateless Session EJB",
|
|
109
|
+
"identityHash" : "8db06fc15c4b85fdfc5843944dde9594652a634",
|
|
110
|
+
"id" : "Stateless Session EJB"
|
|
111
|
+
}, {
|
|
112
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Transaction%20Manager",
|
|
113
|
+
"name" : "Transaction Manager",
|
|
114
|
+
"identityHash" : "2c82df7330b7ae48c43ae5413f9b8857f24a85f",
|
|
115
|
+
"id" : "Transaction Manager"
|
|
116
|
+
}, {
|
|
117
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Messaging%20Server",
|
|
118
|
+
"name" : "Messaging Server",
|
|
119
|
+
"identityHash" : "c21e2c4be8b952d760ef3929652e304bd951ac4e",
|
|
120
|
+
"id" : "Messaging Server"
|
|
121
|
+
}, {
|
|
122
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;JMS%20Topic",
|
|
123
|
+
"name" : "JMS Topic",
|
|
124
|
+
"identityHash" : "75c24027bbd562b062152731fd59a0cee80ffa2",
|
|
125
|
+
"id" : "JMS Topic"
|
|
126
|
+
}, {
|
|
127
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;JMS%20Queue",
|
|
128
|
+
"name" : "JMS Queue",
|
|
129
|
+
"identityHash" : "e231d2d4c8c38b428725c32f4e695fad772c1db8",
|
|
130
|
+
"id" : "JMS Queue"
|
|
131
|
+
}, {
|
|
132
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Hawkular%20WildFly%20Agent",
|
|
133
|
+
"name" : "Hawkular WildFly Agent",
|
|
134
|
+
"identityHash" : "1d7fbc312f708afc4643812f2772e7aabf283328",
|
|
135
|
+
"id" : "Hawkular WildFly Agent"
|
|
136
|
+
}, {
|
|
137
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Socket%20Binding%20Group",
|
|
138
|
+
"name" : "Socket Binding Group",
|
|
139
|
+
"identityHash" : "689259496c606a774ff8d4288893cf656230642d",
|
|
140
|
+
"id" : "Socket Binding Group"
|
|
141
|
+
}, {
|
|
142
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Socket%20Binding",
|
|
143
|
+
"name" : "Socket Binding",
|
|
144
|
+
"identityHash" : "9e8eefdeb8e37da1b2fa96e756b262caeea5",
|
|
145
|
+
"id" : "Socket Binding"
|
|
146
|
+
}, {
|
|
147
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Remote%20Destination%20Outbound%20Socket%20Binding",
|
|
148
|
+
"name" : "Remote Destination Outbound Socket Binding",
|
|
149
|
+
"identityHash" : "35c9cb7b4ea86e90f10e3fe64c6d14d3456ee96",
|
|
150
|
+
"id" : "Remote Destination Outbound Socket Binding"
|
|
151
|
+
}, {
|
|
152
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Infinispan",
|
|
153
|
+
"name" : "Infinispan",
|
|
154
|
+
"identityHash" : "a02a9a0121b9fe564ef869e72765e7f1c56b2a",
|
|
155
|
+
"id" : "Infinispan"
|
|
156
|
+
}, {
|
|
157
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Infinispan%20Cache%20Container",
|
|
158
|
+
"name" : "Infinispan Cache Container",
|
|
159
|
+
"identityHash" : "53f33112d2fa8726fd7a36b3b09827b874f36c2",
|
|
160
|
+
"id" : "Infinispan Cache Container"
|
|
161
|
+
} ]
|
|
162
|
+
http_version:
|
|
163
|
+
recorded_at: Thu, 14 Jul 2016 16:23:42 GMT
|
|
164
|
+
recorded_with: VCR 3.0.1
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: http://jdoe
|
|
5
|
+
uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;*bla%20does%20not%20exist*
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -10,11 +10,13 @@ http_interactions:
|
|
|
10
10
|
Accept:
|
|
11
11
|
- application/json
|
|
12
12
|
Accept-Encoding:
|
|
13
|
-
-
|
|
13
|
+
- identity
|
|
14
|
+
User-Agent:
|
|
15
|
+
- hawkular-client-ruby
|
|
16
|
+
Hawkular-Tenant:
|
|
17
|
+
- hawkular
|
|
14
18
|
Content-Type:
|
|
15
19
|
- application/json
|
|
16
|
-
User-Agent:
|
|
17
|
-
- Ruby
|
|
18
20
|
response:
|
|
19
21
|
status:
|
|
20
22
|
code: 404
|
|
@@ -31,25 +33,25 @@ http_interactions:
|
|
|
31
33
|
Pragma:
|
|
32
34
|
- no-cache
|
|
33
35
|
Date:
|
|
34
|
-
- Thu,
|
|
36
|
+
- Thu, 14 Jul 2016 16:23:47 GMT
|
|
35
37
|
Connection:
|
|
36
38
|
- keep-alive
|
|
37
39
|
Content-Type:
|
|
38
40
|
- application/json
|
|
39
41
|
Content-Length:
|
|
40
|
-
- '
|
|
42
|
+
- '316'
|
|
41
43
|
body:
|
|
42
|
-
encoding:
|
|
44
|
+
encoding: UTF-8
|
|
43
45
|
string: |-
|
|
44
46
|
{
|
|
45
|
-
"errorMsg" : "No Resource found on any of the following paths: [[CanonicalPaths[/t;
|
|
47
|
+
"errorMsg" : "No Resource found on any of the following paths: [[CanonicalPaths[/t;hawkular/f;feed_may_exist/r;%2Abla%20does%20not%20exist%2A]]]",
|
|
46
48
|
"details" : {
|
|
47
49
|
"entityType" : "Resource",
|
|
48
50
|
"path" : [ [ {
|
|
49
|
-
"paths" : [ "/t;
|
|
51
|
+
"paths" : [ "/t;hawkular/f;feed_may_exist/r;%2Abla%20does%20not%20exist%2A" ]
|
|
50
52
|
} ] ]
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
http_version:
|
|
54
|
-
recorded_at: Thu,
|
|
56
|
+
recorded_at: Thu, 14 Jul 2016 16:23:47 GMT
|
|
55
57
|
recorded_with: VCR 3.0.1
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: http://jdoe
|
|
5
|
+
uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/d;configuration
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -10,11 +10,13 @@ http_interactions:
|
|
|
10
10
|
Accept:
|
|
11
11
|
- application/json
|
|
12
12
|
Accept-Encoding:
|
|
13
|
-
-
|
|
13
|
+
- identity
|
|
14
|
+
User-Agent:
|
|
15
|
+
- hawkular-client-ruby
|
|
16
|
+
Hawkular-Tenant:
|
|
17
|
+
- hawkular
|
|
14
18
|
Content-Type:
|
|
15
19
|
- application/json
|
|
16
|
-
User-Agent:
|
|
17
|
-
- Ruby
|
|
18
20
|
response:
|
|
19
21
|
status:
|
|
20
22
|
code: 200
|
|
@@ -31,18 +33,23 @@ http_interactions:
|
|
|
31
33
|
Pragma:
|
|
32
34
|
- no-cache
|
|
33
35
|
Date:
|
|
34
|
-
- Thu,
|
|
36
|
+
- Thu, 14 Jul 2016 16:23:43 GMT
|
|
35
37
|
Connection:
|
|
36
38
|
- keep-alive
|
|
37
39
|
Content-Type:
|
|
38
40
|
- application/json
|
|
39
41
|
Content-Length:
|
|
40
|
-
- '
|
|
42
|
+
- '585'
|
|
41
43
|
body:
|
|
42
|
-
encoding:
|
|
44
|
+
encoding: UTF-8
|
|
43
45
|
string: |-
|
|
44
46
|
{
|
|
45
|
-
"path" : "/t;
|
|
47
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/d;configuration",
|
|
48
|
+
"properties" : {
|
|
49
|
+
"__identityHash" : "db85f6b08996789d6b315151197ef115897dc12"
|
|
50
|
+
},
|
|
51
|
+
"name" : "configuration",
|
|
52
|
+
"identityHash" : "db85f6b08996789d6b315151197ef115897dc12",
|
|
46
53
|
"value" : {
|
|
47
54
|
"Username" : "sa",
|
|
48
55
|
"Driver Name" : "h2",
|
|
@@ -50,9 +57,8 @@ http_interactions:
|
|
|
50
57
|
"Connection URL" : "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE",
|
|
51
58
|
"Enabled" : "true",
|
|
52
59
|
"Password" : "sa"
|
|
53
|
-
}
|
|
54
|
-
"name" : "configuration"
|
|
60
|
+
}
|
|
55
61
|
}
|
|
56
62
|
http_version:
|
|
57
|
-
recorded_at: Thu,
|
|
63
|
+
recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
|
|
58
64
|
recorded_with: VCR 3.0.1
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;<%= feed_uuid %>/r;Local~~/d;configuration
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Accept:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- identity
|
|
14
|
+
User-Agent:
|
|
15
|
+
- hawkular-client-ruby
|
|
16
|
+
Hawkular-Tenant:
|
|
17
|
+
- hawkular
|
|
18
|
+
Content-Type:
|
|
19
|
+
- application/json
|
|
20
|
+
response:
|
|
21
|
+
status:
|
|
22
|
+
code: 200
|
|
23
|
+
message: OK
|
|
24
|
+
headers:
|
|
25
|
+
Expires:
|
|
26
|
+
- '0'
|
|
27
|
+
Cache-Control:
|
|
28
|
+
- no-cache, no-store, must-revalidate
|
|
29
|
+
X-Powered-By:
|
|
30
|
+
- Undertow/1
|
|
31
|
+
Server:
|
|
32
|
+
- WildFly/10
|
|
33
|
+
Pragma:
|
|
34
|
+
- no-cache
|
|
35
|
+
Date:
|
|
36
|
+
- Thu, 14 Jul 2016 16:23:43 GMT
|
|
37
|
+
Connection:
|
|
38
|
+
- keep-alive
|
|
39
|
+
Content-Type:
|
|
40
|
+
- application/json
|
|
41
|
+
Content-Length:
|
|
42
|
+
- '575'
|
|
43
|
+
body:
|
|
44
|
+
encoding: UTF-8
|
|
45
|
+
string: |-
|
|
46
|
+
{
|
|
47
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/d;configuration",
|
|
48
|
+
"properties" : {
|
|
49
|
+
"__identityHash" : "ddeaacb1ef159111b1dfeb215d341e4644f6d78d"
|
|
50
|
+
},
|
|
51
|
+
"name" : "configuration",
|
|
52
|
+
"identityHash" : "ddeaacb1ef159111b1dfeb215d341e4644f6d78d",
|
|
53
|
+
"value" : {
|
|
54
|
+
"Suspend State" : "RUNNING",
|
|
55
|
+
"Bound Address" : "127.0.0.1",
|
|
56
|
+
"Running Mode" : "NORMAL",
|
|
57
|
+
"Node Name" : "localhost",
|
|
58
|
+
"Server State" : "running",
|
|
59
|
+
"Hostname" : "localhost.localdomain",
|
|
60
|
+
"UUID" : "<%= feed_uuid %>",
|
|
61
|
+
"Name" : "localhost"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
http_version:
|
|
65
|
+
recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
|
|
66
|
+
recorded_with: VCR 3.0.1
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/status
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Accept:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- identity
|
|
14
|
+
User-Agent:
|
|
15
|
+
- hawkular-client-ruby
|
|
16
|
+
Hawkular-Tenant:
|
|
17
|
+
- hawkular
|
|
18
|
+
Content-Type:
|
|
19
|
+
- application/json
|
|
20
|
+
response:
|
|
21
|
+
status:
|
|
22
|
+
code: 200
|
|
23
|
+
message: OK
|
|
24
|
+
headers:
|
|
25
|
+
Connection:
|
|
26
|
+
- keep-alive
|
|
27
|
+
X-Powered-By:
|
|
28
|
+
- Undertow/1
|
|
29
|
+
Server:
|
|
30
|
+
- WildFly/10
|
|
31
|
+
Content-Type:
|
|
32
|
+
- application/json
|
|
33
|
+
Content-Length:
|
|
34
|
+
- '234'
|
|
35
|
+
Date:
|
|
36
|
+
- Thu, 14 Jul 2016 16:23:50 GMT
|
|
37
|
+
body:
|
|
38
|
+
encoding: UTF-8
|
|
39
|
+
string: |-
|
|
40
|
+
{
|
|
41
|
+
"Implementation-Version" : "0.17.2.Final",
|
|
42
|
+
"Built-From-Git-SHA1" : "3c8ac6648aa0ec33643ae1b98faadc475d2c6f02",
|
|
43
|
+
"Inventory-Implementation" : "org.hawkular.inventory.impl.tinkerpop.TinkerpopInventory",
|
|
44
|
+
"Initialized" : "true"
|
|
45
|
+
}
|
|
46
|
+
http_version:
|
|
47
|
+
recorded_at: Thu, 14 Jul 2016 16:23:50 GMT
|
|
48
|
+
recorded_with: VCR 3.0.1
|