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,7 +14,7 @@ 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
20
|
Host:
|
@@ -35,12 +35,12 @@ http_interactions:
|
|
35
35
|
Pragma:
|
36
36
|
- no-cache
|
37
37
|
Date:
|
38
|
-
- Tue,
|
38
|
+
- Tue, 30 Aug 2016 19:10:38 GMT
|
39
39
|
body:
|
40
40
|
encoding: UTF-8
|
41
41
|
string: ''
|
42
42
|
http_version:
|
43
|
-
recorded_at: Tue,
|
43
|
+
recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
46
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
|
@@ -55,7 +55,7 @@ http_interactions:
|
|
55
55
|
User-Agent:
|
56
56
|
- hawkular-client-ruby
|
57
57
|
Hawkular-Tenant:
|
58
|
-
-
|
58
|
+
- hawkular
|
59
59
|
Content-Type:
|
60
60
|
- application/json
|
61
61
|
Host:
|
@@ -76,12 +76,12 @@ http_interactions:
|
|
76
76
|
Pragma:
|
77
77
|
- no-cache
|
78
78
|
Date:
|
79
|
-
- Tue,
|
79
|
+
- Tue, 30 Aug 2016 19:10:38 GMT
|
80
80
|
body:
|
81
81
|
encoding: UTF-8
|
82
82
|
string: ''
|
83
83
|
http_version:
|
84
|
-
recorded_at: Tue,
|
84
|
+
recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
|
85
85
|
- request:
|
86
86
|
method: get
|
87
87
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/data/
|
@@ -96,7 +96,7 @@ http_interactions:
|
|
96
96
|
User-Agent:
|
97
97
|
- hawkular-client-ruby
|
98
98
|
Hawkular-Tenant:
|
99
|
-
-
|
99
|
+
- hawkular
|
100
100
|
Content-Type:
|
101
101
|
- application/json
|
102
102
|
Host:
|
@@ -117,18 +117,18 @@ http_interactions:
|
|
117
117
|
Pragma:
|
118
118
|
- no-cache
|
119
119
|
Date:
|
120
|
-
- Tue,
|
120
|
+
- Tue, 30 Aug 2016 19:10:38 GMT
|
121
121
|
body:
|
122
122
|
encoding: UTF-8
|
123
123
|
string: ''
|
124
124
|
http_version:
|
125
|
-
recorded_at: Tue,
|
125
|
+
recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
|
126
126
|
- request:
|
127
127
|
method: post
|
128
128
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data
|
129
129
|
body:
|
130
130
|
encoding: UTF-8
|
131
|
-
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":
|
131
|
+
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":1472584238893}]}],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":1472584238893}]}],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":1472584238893}]}]}'
|
132
132
|
headers:
|
133
133
|
Accept:
|
134
134
|
- application/json
|
@@ -137,7 +137,7 @@ http_interactions:
|
|
137
137
|
User-Agent:
|
138
138
|
- hawkular-client-ruby
|
139
139
|
Hawkular-Tenant:
|
140
|
-
-
|
140
|
+
- hawkular
|
141
141
|
Content-Type:
|
142
142
|
- application/json
|
143
143
|
Content-Length:
|
@@ -164,12 +164,12 @@ http_interactions:
|
|
164
164
|
Content-Length:
|
165
165
|
- '0'
|
166
166
|
Date:
|
167
|
-
- Tue,
|
167
|
+
- Tue, 30 Aug 2016 19:10:38 GMT
|
168
168
|
body:
|
169
169
|
encoding: UTF-8
|
170
170
|
string: ''
|
171
171
|
http_version:
|
172
|
-
recorded_at: Tue,
|
172
|
+
recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
|
173
173
|
- request:
|
174
174
|
method: get
|
175
175
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/
|
@@ -184,7 +184,7 @@ http_interactions:
|
|
184
184
|
User-Agent:
|
185
185
|
- hawkular-client-ruby
|
186
186
|
Hawkular-Tenant:
|
187
|
-
-
|
187
|
+
- hawkular
|
188
188
|
Content-Type:
|
189
189
|
- application/json
|
190
190
|
Host:
|
@@ -205,7 +205,7 @@ http_interactions:
|
|
205
205
|
Pragma:
|
206
206
|
- no-cache
|
207
207
|
Date:
|
208
|
-
- Tue,
|
208
|
+
- Tue, 30 Aug 2016 19:10:38 GMT
|
209
209
|
Connection:
|
210
210
|
- keep-alive
|
211
211
|
Content-Type:
|
@@ -214,9 +214,9 @@ http_interactions:
|
|
214
214
|
- '39'
|
215
215
|
body:
|
216
216
|
encoding: UTF-8
|
217
|
-
string: '[{"timestamp":
|
217
|
+
string: '[{"timestamp":1472584238893,"value":1}]'
|
218
218
|
http_version:
|
219
|
-
recorded_at: Tue,
|
219
|
+
recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
|
220
220
|
- request:
|
221
221
|
method: get
|
222
222
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
|
@@ -231,7 +231,7 @@ http_interactions:
|
|
231
231
|
User-Agent:
|
232
232
|
- hawkular-client-ruby
|
233
233
|
Hawkular-Tenant:
|
234
|
-
-
|
234
|
+
- hawkular
|
235
235
|
Content-Type:
|
236
236
|
- application/json
|
237
237
|
Host:
|
@@ -252,7 +252,7 @@ http_interactions:
|
|
252
252
|
Pragma:
|
253
253
|
- no-cache
|
254
254
|
Date:
|
255
|
-
- Tue,
|
255
|
+
- Tue, 30 Aug 2016 19:10:38 GMT
|
256
256
|
Connection:
|
257
257
|
- keep-alive
|
258
258
|
Content-Type:
|
@@ -261,9 +261,9 @@ http_interactions:
|
|
261
261
|
- '41'
|
262
262
|
body:
|
263
263
|
encoding: UTF-8
|
264
|
-
string: '[{"timestamp":
|
264
|
+
string: '[{"timestamp":1472584238893,"value":1.1}]'
|
265
265
|
http_version:
|
266
|
-
recorded_at: Tue,
|
266
|
+
recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
|
267
267
|
- request:
|
268
268
|
method: get
|
269
269
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/data/
|
@@ -278,7 +278,7 @@ http_interactions:
|
|
278
278
|
User-Agent:
|
279
279
|
- hawkular-client-ruby
|
280
280
|
Hawkular-Tenant:
|
281
|
-
-
|
281
|
+
- hawkular
|
282
282
|
Content-Type:
|
283
283
|
- application/json
|
284
284
|
Host:
|
@@ -299,7 +299,7 @@ http_interactions:
|
|
299
299
|
Pragma:
|
300
300
|
- no-cache
|
301
301
|
Date:
|
302
|
-
- Tue,
|
302
|
+
- Tue, 30 Aug 2016 19:10:38 GMT
|
303
303
|
Connection:
|
304
304
|
- keep-alive
|
305
305
|
Content-Type:
|
@@ -308,15 +308,15 @@ http_interactions:
|
|
308
308
|
- '44'
|
309
309
|
body:
|
310
310
|
encoding: UTF-8
|
311
|
-
string: '[{"timestamp":
|
311
|
+
string: '[{"timestamp":1472584238893,"value":"down"}]'
|
312
312
|
http_version:
|
313
|
-
recorded_at: Tue,
|
313
|
+
recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
|
314
314
|
- request:
|
315
315
|
method: post
|
316
316
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/stats/query
|
317
317
|
body:
|
318
318
|
encoding: UTF-8
|
319
|
-
string: '{"metrics":{"gauge":["<%= id %>"],"counter":["<%= id %>"],"availability":["<%= id %>"]},"start":
|
319
|
+
string: '{"metrics":{"gauge":["<%= id %>"],"counter":["<%= id %>"],"availability":["<%= id %>"]},"start":1472584238893,"end":1472584238894,"bucketDuration":"1ms"}'
|
320
320
|
headers:
|
321
321
|
Accept:
|
322
322
|
- application/json
|
@@ -325,7 +325,7 @@ http_interactions:
|
|
325
325
|
User-Agent:
|
326
326
|
- hawkular-client-ruby
|
327
327
|
Hawkular-Tenant:
|
328
|
-
-
|
328
|
+
- hawkular
|
329
329
|
Content-Type:
|
330
330
|
- application/json
|
331
331
|
Content-Length:
|
@@ -348,7 +348,7 @@ http_interactions:
|
|
348
348
|
Pragma:
|
349
349
|
- no-cache
|
350
350
|
Date:
|
351
|
-
- Tue,
|
351
|
+
- Tue, 30 Aug 2016 19:10:38 GMT
|
352
352
|
Connection:
|
353
353
|
- keep-alive
|
354
354
|
Content-Type:
|
@@ -357,8 +357,8 @@ http_interactions:
|
|
357
357
|
- '742'
|
358
358
|
body:
|
359
359
|
encoding: UTF-8
|
360
|
-
string: '{"gauge":{"<%= id %>":[{"start":
|
361
|
-
text=down}":1},"lastNotUptime":
|
360
|
+
string: '{"gauge":{"<%= id %>":[{"start":1472584238893,"end":1472584238894,"min":1.1,"avg":1.1,"median":1.1,"max":1.1,"sum":1.1,"samples":1,"empty":false}]},"counter":{"<%= id %>":[{"start":1472584238893,"end":1472584238894,"min":1.0,"avg":1.0,"median":1.0,"max":1.0,"sum":1.0,"samples":1,"empty":false}]},"availability":{"<%= id %>":[{"start":1472584238893,"end":1472584238894,"durationMap":{"AvailabilityType{code=1,
|
361
|
+
text=down}":1},"lastNotUptime":1472584238894,"uptimeRatio":0.0,"notUpCount":1,"downtimeDuration":1,"lastDowntime":1472584238894,"downtimeCount":1,"adminDuration":0,"downDuration":1,"unknownDuration":0,"upDuration":0,"notUpDuration":1,"empty":false}]}}'
|
362
362
|
http_version:
|
363
|
-
recorded_at: Tue,
|
364
|
-
recorded_with: VCR 3.0.
|
363
|
+
recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
|
364
|
+
recorded_with: VCR 3.0.3
|
@@ -10,19 +10,21 @@ 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
20
|
Content-Length:
|
19
21
|
- '176'
|
20
|
-
|
21
|
-
-
|
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
|
-
-
|
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:
|
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
|
@@ -57,19 +53,21 @@ http_interactions:
|
|
57
53
|
Accept:
|
58
54
|
- application/json
|
59
55
|
Accept-Encoding:
|
60
|
-
-
|
56
|
+
- identity
|
57
|
+
User-Agent:
|
58
|
+
- hawkular-client-ruby
|
61
59
|
Hawkular-Tenant:
|
62
|
-
-
|
60
|
+
- <%= vcr_test_tenant %>
|
63
61
|
Content-Type:
|
64
62
|
- application/json
|
65
63
|
Content-Length:
|
66
64
|
- '176'
|
67
|
-
|
68
|
-
-
|
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
|
-
-
|
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:
|
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
|
@@ -104,19 +96,21 @@ http_interactions:
|
|
104
96
|
Accept:
|
105
97
|
- application/json
|
106
98
|
Accept-Encoding:
|
107
|
-
-
|
99
|
+
- identity
|
100
|
+
User-Agent:
|
101
|
+
- hawkular-client-ruby
|
108
102
|
Hawkular-Tenant:
|
109
|
-
-
|
103
|
+
- <%= vcr_test_tenant %>
|
110
104
|
Content-Type:
|
111
105
|
- application/json
|
112
106
|
Content-Length:
|
113
107
|
- '176'
|
114
|
-
|
115
|
-
-
|
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,37 +123,33 @@ http_interactions:
|
|
129
123
|
Pragma:
|
130
124
|
- no-cache
|
131
125
|
Date:
|
132
|
-
-
|
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:
|
131
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
144
132
|
- request:
|
145
133
|
method: post
|
146
134
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data
|
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":1471274437372}]},{"id":"<%= id2 %>","data":[{"value":2.2,"timestamp":1471274437372}]},{"id":"<%= id3 %>","data":[{"value":3.3,"timestamp":1471274437372}]}],"counters":[{"id":"<%= id1 %>","data":[{"value":1,"timestamp":1471274437372}]},{"id":"<%= id2 %>","data":[{"value":2,"timestamp":1471274437372}]},{"id":"<%= id3 %>","data":[{"value":3,"timestamp":1471274437372}]}],"availabilities":[{"id":"<%= id1 %>","data":[{"value":"up","timestamp":1471274437372}]},{"id":"<%= id2 %>","data":[{"value":"down","timestamp":1471274437372}]},{"id":"<%= id3 %>","data":[{"value":"up","timestamp":1471274437372}]}]}'
|
150
138
|
headers:
|
151
139
|
Accept:
|
152
140
|
- application/json
|
153
141
|
Accept-Encoding:
|
154
|
-
-
|
142
|
+
- identity
|
143
|
+
User-Agent:
|
144
|
+
- hawkular-client-ruby
|
155
145
|
Hawkular-Tenant:
|
156
|
-
-
|
146
|
+
- <%= vcr_test_tenant %>
|
157
147
|
Content-Type:
|
158
148
|
- application/json
|
159
149
|
Content-Length:
|
160
150
|
- '898'
|
161
|
-
|
162
|
-
-
|
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
|
-
-
|
173
|
+
- Mon, 15 Aug 2016 15:20:37 GMT
|
184
174
|
body:
|
185
175
|
encoding: UTF-8
|
186
176
|
string: ''
|
187
177
|
http_version:
|
188
|
-
recorded_at:
|
178
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
189
179
|
- request:
|
190
180
|
method: post
|
191
181
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/raw/query
|
@@ -196,15 +186,17 @@ http_interactions:
|
|
196
186
|
Accept:
|
197
187
|
- application/json
|
198
188
|
Accept-Encoding:
|
199
|
-
-
|
189
|
+
- identity
|
190
|
+
User-Agent:
|
191
|
+
- hawkular-client-ruby
|
200
192
|
Hawkular-Tenant:
|
201
|
-
-
|
193
|
+
- <%= vcr_test_tenant %>
|
202
194
|
Content-Type:
|
203
195
|
- application/json
|
204
196
|
Content-Length:
|
205
197
|
- '176'
|
206
|
-
|
207
|
-
-
|
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
|
-
-
|
216
|
+
- Mon, 15 Aug 2016 15:20:37 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":1471274437372,"value":1}]},{"id":"<%= id2 %>","data":[{"timestamp":1471274437372,"value":2}]},{"id":"<%= id3 %>","data":[{"timestamp":1471274437372,"value":3}]}]'
|
234
226
|
http_version:
|
235
|
-
recorded_at:
|
227
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
236
228
|
- request:
|
237
229
|
method: post
|
238
230
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/raw/query
|
@@ -243,15 +235,17 @@ http_interactions:
|
|
243
235
|
Accept:
|
244
236
|
- application/json
|
245
237
|
Accept-Encoding:
|
246
|
-
-
|
238
|
+
- identity
|
239
|
+
User-Agent:
|
240
|
+
- hawkular-client-ruby
|
247
241
|
Hawkular-Tenant:
|
248
|
-
-
|
242
|
+
- <%= vcr_test_tenant %>
|
249
243
|
Content-Type:
|
250
244
|
- application/json
|
251
245
|
Content-Length:
|
252
246
|
- '176'
|
253
|
-
|
254
|
-
-
|
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
|
-
-
|
265
|
+
- Mon, 15 Aug 2016 15:20:37 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":1471274437372,"value":1.1}]},{"id":"<%= id2 %>","data":[{"timestamp":1471274437372,"value":2.2}]},{"id":"<%= id3 %>","data":[{"timestamp":1471274437372,"value":3.3}]}]'
|
281
275
|
http_version:
|
282
|
-
recorded_at:
|
276
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
283
277
|
- request:
|
284
278
|
method: post
|
285
279
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/raw/query
|
@@ -290,15 +284,17 @@ http_interactions:
|
|
290
284
|
Accept:
|
291
285
|
- application/json
|
292
286
|
Accept-Encoding:
|
293
|
-
-
|
287
|
+
- identity
|
288
|
+
User-Agent:
|
289
|
+
- hawkular-client-ruby
|
294
290
|
Hawkular-Tenant:
|
295
|
-
-
|
291
|
+
- <%= vcr_test_tenant %>
|
296
292
|
Content-Type:
|
297
293
|
- application/json
|
298
294
|
Content-Length:
|
299
295
|
- '176'
|
300
|
-
|
301
|
-
-
|
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
|
-
-
|
314
|
+
- Mon, 15 Aug 2016 15:20:37 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":1471274437372,"value":"up"}]},{"id":"<%= id2 %>","data":[{"timestamp":1471274437372,"value":"down"}]},{"id":"<%= id3 %>","data":[{"timestamp":1471274437372,"value":"up"}]}]'
|
328
324
|
http_version:
|
329
|
-
recorded_at:
|
330
|
-
recorded_with: VCR 3.0.
|
325
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
326
|
+
recorded_with: VCR 3.0.3
|