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
@@ -5,20 +5,22 @@ http_interactions:
|
|
5
5
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/MI~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592e%5B-c9_.r1%2F%2F;%2F74eddf%2FL=c~~%5D~MT~%20%20%20%20*%20%20%2F%20Met@ics~Aggre&%3F%20ated%20s%20%20Active%22%20Ses;ns/data
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '[{"value":0.1,"tags":{"tagName":"myMin"},"timestamp":
|
8
|
+
string: '[{"value":0.1,"tags":{"tagName":"myMin"},"timestamp":1471274438628},{"value":99.9,"tags":{"tagName":"myMax"},"timestamp":1471274438628}]'
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- application/json
|
12
12
|
Accept-Encoding:
|
13
|
-
-
|
13
|
+
- identity
|
14
|
+
User-Agent:
|
15
|
+
- hawkular-client-ruby
|
14
16
|
Hawkular-Tenant:
|
15
|
-
-
|
17
|
+
- <%= vcr_test_tenant %>
|
16
18
|
Content-Type:
|
17
19
|
- application/json
|
18
20
|
Content-Length:
|
19
21
|
- '136'
|
20
|
-
|
21
|
-
-
|
22
|
+
Host:
|
23
|
+
- localhost:8080
|
22
24
|
response:
|
23
25
|
status:
|
24
26
|
code: 200
|
@@ -39,10 +41,10 @@ http_interactions:
|
|
39
41
|
Content-Length:
|
40
42
|
- '0'
|
41
43
|
Date:
|
42
|
-
- Mon,
|
44
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
43
45
|
body:
|
44
46
|
encoding: UTF-8
|
45
47
|
string: ''
|
46
48
|
http_version:
|
47
|
-
recorded_at: Mon,
|
49
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
48
50
|
recorded_with: VCR 3.0.3
|
@@ -10,13 +10,15 @@ http_interactions:
|
|
10
10
|
Accept:
|
11
11
|
- application/json
|
12
12
|
Accept-Encoding:
|
13
|
-
-
|
13
|
+
- identity
|
14
|
+
User-Agent:
|
15
|
+
- hawkular-client-ruby
|
14
16
|
Hawkular-Tenant:
|
15
|
-
-
|
17
|
+
- <%= vcr_test_tenant %>
|
16
18
|
Content-Type:
|
17
19
|
- application/json
|
18
|
-
|
19
|
-
-
|
20
|
+
Host:
|
21
|
+
- localhost:8080
|
20
22
|
response:
|
21
23
|
status:
|
22
24
|
code: 200
|
@@ -33,19 +35,19 @@ 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
|
Connection:
|
38
40
|
- keep-alive
|
39
41
|
Content-Type:
|
40
42
|
- application/json
|
41
43
|
Content-Length:
|
42
|
-
- '
|
44
|
+
- '240'
|
43
45
|
body:
|
44
46
|
encoding: UTF-8
|
45
47
|
string: '{"id":"AA~R~[8b*}{''\\14#?/5-7%92[d-c9_.r1///7;:4eddf/L=c~~]~MT~ A * %-Met@ics~Aggre&?ated
|
46
|
-
\" Sess{ons","tags":{"tag":"value"},"dataRetention":90,"type":"availability","tenantId":"
|
48
|
+
\" Sess{ons","tags":{"tag":"value"},"dataRetention":90,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}'
|
47
49
|
http_version:
|
48
|
-
recorded_at: Mon,
|
50
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
49
51
|
- request:
|
50
52
|
method: put
|
51
53
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/AA~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592%5Bd-c9_.r1%2F%2F%2F7;:4eddf%2FL=c~~%5D~MT~%20A%20%20*%20%20%25-Met@ics~Aggre&%3Fated%20%22%20Sess%7Bons/tags
|
@@ -56,15 +58,17 @@ http_interactions:
|
|
56
58
|
Accept:
|
57
59
|
- application/json
|
58
60
|
Accept-Encoding:
|
59
|
-
-
|
61
|
+
- identity
|
62
|
+
User-Agent:
|
63
|
+
- hawkular-client-ruby
|
60
64
|
Hawkular-Tenant:
|
61
|
-
-
|
65
|
+
- <%= vcr_test_tenant %>
|
62
66
|
Content-Type:
|
63
67
|
- application/json
|
64
68
|
Content-Length:
|
65
69
|
- '52'
|
66
|
-
|
67
|
-
-
|
70
|
+
Host:
|
71
|
+
- localhost:8080
|
68
72
|
response:
|
69
73
|
status:
|
70
74
|
code: 200
|
@@ -85,12 +89,12 @@ http_interactions:
|
|
85
89
|
Content-Length:
|
86
90
|
- '0'
|
87
91
|
Date:
|
88
|
-
- Mon,
|
92
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
89
93
|
body:
|
90
94
|
encoding: UTF-8
|
91
95
|
string: ''
|
92
96
|
http_version:
|
93
|
-
recorded_at: Mon,
|
97
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
94
98
|
- request:
|
95
99
|
method: get
|
96
100
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/AA~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592%5Bd-c9_.r1%2F%2F%2F7;:4eddf%2FL=c~~%5D~MT~%20A%20%20*%20%20%25-Met@ics~Aggre&%3Fated%20%22%20Sess%7Bons
|
@@ -101,13 +105,15 @@ http_interactions:
|
|
101
105
|
Accept:
|
102
106
|
- application/json
|
103
107
|
Accept-Encoding:
|
104
|
-
-
|
108
|
+
- identity
|
109
|
+
User-Agent:
|
110
|
+
- hawkular-client-ruby
|
105
111
|
Hawkular-Tenant:
|
106
|
-
-
|
112
|
+
- <%= vcr_test_tenant %>
|
107
113
|
Content-Type:
|
108
114
|
- application/json
|
109
|
-
|
110
|
-
-
|
115
|
+
Host:
|
116
|
+
- localhost:8080
|
111
117
|
response:
|
112
118
|
status:
|
113
119
|
code: 200
|
@@ -124,17 +130,17 @@ http_interactions:
|
|
124
130
|
Pragma:
|
125
131
|
- no-cache
|
126
132
|
Date:
|
127
|
-
- Mon,
|
133
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
128
134
|
Connection:
|
129
135
|
- keep-alive
|
130
136
|
Content-Type:
|
131
137
|
- application/json
|
132
138
|
Content-Length:
|
133
|
-
- '
|
139
|
+
- '291'
|
134
140
|
body:
|
135
141
|
encoding: UTF-8
|
136
142
|
string: '{"id":"AA~R~[8b*}{''\\14#?/5-7%92[d-c9_.r1///7;:4eddf/L=c~~]~MT~ A * %-Met@ics~Aggre&?ated
|
137
|
-
\" Sess{ons","tags":{"name1":"value1","name2":"value2","name3":"value3","tag":"value"},"dataRetention":90,"type":"availability","tenantId":"
|
143
|
+
\" Sess{ons","tags":{"name1":"value1","name2":"value2","name3":"value3","tag":"value"},"dataRetention":90,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}'
|
138
144
|
http_version:
|
139
|
-
recorded_at: Mon,
|
145
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
140
146
|
recorded_with: VCR 3.0.3
|
@@ -10,13 +10,15 @@ http_interactions:
|
|
10
10
|
Accept:
|
11
11
|
- application/json
|
12
12
|
Accept-Encoding:
|
13
|
-
-
|
13
|
+
- identity
|
14
|
+
User-Agent:
|
15
|
+
- hawkular-client-ruby
|
14
16
|
Hawkular-Tenant:
|
15
|
-
-
|
17
|
+
- <%= vcr_test_tenant %>
|
16
18
|
Content-Type:
|
17
19
|
- application/json
|
18
|
-
|
19
|
-
-
|
20
|
+
Host:
|
21
|
+
- localhost:8080
|
20
22
|
response:
|
21
23
|
status:
|
22
24
|
code: 200
|
@@ -33,19 +35,19 @@ 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
|
Connection:
|
38
40
|
- keep-alive
|
39
41
|
Content-Type:
|
40
42
|
- application/json
|
41
43
|
Content-Length:
|
42
|
-
- '
|
44
|
+
- '298'
|
43
45
|
body:
|
44
46
|
encoding: UTF-8
|
45
47
|
string: '{"id":"MI~R~[8b*}{''\\14#?/5-7%92e[-c9_.r1//;/74eddf/L=c~~]~MT~ * /
|
46
|
-
Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"
|
48
|
+
Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"<%= vcr_test_tenant %>","minTimestamp":1471274438628,"maxTimestamp":1471274438628}'
|
47
49
|
http_version:
|
48
|
-
recorded_at: Mon,
|
50
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
49
51
|
- request:
|
50
52
|
method: put
|
51
53
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/MI~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592e%5B-c9_.r1%2F%2F;%2F74eddf%2FL=c~~%5D~MT~%20%20%20%20*%20%20%2F%20Met@ics~Aggre&%3F%20ated%20s%20%20Active%22%20Ses;ns/tags
|
@@ -56,15 +58,17 @@ http_interactions:
|
|
56
58
|
Accept:
|
57
59
|
- application/json
|
58
60
|
Accept-Encoding:
|
59
|
-
-
|
61
|
+
- identity
|
62
|
+
User-Agent:
|
63
|
+
- hawkular-client-ruby
|
60
64
|
Hawkular-Tenant:
|
61
|
-
-
|
65
|
+
- <%= vcr_test_tenant %>
|
62
66
|
Content-Type:
|
63
67
|
- application/json
|
64
68
|
Content-Length:
|
65
69
|
- '52'
|
66
|
-
|
67
|
-
-
|
70
|
+
Host:
|
71
|
+
- localhost:8080
|
68
72
|
response:
|
69
73
|
status:
|
70
74
|
code: 200
|
@@ -85,12 +89,12 @@ http_interactions:
|
|
85
89
|
Content-Length:
|
86
90
|
- '0'
|
87
91
|
Date:
|
88
|
-
- Mon,
|
92
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
89
93
|
body:
|
90
94
|
encoding: UTF-8
|
91
95
|
string: ''
|
92
96
|
http_version:
|
93
|
-
recorded_at: Mon,
|
97
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
94
98
|
- request:
|
95
99
|
method: get
|
96
100
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/MI~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592e%5B-c9_.r1%2F%2F;%2F74eddf%2FL=c~~%5D~MT~%20%20%20%20*%20%20%2F%20Met@ics~Aggre&%3F%20ated%20s%20%20Active%22%20Ses;ns
|
@@ -101,13 +105,15 @@ http_interactions:
|
|
101
105
|
Accept:
|
102
106
|
- application/json
|
103
107
|
Accept-Encoding:
|
104
|
-
-
|
108
|
+
- identity
|
109
|
+
User-Agent:
|
110
|
+
- hawkular-client-ruby
|
105
111
|
Hawkular-Tenant:
|
106
|
-
-
|
112
|
+
- <%= vcr_test_tenant %>
|
107
113
|
Content-Type:
|
108
114
|
- application/json
|
109
|
-
|
110
|
-
-
|
115
|
+
Host:
|
116
|
+
- localhost:8080
|
111
117
|
response:
|
112
118
|
status:
|
113
119
|
code: 200
|
@@ -124,17 +130,17 @@ http_interactions:
|
|
124
130
|
Pragma:
|
125
131
|
- no-cache
|
126
132
|
Date:
|
127
|
-
- Mon,
|
133
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
128
134
|
Connection:
|
129
135
|
- keep-alive
|
130
136
|
Content-Type:
|
131
137
|
- application/json
|
132
138
|
Content-Length:
|
133
|
-
- '
|
139
|
+
- '349'
|
134
140
|
body:
|
135
141
|
encoding: UTF-8
|
136
142
|
string: '{"id":"MI~R~[8b*}{''\\14#?/5-7%92e[-c9_.r1//;/74eddf/L=c~~]~MT~ * /
|
137
|
-
Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"name1":"value1","name2":"value2","name3":"value3","tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"
|
143
|
+
Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"name1":"value1","name2":"value2","name3":"value3","tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"<%= vcr_test_tenant %>","minTimestamp":1471274438628,"maxTimestamp":1471274438628}'
|
138
144
|
http_version:
|
139
|
-
recorded_at: Mon,
|
145
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
140
146
|
recorded_with: VCR 3.0.3
|
@@ -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
|
- '87'
|
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/availability/<%= 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/availability/<%= 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,16 +84,16 @@ 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
|
+
- '194'
|
90
94
|
body:
|
91
95
|
encoding: UTF-8
|
92
|
-
string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"availability","tenantId":"
|
96
|
+
string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"availability","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
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"id":"<%= id %>","dataRetention":123,"tags":{"some":"value"}
|
8
|
+
string: '{"id":"<%= id %>","dataRetention":123,"tags":{"some":"value"}}'
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- application/json
|
@@ -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
|
+
- '89'
|
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/availability/<%= 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/availability/<%= 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,16 +84,16 @@ 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
|
+
- '196'
|
90
94
|
body:
|
91
95
|
encoding: UTF-8
|
92
|
-
string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"availability","tenantId":"
|
96
|
+
string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"availability","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
|
recorded_with: VCR 3.0.3
|
@@ -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
|
- '253'
|
22
|
+
Host:
|
23
|
+
- localhost:8080
|
22
24
|
response:
|
23
25
|
status:
|
24
26
|
code: 200
|
@@ -39,12 +41,12 @@ http_interactions:
|
|
39
41
|
Content-Length:
|
40
42
|
- '0'
|
41
43
|
Date:
|
42
|
-
- Mon,
|
44
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
43
45
|
body:
|
44
46
|
encoding: UTF-8
|
45
47
|
string: ''
|
46
48
|
http_version:
|
47
|
-
recorded_at: Mon,
|
49
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
48
50
|
- request:
|
49
51
|
method: get
|
50
52
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/raw/?distinct=true&order=ASC
|
@@ -59,9 +61,11 @@ http_interactions:
|
|
59
61
|
User-Agent:
|
60
62
|
- hawkular-client-ruby
|
61
63
|
Hawkular-Tenant:
|
62
|
-
-
|
64
|
+
- <%= vcr_test_tenant %>
|
63
65
|
Content-Type:
|
64
66
|
- application/json
|
67
|
+
Host:
|
68
|
+
- localhost:8080
|
65
69
|
response:
|
66
70
|
status:
|
67
71
|
code: 200
|
@@ -78,7 +82,7 @@ http_interactions:
|
|
78
82
|
Pragma:
|
79
83
|
- no-cache
|
80
84
|
Date:
|
81
|
-
- Mon,
|
85
|
+
- Mon, 15 Aug 2016 15:20:38 GMT
|
82
86
|
Connection:
|
83
87
|
- keep-alive
|
84
88
|
Content-Type:
|
@@ -89,5 +93,5 @@ http_interactions:
|
|
89
93
|
encoding: UTF-8
|
90
94
|
string: '[{"timestamp":<%= minus50 %>,"value":"up"},{"timestamp":<%= minus30 %>,"value":"down"},{"timestamp":<%= now %>,"value":"up"}]'
|
91
95
|
http_version:
|
92
|
-
recorded_at: Mon,
|
96
|
+
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
93
97
|
recorded_with: VCR 3.0.3
|