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,174 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/Datasource/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:41 GMT
|
35
|
-
X-Total-Count:
|
36
|
-
- '2'
|
37
|
-
Connection:
|
38
|
-
- keep-alive
|
39
|
-
Content-Type:
|
40
|
-
- application/json
|
41
|
-
Content-Length:
|
42
|
-
- '871'
|
43
|
-
Link:
|
44
|
-
- <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/Datasource/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~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS",
|
51
|
-
"type" : {
|
52
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Datasource",
|
53
|
-
"name" : "Datasource",
|
54
|
-
"id" : "Datasource"
|
55
|
-
},
|
56
|
-
"name" : "ExampleDS",
|
57
|
-
"id" : "Local~/subsystem=datasources/data-source=ExampleDS"
|
58
|
-
}, {
|
59
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DKeycloakDS",
|
60
|
-
"type" : {
|
61
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Datasource",
|
62
|
-
"name" : "Datasource",
|
63
|
-
"id" : "Datasource"
|
64
|
-
},
|
65
|
-
"name" : "KeycloakDS",
|
66
|
-
"id" : "Local~/subsystem=datasources/data-source=KeycloakDS"
|
67
|
-
} ]
|
68
|
-
http_version:
|
69
|
-
recorded_at: Thu, 05 May 2016 11:18:41 GMT
|
70
|
-
- request:
|
71
|
-
method: get
|
72
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/data?dataType=configuration
|
73
|
-
body:
|
74
|
-
encoding: US-ASCII
|
75
|
-
string: ''
|
76
|
-
headers:
|
77
|
-
Accept:
|
78
|
-
- application/json
|
79
|
-
Accept-Encoding:
|
80
|
-
- gzip, deflate
|
81
|
-
Content-Type:
|
82
|
-
- application/json
|
83
|
-
User-Agent:
|
84
|
-
- Ruby
|
85
|
-
response:
|
86
|
-
status:
|
87
|
-
code: 404
|
88
|
-
message: Not Found
|
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, 05 May 2016 11:18:41 GMT
|
102
|
-
Connection:
|
103
|
-
- keep-alive
|
104
|
-
Content-Type:
|
105
|
-
- application/json
|
106
|
-
Content-Length:
|
107
|
-
- '508'
|
108
|
-
body:
|
109
|
-
encoding: ASCII-8BIT
|
110
|
-
string: |-
|
111
|
-
{
|
112
|
-
"errorMsg" : "No DataEntity found on any of the following paths: [[CanonicalPaths[/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/d;configuration]]]",
|
113
|
-
"details" : {
|
114
|
-
"entityType" : "DataEntity",
|
115
|
-
"path" : [ [ {
|
116
|
-
"paths" : [ "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/d;configuration" ]
|
117
|
-
} ] ]
|
118
|
-
}
|
119
|
-
}
|
120
|
-
http_version:
|
121
|
-
recorded_at: Thu, 05 May 2016 11:18:41 GMT
|
122
|
-
- request:
|
123
|
-
method: get
|
124
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~%2Fsubsystem=datasources%2Fdata-source=KeycloakDS/data?dataType=configuration
|
125
|
-
body:
|
126
|
-
encoding: US-ASCII
|
127
|
-
string: ''
|
128
|
-
headers:
|
129
|
-
Accept:
|
130
|
-
- application/json
|
131
|
-
Accept-Encoding:
|
132
|
-
- gzip, deflate
|
133
|
-
Content-Type:
|
134
|
-
- application/json
|
135
|
-
User-Agent:
|
136
|
-
- Ruby
|
137
|
-
response:
|
138
|
-
status:
|
139
|
-
code: 404
|
140
|
-
message: Not Found
|
141
|
-
headers:
|
142
|
-
Expires:
|
143
|
-
- '0'
|
144
|
-
Cache-Control:
|
145
|
-
- no-cache, no-store, must-revalidate
|
146
|
-
X-Powered-By:
|
147
|
-
- Undertow/1
|
148
|
-
Server:
|
149
|
-
- WildFly/10
|
150
|
-
Pragma:
|
151
|
-
- no-cache
|
152
|
-
Date:
|
153
|
-
- Thu, 05 May 2016 11:18:41 GMT
|
154
|
-
Connection:
|
155
|
-
- keep-alive
|
156
|
-
Content-Type:
|
157
|
-
- application/json
|
158
|
-
Content-Length:
|
159
|
-
- '510'
|
160
|
-
body:
|
161
|
-
encoding: ASCII-8BIT
|
162
|
-
string: |-
|
163
|
-
{
|
164
|
-
"errorMsg" : "No DataEntity found on any of the following paths: [[CanonicalPaths[/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DKeycloakDS/d;configuration]]]",
|
165
|
-
"details" : {
|
166
|
-
"entityType" : "DataEntity",
|
167
|
-
"path" : [ [ {
|
168
|
-
"paths" : [ "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DKeycloakDS/d;configuration" ]
|
169
|
-
} ] ]
|
170
|
-
}
|
171
|
-
}
|
172
|
-
http_version:
|
173
|
-
recorded_at: Thu, 05 May 2016 11:18:41 GMT
|
174
|
-
recorded_with: VCR 3.0.1
|
@@ -1,115 +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:41 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:41 GMT
|
61
|
-
- request:
|
62
|
-
method: get
|
63
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/data?dataType=configuration
|
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:41 GMT
|
93
|
-
Connection:
|
94
|
-
- keep-alive
|
95
|
-
Content-Type:
|
96
|
-
- application/json
|
97
|
-
Content-Length:
|
98
|
-
- '351'
|
99
|
-
body:
|
100
|
-
encoding: ASCII-8BIT
|
101
|
-
string: |-
|
102
|
-
{
|
103
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/d;configuration",
|
104
|
-
"value" : {
|
105
|
-
"Bound Address" : "127.0.0.1",
|
106
|
-
"Version" : "1.0.0.Alpha13-SNAPSHOT",
|
107
|
-
"Server State" : "running",
|
108
|
-
"Product Name" : "Hawkular",
|
109
|
-
"Hostname" : "localhost.localdomain"
|
110
|
-
},
|
111
|
-
"name" : "configuration"
|
112
|
-
}
|
113
|
-
http_version:
|
114
|
-
recorded_at: Thu, 05 May 2016 11:18:41 GMT
|
115
|
-
recorded_with: VCR 3.0.1
|
@@ -1,126 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/resourceTypes
|
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:39 GMT
|
35
|
-
X-Total-Count:
|
36
|
-
- '19'
|
37
|
-
Connection:
|
38
|
-
- keep-alive
|
39
|
-
Content-Type:
|
40
|
-
- application/json
|
41
|
-
Content-Length:
|
42
|
-
- '3134'
|
43
|
-
Link:
|
44
|
-
- <http://localhost:8080/hawkular/inventory/resourceTypes>; rel="current"
|
45
|
-
body:
|
46
|
-
encoding: ASCII-8BIT
|
47
|
-
string: |-
|
48
|
-
[ {
|
49
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/rt;URL",
|
50
|
-
"id" : "URL"
|
51
|
-
}, {
|
52
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Operating%20System",
|
53
|
-
"name" : "Operating System",
|
54
|
-
"id" : "Operating System"
|
55
|
-
}, {
|
56
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;File%20Store",
|
57
|
-
"name" : "File Store",
|
58
|
-
"id" : "File Store"
|
59
|
-
}, {
|
60
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Memory",
|
61
|
-
"name" : "Memory",
|
62
|
-
"id" : "Memory"
|
63
|
-
}, {
|
64
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Processor",
|
65
|
-
"name" : "Processor",
|
66
|
-
"id" : "Processor"
|
67
|
-
}, {
|
68
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;WildFly%20Server",
|
69
|
-
"name" : "WildFly Server",
|
70
|
-
"id" : "WildFly Server"
|
71
|
-
}, {
|
72
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Datasource",
|
73
|
-
"name" : "Datasource",
|
74
|
-
"id" : "Datasource"
|
75
|
-
}, {
|
76
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;JDBC%20Driver",
|
77
|
-
"name" : "JDBC Driver",
|
78
|
-
"id" : "JDBC Driver"
|
79
|
-
}, {
|
80
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
81
|
-
"name" : "Deployment",
|
82
|
-
"id" : "Deployment"
|
83
|
-
}, {
|
84
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Singleton%20EJB",
|
85
|
-
"name" : "Singleton EJB",
|
86
|
-
"id" : "Singleton EJB"
|
87
|
-
}, {
|
88
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Stateless%20Session%20EJB",
|
89
|
-
"name" : "Stateless Session EJB",
|
90
|
-
"id" : "Stateless Session EJB"
|
91
|
-
}, {
|
92
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Message%20Driven%20EJB",
|
93
|
-
"name" : "Message Driven EJB",
|
94
|
-
"id" : "Message Driven EJB"
|
95
|
-
}, {
|
96
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Servlet",
|
97
|
-
"name" : "Servlet",
|
98
|
-
"id" : "Servlet"
|
99
|
-
}, {
|
100
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;SubDeployment",
|
101
|
-
"name" : "SubDeployment",
|
102
|
-
"id" : "SubDeployment"
|
103
|
-
}, {
|
104
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Transaction%20Manager",
|
105
|
-
"name" : "Transaction Manager",
|
106
|
-
"id" : "Transaction Manager"
|
107
|
-
}, {
|
108
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Messaging%20Server",
|
109
|
-
"name" : "Messaging Server",
|
110
|
-
"id" : "Messaging Server"
|
111
|
-
}, {
|
112
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;JMS%20Topic",
|
113
|
-
"name" : "JMS Topic",
|
114
|
-
"id" : "JMS Topic"
|
115
|
-
}, {
|
116
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;JMS%20Queue",
|
117
|
-
"name" : "JMS Queue",
|
118
|
-
"id" : "JMS Queue"
|
119
|
-
}, {
|
120
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Hawkular%20WildFly%20Agent",
|
121
|
-
"name" : "Hawkular WildFly Agent",
|
122
|
-
"id" : "Hawkular WildFly Agent"
|
123
|
-
} ]
|
124
|
-
http_version:
|
125
|
-
recorded_at: Thu, 05 May 2016 11:18:39 GMT
|
126
|
-
recorded_with: VCR 3.0.1
|
@@ -1,308 +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:42 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:42 GMT
|
61
|
-
- request:
|
62
|
-
method: get
|
63
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/children
|
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:42 GMT
|
93
|
-
X-Total-Count:
|
94
|
-
- '22'
|
95
|
-
Connection:
|
96
|
-
- keep-alive
|
97
|
-
Content-Type:
|
98
|
-
- application/json
|
99
|
-
Content-Length:
|
100
|
-
- '9615'
|
101
|
-
Link:
|
102
|
-
- <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/children>;
|
103
|
-
rel="current"
|
104
|
-
body:
|
105
|
-
encoding: ASCII-8BIT
|
106
|
-
string: |-
|
107
|
-
[ {
|
108
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS",
|
109
|
-
"type" : {
|
110
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Datasource",
|
111
|
-
"name" : "Datasource",
|
112
|
-
"id" : "Datasource"
|
113
|
-
},
|
114
|
-
"name" : "ExampleDS",
|
115
|
-
"id" : "Local~/subsystem=datasources/data-source=ExampleDS"
|
116
|
-
}, {
|
117
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DKeycloakDS",
|
118
|
-
"type" : {
|
119
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Datasource",
|
120
|
-
"name" : "Datasource",
|
121
|
-
"id" : "Datasource"
|
122
|
-
},
|
123
|
-
"name" : "KeycloakDS",
|
124
|
-
"id" : "Local~/subsystem=datasources/data-source=KeycloakDS"
|
125
|
-
}, {
|
126
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fjdbc-driver%3Dh2",
|
127
|
-
"type" : {
|
128
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;JDBC%20Driver",
|
129
|
-
"name" : "JDBC Driver",
|
130
|
-
"id" : "JDBC Driver"
|
131
|
-
},
|
132
|
-
"name" : "h2",
|
133
|
-
"id" : "Local~/subsystem=datasources/jdbc-driver=h2"
|
134
|
-
}, {
|
135
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-command-gateway-war.war",
|
136
|
-
"type" : {
|
137
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
138
|
-
"name" : "Deployment",
|
139
|
-
"id" : "Deployment"
|
140
|
-
},
|
141
|
-
"name" : "hawkular-command-gateway-war.war",
|
142
|
-
"id" : "Local~/deployment=hawkular-command-gateway-war.war"
|
143
|
-
}, {
|
144
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-alerts-actions-email.war",
|
145
|
-
"type" : {
|
146
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
147
|
-
"name" : "Deployment",
|
148
|
-
"id" : "Deployment"
|
149
|
-
},
|
150
|
-
"name" : "hawkular-alerts-actions-email.war",
|
151
|
-
"id" : "Local~/deployment=hawkular-alerts-actions-email.war"
|
152
|
-
}, {
|
153
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-wildfly-agent-download.war",
|
154
|
-
"type" : {
|
155
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
156
|
-
"name" : "Deployment",
|
157
|
-
"id" : "Deployment"
|
158
|
-
},
|
159
|
-
"name" : "hawkular-wildfly-agent-download.war",
|
160
|
-
"id" : "Local~/deployment=hawkular-wildfly-agent-download.war"
|
161
|
-
}, {
|
162
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-avail-creator.war",
|
163
|
-
"type" : {
|
164
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
165
|
-
"name" : "Deployment",
|
166
|
-
"id" : "Deployment"
|
167
|
-
},
|
168
|
-
"name" : "hawkular-avail-creator.war",
|
169
|
-
"id" : "Local~/deployment=hawkular-avail-creator.war"
|
170
|
-
}, {
|
171
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dsecret-store.war",
|
172
|
-
"type" : {
|
173
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
174
|
-
"name" : "Deployment",
|
175
|
-
"id" : "Deployment"
|
176
|
-
},
|
177
|
-
"name" : "secret-store.war",
|
178
|
-
"id" : "Local~/deployment=secret-store.war"
|
179
|
-
}, {
|
180
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-inventory-dist.war",
|
181
|
-
"type" : {
|
182
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
183
|
-
"name" : "Deployment",
|
184
|
-
"id" : "Deployment"
|
185
|
-
},
|
186
|
-
"name" : "hawkular-inventory-dist.war",
|
187
|
-
"id" : "Local~/deployment=hawkular-inventory-dist.war"
|
188
|
-
}, {
|
189
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-alerts-rest.war",
|
190
|
-
"type" : {
|
191
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
192
|
-
"name" : "Deployment",
|
193
|
-
"id" : "Deployment"
|
194
|
-
},
|
195
|
-
"name" : "hawkular-alerts-rest.war",
|
196
|
-
"id" : "Local~/deployment=hawkular-alerts-rest.war"
|
197
|
-
}, {
|
198
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-accounts-events-backend.war",
|
199
|
-
"type" : {
|
200
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
201
|
-
"name" : "Deployment",
|
202
|
-
"id" : "Deployment"
|
203
|
-
},
|
204
|
-
"name" : "hawkular-accounts-events-backend.war",
|
205
|
-
"id" : "Local~/deployment=hawkular-accounts-events-backend.war"
|
206
|
-
}, {
|
207
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-pinger.war",
|
208
|
-
"type" : {
|
209
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
210
|
-
"name" : "Deployment",
|
211
|
-
"id" : "Deployment"
|
212
|
-
},
|
213
|
-
"name" : "hawkular-pinger.war",
|
214
|
-
"id" : "Local~/deployment=hawkular-pinger.war"
|
215
|
-
}, {
|
216
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-rest-api.war",
|
217
|
-
"type" : {
|
218
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
219
|
-
"name" : "Deployment",
|
220
|
-
"id" : "Deployment"
|
221
|
-
},
|
222
|
-
"name" : "hawkular-rest-api.war",
|
223
|
-
"id" : "Local~/deployment=hawkular-rest-api.war"
|
224
|
-
}, {
|
225
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-metrics-component.war",
|
226
|
-
"type" : {
|
227
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
228
|
-
"name" : "Deployment",
|
229
|
-
"id" : "Deployment"
|
230
|
-
},
|
231
|
-
"name" : "hawkular-metrics-component.war",
|
232
|
-
"id" : "Local~/deployment=hawkular-metrics-component.war"
|
233
|
-
}, {
|
234
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-commons-embedded-cassandra-ear.ear",
|
235
|
-
"type" : {
|
236
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
237
|
-
"name" : "Deployment",
|
238
|
-
"id" : "Deployment"
|
239
|
-
},
|
240
|
-
"name" : "hawkular-commons-embedded-cassandra-ear.ear",
|
241
|
-
"id" : "Local~/deployment=hawkular-commons-embedded-cassandra-ear.ear"
|
242
|
-
}, {
|
243
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-accounts.war",
|
244
|
-
"type" : {
|
245
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
246
|
-
"name" : "Deployment",
|
247
|
-
"id" : "Deployment"
|
248
|
-
},
|
249
|
-
"name" : "hawkular-accounts.war",
|
250
|
-
"id" : "Local~/deployment=hawkular-accounts.war"
|
251
|
-
}, {
|
252
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-btm-server.war",
|
253
|
-
"type" : {
|
254
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
255
|
-
"name" : "Deployment",
|
256
|
-
"id" : "Deployment"
|
257
|
-
},
|
258
|
-
"name" : "hawkular-btm-server.war",
|
259
|
-
"id" : "Local~/deployment=hawkular-btm-server.war"
|
260
|
-
}, {
|
261
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dkeycloak-server.war",
|
262
|
-
"type" : {
|
263
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
264
|
-
"name" : "Deployment",
|
265
|
-
"id" : "Deployment"
|
266
|
-
},
|
267
|
-
"name" : "keycloak-server.war",
|
268
|
-
"id" : "Local~/deployment=keycloak-server.war"
|
269
|
-
}, {
|
270
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-console.war",
|
271
|
-
"type" : {
|
272
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Deployment",
|
273
|
-
"name" : "Deployment",
|
274
|
-
"id" : "Deployment"
|
275
|
-
},
|
276
|
-
"name" : "hawkular-console.war",
|
277
|
-
"id" : "Local~/deployment=hawkular-console.war"
|
278
|
-
}, {
|
279
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Dtransactions",
|
280
|
-
"type" : {
|
281
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Transaction%20Manager",
|
282
|
-
"name" : "Transaction Manager",
|
283
|
-
"id" : "Transaction Manager"
|
284
|
-
},
|
285
|
-
"name" : "Transaction Manager",
|
286
|
-
"id" : "Local~/subsystem=transactions"
|
287
|
-
}, {
|
288
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Dmessaging-activemq%2Fserver%3Ddefault",
|
289
|
-
"type" : {
|
290
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Messaging%20Server",
|
291
|
-
"name" : "Messaging Server",
|
292
|
-
"id" : "Messaging Server"
|
293
|
-
},
|
294
|
-
"name" : "Messaging Server [default]",
|
295
|
-
"id" : "Local~/subsystem=messaging-activemq/server=default"
|
296
|
-
}, {
|
297
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Dhawkular-wildfly-agent",
|
298
|
-
"type" : {
|
299
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Hawkular%20WildFly%20Agent",
|
300
|
-
"name" : "Hawkular WildFly Agent",
|
301
|
-
"id" : "Hawkular WildFly Agent"
|
302
|
-
},
|
303
|
-
"name" : "Hawkular WildFly Agent",
|
304
|
-
"id" : "Local~/subsystem=hawkular-wildfly-agent"
|
305
|
-
} ]
|
306
|
-
http_version:
|
307
|
-
recorded_at: Thu, 05 May 2016 11:18:42 GMT
|
308
|
-
recorded_with: VCR 3.0.1
|