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
@@ -1,278 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/WildFly%20Server/resources
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
User-Agent:
|
17
|
-
- Ruby
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Expires:
|
24
|
-
- '0'
|
25
|
-
Cache-Control:
|
26
|
-
- no-cache, no-store, must-revalidate
|
27
|
-
X-Powered-By:
|
28
|
-
- Undertow/1
|
29
|
-
Server:
|
30
|
-
- WildFly/10
|
31
|
-
Pragma:
|
32
|
-
- no-cache
|
33
|
-
Date:
|
34
|
-
- Thu, 05 May 2016 11:18:44 GMT
|
35
|
-
X-Total-Count:
|
36
|
-
- '1'
|
37
|
-
Connection:
|
38
|
-
- keep-alive
|
39
|
-
Content-Type:
|
40
|
-
- application/json
|
41
|
-
Content-Length:
|
42
|
-
- '351'
|
43
|
-
Link:
|
44
|
-
- <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/WildFly%20Server/resources>;
|
45
|
-
rel="current"
|
46
|
-
body:
|
47
|
-
encoding: ASCII-8BIT
|
48
|
-
string: |-
|
49
|
-
[ {
|
50
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~",
|
51
|
-
"type" : {
|
52
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;WildFly%20Server",
|
53
|
-
"name" : "WildFly Server",
|
54
|
-
"id" : "WildFly Server"
|
55
|
-
},
|
56
|
-
"name" : "localhost/Local",
|
57
|
-
"id" : "Local~~"
|
58
|
-
} ]
|
59
|
-
http_version:
|
60
|
-
recorded_at: Thu, 05 May 2016 11:18:44 GMT
|
61
|
-
- request:
|
62
|
-
method: get
|
63
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/metrics?sort=id
|
64
|
-
body:
|
65
|
-
encoding: US-ASCII
|
66
|
-
string: ''
|
67
|
-
headers:
|
68
|
-
Accept:
|
69
|
-
- application/json
|
70
|
-
Accept-Encoding:
|
71
|
-
- gzip, deflate
|
72
|
-
Content-Type:
|
73
|
-
- application/json
|
74
|
-
User-Agent:
|
75
|
-
- Ruby
|
76
|
-
response:
|
77
|
-
status:
|
78
|
-
code: 200
|
79
|
-
message: OK
|
80
|
-
headers:
|
81
|
-
Expires:
|
82
|
-
- '0'
|
83
|
-
Cache-Control:
|
84
|
-
- no-cache, no-store, must-revalidate
|
85
|
-
X-Powered-By:
|
86
|
-
- Undertow/1
|
87
|
-
Server:
|
88
|
-
- WildFly/10
|
89
|
-
Pragma:
|
90
|
-
- no-cache
|
91
|
-
Date:
|
92
|
-
- Thu, 05 May 2016 11:18:44 GMT
|
93
|
-
X-Total-Count:
|
94
|
-
- '14'
|
95
|
-
Connection:
|
96
|
-
- keep-alive
|
97
|
-
Content-Type:
|
98
|
-
- application/json
|
99
|
-
Content-Length:
|
100
|
-
- '10779'
|
101
|
-
Link:
|
102
|
-
- <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/metrics?sort=id>;
|
103
|
-
rel="current"
|
104
|
-
body:
|
105
|
-
encoding: ASCII-8BIT
|
106
|
-
string: |-
|
107
|
-
[ {
|
108
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;AI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~AT~Server%20Availability~App%20Server",
|
109
|
-
"type" : {
|
110
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Server%20Availability~App%20Server",
|
111
|
-
"name" : "Server Availability~App Server",
|
112
|
-
"unit" : "NONE",
|
113
|
-
"type" : "AVAILABILITY",
|
114
|
-
"collectionInterval" : 30,
|
115
|
-
"id" : "Server Availability~App Server"
|
116
|
-
},
|
117
|
-
"name" : "Server Availability~App Server",
|
118
|
-
"id" : "AI~R~[<%= feed_uuid %>/Local~~]~AT~Server Availability~App Server"
|
119
|
-
}, {
|
120
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
|
121
|
-
"type" : {
|
122
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
|
123
|
-
"name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
|
124
|
-
"unit" : "NONE",
|
125
|
-
"type" : "GAUGE",
|
126
|
-
"collectionInterval" : 60,
|
127
|
-
"id" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
|
128
|
-
},
|
129
|
-
"name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
|
130
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
|
131
|
-
}, {
|
132
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
|
133
|
-
"type" : {
|
134
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
|
135
|
-
"name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
|
136
|
-
"unit" : "NONE",
|
137
|
-
"type" : "COUNTER",
|
138
|
-
"collectionInterval" : 60,
|
139
|
-
"id" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
|
140
|
-
},
|
141
|
-
"name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
|
142
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
|
143
|
-
}, {
|
144
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
|
145
|
-
"type" : {
|
146
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
|
147
|
-
"name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
|
148
|
-
"unit" : "NONE",
|
149
|
-
"type" : "GAUGE",
|
150
|
-
"collectionInterval" : 60,
|
151
|
-
"id" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
|
152
|
-
},
|
153
|
-
"name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
|
154
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
|
155
|
-
}, {
|
156
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
|
157
|
-
"type" : {
|
158
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
|
159
|
-
"name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
|
160
|
-
"unit" : "NONE",
|
161
|
-
"type" : "COUNTER",
|
162
|
-
"collectionInterval" : 60,
|
163
|
-
"id" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
|
164
|
-
},
|
165
|
-
"name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
|
166
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
|
167
|
-
}, {
|
168
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
|
169
|
-
"type" : {
|
170
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
|
171
|
-
"name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
|
172
|
-
"unit" : "NONE",
|
173
|
-
"type" : "COUNTER",
|
174
|
-
"collectionInterval" : 60,
|
175
|
-
"id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
|
176
|
-
},
|
177
|
-
"name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
|
178
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
|
179
|
-
}, {
|
180
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
|
181
|
-
"type" : {
|
182
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
|
183
|
-
"name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
|
184
|
-
"unit" : "NONE",
|
185
|
-
"type" : "COUNTER",
|
186
|
-
"collectionInterval" : 60,
|
187
|
-
"id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
|
188
|
-
},
|
189
|
-
"name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
|
190
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
|
191
|
-
}, {
|
192
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
|
193
|
-
"type" : {
|
194
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
|
195
|
-
"name" : "WildFly Memory Metrics~Accumulated GC Duration",
|
196
|
-
"unit" : "NONE",
|
197
|
-
"type" : "COUNTER",
|
198
|
-
"collectionInterval" : 60,
|
199
|
-
"id" : "WildFly Memory Metrics~Accumulated GC Duration"
|
200
|
-
},
|
201
|
-
"name" : "WildFly Memory Metrics~Accumulated GC Duration",
|
202
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Accumulated GC Duration"
|
203
|
-
}, {
|
204
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Committed",
|
205
|
-
"type" : {
|
206
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Committed",
|
207
|
-
"name" : "WildFly Memory Metrics~Heap Committed",
|
208
|
-
"unit" : "NONE",
|
209
|
-
"type" : "GAUGE",
|
210
|
-
"collectionInterval" : 60,
|
211
|
-
"id" : "WildFly Memory Metrics~Heap Committed"
|
212
|
-
},
|
213
|
-
"name" : "WildFly Memory Metrics~Heap Committed",
|
214
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Committed"
|
215
|
-
}, {
|
216
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Max",
|
217
|
-
"type" : {
|
218
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Max",
|
219
|
-
"name" : "WildFly Memory Metrics~Heap Max",
|
220
|
-
"unit" : "NONE",
|
221
|
-
"type" : "GAUGE",
|
222
|
-
"collectionInterval" : 60,
|
223
|
-
"id" : "WildFly Memory Metrics~Heap Max"
|
224
|
-
},
|
225
|
-
"name" : "WildFly Memory Metrics~Heap Max",
|
226
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Max"
|
227
|
-
}, {
|
228
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Used",
|
229
|
-
"type" : {
|
230
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Used",
|
231
|
-
"name" : "WildFly Memory Metrics~Heap Used",
|
232
|
-
"unit" : "BYTES",
|
233
|
-
"type" : "GAUGE",
|
234
|
-
"collectionInterval" : 30,
|
235
|
-
"id" : "WildFly Memory Metrics~Heap Used"
|
236
|
-
},
|
237
|
-
"name" : "WildFly Memory Metrics~Heap Used",
|
238
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Used"
|
239
|
-
}, {
|
240
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Committed",
|
241
|
-
"type" : {
|
242
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Committed",
|
243
|
-
"name" : "WildFly Memory Metrics~NonHeap Committed",
|
244
|
-
"unit" : "NONE",
|
245
|
-
"type" : "GAUGE",
|
246
|
-
"collectionInterval" : 60,
|
247
|
-
"id" : "WildFly Memory Metrics~NonHeap Committed"
|
248
|
-
},
|
249
|
-
"name" : "WildFly Memory Metrics~NonHeap Committed",
|
250
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Committed"
|
251
|
-
}, {
|
252
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Used",
|
253
|
-
"type" : {
|
254
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Used",
|
255
|
-
"name" : "WildFly Memory Metrics~NonHeap Used",
|
256
|
-
"unit" : "NONE",
|
257
|
-
"type" : "GAUGE",
|
258
|
-
"collectionInterval" : 30,
|
259
|
-
"id" : "WildFly Memory Metrics~NonHeap Used"
|
260
|
-
},
|
261
|
-
"name" : "WildFly Memory Metrics~NonHeap Used",
|
262
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Used"
|
263
|
-
}, {
|
264
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Threading%20Metrics~Thread%20Count",
|
265
|
-
"type" : {
|
266
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Threading%20Metrics~Thread%20Count",
|
267
|
-
"name" : "WildFly Threading Metrics~Thread Count",
|
268
|
-
"unit" : "NONE",
|
269
|
-
"type" : "GAUGE",
|
270
|
-
"collectionInterval" : 120,
|
271
|
-
"id" : "WildFly Threading Metrics~Thread Count"
|
272
|
-
},
|
273
|
-
"name" : "WildFly Threading Metrics~Thread Count",
|
274
|
-
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Threading Metrics~Thread Count"
|
275
|
-
} ]
|
276
|
-
http_version:
|
277
|
-
recorded_at: Thu, 05 May 2016 11:18:44 GMT
|
278
|
-
recorded_with: VCR 3.0.1
|
data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource.yml
DELETED
@@ -1,185 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/WildFly%20Server/resources
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Hawkular-Tenant:
|
15
|
-
- hawkular
|
16
|
-
Content-Type:
|
17
|
-
- application/json
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
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, 12 May 2016 16:05:20 GMT
|
37
|
-
X-Total-Count:
|
38
|
-
- '1'
|
39
|
-
Connection:
|
40
|
-
- keep-alive
|
41
|
-
Content-Type:
|
42
|
-
- application/json
|
43
|
-
Content-Length:
|
44
|
-
- '351'
|
45
|
-
Link:
|
46
|
-
- <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/WildFly%20Server/resources>;
|
47
|
-
rel="current"
|
48
|
-
body:
|
49
|
-
encoding: ASCII-8BIT
|
50
|
-
string: |-
|
51
|
-
[ {
|
52
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~",
|
53
|
-
"type" : {
|
54
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;WildFly%20Server",
|
55
|
-
"name" : "WildFly Server",
|
56
|
-
"id" : "WildFly Server"
|
57
|
-
},
|
58
|
-
"name" : "localhost/Local",
|
59
|
-
"id" : "Local~~"
|
60
|
-
} ]
|
61
|
-
http_version:
|
62
|
-
recorded_at: Thu, 12 May 2016 16:05:20 GMT
|
63
|
-
- request:
|
64
|
-
method: get
|
65
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~
|
66
|
-
body:
|
67
|
-
encoding: US-ASCII
|
68
|
-
string: ''
|
69
|
-
headers:
|
70
|
-
Accept:
|
71
|
-
- application/json
|
72
|
-
Accept-Encoding:
|
73
|
-
- gzip, deflate
|
74
|
-
Hawkular-Tenant:
|
75
|
-
- hawkular
|
76
|
-
Content-Type:
|
77
|
-
- application/json
|
78
|
-
User-Agent:
|
79
|
-
- Ruby
|
80
|
-
response:
|
81
|
-
status:
|
82
|
-
code: 200
|
83
|
-
message: OK
|
84
|
-
headers:
|
85
|
-
Expires:
|
86
|
-
- '0'
|
87
|
-
Cache-Control:
|
88
|
-
- no-cache, no-store, must-revalidate
|
89
|
-
X-Powered-By:
|
90
|
-
- Undertow/1
|
91
|
-
Server:
|
92
|
-
- WildFly/10
|
93
|
-
Pragma:
|
94
|
-
- no-cache
|
95
|
-
Date:
|
96
|
-
- Thu, 12 May 2016 16:05:20 GMT
|
97
|
-
Connection:
|
98
|
-
- keep-alive
|
99
|
-
Content-Type:
|
100
|
-
- application/json
|
101
|
-
Content-Length:
|
102
|
-
- '347'
|
103
|
-
body:
|
104
|
-
encoding: ASCII-8BIT
|
105
|
-
string: |-
|
106
|
-
{
|
107
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~",
|
108
|
-
"type" : {
|
109
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;WildFly%20Server",
|
110
|
-
"name" : "WildFly Server",
|
111
|
-
"id" : "WildFly Server"
|
112
|
-
},
|
113
|
-
"name" : "localhost/Local",
|
114
|
-
"id" : "Local~~"
|
115
|
-
}
|
116
|
-
http_version:
|
117
|
-
recorded_at: Thu, 12 May 2016 16:05:20 GMT
|
118
|
-
- request:
|
119
|
-
method: get
|
120
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/WildFly%20Server/operationTypes
|
121
|
-
body:
|
122
|
-
encoding: US-ASCII
|
123
|
-
string: ''
|
124
|
-
headers:
|
125
|
-
Accept:
|
126
|
-
- application/json
|
127
|
-
Accept-Encoding:
|
128
|
-
- gzip, deflate
|
129
|
-
Hawkular-Tenant:
|
130
|
-
- hawkular
|
131
|
-
Content-Type:
|
132
|
-
- application/json
|
133
|
-
User-Agent:
|
134
|
-
- Ruby
|
135
|
-
response:
|
136
|
-
status:
|
137
|
-
code: 200
|
138
|
-
message: OK
|
139
|
-
headers:
|
140
|
-
Expires:
|
141
|
-
- '0'
|
142
|
-
Cache-Control:
|
143
|
-
- no-cache, no-store, must-revalidate
|
144
|
-
X-Powered-By:
|
145
|
-
- Undertow/1
|
146
|
-
Server:
|
147
|
-
- WildFly/10
|
148
|
-
Pragma:
|
149
|
-
- no-cache
|
150
|
-
Date:
|
151
|
-
- Thu, 12 May 2016 16:05:20 GMT
|
152
|
-
X-Total-Count:
|
153
|
-
- '4'
|
154
|
-
Connection:
|
155
|
-
- keep-alive
|
156
|
-
Content-Type:
|
157
|
-
- application/json
|
158
|
-
Content-Length:
|
159
|
-
- '667'
|
160
|
-
Link:
|
161
|
-
- <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/WildFly%20Server/operationTypes>;
|
162
|
-
rel="current"
|
163
|
-
body:
|
164
|
-
encoding: ASCII-8BIT
|
165
|
-
string: |-
|
166
|
-
[ {
|
167
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;WildFly%20Server/ot;JDR",
|
168
|
-
"name" : "JDR",
|
169
|
-
"id" : "JDR"
|
170
|
-
}, {
|
171
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;WildFly%20Server/ot;Reload",
|
172
|
-
"name" : "Reload",
|
173
|
-
"id" : "Reload"
|
174
|
-
}, {
|
175
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;WildFly%20Server/ot;Shutdown",
|
176
|
-
"name" : "Shutdown",
|
177
|
-
"id" : "Shutdown"
|
178
|
-
}, {
|
179
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;WildFly%20Server/ot;Deploy",
|
180
|
-
"name" : "Deploy",
|
181
|
-
"id" : "Deploy"
|
182
|
-
} ]
|
183
|
-
http_version:
|
184
|
-
recorded_at: Thu, 12 May 2016 16:05:20 GMT
|
185
|
-
recorded_with: VCR 3.0.1
|