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_metrics_for_WildFlys.yml
ADDED
@@ -0,0 +1,357 @@
|
|
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/f;<%= feed_uuid %>/r;Local~~/rl;incorporates/type=m?sort=id
|
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
|
+
- '14'
|
104
|
+
Connection:
|
105
|
+
- keep-alive
|
106
|
+
Content-Type:
|
107
|
+
- application/json
|
108
|
+
Content-Length:
|
109
|
+
- '13056'
|
110
|
+
Link:
|
111
|
+
- <http://localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/r;Local~~/rl;incorporates/type=m?sort=id>;
|
112
|
+
rel="current"
|
113
|
+
body:
|
114
|
+
encoding: UTF-8
|
115
|
+
string: |-
|
116
|
+
[ {
|
117
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;AI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~AT~Server%20Availability~Server%20Availability",
|
118
|
+
"properties" : {
|
119
|
+
"__identityHash" : "b0565611a2d5cdb3195256dc7fe287877b5b89b"
|
120
|
+
},
|
121
|
+
"name" : "Server Availability~Server Availability",
|
122
|
+
"identityHash" : "b0565611a2d5cdb3195256dc7fe287877b5b89b",
|
123
|
+
"type" : {
|
124
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;Server%20Availability~Server%20Availability",
|
125
|
+
"name" : "Server Availability~Server Availability",
|
126
|
+
"identityHash" : "69beedc2b0c5cf2f3d0484b9c1aa9e4cdcf93",
|
127
|
+
"unit" : "NONE",
|
128
|
+
"type" : "AVAILABILITY",
|
129
|
+
"collectionInterval" : 30,
|
130
|
+
"id" : "Server Availability~Server Availability"
|
131
|
+
},
|
132
|
+
"id" : "AI~R~[<%= feed_uuid %>/Local~~]~AT~Server Availability~Server Availability"
|
133
|
+
}, {
|
134
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
|
135
|
+
"properties" : {
|
136
|
+
"__identityHash" : "17246bba43523efbb195d11279cd5716e75a0de"
|
137
|
+
},
|
138
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
|
139
|
+
"identityHash" : "17246bba43523efbb195d11279cd5716e75a0de",
|
140
|
+
"type" : {
|
141
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
|
142
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
|
143
|
+
"identityHash" : "a82dc495957628db4b96ca5c44213ce023c792b9",
|
144
|
+
"unit" : "NONE",
|
145
|
+
"type" : "GAUGE",
|
146
|
+
"collectionInterval" : 60,
|
147
|
+
"id" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
|
148
|
+
},
|
149
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
|
150
|
+
}, {
|
151
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
|
152
|
+
"properties" : {
|
153
|
+
"__identityHash" : "5843d473a3aa198449719818ba0af2557390b6"
|
154
|
+
},
|
155
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
|
156
|
+
"identityHash" : "5843d473a3aa198449719818ba0af2557390b6",
|
157
|
+
"type" : {
|
158
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
|
159
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
|
160
|
+
"identityHash" : "3c806e8b625362b37f972a3594448c4aa8b3",
|
161
|
+
"unit" : "NONE",
|
162
|
+
"type" : "COUNTER",
|
163
|
+
"collectionInterval" : 60,
|
164
|
+
"id" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
|
165
|
+
},
|
166
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
|
167
|
+
}, {
|
168
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
|
169
|
+
"properties" : {
|
170
|
+
"__identityHash" : "855a7aac39faba7e71734b704392f87cd3b92d9"
|
171
|
+
},
|
172
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
|
173
|
+
"identityHash" : "855a7aac39faba7e71734b704392f87cd3b92d9",
|
174
|
+
"type" : {
|
175
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
|
176
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
|
177
|
+
"identityHash" : "a677b62ab5ec7632a32af8b6ef08aef813fd1f",
|
178
|
+
"unit" : "NONE",
|
179
|
+
"type" : "GAUGE",
|
180
|
+
"collectionInterval" : 60,
|
181
|
+
"id" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
|
182
|
+
},
|
183
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
|
184
|
+
}, {
|
185
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
|
186
|
+
"properties" : {
|
187
|
+
"__identityHash" : "d561dd16efd30fe9c7ee0317490321bbf91518"
|
188
|
+
},
|
189
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
|
190
|
+
"identityHash" : "d561dd16efd30fe9c7ee0317490321bbf91518",
|
191
|
+
"type" : {
|
192
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
|
193
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
|
194
|
+
"identityHash" : "6af37a7acb8c6eab4818313a281748152896534",
|
195
|
+
"unit" : "NONE",
|
196
|
+
"type" : "COUNTER",
|
197
|
+
"collectionInterval" : 60,
|
198
|
+
"id" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
|
199
|
+
},
|
200
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
|
201
|
+
}, {
|
202
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
|
203
|
+
"properties" : {
|
204
|
+
"__identityHash" : "bc10337e8cde627335dacd529227759992d741c"
|
205
|
+
},
|
206
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
|
207
|
+
"identityHash" : "bc10337e8cde627335dacd529227759992d741c",
|
208
|
+
"type" : {
|
209
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
|
210
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
|
211
|
+
"identityHash" : "95556b3b6367d481ebfd12997646e08fef9291e0",
|
212
|
+
"unit" : "NONE",
|
213
|
+
"type" : "COUNTER",
|
214
|
+
"collectionInterval" : 60,
|
215
|
+
"id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
|
216
|
+
},
|
217
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
|
218
|
+
}, {
|
219
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
|
220
|
+
"properties" : {
|
221
|
+
"__identityHash" : "79dc48c0995d4480a216ead6a4e6af97fa434b3"
|
222
|
+
},
|
223
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
|
224
|
+
"identityHash" : "79dc48c0995d4480a216ead6a4e6af97fa434b3",
|
225
|
+
"type" : {
|
226
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
|
227
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
|
228
|
+
"identityHash" : "f949025e0087974acae8cffab1598344932f6c",
|
229
|
+
"unit" : "NONE",
|
230
|
+
"type" : "COUNTER",
|
231
|
+
"collectionInterval" : 60,
|
232
|
+
"id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
|
233
|
+
},
|
234
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
|
235
|
+
}, {
|
236
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
|
237
|
+
"properties" : {
|
238
|
+
"__identityHash" : "e711337f6c7ad8572d3dcb024c2314619249487"
|
239
|
+
},
|
240
|
+
"name" : "WildFly Memory Metrics~Accumulated GC Duration",
|
241
|
+
"identityHash" : "e711337f6c7ad8572d3dcb024c2314619249487",
|
242
|
+
"type" : {
|
243
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
|
244
|
+
"name" : "WildFly Memory Metrics~Accumulated GC Duration",
|
245
|
+
"identityHash" : "44916cf1eae6344af4cd0b2a562c5328562c3",
|
246
|
+
"unit" : "MILLISECONDS",
|
247
|
+
"type" : "COUNTER",
|
248
|
+
"collectionInterval" : 60,
|
249
|
+
"id" : "WildFly Memory Metrics~Accumulated GC Duration"
|
250
|
+
},
|
251
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Accumulated GC Duration"
|
252
|
+
}, {
|
253
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Committed",
|
254
|
+
"properties" : {
|
255
|
+
"__identityHash" : "af61954da12cdc111648e6eb8896988d82ae62ed"
|
256
|
+
},
|
257
|
+
"name" : "WildFly Memory Metrics~Heap Committed",
|
258
|
+
"identityHash" : "af61954da12cdc111648e6eb8896988d82ae62ed",
|
259
|
+
"type" : {
|
260
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Committed",
|
261
|
+
"name" : "WildFly Memory Metrics~Heap Committed",
|
262
|
+
"identityHash" : "405253f87a6e98aabe2d7a4a524f5796d9d97e",
|
263
|
+
"unit" : "BYTES",
|
264
|
+
"type" : "GAUGE",
|
265
|
+
"collectionInterval" : 60,
|
266
|
+
"id" : "WildFly Memory Metrics~Heap Committed"
|
267
|
+
},
|
268
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Committed"
|
269
|
+
}, {
|
270
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Max",
|
271
|
+
"properties" : {
|
272
|
+
"__identityHash" : "d86add67ad912b8f2e163a964a297c7fa5997"
|
273
|
+
},
|
274
|
+
"name" : "WildFly Memory Metrics~Heap Max",
|
275
|
+
"identityHash" : "d86add67ad912b8f2e163a964a297c7fa5997",
|
276
|
+
"type" : {
|
277
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Max",
|
278
|
+
"name" : "WildFly Memory Metrics~Heap Max",
|
279
|
+
"identityHash" : "a84cf574232510897e26b98fd9ea5702a95dfc7",
|
280
|
+
"unit" : "BYTES",
|
281
|
+
"type" : "GAUGE",
|
282
|
+
"collectionInterval" : 60,
|
283
|
+
"id" : "WildFly Memory Metrics~Heap Max"
|
284
|
+
},
|
285
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Max"
|
286
|
+
}, {
|
287
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Used",
|
288
|
+
"properties" : {
|
289
|
+
"__identityHash" : "6a83bcf8c41d524cff4d9c12156c1c9264cef43"
|
290
|
+
},
|
291
|
+
"name" : "WildFly Memory Metrics~Heap Used",
|
292
|
+
"identityHash" : "6a83bcf8c41d524cff4d9c12156c1c9264cef43",
|
293
|
+
"type" : {
|
294
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Used",
|
295
|
+
"name" : "WildFly Memory Metrics~Heap Used",
|
296
|
+
"identityHash" : "3be5b5fdabed925ac46fdc6d8295e34bbd3147a",
|
297
|
+
"unit" : "BYTES",
|
298
|
+
"type" : "GAUGE",
|
299
|
+
"collectionInterval" : 30,
|
300
|
+
"id" : "WildFly Memory Metrics~Heap Used"
|
301
|
+
},
|
302
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Used"
|
303
|
+
}, {
|
304
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Committed",
|
305
|
+
"properties" : {
|
306
|
+
"__identityHash" : "6417da32f2907035ff752b7c888cd96b662a9e48"
|
307
|
+
},
|
308
|
+
"name" : "WildFly Memory Metrics~NonHeap Committed",
|
309
|
+
"identityHash" : "6417da32f2907035ff752b7c888cd96b662a9e48",
|
310
|
+
"type" : {
|
311
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Committed",
|
312
|
+
"name" : "WildFly Memory Metrics~NonHeap Committed",
|
313
|
+
"identityHash" : "55d9f8e5b0a3b5d0af3fd3bac67b08b186c68b5",
|
314
|
+
"unit" : "BYTES",
|
315
|
+
"type" : "GAUGE",
|
316
|
+
"collectionInterval" : 60,
|
317
|
+
"id" : "WildFly Memory Metrics~NonHeap Committed"
|
318
|
+
},
|
319
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Committed"
|
320
|
+
}, {
|
321
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Used",
|
322
|
+
"properties" : {
|
323
|
+
"__identityHash" : "a962202dff756545627ffe41658571d99c6357"
|
324
|
+
},
|
325
|
+
"name" : "WildFly Memory Metrics~NonHeap Used",
|
326
|
+
"identityHash" : "a962202dff756545627ffe41658571d99c6357",
|
327
|
+
"type" : {
|
328
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Used",
|
329
|
+
"name" : "WildFly Memory Metrics~NonHeap Used",
|
330
|
+
"identityHash" : "c785eddfb0f0baa1e832fc38485d686e2297497",
|
331
|
+
"unit" : "BYTES",
|
332
|
+
"type" : "GAUGE",
|
333
|
+
"collectionInterval" : 30,
|
334
|
+
"id" : "WildFly Memory Metrics~NonHeap Used"
|
335
|
+
},
|
336
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Used"
|
337
|
+
}, {
|
338
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Threading%20Metrics~Thread%20Count",
|
339
|
+
"properties" : {
|
340
|
+
"__identityHash" : "ffda956771144b0d563846e90eaa04bce44ba88"
|
341
|
+
},
|
342
|
+
"name" : "WildFly Threading Metrics~Thread Count",
|
343
|
+
"identityHash" : "ffda956771144b0d563846e90eaa04bce44ba88",
|
344
|
+
"type" : {
|
345
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;WildFly%20Threading%20Metrics~Thread%20Count",
|
346
|
+
"name" : "WildFly Threading Metrics~Thread Count",
|
347
|
+
"identityHash" : "1e41cf1c2b3c07e23983a3789c91bdc6f1cc88",
|
348
|
+
"unit" : "NONE",
|
349
|
+
"type" : "GAUGE",
|
350
|
+
"collectionInterval" : 120,
|
351
|
+
"id" : "WildFly Threading Metrics~Thread Count"
|
352
|
+
},
|
353
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Threading Metrics~Thread Count"
|
354
|
+
} ]
|
355
|
+
http_version:
|
356
|
+
recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
|
357
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,122 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jdoe:<%= super_secret_password %>@localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/mt;Total%20Space/rl;defines/type=m
|
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
|
+
- '4'
|
39
|
+
Connection:
|
40
|
+
- keep-alive
|
41
|
+
Content-Type:
|
42
|
+
- application/json
|
43
|
+
Content-Length:
|
44
|
+
- '3580'
|
45
|
+
Link:
|
46
|
+
- <http://localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/mt;Total%20Space/rl;defines/type=m>;
|
47
|
+
rel="current"
|
48
|
+
body:
|
49
|
+
encoding: UTF-8
|
50
|
+
string: |-
|
51
|
+
[ {
|
52
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D%2Fdev%2Fmapper%2Ffedora-home%5D~MT~Total%20Space",
|
53
|
+
"properties" : {
|
54
|
+
"__identityHash" : "5d1b984638762360988c9c661973cdee673e7a45"
|
55
|
+
},
|
56
|
+
"name" : "Total Space",
|
57
|
+
"identityHash" : "5d1b984638762360988c9c661973cdee673e7a45",
|
58
|
+
"type" : {
|
59
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;Total%20Space",
|
60
|
+
"name" : "Total Space",
|
61
|
+
"identityHash" : "4753b6bbe4fad4dfd57fae8fc2d35f91af13e53",
|
62
|
+
"unit" : "BYTES",
|
63
|
+
"type" : "GAUGE",
|
64
|
+
"collectionInterval" : 300,
|
65
|
+
"id" : "Total Space"
|
66
|
+
},
|
67
|
+
"id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=/dev/mapper/fedora-home]~MT~Total Space"
|
68
|
+
}, {
|
69
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D%2Fdev%2Fsda3%5D~MT~Total%20Space",
|
70
|
+
"properties" : {
|
71
|
+
"__identityHash" : "80f9274b5dc28aeba9595f85c948b9d209fe341"
|
72
|
+
},
|
73
|
+
"name" : "Total Space",
|
74
|
+
"identityHash" : "80f9274b5dc28aeba9595f85c948b9d209fe341",
|
75
|
+
"type" : {
|
76
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;Total%20Space",
|
77
|
+
"name" : "Total Space",
|
78
|
+
"identityHash" : "4753b6bbe4fad4dfd57fae8fc2d35f91af13e53",
|
79
|
+
"unit" : "BYTES",
|
80
|
+
"type" : "GAUGE",
|
81
|
+
"collectionInterval" : 300,
|
82
|
+
"id" : "Total Space"
|
83
|
+
},
|
84
|
+
"id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=/dev/sda3]~MT~Total Space"
|
85
|
+
}, {
|
86
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D~%5D~MT~Total%20Space",
|
87
|
+
"properties" : {
|
88
|
+
"__identityHash" : "97f2b73bc8ef0aa1db95a5264e94777b53351c"
|
89
|
+
},
|
90
|
+
"name" : "Total Space",
|
91
|
+
"identityHash" : "97f2b73bc8ef0aa1db95a5264e94777b53351c",
|
92
|
+
"type" : {
|
93
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;Total%20Space",
|
94
|
+
"name" : "Total Space",
|
95
|
+
"identityHash" : "4753b6bbe4fad4dfd57fae8fc2d35f91af13e53",
|
96
|
+
"unit" : "BYTES",
|
97
|
+
"type" : "GAUGE",
|
98
|
+
"collectionInterval" : 300,
|
99
|
+
"id" : "Total Space"
|
100
|
+
},
|
101
|
+
"id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=~]~MT~Total Space"
|
102
|
+
}, {
|
103
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dtmpfs%5D~MT~Total%20Space",
|
104
|
+
"properties" : {
|
105
|
+
"__identityHash" : "1e95875fa2a2dbfb2d74225db71699e833a5766"
|
106
|
+
},
|
107
|
+
"name" : "Total Space",
|
108
|
+
"identityHash" : "1e95875fa2a2dbfb2d74225db71699e833a5766",
|
109
|
+
"type" : {
|
110
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>/mt;Total%20Space",
|
111
|
+
"name" : "Total Space",
|
112
|
+
"identityHash" : "4753b6bbe4fad4dfd57fae8fc2d35f91af13e53",
|
113
|
+
"unit" : "BYTES",
|
114
|
+
"type" : "GAUGE",
|
115
|
+
"collectionInterval" : 300,
|
116
|
+
"id" : "Total Space"
|
117
|
+
},
|
118
|
+
"id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=tmpfs]~MT~Total Space"
|
119
|
+
} ]
|
120
|
+
http_version:
|
121
|
+
recorded_at: Thu, 14 Jul 2016 16:23:43 GMT
|
122
|
+
recorded_with: VCR 3.0.1
|