hawkular-client 2.6.0 → 2.7.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 +5 -2
- data/lib/hawkular/hawkular_client.rb +1 -1
- data/lib/hawkular/inventory/inventory_api.rb +2 -1
- data/lib/hawkular/metrics/metric_api.rb +4 -1
- data/lib/hawkular/operations/operations_api.rb +7 -4
- data/lib/hawkular/version.rb +1 -1
- data/spec/integration/inventory_spec.rb +516 -466
- data/spec/integration/metric_spec.rb +612 -561
- data/spec/integration/operations_spec.rb +425 -504
- data/spec/spec_helper.rb +73 -19
- data/spec/vcr_cassettes/Inventory/{Connection → NonSecure/Connection/Templates}/Should_err_on_bad_credentials.yml +6 -4
- data/spec/vcr_cassettes/Inventory/{Tenants → NonSecure/Tenants/Templates}/Should_Get_Tenant_For_Explicit_Credentials.yml +13 -9
- data/spec/vcr_cassettes/Inventory/{Tenants → NonSecure/Tenants/Templates}/Should_Get_Tenant_For_Implicit_Credentials.yml +13 -9
- data/spec/vcr_cassettes/Inventory/{inventory_0_17/Templates → NonSecure/inventory_0_17}/Client_should_listen_on_various_inventory_events.json +5 -5
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Client_should_listen_on_various_inventory_events.yml +21 -13
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17/Templates}/Helpers/create_url.yml +12 -10
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Helpers/generate_some_events_for_websocket.yml +51 -37
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17/Templates}/Helpers/get_feeds.yml +11 -9
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_List_datasources_with_no_props.yml +11 -7
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_feed.yml +6 -4
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_feed_again.yml +16 -10
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +664 -0
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_resource.yml +31 -19
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_resource_with_metric.yml +77 -49
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_resourcetype.yml +16 -10
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_and_delete_feed.yml +19 -13
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +420 -0
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +132 -0
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_have_the_same_requested_metric_type_id.yml +8 -8
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_URLs.yml +29 -7
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_WildFlys.yml +10 -8
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_WildFlys_with_props.yml +24 -17
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_all_the_resource_types.yml +6 -4
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_children_of_WildFly.yml +31 -13
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_children_of_nested_resource.yml +16 -10
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_feeds.yml +9 -7
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_heap_metrics_for_WildFlys.yml +196 -188
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_metrics_for_WildFlys.yml +72 -68
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_metrics_of_given_metric_type.yml +12 -44
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_metrics_of_given_resource_type.yml +63 -61
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_operation_definitions_of_given_resource.yml +220 -156
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_operation_definitions_of_given_resource_type.yml +200 -140
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_recursive_children_of_WildFly.yml +30 -12
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_relationships_of_WildFly.yml +129 -113
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_resources_for_feed.yml +12 -10
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_types_with_bad_feed.yml +6 -4
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_types_with_feed.yml +7 -5
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_not_find_an_unknown_resource.yml +6 -4
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_return_config_data_of_given_nested_resource.yml +6 -4
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_return_config_data_of_given_resource.yml +15 -10
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_return_the_version.yml +8 -6
- data/spec/vcr_cassettes/Inventory/Secure/Connection/Templates/Should_err_on_bad_credentials.yml +44 -0
- data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Explicit_Credentials.yml +101 -0
- data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Implicit_Credentials.yml +101 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Client_should_listen_on_various_inventory_events.json +47 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.yml +207 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/create_url.yml +52 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +411 -0
- data/spec/vcr_cassettes/Inventory/{inventory_0_17/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml → Secure/inventory_0_17/Templates/Helpers/get_feeds.yml} +13 -11
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +133 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed.yml +59 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed_again.yml +181 -0
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → Secure/inventory_0_17}/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +108 -150
- data/spec/vcr_cassettes/Inventory/{inventory_0_17/Templates/Should_create_and_get_a_resource.yml → Secure/inventory_0_17/Templates/Should_create_a_resource.yml} +45 -87
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resource_with_metric.yml +846 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resourcetype.yml +169 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_delete_feed.yml +166 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +420 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +132 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_have_the_same_requested_metric_type_id.yml +73 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_URLs.yml +90 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys.yml +70 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +138 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_all_the_resource_types.yml +59 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +333 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_nested_resource.yml +180 -0
- data/spec/vcr_cassettes/{Operation/Helpers/get_feed.yml → Inventory/Secure/inventory_0_17/Templates/Should_list_feeds.yml} +13 -11
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +943 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +361 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +90 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +294 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +871 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +740 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +1117 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +393 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_resources_for_feed.yml +84 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_bad_feed.yml +55 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_feed.yml +166 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_not_find_an_unknown_resource.yml +59 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_nested_resource.yml +66 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +71 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_the_version.yml +50 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml +114 -0
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Get_metric_definition_by_id.yml +10 -8
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Retrieve_metric_rate_points.yml +18 -14
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_create_Availability_definition.yml +18 -14
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_create_Counter_definition.yml +18 -14
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_create_gauge_definition.yml +18 -14
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_push_metric_data_to_existing_gauge.yml +9 -7
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_update_tags_for_Availability_definition.yml +28 -22
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_update_tags_for_gauge_definition.yml +28 -22
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +12 -8
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +14 -10
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_group_contiguous_values.yml +10 -6
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +19 -13
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +31 -21
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +14 -10
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +12 -8
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +28 -18
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +38 -24
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +32 -20
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +19 -13
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +14 -10
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +12 -8
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +32 -20
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +19 -13
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_return_periods.yml +10 -6
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +31 -21
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +48 -52
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +39 -25
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +36 -24
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/No_Tenant/Should_fail.yml +6 -4
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Simple/Should_be_Cool.yml +2 -2
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Status/Should_return_the_version.yml +5 -3
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +3 -3
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +3 -3
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +3 -3
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_return_periods.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Simple/Should_be_Cool.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Status/Should_return_the_version.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Tenants/Should_create_and_return_tenant.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +19 -15
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +21 -17
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_group_contiguous_values.yml +17 -13
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +29 -23
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +47 -37
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +21 -17
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +19 -15
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +44 -34
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +60 -46
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +51 -39
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +29 -23
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +21 -17
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +19 -15
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +51 -39
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +29 -23
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_return_periods.yml +17 -13
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +50 -0
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +12 -10
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +47 -37
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_rate_stats_for_mixed_metric.yml +328 -0
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +32 -32
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +70 -74
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +61 -47
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +55 -43
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/No_Tenant/Should_fail.yml +9 -7
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Simple/Should_be_Cool.yml +3 -3
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Status/Should_return_the_version.yml +10 -8
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +51 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +92 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +101 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +101 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +101 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +50 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +146 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +146 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +97 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +144 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +240 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +240 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +328 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +281 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +144 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +281 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +144 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +97 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +240 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +326 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +314 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +285 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +50 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +48 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Status/Should_return_the_version.yml +44 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +97 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +144 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +240 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +240 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +328 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +281 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +144 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +281 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +144 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +97 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +50 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +51 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +240 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +364 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +326 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +314 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +285 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/No_Tenant/Should_fail.yml +50 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Simple/Should_be_Cool.yml +48 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Status/Should_return_the_version.yml +44 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/get_feed.yml +61 -0
- data/spec/vcr_cassettes/Operation/{Helpers → NonSecure/Helpers/Templates}/get_tenant.yml +8 -5
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_JDBC_driver_should_add_the_driver.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_datasource_should_be_doable.json +23 -0
- data/spec/vcr_cassettes/Operation/{Operation → NonSecure/Operation}/Add_deployment_should_be_doable.json +4 -7
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +32 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/{Operation → NonSecure/Operation}/should_not_be_possible_to_perform_on_closed_client.json +1 -1
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
- data/spec/vcr_cassettes/Operation/{Websocket_connection → NonSecure/Websocket_connection}/should_bail_with_no_host.json +0 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established.json +9 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established_via_entrypoint.json +9 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_run_into_error_callback.json +18 -0
- data/spec/vcr_cassettes/Operation/{Websocket_connection → NonSecure/Websocket_connection}/should_run_into_error_callback_because_bad_hash_parameters.json +1 -1
- data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_feed.yml +61 -0
- data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_tenant.yml +55 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Add_JDBC_driver_should_add_the_driver.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Add_datasource_should_be_doable.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Add_deployment_should_be_doable.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +32 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/should_not_be_possible_to_perform_on_closed_client.json +12 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_no_host.json +3 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established.json +9 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established_via_entrypoint.json +9 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback.json +18 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +13 -0
- metadata +526 -282
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -95
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +0 -48
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +0 -95
- data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Restart_can_be_run_multiple_times_in_parallel.json +0 -40
- data/spec/vcr_cassettes/Operation/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +0 -26
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +0 -9
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +0 -9
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json +0 -9
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established_via_entrypoint.json +0 -9
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_run_into_error_callback.json +0 -13
@@ -14,11 +14,13 @@ http_interactions:
|
|
14
14
|
User-Agent:
|
15
15
|
- hawkular-client-ruby
|
16
16
|
Hawkular-Tenant:
|
17
|
-
-
|
17
|
+
- <%= vcr_test_tenant %>
|
18
18
|
Content-Type:
|
19
19
|
- application/json
|
20
20
|
Content-Length:
|
21
21
|
- '101'
|
22
|
+
Host:
|
23
|
+
- localhost:8080
|
22
24
|
response:
|
23
25
|
status:
|
24
26
|
code: 201
|
@@ -37,7 +39,7 @@ http_interactions:
|
|
37
39
|
Location:
|
38
40
|
- http://localhost:8080/hawkular/metrics/gauges/<%= id %>
|
39
41
|
Date:
|
40
|
-
- Mon,
|
42
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
41
43
|
Connection:
|
42
44
|
- keep-alive
|
43
45
|
Content-Length:
|
@@ -46,7 +48,7 @@ http_interactions:
|
|
46
48
|
encoding: UTF-8
|
47
49
|
string: ''
|
48
50
|
http_version:
|
49
|
-
recorded_at: Mon,
|
51
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
50
52
|
- request:
|
51
53
|
method: get
|
52
54
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>
|
@@ -61,9 +63,11 @@ http_interactions:
|
|
61
63
|
User-Agent:
|
62
64
|
- hawkular-client-ruby
|
63
65
|
Hawkular-Tenant:
|
64
|
-
-
|
66
|
+
- <%= vcr_test_tenant %>
|
65
67
|
Content-Type:
|
66
68
|
- application/json
|
69
|
+
Host:
|
70
|
+
- localhost:8080
|
67
71
|
response:
|
68
72
|
status:
|
69
73
|
code: 200
|
@@ -80,18 +84,18 @@ http_interactions:
|
|
80
84
|
Pragma:
|
81
85
|
- no-cache
|
82
86
|
Date:
|
83
|
-
- Mon,
|
87
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
84
88
|
Connection:
|
85
89
|
- keep-alive
|
86
90
|
Content-Type:
|
87
91
|
- application/json
|
88
92
|
Content-Length:
|
89
|
-
- '
|
93
|
+
- '219'
|
90
94
|
body:
|
91
95
|
encoding: UTF-8
|
92
|
-
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>"},"dataRetention":7,"type":"gauge","tenantId":"
|
96
|
+
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>"},"dataRetention":7,"type":"gauge","tenantId":"<%= vcr_test_tenant %>"}'
|
93
97
|
http_version:
|
94
|
-
recorded_at: Mon,
|
98
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
95
99
|
- request:
|
96
100
|
method: put
|
97
101
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/tags
|
@@ -106,11 +110,13 @@ http_interactions:
|
|
106
110
|
User-Agent:
|
107
111
|
- hawkular-client-ruby
|
108
112
|
Hawkular-Tenant:
|
109
|
-
-
|
113
|
+
- <%= vcr_test_tenant %>
|
110
114
|
Content-Type:
|
111
115
|
- application/json
|
112
116
|
Content-Length:
|
113
117
|
- '21'
|
118
|
+
Host:
|
119
|
+
- localhost:8080
|
114
120
|
response:
|
115
121
|
status:
|
116
122
|
code: 200
|
@@ -131,12 +137,12 @@ http_interactions:
|
|
131
137
|
Content-Length:
|
132
138
|
- '0'
|
133
139
|
Date:
|
134
|
-
- Mon,
|
140
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
135
141
|
body:
|
136
142
|
encoding: UTF-8
|
137
143
|
string: ''
|
138
144
|
http_version:
|
139
|
-
recorded_at: Mon,
|
145
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
140
146
|
- request:
|
141
147
|
method: get
|
142
148
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>
|
@@ -151,9 +157,11 @@ http_interactions:
|
|
151
157
|
User-Agent:
|
152
158
|
- hawkular-client-ruby
|
153
159
|
Hawkular-Tenant:
|
154
|
-
-
|
160
|
+
- <%= vcr_test_tenant %>
|
155
161
|
Content-Type:
|
156
162
|
- application/json
|
163
|
+
Host:
|
164
|
+
- localhost:8080
|
157
165
|
response:
|
158
166
|
status:
|
159
167
|
code: 200
|
@@ -170,18 +178,18 @@ http_interactions:
|
|
170
178
|
Pragma:
|
171
179
|
- no-cache
|
172
180
|
Date:
|
173
|
-
- Mon,
|
181
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
174
182
|
Connection:
|
175
183
|
- keep-alive
|
176
184
|
Content-Type:
|
177
185
|
- application/json
|
178
186
|
Content-Length:
|
179
|
-
- '
|
187
|
+
- '239'
|
180
188
|
body:
|
181
189
|
encoding: UTF-8
|
182
|
-
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"gauge","tenantId":"
|
190
|
+
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"gauge","tenantId":"<%= vcr_test_tenant %>"}'
|
183
191
|
http_version:
|
184
|
-
recorded_at: Mon,
|
192
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
185
193
|
- request:
|
186
194
|
method: get
|
187
195
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/?tags=myTag:<%= id %>&type=gauge
|
@@ -196,9 +204,11 @@ http_interactions:
|
|
196
204
|
User-Agent:
|
197
205
|
- hawkular-client-ruby
|
198
206
|
Hawkular-Tenant:
|
199
|
-
-
|
207
|
+
- <%= vcr_test_tenant %>
|
200
208
|
Content-Type:
|
201
209
|
- application/json
|
210
|
+
Host:
|
211
|
+
- localhost:8080
|
202
212
|
response:
|
203
213
|
status:
|
204
214
|
code: 200
|
@@ -215,16 +225,16 @@ http_interactions:
|
|
215
225
|
Pragma:
|
216
226
|
- no-cache
|
217
227
|
Date:
|
218
|
-
- Mon,
|
228
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
219
229
|
Connection:
|
220
230
|
- keep-alive
|
221
231
|
Content-Type:
|
222
232
|
- application/json
|
223
233
|
Content-Length:
|
224
|
-
- '
|
234
|
+
- '241'
|
225
235
|
body:
|
226
236
|
encoding: UTF-8
|
227
|
-
string: '[{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"gauge","tenantId":"
|
237
|
+
string: '[{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"gauge","tenantId":"<%= vcr_test_tenant %>"}]'
|
228
238
|
http_version:
|
229
|
-
recorded_at: Mon,
|
239
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
230
240
|
recorded_with: VCR 3.0.3
|
@@ -14,15 +14,17 @@ http_interactions:
|
|
14
14
|
User-Agent:
|
15
15
|
- hawkular-client-ruby
|
16
16
|
Hawkular-Tenant:
|
17
|
-
-
|
17
|
+
- <%= vcr_test_tenant %>
|
18
18
|
Content-Type:
|
19
19
|
- application/json
|
20
20
|
Content-Length:
|
21
21
|
- '176'
|
22
|
+
Host:
|
23
|
+
- localhost:8080
|
22
24
|
response:
|
23
25
|
status:
|
24
|
-
code:
|
25
|
-
message:
|
26
|
+
code: 204
|
27
|
+
message: No Content
|
26
28
|
headers:
|
27
29
|
Expires:
|
28
30
|
- '0'
|
@@ -35,18 +37,12 @@ http_interactions:
|
|
35
37
|
Pragma:
|
36
38
|
- no-cache
|
37
39
|
Date:
|
38
|
-
- Mon,
|
39
|
-
Connection:
|
40
|
-
- keep-alive
|
41
|
-
Content-Type:
|
42
|
-
- application/json
|
43
|
-
Content-Length:
|
44
|
-
- '2'
|
40
|
+
- Mon, 15 Aug 2016 15:20:37 GMT
|
45
41
|
body:
|
46
42
|
encoding: UTF-8
|
47
|
-
string:
|
43
|
+
string: ''
|
48
44
|
http_version:
|
49
|
-
recorded_at: Mon,
|
45
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
50
46
|
- request:
|
51
47
|
method: post
|
52
48
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/raw/query
|
@@ -61,15 +57,17 @@ http_interactions:
|
|
61
57
|
User-Agent:
|
62
58
|
- hawkular-client-ruby
|
63
59
|
Hawkular-Tenant:
|
64
|
-
-
|
60
|
+
- <%= vcr_test_tenant %>
|
65
61
|
Content-Type:
|
66
62
|
- application/json
|
67
63
|
Content-Length:
|
68
64
|
- '176'
|
65
|
+
Host:
|
66
|
+
- localhost:8080
|
69
67
|
response:
|
70
68
|
status:
|
71
|
-
code:
|
72
|
-
message:
|
69
|
+
code: 204
|
70
|
+
message: No Content
|
73
71
|
headers:
|
74
72
|
Expires:
|
75
73
|
- '0'
|
@@ -82,18 +80,12 @@ http_interactions:
|
|
82
80
|
Pragma:
|
83
81
|
- no-cache
|
84
82
|
Date:
|
85
|
-
- Mon,
|
86
|
-
Connection:
|
87
|
-
- keep-alive
|
88
|
-
Content-Type:
|
89
|
-
- application/json
|
90
|
-
Content-Length:
|
91
|
-
- '2'
|
83
|
+
- Mon, 15 Aug 2016 15:20:37 GMT
|
92
84
|
body:
|
93
85
|
encoding: UTF-8
|
94
|
-
string:
|
86
|
+
string: ''
|
95
87
|
http_version:
|
96
|
-
recorded_at: Mon,
|
88
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
97
89
|
- request:
|
98
90
|
method: post
|
99
91
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/raw/query
|
@@ -108,15 +100,17 @@ http_interactions:
|
|
108
100
|
User-Agent:
|
109
101
|
- hawkular-client-ruby
|
110
102
|
Hawkular-Tenant:
|
111
|
-
-
|
103
|
+
- <%= vcr_test_tenant %>
|
112
104
|
Content-Type:
|
113
105
|
- application/json
|
114
106
|
Content-Length:
|
115
107
|
- '176'
|
108
|
+
Host:
|
109
|
+
- localhost:8080
|
116
110
|
response:
|
117
111
|
status:
|
118
|
-
code:
|
119
|
-
message:
|
112
|
+
code: 204
|
113
|
+
message: No Content
|
120
114
|
headers:
|
121
115
|
Expires:
|
122
116
|
- '0'
|
@@ -129,24 +123,18 @@ http_interactions:
|
|
129
123
|
Pragma:
|
130
124
|
- no-cache
|
131
125
|
Date:
|
132
|
-
- Mon,
|
133
|
-
Connection:
|
134
|
-
- keep-alive
|
135
|
-
Content-Type:
|
136
|
-
- application/json
|
137
|
-
Content-Length:
|
138
|
-
- '2'
|
126
|
+
- Mon, 15 Aug 2016 15:20:37 GMT
|
139
127
|
body:
|
140
128
|
encoding: UTF-8
|
141
|
-
string:
|
129
|
+
string: ''
|
142
130
|
http_version:
|
143
|
-
recorded_at: Mon,
|
131
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
144
132
|
- request:
|
145
133
|
method: post
|
146
134
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
147
135
|
body:
|
148
136
|
encoding: UTF-8
|
149
|
-
string: '{"gauges":[{"id":"<%= id1 %>","data":[{"value":1.1,"timestamp":
|
137
|
+
string: '{"gauges":[{"id":"<%= id1 %>","data":[{"value":1.1,"timestamp":1471274438001}]},{"id":"<%= id2 %>","data":[{"value":2.2,"timestamp":1471274438001}]},{"id":"<%= id3 %>","data":[{"value":3.3,"timestamp":1471274438001}]}],"counters":[{"id":"<%= id1 %>","data":[{"value":1,"timestamp":1471274438001}]},{"id":"<%= id2 %>","data":[{"value":2,"timestamp":1471274438001}]},{"id":"<%= id3 %>","data":[{"value":3,"timestamp":1471274438001}]}],"availabilities":[{"id":"<%= id1 %>","data":[{"value":"up","timestamp":1471274438001}]},{"id":"<%= id2 %>","data":[{"value":"down","timestamp":1471274438001}]},{"id":"<%= id3 %>","data":[{"value":"up","timestamp":1471274438001}]}]}'
|
150
138
|
headers:
|
151
139
|
Accept:
|
152
140
|
- application/json
|
@@ -155,11 +143,13 @@ http_interactions:
|
|
155
143
|
User-Agent:
|
156
144
|
- hawkular-client-ruby
|
157
145
|
Hawkular-Tenant:
|
158
|
-
-
|
146
|
+
- <%= vcr_test_tenant %>
|
159
147
|
Content-Type:
|
160
148
|
- application/json
|
161
149
|
Content-Length:
|
162
150
|
- '898'
|
151
|
+
Host:
|
152
|
+
- localhost:8080
|
163
153
|
response:
|
164
154
|
status:
|
165
155
|
code: 200
|
@@ -180,12 +170,12 @@ http_interactions:
|
|
180
170
|
Content-Length:
|
181
171
|
- '0'
|
182
172
|
Date:
|
183
|
-
- Mon,
|
173
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
184
174
|
body:
|
185
175
|
encoding: UTF-8
|
186
176
|
string: ''
|
187
177
|
http_version:
|
188
|
-
recorded_at: Mon,
|
178
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
189
179
|
- request:
|
190
180
|
method: post
|
191
181
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/raw/query
|
@@ -200,11 +190,13 @@ http_interactions:
|
|
200
190
|
User-Agent:
|
201
191
|
- hawkular-client-ruby
|
202
192
|
Hawkular-Tenant:
|
203
|
-
-
|
193
|
+
- <%= vcr_test_tenant %>
|
204
194
|
Content-Type:
|
205
195
|
- application/json
|
206
196
|
Content-Length:
|
207
197
|
- '176'
|
198
|
+
Host:
|
199
|
+
- localhost:8080
|
208
200
|
response:
|
209
201
|
status:
|
210
202
|
code: 200
|
@@ -221,7 +213,7 @@ http_interactions:
|
|
221
213
|
Pragma:
|
222
214
|
- no-cache
|
223
215
|
Date:
|
224
|
-
- Mon,
|
216
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
225
217
|
Connection:
|
226
218
|
- keep-alive
|
227
219
|
Content-Type:
|
@@ -230,9 +222,9 @@ http_interactions:
|
|
230
222
|
- '280'
|
231
223
|
body:
|
232
224
|
encoding: UTF-8
|
233
|
-
string: '[{"id":"<%= id1 %>","data":[{"timestamp":
|
225
|
+
string: '[{"id":"<%= id1 %>","data":[{"timestamp":1471274438001,"value":1}]},{"id":"<%= id2 %>","data":[{"timestamp":1471274438001,"value":2}]},{"id":"<%= id3 %>","data":[{"timestamp":1471274438001,"value":3}]}]'
|
234
226
|
http_version:
|
235
|
-
recorded_at: Mon,
|
227
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
236
228
|
- request:
|
237
229
|
method: post
|
238
230
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/raw/query
|
@@ -247,11 +239,13 @@ http_interactions:
|
|
247
239
|
User-Agent:
|
248
240
|
- hawkular-client-ruby
|
249
241
|
Hawkular-Tenant:
|
250
|
-
-
|
242
|
+
- <%= vcr_test_tenant %>
|
251
243
|
Content-Type:
|
252
244
|
- application/json
|
253
245
|
Content-Length:
|
254
246
|
- '176'
|
247
|
+
Host:
|
248
|
+
- localhost:8080
|
255
249
|
response:
|
256
250
|
status:
|
257
251
|
code: 200
|
@@ -268,7 +262,7 @@ http_interactions:
|
|
268
262
|
Pragma:
|
269
263
|
- no-cache
|
270
264
|
Date:
|
271
|
-
- Mon,
|
265
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
272
266
|
Connection:
|
273
267
|
- keep-alive
|
274
268
|
Content-Type:
|
@@ -277,9 +271,9 @@ http_interactions:
|
|
277
271
|
- '286'
|
278
272
|
body:
|
279
273
|
encoding: UTF-8
|
280
|
-
string: '[{"id":"<%= id1 %>","data":[{"timestamp":
|
274
|
+
string: '[{"id":"<%= id1 %>","data":[{"timestamp":1471274438001,"value":1.1}]},{"id":"<%= id2 %>","data":[{"timestamp":1471274438001,"value":2.2}]},{"id":"<%= id3 %>","data":[{"timestamp":1471274438001,"value":3.3}]}]'
|
281
275
|
http_version:
|
282
|
-
recorded_at: Mon,
|
276
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
283
277
|
- request:
|
284
278
|
method: post
|
285
279
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/raw/query
|
@@ -294,11 +288,13 @@ http_interactions:
|
|
294
288
|
User-Agent:
|
295
289
|
- hawkular-client-ruby
|
296
290
|
Hawkular-Tenant:
|
297
|
-
-
|
291
|
+
- <%= vcr_test_tenant %>
|
298
292
|
Content-Type:
|
299
293
|
- application/json
|
300
294
|
Content-Length:
|
301
295
|
- '176'
|
296
|
+
Host:
|
297
|
+
- localhost:8080
|
302
298
|
response:
|
303
299
|
status:
|
304
300
|
code: 200
|
@@ -315,7 +311,7 @@ http_interactions:
|
|
315
311
|
Pragma:
|
316
312
|
- no-cache
|
317
313
|
Date:
|
318
|
-
- Mon,
|
314
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
319
315
|
Connection:
|
320
316
|
- keep-alive
|
321
317
|
Content-Type:
|
@@ -324,7 +320,7 @@ http_interactions:
|
|
324
320
|
- '291'
|
325
321
|
body:
|
326
322
|
encoding: UTF-8
|
327
|
-
string: '[{"id":"<%= id1 %>","data":[{"timestamp":
|
323
|
+
string: '[{"id":"<%= id1 %>","data":[{"timestamp":1471274438001,"value":"up"}]},{"id":"<%= id2 %>","data":[{"timestamp":1471274438001,"value":"down"}]},{"id":"<%= id3 %>","data":[{"timestamp":1471274438001,"value":"up"}]}]'
|
328
324
|
http_version:
|
329
|
-
recorded_at: Mon,
|
325
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
330
326
|
recorded_with: VCR 3.0.3
|
@@ -14,9 +14,11 @@ http_interactions:
|
|
14
14
|
User-Agent:
|
15
15
|
- hawkular-client-ruby
|
16
16
|
Hawkular-Tenant:
|
17
|
-
-
|
17
|
+
- hawkular
|
18
18
|
Content-Type:
|
19
19
|
- application/json
|
20
|
+
Host:
|
21
|
+
- localhost:8080
|
20
22
|
response:
|
21
23
|
status:
|
22
24
|
code: 204
|
@@ -33,12 +35,12 @@ http_interactions:
|
|
33
35
|
Pragma:
|
34
36
|
- no-cache
|
35
37
|
Date:
|
36
|
-
- Mon,
|
38
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
37
39
|
body:
|
38
40
|
encoding: UTF-8
|
39
41
|
string: ''
|
40
42
|
http_version:
|
41
|
-
recorded_at: Mon,
|
43
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
42
44
|
- request:
|
43
45
|
method: get
|
44
46
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/raw/
|
@@ -53,9 +55,11 @@ http_interactions:
|
|
53
55
|
User-Agent:
|
54
56
|
- hawkular-client-ruby
|
55
57
|
Hawkular-Tenant:
|
56
|
-
-
|
58
|
+
- hawkular
|
57
59
|
Content-Type:
|
58
60
|
- application/json
|
61
|
+
Host:
|
62
|
+
- localhost:8080
|
59
63
|
response:
|
60
64
|
status:
|
61
65
|
code: 204
|
@@ -72,12 +76,12 @@ http_interactions:
|
|
72
76
|
Pragma:
|
73
77
|
- no-cache
|
74
78
|
Date:
|
75
|
-
- Mon,
|
79
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
76
80
|
body:
|
77
81
|
encoding: UTF-8
|
78
82
|
string: ''
|
79
83
|
http_version:
|
80
|
-
recorded_at: Mon,
|
84
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
81
85
|
- request:
|
82
86
|
method: get
|
83
87
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/raw/
|
@@ -92,9 +96,11 @@ http_interactions:
|
|
92
96
|
User-Agent:
|
93
97
|
- hawkular-client-ruby
|
94
98
|
Hawkular-Tenant:
|
95
|
-
-
|
99
|
+
- hawkular
|
96
100
|
Content-Type:
|
97
101
|
- application/json
|
102
|
+
Host:
|
103
|
+
- localhost:8080
|
98
104
|
response:
|
99
105
|
status:
|
100
106
|
code: 204
|
@@ -111,18 +117,18 @@ http_interactions:
|
|
111
117
|
Pragma:
|
112
118
|
- no-cache
|
113
119
|
Date:
|
114
|
-
- Mon,
|
120
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
115
121
|
body:
|
116
122
|
encoding: UTF-8
|
117
123
|
string: ''
|
118
124
|
http_version:
|
119
|
-
recorded_at: Mon,
|
125
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
120
126
|
- request:
|
121
127
|
method: post
|
122
128
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
123
129
|
body:
|
124
130
|
encoding: UTF-8
|
125
|
-
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":
|
131
|
+
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":1471274438099}]}],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":1471274438099}]}],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":1471274438099}]}]}'
|
126
132
|
headers:
|
127
133
|
Accept:
|
128
134
|
- application/json
|
@@ -131,11 +137,13 @@ http_interactions:
|
|
131
137
|
User-Agent:
|
132
138
|
- hawkular-client-ruby
|
133
139
|
Hawkular-Tenant:
|
134
|
-
-
|
140
|
+
- hawkular
|
135
141
|
Content-Type:
|
136
142
|
- application/json
|
137
143
|
Content-Length:
|
138
144
|
- '330'
|
145
|
+
Host:
|
146
|
+
- localhost:8080
|
139
147
|
response:
|
140
148
|
status:
|
141
149
|
code: 200
|
@@ -156,12 +164,12 @@ http_interactions:
|
|
156
164
|
Content-Length:
|
157
165
|
- '0'
|
158
166
|
Date:
|
159
|
-
- Mon,
|
167
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
160
168
|
body:
|
161
169
|
encoding: UTF-8
|
162
170
|
string: ''
|
163
171
|
http_version:
|
164
|
-
recorded_at: Mon,
|
172
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
165
173
|
- request:
|
166
174
|
method: get
|
167
175
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
|
@@ -176,9 +184,11 @@ http_interactions:
|
|
176
184
|
User-Agent:
|
177
185
|
- hawkular-client-ruby
|
178
186
|
Hawkular-Tenant:
|
179
|
-
-
|
187
|
+
- hawkular
|
180
188
|
Content-Type:
|
181
189
|
- application/json
|
190
|
+
Host:
|
191
|
+
- localhost:8080
|
182
192
|
response:
|
183
193
|
status:
|
184
194
|
code: 200
|
@@ -195,7 +205,7 @@ http_interactions:
|
|
195
205
|
Pragma:
|
196
206
|
- no-cache
|
197
207
|
Date:
|
198
|
-
- Mon,
|
208
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
199
209
|
Connection:
|
200
210
|
- keep-alive
|
201
211
|
Content-Type:
|
@@ -204,9 +214,9 @@ http_interactions:
|
|
204
214
|
- '39'
|
205
215
|
body:
|
206
216
|
encoding: UTF-8
|
207
|
-
string: '[{"timestamp":
|
217
|
+
string: '[{"timestamp":1471274438099,"value":1}]'
|
208
218
|
http_version:
|
209
|
-
recorded_at: Mon,
|
219
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
210
220
|
- request:
|
211
221
|
method: get
|
212
222
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/raw/
|
@@ -221,9 +231,11 @@ http_interactions:
|
|
221
231
|
User-Agent:
|
222
232
|
- hawkular-client-ruby
|
223
233
|
Hawkular-Tenant:
|
224
|
-
-
|
234
|
+
- hawkular
|
225
235
|
Content-Type:
|
226
236
|
- application/json
|
237
|
+
Host:
|
238
|
+
- localhost:8080
|
227
239
|
response:
|
228
240
|
status:
|
229
241
|
code: 200
|
@@ -240,7 +252,7 @@ http_interactions:
|
|
240
252
|
Pragma:
|
241
253
|
- no-cache
|
242
254
|
Date:
|
243
|
-
- Mon,
|
255
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
244
256
|
Connection:
|
245
257
|
- keep-alive
|
246
258
|
Content-Type:
|
@@ -249,9 +261,9 @@ http_interactions:
|
|
249
261
|
- '41'
|
250
262
|
body:
|
251
263
|
encoding: UTF-8
|
252
|
-
string: '[{"timestamp":
|
264
|
+
string: '[{"timestamp":1471274438099,"value":1.1}]'
|
253
265
|
http_version:
|
254
|
-
recorded_at: Mon,
|
266
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
255
267
|
- request:
|
256
268
|
method: get
|
257
269
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/raw/
|
@@ -266,9 +278,11 @@ http_interactions:
|
|
266
278
|
User-Agent:
|
267
279
|
- hawkular-client-ruby
|
268
280
|
Hawkular-Tenant:
|
269
|
-
-
|
281
|
+
- hawkular
|
270
282
|
Content-Type:
|
271
283
|
- application/json
|
284
|
+
Host:
|
285
|
+
- localhost:8080
|
272
286
|
response:
|
273
287
|
status:
|
274
288
|
code: 200
|
@@ -285,7 +299,7 @@ http_interactions:
|
|
285
299
|
Pragma:
|
286
300
|
- no-cache
|
287
301
|
Date:
|
288
|
-
- Mon,
|
302
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
289
303
|
Connection:
|
290
304
|
- keep-alive
|
291
305
|
Content-Type:
|
@@ -294,7 +308,7 @@ http_interactions:
|
|
294
308
|
- '44'
|
295
309
|
body:
|
296
310
|
encoding: UTF-8
|
297
|
-
string: '[{"timestamp":
|
311
|
+
string: '[{"timestamp":1471274438099,"value":"down"}]'
|
298
312
|
http_version:
|
299
|
-
recorded_at: Mon,
|
313
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
300
314
|
recorded_with: VCR 3.0.3
|