hawkular-client 2.2.1 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml
ADDED
@@ -0,0 +1,377 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/rt;WildFly%20Server/rl;defines/type=r
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- identity
|
14
|
+
User-Agent:
|
15
|
+
- hawkular-client-ruby
|
16
|
+
Hawkular-Tenant:
|
17
|
+
- hawkular
|
18
|
+
Content-Type:
|
19
|
+
- application/json
|
20
|
+
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
|
+
X-Total-Count:
|
38
|
+
- '1'
|
39
|
+
Connection:
|
40
|
+
- keep-alive
|
41
|
+
Content-Type:
|
42
|
+
- application/json
|
43
|
+
Content-Length:
|
44
|
+
- '517'
|
45
|
+
Link:
|
46
|
+
- <http://localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/rt;WildFly%20Server/rl;defines/type=r>;
|
47
|
+
rel="current"
|
48
|
+
body:
|
49
|
+
encoding: UTF-8
|
50
|
+
string: |-
|
51
|
+
[ {
|
52
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
53
|
+
"properties" : {
|
54
|
+
"__identityHash" : "8f7077c6fd492ab39991ce1f7d168a0565fd9e5"
|
55
|
+
},
|
56
|
+
"name" : "WildFly Server [Local]",
|
57
|
+
"identityHash" : "8f7077c6fd492ab39991ce1f7d168a0565fd9e5",
|
58
|
+
"type" : {
|
59
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;WildFly%20Server",
|
60
|
+
"name" : "WildFly Server",
|
61
|
+
"identityHash" : "617542c89b86e3ce52b819c1deae7ca37cf7851",
|
62
|
+
"id" : "WildFly Server"
|
63
|
+
},
|
64
|
+
"id" : "Local~~"
|
65
|
+
} ]
|
66
|
+
http_version:
|
67
|
+
recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
|
68
|
+
- request:
|
69
|
+
method: get
|
70
|
+
uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/traversal/t;hawkular/f;<%= feed_uuid %>/r;Local~~/relationships?sort=__targetCp
|
71
|
+
body:
|
72
|
+
encoding: US-ASCII
|
73
|
+
string: ''
|
74
|
+
headers:
|
75
|
+
Accept:
|
76
|
+
- application/json
|
77
|
+
Accept-Encoding:
|
78
|
+
- identity
|
79
|
+
User-Agent:
|
80
|
+
- hawkular-client-ruby
|
81
|
+
Hawkular-Tenant:
|
82
|
+
- hawkular
|
83
|
+
Content-Type:
|
84
|
+
- application/json
|
85
|
+
response:
|
86
|
+
status:
|
87
|
+
code: 200
|
88
|
+
message: OK
|
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
|
+
- Thu, 14 Jul 2016 16:23:43 GMT
|
102
|
+
X-Total-Count:
|
103
|
+
- '43'
|
104
|
+
Connection:
|
105
|
+
- keep-alive
|
106
|
+
Content-Type:
|
107
|
+
- application/json
|
108
|
+
Content-Length:
|
109
|
+
- '13773'
|
110
|
+
Link:
|
111
|
+
- <http://localhost:8080/hawkular/inventory/traversal/t;hawkular/f;<%= feed_uuid %>/r;Local~~/relationships?sort=__targetCp>;
|
112
|
+
rel="current"
|
113
|
+
body:
|
114
|
+
encoding: UTF-8
|
115
|
+
string: |-
|
116
|
+
[ {
|
117
|
+
"id" : "355s-qv4-1d05-xs0",
|
118
|
+
"name" : "incorporates",
|
119
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
120
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;AI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~AT~Server%20Availability~Server%20Availability",
|
121
|
+
"path" : "/rl;355s-qv4-1d05-xs0"
|
122
|
+
}, {
|
123
|
+
"id" : "34w0-qv4-1d05-vls",
|
124
|
+
"name" : "incorporates",
|
125
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
126
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
|
127
|
+
"path" : "/rl;34w0-qv4-1d05-vls"
|
128
|
+
}, {
|
129
|
+
"id" : "350g-qv4-1d05-wlc",
|
130
|
+
"name" : "incorporates",
|
131
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
132
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
|
133
|
+
"path" : "/rl;350g-qv4-1d05-wlc"
|
134
|
+
}, {
|
135
|
+
"id" : "3528-qv4-1d05-wzk",
|
136
|
+
"name" : "incorporates",
|
137
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
138
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
|
139
|
+
"path" : "/rl;3528-qv4-1d05-wzk"
|
140
|
+
}, {
|
141
|
+
"id" : "34zk-qv4-1d05-we8",
|
142
|
+
"name" : "incorporates",
|
143
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
144
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
|
145
|
+
"path" : "/rl;34zk-qv4-1d05-we8"
|
146
|
+
}, {
|
147
|
+
"id" : "34v4-qv4-1d05-veo",
|
148
|
+
"name" : "incorporates",
|
149
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
150
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
|
151
|
+
"path" : "/rl;34v4-qv4-1d05-veo"
|
152
|
+
}, {
|
153
|
+
"id" : "3534-qv4-1d05-x6o",
|
154
|
+
"name" : "incorporates",
|
155
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
156
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
|
157
|
+
"path" : "/rl;3534-qv4-1d05-x6o"
|
158
|
+
}, {
|
159
|
+
"id" : "34u8-qv4-1d05-v7k",
|
160
|
+
"name" : "incorporates",
|
161
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
162
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
|
163
|
+
"path" : "/rl;34u8-qv4-1d05-v7k"
|
164
|
+
}, {
|
165
|
+
"id" : "34xs-qv4-1d05-w00",
|
166
|
+
"name" : "incorporates",
|
167
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
168
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Committed",
|
169
|
+
"path" : "/rl;34xs-qv4-1d05-w00"
|
170
|
+
}, {
|
171
|
+
"id" : "3540-qv4-1d05-xds",
|
172
|
+
"name" : "incorporates",
|
173
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
174
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Max",
|
175
|
+
"path" : "/rl;3540-qv4-1d05-xds"
|
176
|
+
}, {
|
177
|
+
"id" : "34ww-qv4-1d05-vsw",
|
178
|
+
"name" : "incorporates",
|
179
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
180
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Used",
|
181
|
+
"path" : "/rl;34ww-qv4-1d05-vsw"
|
182
|
+
}, {
|
183
|
+
"id" : "34yo-qv4-1d05-w74",
|
184
|
+
"name" : "incorporates",
|
185
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
186
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Committed",
|
187
|
+
"path" : "/rl;34yo-qv4-1d05-w74"
|
188
|
+
}, {
|
189
|
+
"id" : "354w-qv4-1d05-xkw",
|
190
|
+
"name" : "incorporates",
|
191
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
192
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Used",
|
193
|
+
"path" : "/rl;354w-qv4-1d05-xkw"
|
194
|
+
}, {
|
195
|
+
"id" : "351c-qv4-1d05-wsg",
|
196
|
+
"name" : "incorporates",
|
197
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
198
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Threading%20Metrics~Thread%20Count",
|
199
|
+
"path" : "/rl;351c-qv4-1d05-wsg"
|
200
|
+
}, {
|
201
|
+
"id" : "33c0-qv4-153p-2zuo",
|
202
|
+
"name" : "contains",
|
203
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
204
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/d;configuration",
|
205
|
+
"path" : "/rl;33c0-qv4-153p-2zuo"
|
206
|
+
}, {
|
207
|
+
"id" : "365c-qv4-1pn9-32m8",
|
208
|
+
"name" : "isParentOf",
|
209
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
210
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-alerts-actions-email.war",
|
211
|
+
"path" : "/rl;365c-qv4-1pn9-32m8"
|
212
|
+
}, {
|
213
|
+
"id" : "363k-qv4-153p-32m8",
|
214
|
+
"name" : "contains",
|
215
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
216
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-alerts-actions-email.war",
|
217
|
+
"path" : "/rl;363k-qv4-153p-32m8"
|
218
|
+
}, {
|
219
|
+
"id" : "36qo-qv4-1pn9-337k",
|
220
|
+
"name" : "isParentOf",
|
221
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
222
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-alerts-rest.war",
|
223
|
+
"path" : "/rl;36qo-qv4-1pn9-337k"
|
224
|
+
}, {
|
225
|
+
"id" : "36ow-qv4-153p-337k",
|
226
|
+
"name" : "contains",
|
227
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
228
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-alerts-rest.war",
|
229
|
+
"path" : "/rl;36ow-qv4-153p-337k"
|
230
|
+
}, {
|
231
|
+
"id" : "35r4-qv4-1pn9-3280",
|
232
|
+
"name" : "isParentOf",
|
233
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
234
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-command-gateway-war.war",
|
235
|
+
"path" : "/rl;35r4-qv4-1pn9-3280"
|
236
|
+
}, {
|
237
|
+
"id" : "35pc-qv4-153p-3280",
|
238
|
+
"name" : "contains",
|
239
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
240
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-command-gateway-war.war",
|
241
|
+
"path" : "/rl;35pc-qv4-153p-3280"
|
242
|
+
}, {
|
243
|
+
"id" : "36jk-qv4-1pn9-330g",
|
244
|
+
"name" : "isParentOf",
|
245
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
246
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-inventory-dist.war",
|
247
|
+
"path" : "/rl;36jk-qv4-1pn9-330g"
|
248
|
+
}, {
|
249
|
+
"id" : "36hs-qv4-153p-330g",
|
250
|
+
"name" : "contains",
|
251
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
252
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-inventory-dist.war",
|
253
|
+
"path" : "/rl;36hs-qv4-153p-330g"
|
254
|
+
}, {
|
255
|
+
"id" : "35y8-qv4-1pn9-32f4",
|
256
|
+
"name" : "isParentOf",
|
257
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
258
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-metrics-component.war",
|
259
|
+
"path" : "/rl;35y8-qv4-1pn9-32f4"
|
260
|
+
}, {
|
261
|
+
"id" : "35wg-qv4-153p-32f4",
|
262
|
+
"name" : "contains",
|
263
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
264
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-metrics-component.war",
|
265
|
+
"path" : "/rl;35wg-qv4-153p-32f4"
|
266
|
+
}, {
|
267
|
+
"id" : "36xs-qv4-1pn9-33eo",
|
268
|
+
"name" : "isParentOf",
|
269
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
270
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-rest-api.war",
|
271
|
+
"path" : "/rl;36xs-qv4-1pn9-33eo"
|
272
|
+
}, {
|
273
|
+
"id" : "36w0-qv4-153p-33eo",
|
274
|
+
"name" : "contains",
|
275
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
276
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-rest-api.war",
|
277
|
+
"path" : "/rl;36w0-qv4-153p-33eo"
|
278
|
+
}, {
|
279
|
+
"id" : "36cg-qv4-1pn9-32tc",
|
280
|
+
"name" : "isParentOf",
|
281
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
282
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-wildfly-agent-download.war",
|
283
|
+
"path" : "/rl;36cg-qv4-1pn9-32tc"
|
284
|
+
}, {
|
285
|
+
"id" : "36ao-qv4-153p-32tc",
|
286
|
+
"name" : "contains",
|
287
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
288
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-wildfly-agent-download.war",
|
289
|
+
"path" : "/rl;36ao-qv4-153p-32tc"
|
290
|
+
}, {
|
291
|
+
"id" : "37q8-qv4-1pn9-3474",
|
292
|
+
"name" : "isParentOf",
|
293
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
294
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsocket-binding-group%3Dstandard-sockets",
|
295
|
+
"path" : "/rl;37q8-qv4-1pn9-3474"
|
296
|
+
}, {
|
297
|
+
"id" : "37og-qv4-153p-3474",
|
298
|
+
"name" : "contains",
|
299
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
300
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsocket-binding-group%3Dstandard-sockets",
|
301
|
+
"path" : "/rl;37og-qv4-153p-3474"
|
302
|
+
}, {
|
303
|
+
"id" : "35cw-qv4-1pn9-31ts",
|
304
|
+
"name" : "isParentOf",
|
305
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
306
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS",
|
307
|
+
"path" : "/rl;35cw-qv4-1pn9-31ts"
|
308
|
+
}, {
|
309
|
+
"id" : "35b4-qv4-153p-31ts",
|
310
|
+
"name" : "contains",
|
311
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
312
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS",
|
313
|
+
"path" : "/rl;35b4-qv4-153p-31ts"
|
314
|
+
}, {
|
315
|
+
"id" : "35k0-qv4-1pn9-320w",
|
316
|
+
"name" : "isParentOf",
|
317
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
318
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fjdbc-driver%3Dh2",
|
319
|
+
"path" : "/rl;35k0-qv4-1pn9-320w"
|
320
|
+
}, {
|
321
|
+
"id" : "35i8-qv4-153p-320w",
|
322
|
+
"name" : "contains",
|
323
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
324
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fjdbc-driver%3Dh2",
|
325
|
+
"path" : "/rl;35i8-qv4-153p-320w"
|
326
|
+
}, {
|
327
|
+
"id" : "37j4-qv4-1pn9-3400",
|
328
|
+
"name" : "isParentOf",
|
329
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
330
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Dhawkular-wildfly-agent",
|
331
|
+
"path" : "/rl;37j4-qv4-1pn9-3400"
|
332
|
+
}, {
|
333
|
+
"id" : "37hc-qv4-153p-3400",
|
334
|
+
"name" : "contains",
|
335
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
336
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Dhawkular-wildfly-agent",
|
337
|
+
"path" : "/rl;37hc-qv4-153p-3400"
|
338
|
+
}, {
|
339
|
+
"id" : "37xc-qv4-1pn9-34e8",
|
340
|
+
"name" : "isParentOf",
|
341
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
342
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Dinfinispan",
|
343
|
+
"path" : "/rl;37xc-qv4-1pn9-34e8"
|
344
|
+
}, {
|
345
|
+
"id" : "37vk-qv4-153p-34e8",
|
346
|
+
"name" : "contains",
|
347
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
348
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Dinfinispan",
|
349
|
+
"path" : "/rl;37vk-qv4-153p-34e8"
|
350
|
+
}, {
|
351
|
+
"id" : "37c0-qv4-1pn9-33sw",
|
352
|
+
"name" : "isParentOf",
|
353
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
354
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Dmessaging-activemq%2Fserver%3Ddefault",
|
355
|
+
"path" : "/rl;37c0-qv4-1pn9-33sw"
|
356
|
+
}, {
|
357
|
+
"id" : "37a8-qv4-153p-33sw",
|
358
|
+
"name" : "contains",
|
359
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
360
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Dmessaging-activemq%2Fserver%3Ddefault",
|
361
|
+
"path" : "/rl;37a8-qv4-153p-33sw"
|
362
|
+
}, {
|
363
|
+
"id" : "374w-qv4-1pn9-33ls",
|
364
|
+
"name" : "isParentOf",
|
365
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
366
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Dtransactions",
|
367
|
+
"path" : "/rl;374w-qv4-1pn9-33ls"
|
368
|
+
}, {
|
369
|
+
"id" : "3734-qv4-153p-33ls",
|
370
|
+
"name" : "contains",
|
371
|
+
"source" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
372
|
+
"target" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Dtransactions",
|
373
|
+
"path" : "/rl;3734-qv4-153p-33ls"
|
374
|
+
} ]
|
375
|
+
http_version:
|
376
|
+
recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
|
377
|
+
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:password@localhost:8080/hawkular/inventory/
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/type=r
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -10,13 +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
|
14
16
|
Hawkular-Tenant:
|
15
17
|
- hawkular
|
16
18
|
Content-Type:
|
17
19
|
- application/json
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
20
|
response:
|
21
21
|
status:
|
22
22
|
code: 200
|
@@ -33,7 +33,7 @@ http_interactions:
|
|
33
33
|
Pragma:
|
34
34
|
- no-cache
|
35
35
|
Date:
|
36
|
-
-
|
36
|
+
- Thu, 14 Jul 2016 16:23:39 GMT
|
37
37
|
X-Total-Count:
|
38
38
|
- '2'
|
39
39
|
Connection:
|
@@ -41,32 +41,42 @@ http_interactions:
|
|
41
41
|
Content-Type:
|
42
42
|
- application/json
|
43
43
|
Content-Length:
|
44
|
-
- '
|
44
|
+
- '1211'
|
45
45
|
Link:
|
46
|
-
- <http://localhost:8080/hawkular/inventory/
|
46
|
+
- <http://localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/type=r>;
|
47
47
|
rel="current"
|
48
48
|
body:
|
49
|
-
encoding:
|
49
|
+
encoding: UTF-8
|
50
50
|
string: |-
|
51
51
|
[ {
|
52
52
|
"path" : "/t;hawkular/f;<%= feed_uuid %>/r;platform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem",
|
53
|
+
"properties" : {
|
54
|
+
"__identityHash" : "dad691902bee0315ce32c6ac94fd49214cf83"
|
55
|
+
},
|
53
56
|
"name" : "<%= feed_uuid %>_OperatingSystem",
|
57
|
+
"identityHash" : "dad691902bee0315ce32c6ac94fd49214cf83",
|
54
58
|
"type" : {
|
55
59
|
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Operating%20System",
|
56
60
|
"name" : "Operating System",
|
61
|
+
"identityHash" : "12ec4befc53b1ed52f39fb292ed1eea8213323",
|
57
62
|
"id" : "Operating System"
|
58
63
|
},
|
59
64
|
"id" : "platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem"
|
60
65
|
}, {
|
61
66
|
"path" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~",
|
67
|
+
"properties" : {
|
68
|
+
"__identityHash" : "8f7077c6fd492ab39991ce1f7d168a0565fd9e5"
|
69
|
+
},
|
62
70
|
"name" : "WildFly Server [Local]",
|
71
|
+
"identityHash" : "8f7077c6fd492ab39991ce1f7d168a0565fd9e5",
|
63
72
|
"type" : {
|
64
73
|
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;WildFly%20Server",
|
65
74
|
"name" : "WildFly Server",
|
75
|
+
"identityHash" : "617542c89b86e3ce52b819c1deae7ca37cf7851",
|
66
76
|
"id" : "WildFly Server"
|
67
77
|
},
|
68
78
|
"id" : "Local~~"
|
69
79
|
} ]
|
70
80
|
http_version:
|
71
|
-
recorded_at:
|
81
|
+
recorded_at: Thu, 14 Jul 2016 16:23:39 GMT
|
72
82
|
recorded_with: VCR 3.0.1
|