hawkular-client 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.rdoc +12 -0
- data/README.rdoc +5 -3
- data/Rakefile +8 -0
- data/hawkularclient.gemspec +1 -1
- data/lib/hawkular/base_client.rb +19 -1
- data/lib/hawkular/hawkular_client.rb +1 -1
- data/lib/hawkular/hawkular_client_utils.rb +1 -0
- data/lib/hawkular/inventory/entities.rb +234 -0
- data/lib/hawkular/inventory/inventory_api.rb +92 -311
- data/lib/hawkular/metrics/metric_api.rb +23 -10
- data/lib/hawkular/metrics/metrics_client.rb +14 -0
- data/lib/hawkular/operations/operations_api.rb +8 -2
- data/lib/hawkular/version.rb +1 -1
- data/spec/README.rdoc +62 -0
- data/spec/integration/alerts_spec.rb +18 -14
- data/spec/integration/hawkular_client_spec.rb +53 -14
- data/spec/integration/inventory_spec.rb +91 -44
- data/spec/integration/metric_spec.rb +574 -420
- data/spec/integration/operations_spec.rb +78 -5
- data/spec/integration/tokens_spec.rb +8 -4
- data/spec/spec_helper.rb +73 -13
- data/spec/unit/base_spec.rb +30 -1
- data/spec/unit/client_spec.rb +21 -9
- data/spec/vcr_cassettes/HawkularClient/Should_err_on_bad_credentials.yml +42 -0
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +64 -34
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml +27 -43
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_types_with_bad_feed.yml +12 -8
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +144 -64
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml +26 -14
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +20 -158
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml +40 -30
- data/spec/vcr_cassettes/{Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml → HawkularClient/and_Operations_client/Should_work_initializing_with_URI.yml} +18 -20
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +8 -8
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_work_initializing_with_URI.json +9 -0
- data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI.yml +77 -20
- data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI_on_metrics_client.yml +3 -3
- data/spec/vcr_cassettes/Inventory/Connection/Should_err_on_bad_credentials.yml +42 -0
- data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +59 -12
- data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +59 -12
- data/spec/vcr_cassettes/Inventory/{Helpers → inventory_0_17/Helpers}/create_url.yml +9 -7
- data/spec/vcr_cassettes/Inventory/{Templates/Should_list_feeds_when_using_SSL_without_certificate.yml → inventory_0_17/Helpers/get_feeds.yml} +23 -21
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.json +47 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Client_should_listen_on_various_inventory_events.yml +48 -40
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +397 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +129 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_feed.yml +13 -10
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_feed_again.yml +40 -29
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_nested_resource_and_metric_on_it.yml +193 -237
- data/spec/vcr_cassettes/Inventory/{Templates/Should_create_and_get_a_resource.yml → inventory_0_17/Templates/Should_create_a_resource.yml} +86 -172
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_resource_with_metric.yml +296 -158
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_resourcetype.yml +38 -29
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_and_delete_feed.yml +42 -27
- data/spec/vcr_cassettes/Inventory/{Templates/Should_create_a_resource.yml → inventory_0_17/Templates/Should_create_and_get_a_resource.yml} +109 -89
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_URLs.yml +20 -17
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_WildFlys.yml +19 -12
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +131 -0
- data/spec/vcr_cassettes/Inventory/{Helpers/get_feeds.yml → inventory_0_17/Templates/Should_list_all_the_resource_types.yml} +14 -11
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +315 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_children_of_nested_resource.yml +45 -30
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_feeds.yml +16 -10
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml +60 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +935 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +357 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +122 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +292 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +235 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +121 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +1099 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +377 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_resources_for_feed.yml +19 -9
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_types_with_bad_feed.yml +10 -8
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_types_with_feed.yml +164 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_not_find_an_unknown_resource.yml +12 -10
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_return_config_data_of_given_nested_resource.yml +17 -11
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +66 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_return_the_version.yml +48 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Get_metric_definition_by_id.yml +49 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Retrieve_metric_rate_points.yml +88 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_Availability_definition.yml +97 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_Counter_definition.yml +97 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_gauge_definition.yml +97 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_push_metric_data_to_existing_gauge.yml +48 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_update_tags_for_Availability_definition.yml +140 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_update_tags_for_gauge_definition.yml +140 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +93 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +314 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +269 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +269 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +93 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +330 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +273 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +48 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +48 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Status/Should_return_the_version.yml +42 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +95 -0
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +5 -9
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_create_and_return_Availability_using_Hash_parameter.yml +5 -9
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_push_metric_data_to_non-existing_Availability.yml +9 -15
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_update_tags_for_Availability_definition.yml +11 -21
- data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_create_and_return_counter_using_Hash_parameter.yml +5 -9
- data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_create_counter_definition_using_MetricDefinition_parameter.yml +5 -9
- data/spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +200 -0
- data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_push_metric_data_to_existing_counter.yml +16 -28
- data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_push_metric_data_to_non-existing_counter.yml +9 -15
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_create_gauge_definition_using_Hash.yml +5 -9
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_create_gauge_definition_using_MetricDefinition.yml +6 -10
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_push_metric_data_to_existing_gauge.yml +18 -30
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_push_metric_data_to_non-existing_gauge.yml +9 -15
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_return_periods.yml +6 -10
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_update_tags_for_gauge_definition.yml +11 -21
- data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_0_8_0/Templates/Mixed_metrics}/Should_send_mixed_metric_request.yml +19 -33
- data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_0_8_0/Templates/Mixed_metrics}/Should_send_mixed_metric_request_of_a_single_type.yml +19 -31
- data/spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Simple/Should_be_Cool.yml +82 -0
- data/spec/vcr_cassettes/Metrics/{Status.yml → metrics_0_8_0/Templates/Status/Should_return_the_version.yml} +6 -8
- data/spec/vcr_cassettes/{Tenants → Metrics/metrics_0_8_0/Templates/Tenants}/Should_create_and_return_tenant.yml +12 -8
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +95 -0
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_services/Templates/Availability_metrics}/Should_group_contiguous_values.yml +7 -7
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +314 -0
- data/spec/vcr_cassettes/{Counter_metrics/Should_get_metrics_with_limit_and_order.yml → Metrics/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml} +72 -61
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +269 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +93 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +48 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +49 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +230 -0
- data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_services/Templates/Mixed_metrics}/Should_requests_raw_data_for_multiple_metrics.yml +25 -25
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +273 -0
- data/spec/vcr_cassettes/{No_Tenant → Metrics/metrics_services/Templates/No_Tenant}/Should_fail.yml +16 -10
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Simple/Should_be_Cool.yml +48 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Status/Should_return_the_version.yml +42 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +95 -0
- data/spec/vcr_cassettes/{Counter_metrics → New_API_Counter_metrics}/Should_get_metrics_as_bucketed_results.yml +73 -33
- data/spec/vcr_cassettes/New_API_Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
- data/spec/vcr_cassettes/Operation/Helpers/get_feed.yml +17 -11
- data/spec/vcr_cassettes/Operation/Helpers/get_tenant.yml +13 -11
- data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +4 -4
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +13 -0
- metadata +259 -139
- data/spec/vcr_cassettes/Gauge_metrics/Platform_mem.yml +0 -44
- data/spec/vcr_cassettes/Gauge_metrics/Platform_mem_def.yml +0 -45
- data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +0 -4446
- data/spec/vcr_cassettes/Inventory/Templates/Client_should_listen_on_various_inventory_events.json +0 -47
- data/spec/vcr_cassettes/Inventory/Templates/Helpers/generate_some_events_for_websocket.yml +0 -542
- data/spec/vcr_cassettes/Inventory/Templates/Should_List_datasources_with_no_props.yml +0 -174
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_WildFlys_with_props.yml +0 -115
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_all_the_resource_types.yml +0 -126
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_children_of_WildFly.yml +0 -308
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_heap_metrics_for_WildFlys.yml +0 -712
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_for_WildFlys.yml +0 -278
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_metric_type.yml +0 -530
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_resource_type.yml +0 -278
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource.yml +0 -185
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource_type.yml +0 -126
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_recursive_children_of_WildFly.yml +0 -2369
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_relationships_of_WildFly.yml +0 -415
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_feed.yml +0 -124
- data/spec/vcr_cassettes/Inventory/Templates/Should_return_config_data_of_given_resource.yml +0 -57
- data/spec/vcr_cassettes/Simple/Should_be_Cool.yml +0 -208
- data/spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +0 -50
|
@@ -13,8 +13,6 @@ http_interactions:
|
|
|
13
13
|
- gzip, deflate
|
|
14
14
|
Hawkular-Tenant:
|
|
15
15
|
- vcr-test-tenant-123
|
|
16
|
-
Tenantid:
|
|
17
|
-
- vcr-test-tenant-123
|
|
18
16
|
Content-Type:
|
|
19
17
|
- application/json
|
|
20
18
|
User-Agent:
|
|
@@ -33,12 +31,12 @@ http_interactions:
|
|
|
33
31
|
Content-Length:
|
|
34
32
|
- '0'
|
|
35
33
|
Date:
|
|
36
|
-
-
|
|
34
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
37
35
|
body:
|
|
38
36
|
encoding: UTF-8
|
|
39
37
|
string: ''
|
|
40
38
|
http_version:
|
|
41
|
-
recorded_at:
|
|
39
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
42
40
|
- request:
|
|
43
41
|
method: get
|
|
44
42
|
uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
|
|
@@ -52,8 +50,6 @@ http_interactions:
|
|
|
52
50
|
- gzip, deflate
|
|
53
51
|
Hawkular-Tenant:
|
|
54
52
|
- vcr-test-tenant-123
|
|
55
|
-
Tenantid:
|
|
56
|
-
- vcr-test-tenant-123
|
|
57
53
|
Content-Type:
|
|
58
54
|
- application/json
|
|
59
55
|
User-Agent:
|
|
@@ -72,12 +68,12 @@ http_interactions:
|
|
|
72
68
|
Content-Length:
|
|
73
69
|
- '0'
|
|
74
70
|
Date:
|
|
75
|
-
-
|
|
71
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
76
72
|
body:
|
|
77
73
|
encoding: UTF-8
|
|
78
74
|
string: ''
|
|
79
75
|
http_version:
|
|
80
|
-
recorded_at:
|
|
76
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
81
77
|
- request:
|
|
82
78
|
method: get
|
|
83
79
|
uri: http://localhost:8080/hawkular/metrics/availability/<%= id %>/data/
|
|
@@ -91,8 +87,6 @@ http_interactions:
|
|
|
91
87
|
- gzip, deflate
|
|
92
88
|
Hawkular-Tenant:
|
|
93
89
|
- vcr-test-tenant-123
|
|
94
|
-
Tenantid:
|
|
95
|
-
- vcr-test-tenant-123
|
|
96
90
|
Content-Type:
|
|
97
91
|
- application/json
|
|
98
92
|
User-Agent:
|
|
@@ -111,18 +105,18 @@ http_interactions:
|
|
|
111
105
|
Content-Length:
|
|
112
106
|
- '0'
|
|
113
107
|
Date:
|
|
114
|
-
-
|
|
108
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
115
109
|
body:
|
|
116
110
|
encoding: UTF-8
|
|
117
111
|
string: ''
|
|
118
112
|
http_version:
|
|
119
|
-
recorded_at:
|
|
113
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
120
114
|
- request:
|
|
121
115
|
method: post
|
|
122
116
|
uri: http://localhost:8080/hawkular/metrics/metrics/data
|
|
123
117
|
body:
|
|
124
118
|
encoding: UTF-8
|
|
125
|
-
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":
|
|
119
|
+
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":1467304297239}]}],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":1467304297239}]}],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":1467304297239}]}]}'
|
|
126
120
|
headers:
|
|
127
121
|
Accept:
|
|
128
122
|
- application/json
|
|
@@ -130,8 +124,6 @@ http_interactions:
|
|
|
130
124
|
- gzip, deflate
|
|
131
125
|
Hawkular-Tenant:
|
|
132
126
|
- vcr-test-tenant-123
|
|
133
|
-
Tenantid:
|
|
134
|
-
- vcr-test-tenant-123
|
|
135
127
|
Content-Type:
|
|
136
128
|
- application/json
|
|
137
129
|
Content-Length:
|
|
@@ -152,12 +144,12 @@ http_interactions:
|
|
|
152
144
|
Content-Length:
|
|
153
145
|
- '0'
|
|
154
146
|
Date:
|
|
155
|
-
-
|
|
147
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
156
148
|
body:
|
|
157
149
|
encoding: UTF-8
|
|
158
150
|
string: ''
|
|
159
151
|
http_version:
|
|
160
|
-
recorded_at:
|
|
152
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
161
153
|
- request:
|
|
162
154
|
method: get
|
|
163
155
|
uri: http://localhost:8080/hawkular/metrics/counters/<%= id %>/data/
|
|
@@ -171,8 +163,6 @@ http_interactions:
|
|
|
171
163
|
- gzip, deflate
|
|
172
164
|
Hawkular-Tenant:
|
|
173
165
|
- vcr-test-tenant-123
|
|
174
|
-
Tenantid:
|
|
175
|
-
- vcr-test-tenant-123
|
|
176
166
|
Content-Type:
|
|
177
167
|
- application/json
|
|
178
168
|
User-Agent:
|
|
@@ -193,12 +183,12 @@ http_interactions:
|
|
|
193
183
|
Content-Length:
|
|
194
184
|
- '39'
|
|
195
185
|
Date:
|
|
196
|
-
-
|
|
186
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
197
187
|
body:
|
|
198
188
|
encoding: UTF-8
|
|
199
|
-
string: '[{"timestamp":
|
|
189
|
+
string: '[{"timestamp":1467304297239,"value":1}]'
|
|
200
190
|
http_version:
|
|
201
|
-
recorded_at:
|
|
191
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
202
192
|
- request:
|
|
203
193
|
method: get
|
|
204
194
|
uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
|
|
@@ -212,8 +202,6 @@ http_interactions:
|
|
|
212
202
|
- gzip, deflate
|
|
213
203
|
Hawkular-Tenant:
|
|
214
204
|
- vcr-test-tenant-123
|
|
215
|
-
Tenantid:
|
|
216
|
-
- vcr-test-tenant-123
|
|
217
205
|
Content-Type:
|
|
218
206
|
- application/json
|
|
219
207
|
User-Agent:
|
|
@@ -234,12 +222,12 @@ http_interactions:
|
|
|
234
222
|
Content-Length:
|
|
235
223
|
- '41'
|
|
236
224
|
Date:
|
|
237
|
-
-
|
|
225
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
238
226
|
body:
|
|
239
227
|
encoding: UTF-8
|
|
240
|
-
string: '[{"timestamp":
|
|
228
|
+
string: '[{"timestamp":1467304297239,"value":1.1}]'
|
|
241
229
|
http_version:
|
|
242
|
-
recorded_at:
|
|
230
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
243
231
|
- request:
|
|
244
232
|
method: get
|
|
245
233
|
uri: http://localhost:8080/hawkular/metrics/availability/<%= id %>/data/
|
|
@@ -253,8 +241,6 @@ http_interactions:
|
|
|
253
241
|
- gzip, deflate
|
|
254
242
|
Hawkular-Tenant:
|
|
255
243
|
- vcr-test-tenant-123
|
|
256
|
-
Tenantid:
|
|
257
|
-
- vcr-test-tenant-123
|
|
258
244
|
Content-Type:
|
|
259
245
|
- application/json
|
|
260
246
|
User-Agent:
|
|
@@ -275,10 +261,10 @@ http_interactions:
|
|
|
275
261
|
Content-Length:
|
|
276
262
|
- '44'
|
|
277
263
|
Date:
|
|
278
|
-
-
|
|
264
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
279
265
|
body:
|
|
280
266
|
encoding: UTF-8
|
|
281
|
-
string: '[{"timestamp":
|
|
267
|
+
string: '[{"timestamp":1467304297239,"value":"down"}]'
|
|
282
268
|
http_version:
|
|
283
|
-
recorded_at:
|
|
284
|
-
recorded_with: VCR
|
|
269
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
270
|
+
recorded_with: VCR 3.0.1
|
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
|
5
5
|
uri: http://localhost:8080/hawkular/metrics/metrics/data
|
|
6
6
|
body:
|
|
7
7
|
encoding: UTF-8
|
|
8
|
-
string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":
|
|
8
|
+
string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":1467304297056}]}],"availabilities":[]}'
|
|
9
9
|
headers:
|
|
10
10
|
Accept:
|
|
11
11
|
- application/json
|
|
@@ -13,8 +13,6 @@ http_interactions:
|
|
|
13
13
|
- gzip, deflate
|
|
14
14
|
Hawkular-Tenant:
|
|
15
15
|
- vcr-test-tenant-123
|
|
16
|
-
Tenantid:
|
|
17
|
-
- vcr-test-tenant-123
|
|
18
16
|
Content-Type:
|
|
19
17
|
- application/json
|
|
20
18
|
Content-Length:
|
|
@@ -35,12 +33,12 @@ http_interactions:
|
|
|
35
33
|
Content-Length:
|
|
36
34
|
- '0'
|
|
37
35
|
Date:
|
|
38
|
-
-
|
|
36
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
39
37
|
body:
|
|
40
38
|
encoding: UTF-8
|
|
41
39
|
string: ''
|
|
42
40
|
http_version:
|
|
43
|
-
recorded_at:
|
|
41
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
44
42
|
- request:
|
|
45
43
|
method: get
|
|
46
44
|
uri: http://localhost:8080/hawkular/metrics/counters/<%= id %>/data/
|
|
@@ -54,8 +52,6 @@ http_interactions:
|
|
|
54
52
|
- gzip, deflate
|
|
55
53
|
Hawkular-Tenant:
|
|
56
54
|
- vcr-test-tenant-123
|
|
57
|
-
Tenantid:
|
|
58
|
-
- vcr-test-tenant-123
|
|
59
55
|
Content-Type:
|
|
60
56
|
- application/json
|
|
61
57
|
User-Agent:
|
|
@@ -76,18 +72,18 @@ http_interactions:
|
|
|
76
72
|
Content-Length:
|
|
77
73
|
- '39'
|
|
78
74
|
Date:
|
|
79
|
-
-
|
|
75
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
80
76
|
body:
|
|
81
77
|
encoding: UTF-8
|
|
82
|
-
string: '[{"timestamp":
|
|
78
|
+
string: '[{"timestamp":1467304297056,"value":1}]'
|
|
83
79
|
http_version:
|
|
84
|
-
recorded_at:
|
|
80
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
85
81
|
- request:
|
|
86
82
|
method: post
|
|
87
83
|
uri: http://localhost:8080/hawkular/metrics/metrics/data
|
|
88
84
|
body:
|
|
89
85
|
encoding: UTF-8
|
|
90
|
-
string: '{"gauges":[],"counters":[],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":
|
|
86
|
+
string: '{"gauges":[],"counters":[],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":1467304297104}]}]}'
|
|
91
87
|
headers:
|
|
92
88
|
Accept:
|
|
93
89
|
- application/json
|
|
@@ -95,8 +91,6 @@ http_interactions:
|
|
|
95
91
|
- gzip, deflate
|
|
96
92
|
Hawkular-Tenant:
|
|
97
93
|
- vcr-test-tenant-123
|
|
98
|
-
Tenantid:
|
|
99
|
-
- vcr-test-tenant-123
|
|
100
94
|
Content-Type:
|
|
101
95
|
- application/json
|
|
102
96
|
Content-Length:
|
|
@@ -117,12 +111,12 @@ http_interactions:
|
|
|
117
111
|
Content-Length:
|
|
118
112
|
- '0'
|
|
119
113
|
Date:
|
|
120
|
-
-
|
|
114
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
121
115
|
body:
|
|
122
116
|
encoding: UTF-8
|
|
123
117
|
string: ''
|
|
124
118
|
http_version:
|
|
125
|
-
recorded_at:
|
|
119
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
126
120
|
- request:
|
|
127
121
|
method: get
|
|
128
122
|
uri: http://localhost:8080/hawkular/metrics/availability/<%= id %>/data/
|
|
@@ -136,8 +130,6 @@ http_interactions:
|
|
|
136
130
|
- gzip, deflate
|
|
137
131
|
Hawkular-Tenant:
|
|
138
132
|
- vcr-test-tenant-123
|
|
139
|
-
Tenantid:
|
|
140
|
-
- vcr-test-tenant-123
|
|
141
133
|
Content-Type:
|
|
142
134
|
- application/json
|
|
143
135
|
User-Agent:
|
|
@@ -158,18 +150,18 @@ http_interactions:
|
|
|
158
150
|
Content-Length:
|
|
159
151
|
- '44'
|
|
160
152
|
Date:
|
|
161
|
-
-
|
|
153
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
162
154
|
body:
|
|
163
155
|
encoding: UTF-8
|
|
164
|
-
string: '[{"timestamp":
|
|
156
|
+
string: '[{"timestamp":1467304297104,"value":"down"}]'
|
|
165
157
|
http_version:
|
|
166
|
-
recorded_at:
|
|
158
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
167
159
|
- request:
|
|
168
160
|
method: post
|
|
169
161
|
uri: http://localhost:8080/hawkular/metrics/metrics/data
|
|
170
162
|
body:
|
|
171
163
|
encoding: UTF-8
|
|
172
|
-
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":
|
|
164
|
+
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":1467304297146}]}],"counters":[],"availabilities":[]}'
|
|
173
165
|
headers:
|
|
174
166
|
Accept:
|
|
175
167
|
- application/json
|
|
@@ -177,8 +169,6 @@ http_interactions:
|
|
|
177
169
|
- gzip, deflate
|
|
178
170
|
Hawkular-Tenant:
|
|
179
171
|
- vcr-test-tenant-123
|
|
180
|
-
Tenantid:
|
|
181
|
-
- vcr-test-tenant-123
|
|
182
172
|
Content-Type:
|
|
183
173
|
- application/json
|
|
184
174
|
Content-Length:
|
|
@@ -199,12 +189,12 @@ http_interactions:
|
|
|
199
189
|
Content-Length:
|
|
200
190
|
- '0'
|
|
201
191
|
Date:
|
|
202
|
-
-
|
|
192
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
203
193
|
body:
|
|
204
194
|
encoding: UTF-8
|
|
205
195
|
string: ''
|
|
206
196
|
http_version:
|
|
207
|
-
recorded_at:
|
|
197
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
208
198
|
- request:
|
|
209
199
|
method: get
|
|
210
200
|
uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
|
|
@@ -218,8 +208,6 @@ http_interactions:
|
|
|
218
208
|
- gzip, deflate
|
|
219
209
|
Hawkular-Tenant:
|
|
220
210
|
- vcr-test-tenant-123
|
|
221
|
-
Tenantid:
|
|
222
|
-
- vcr-test-tenant-123
|
|
223
211
|
Content-Type:
|
|
224
212
|
- application/json
|
|
225
213
|
User-Agent:
|
|
@@ -240,10 +228,10 @@ http_interactions:
|
|
|
240
228
|
Content-Length:
|
|
241
229
|
- '41'
|
|
242
230
|
Date:
|
|
243
|
-
-
|
|
231
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
244
232
|
body:
|
|
245
233
|
encoding: UTF-8
|
|
246
|
-
string: '[{"timestamp":
|
|
234
|
+
string: '[{"timestamp":1467304297146,"value":1.1}]'
|
|
247
235
|
http_version:
|
|
248
|
-
recorded_at:
|
|
249
|
-
recorded_with: VCR
|
|
236
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
237
|
+
recorded_with: VCR 3.0.1
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://localhost:8080/hawkular/metrics
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Accept-Encoding:
|
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
+
Accept:
|
|
13
|
+
- "*/*"
|
|
14
|
+
User-Agent:
|
|
15
|
+
- Ruby
|
|
16
|
+
Host:
|
|
17
|
+
- localhost:8080
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 200
|
|
21
|
+
message: OK
|
|
22
|
+
headers:
|
|
23
|
+
Connection:
|
|
24
|
+
- keep-alive
|
|
25
|
+
Last-Modified:
|
|
26
|
+
- Sat, 10 Oct 2015 12:46:12 GMT
|
|
27
|
+
X-Powered-By:
|
|
28
|
+
- Undertow/1
|
|
29
|
+
Server:
|
|
30
|
+
- WildFly/9
|
|
31
|
+
Content-Type:
|
|
32
|
+
- text/html
|
|
33
|
+
Content-Length:
|
|
34
|
+
- '1486'
|
|
35
|
+
Date:
|
|
36
|
+
- Thu, 30 Jun 2016 16:31:36 GMT
|
|
37
|
+
body:
|
|
38
|
+
encoding: UTF-8
|
|
39
|
+
string: |
|
|
40
|
+
<!--
|
|
41
|
+
~ Copyright 2014-2015 Red Hat, Inc. and/or its affiliates
|
|
42
|
+
~ and other contributors as indicated by the @author tags.
|
|
43
|
+
~
|
|
44
|
+
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
45
|
+
~ you may not use this file except in compliance with the License.
|
|
46
|
+
~ You may obtain a copy of the License at
|
|
47
|
+
~
|
|
48
|
+
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
49
|
+
~
|
|
50
|
+
~ Unless required by applicable law or agreed to in writing, software
|
|
51
|
+
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
52
|
+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
53
|
+
~ See the License for the specific language governing permissions and
|
|
54
|
+
~ limitations under the License.
|
|
55
|
+
-->
|
|
56
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
57
|
+
<html>
|
|
58
|
+
<head>
|
|
59
|
+
<title>Hawkular Metrics</title>
|
|
60
|
+
<link rel="shortcut icon" href="/hawkular/metrics/static/favicon.ico" type="image/x-icon">
|
|
61
|
+
<link rel="StyleSheet" href="/hawkular/metrics/static/welcome.css" type="text/css">
|
|
62
|
+
<script src="/hawkular/metrics/static/status.js"></script>
|
|
63
|
+
</head>
|
|
64
|
+
|
|
65
|
+
<body>
|
|
66
|
+
<div class="content">
|
|
67
|
+
<div class="logo">
|
|
68
|
+
<img src="/hawkular/metrics/static/hawkular_logo.png" alt="Hawkular Logo"/>
|
|
69
|
+
</div>
|
|
70
|
+
<h1>Hawkular Metrics</h1>
|
|
71
|
+
<h3>A time series metrics engine based on Cassandra</h3>
|
|
72
|
+
|
|
73
|
+
<p id="implementation-version"></p>
|
|
74
|
+
<p id="built-from-git-sha1" style="font-size:12px;"></p>
|
|
75
|
+
|
|
76
|
+
<p id="status">Status: <i>Checking...</i></p>
|
|
77
|
+
</div>
|
|
78
|
+
</body>
|
|
79
|
+
</html>
|
|
80
|
+
http_version:
|
|
81
|
+
recorded_at: Thu, 30 Jun 2016 16:31:36 GMT
|
|
82
|
+
recorded_with: VCR 3.0.1
|
|
@@ -12,9 +12,7 @@ http_interactions:
|
|
|
12
12
|
Accept-Encoding:
|
|
13
13
|
- gzip, deflate
|
|
14
14
|
Hawkular-Tenant:
|
|
15
|
-
-
|
|
16
|
-
Tenantid:
|
|
17
|
-
- vcr-test-tenant-123
|
|
15
|
+
- hawkular
|
|
18
16
|
Content-Type:
|
|
19
17
|
- application/json
|
|
20
18
|
User-Agent:
|
|
@@ -33,12 +31,12 @@ http_interactions:
|
|
|
33
31
|
Content-Type:
|
|
34
32
|
- application/json
|
|
35
33
|
Content-Length:
|
|
36
|
-
- '
|
|
34
|
+
- '132'
|
|
37
35
|
Date:
|
|
38
|
-
-
|
|
36
|
+
- Thu, 30 Jun 2016 16:31:36 GMT
|
|
39
37
|
body:
|
|
40
38
|
encoding: UTF-8
|
|
41
|
-
string: '{"MetricsService":"
|
|
39
|
+
string: '{"MetricsService":"STARTED","Implementation-Version":"0.8.0.Final","Built-From-Git-SHA1":"fba0489ea5b443f986b1bbb02ae9906fd6709cab"}'
|
|
42
40
|
http_version:
|
|
43
|
-
recorded_at:
|
|
44
|
-
recorded_with: VCR 3.0.
|
|
41
|
+
recorded_at: Thu, 30 Jun 2016 16:31:36 GMT
|
|
42
|
+
recorded_with: VCR 3.0.1
|
|
@@ -5,12 +5,14 @@ http_interactions:
|
|
|
5
5
|
uri: http://localhost:8080/hawkular/metrics/tenants
|
|
6
6
|
body:
|
|
7
7
|
encoding: UTF-8
|
|
8
|
-
string: '{"id":"
|
|
8
|
+
string: '{"id":"<%= id %>"}'
|
|
9
9
|
headers:
|
|
10
10
|
Accept:
|
|
11
11
|
- application/json
|
|
12
12
|
Accept-Encoding:
|
|
13
13
|
- gzip, deflate
|
|
14
|
+
Hawkular-Tenant:
|
|
15
|
+
- hawkular
|
|
14
16
|
Content-Type:
|
|
15
17
|
- application/json
|
|
16
18
|
Content-Length:
|
|
@@ -33,12 +35,12 @@ http_interactions:
|
|
|
33
35
|
Content-Length:
|
|
34
36
|
- '0'
|
|
35
37
|
Date:
|
|
36
|
-
-
|
|
38
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
37
39
|
body:
|
|
38
40
|
encoding: UTF-8
|
|
39
41
|
string: ''
|
|
40
42
|
http_version:
|
|
41
|
-
recorded_at:
|
|
43
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
42
44
|
- request:
|
|
43
45
|
method: get
|
|
44
46
|
uri: http://localhost:8080/hawkular/metrics/tenants
|
|
@@ -50,6 +52,8 @@ http_interactions:
|
|
|
50
52
|
- application/json
|
|
51
53
|
Accept-Encoding:
|
|
52
54
|
- gzip, deflate
|
|
55
|
+
Hawkular-Tenant:
|
|
56
|
+
- hawkular
|
|
53
57
|
Content-Type:
|
|
54
58
|
- application/json
|
|
55
59
|
User-Agent:
|
|
@@ -68,12 +72,12 @@ http_interactions:
|
|
|
68
72
|
Content-Type:
|
|
69
73
|
- application/json
|
|
70
74
|
Content-Length:
|
|
71
|
-
- '
|
|
75
|
+
- '76'
|
|
72
76
|
Date:
|
|
73
|
-
-
|
|
77
|
+
- Thu, 30 Jun 2016 16:31:37 GMT
|
|
74
78
|
body:
|
|
75
79
|
encoding: UTF-8
|
|
76
|
-
string: '[{"id":"
|
|
80
|
+
string: '[{"id":"vcr-test-tenant-123"},{"id":"<%= id %>"}]'
|
|
77
81
|
http_version:
|
|
78
|
-
recorded_at:
|
|
79
|
-
recorded_with: VCR
|
|
82
|
+
recorded_at: Thu, 30 Jun 2016 16:31:37 GMT
|
|
83
|
+
recorded_with: VCR 3.0.1
|