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
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://jdoe:password@localhost:8080
|
5
|
+
uri: http://jdoe:password@localhost:8080/<%= tenant %>/metrics/gauges/MI~R~%5Baf0ea377-80f4-4567-af45-105eaa808b92%2Fplatform~%2FOPERATING_SYSTEM=af0ea377-80f4-4567-af45-105eaa808b92_OperatingSystem%2FMEMORY=Memory%5D~MT~Total%20Memory
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -10,13 +10,15 @@ http_interactions:
|
|
10
10
|
Accept:
|
11
11
|
- application/json
|
12
12
|
Accept-Encoding:
|
13
|
-
-
|
13
|
+
- identity
|
14
|
+
User-Agent:
|
15
|
+
- <%= tenant %>-client-ruby
|
14
16
|
Hawkular-Tenant:
|
15
|
-
-
|
17
|
+
- <%= 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,7 +35,7 @@ http_interactions:
|
|
33
35
|
Pragma:
|
34
36
|
- no-cache
|
35
37
|
Date:
|
36
|
-
-
|
38
|
+
- Mon, 15 Aug 2016 15:20:37 GMT
|
37
39
|
Connection:
|
38
40
|
- keep-alive
|
39
41
|
Content-Type:
|
@@ -42,8 +44,8 @@ http_interactions:
|
|
42
44
|
- '275'
|
43
45
|
body:
|
44
46
|
encoding: UTF-8
|
45
|
-
string: '{"id":"MI~R~[
|
46
|
-
Memory","dataRetention":7,"type":"gauge","tenantId":"
|
47
|
+
string: '{"id":"MI~R~[af0ea377-80f4-4567-af45-105eaa808b92/platform~/OPERATING_SYSTEM=af0ea377-80f4-4567-af45-105eaa808b92_OperatingSystem/MEMORY=Memory]~MT~Total
|
48
|
+
Memory","dataRetention":7,"type":"gauge","tenantId":"<%= tenant %>","minTimestamp":1470669674001,"maxTimestamp":1471274424000}'
|
47
49
|
http_version:
|
48
|
-
recorded_at:
|
49
|
-
recorded_with: VCR 3.0.
|
50
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
51
|
+
recorded_with: VCR 3.0.3
|
@@ -10,15 +10,17 @@ 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
|
- '101'
|
20
|
-
|
21
|
-
-
|
22
|
+
Host:
|
23
|
+
- localhost:8080
|
22
24
|
response:
|
23
25
|
status:
|
24
26
|
code: 201
|
@@ -37,7 +39,7 @@ http_interactions:
|
|
37
39
|
Location:
|
38
40
|
- http://localhost:8080/hawkular/metrics/gauges/<%= id %>
|
39
41
|
Date:
|
40
|
-
-
|
42
|
+
- Mon, 15 Aug 2016 15:20:37 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:
|
51
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
50
52
|
- request:
|
51
53
|
method: get
|
52
54
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>
|
@@ -57,13 +59,15 @@ http_interactions:
|
|
57
59
|
Accept:
|
58
60
|
- application/json
|
59
61
|
Accept-Encoding:
|
60
|
-
-
|
62
|
+
- identity
|
63
|
+
User-Agent:
|
64
|
+
- hawkular-client-ruby
|
61
65
|
Hawkular-Tenant:
|
62
|
-
-
|
66
|
+
- <%= vcr_test_tenant %>
|
63
67
|
Content-Type:
|
64
68
|
- application/json
|
65
|
-
|
66
|
-
-
|
69
|
+
Host:
|
70
|
+
- localhost:8080
|
67
71
|
response:
|
68
72
|
status:
|
69
73
|
code: 200
|
@@ -80,18 +84,18 @@ http_interactions:
|
|
80
84
|
Pragma:
|
81
85
|
- no-cache
|
82
86
|
Date:
|
83
|
-
-
|
87
|
+
- Mon, 15 Aug 2016 15:20:37 GMT
|
84
88
|
Connection:
|
85
89
|
- keep-alive
|
86
90
|
Content-Type:
|
87
91
|
- application/json
|
88
92
|
Content-Length:
|
89
|
-
- '
|
93
|
+
- '221'
|
90
94
|
body:
|
91
95
|
encoding: UTF-8
|
92
|
-
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>"},"dataRetention":7,"type":"gauge","tenantId":"
|
96
|
+
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>"},"dataRetention":7,"type":"gauge","tenantId":"<%= vcr_test_tenant %>"}'
|
93
97
|
http_version:
|
94
|
-
recorded_at:
|
98
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
95
99
|
- request:
|
96
100
|
method: put
|
97
101
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/tags
|
@@ -102,15 +106,17 @@ http_interactions:
|
|
102
106
|
Accept:
|
103
107
|
- application/json
|
104
108
|
Accept-Encoding:
|
105
|
-
-
|
109
|
+
- identity
|
110
|
+
User-Agent:
|
111
|
+
- hawkular-client-ruby
|
106
112
|
Hawkular-Tenant:
|
107
|
-
-
|
113
|
+
- <%= vcr_test_tenant %>
|
108
114
|
Content-Type:
|
109
115
|
- application/json
|
110
116
|
Content-Length:
|
111
117
|
- '21'
|
112
|
-
|
113
|
-
-
|
118
|
+
Host:
|
119
|
+
- localhost:8080
|
114
120
|
response:
|
115
121
|
status:
|
116
122
|
code: 200
|
@@ -131,12 +137,12 @@ http_interactions:
|
|
131
137
|
Content-Length:
|
132
138
|
- '0'
|
133
139
|
Date:
|
134
|
-
-
|
140
|
+
- Mon, 15 Aug 2016 15:20:37 GMT
|
135
141
|
body:
|
136
142
|
encoding: UTF-8
|
137
143
|
string: ''
|
138
144
|
http_version:
|
139
|
-
recorded_at:
|
145
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
140
146
|
- request:
|
141
147
|
method: get
|
142
148
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>
|
@@ -147,13 +153,15 @@ http_interactions:
|
|
147
153
|
Accept:
|
148
154
|
- application/json
|
149
155
|
Accept-Encoding:
|
150
|
-
-
|
156
|
+
- identity
|
157
|
+
User-Agent:
|
158
|
+
- hawkular-client-ruby
|
151
159
|
Hawkular-Tenant:
|
152
|
-
-
|
160
|
+
- <%= vcr_test_tenant %>
|
153
161
|
Content-Type:
|
154
162
|
- application/json
|
155
|
-
|
156
|
-
-
|
163
|
+
Host:
|
164
|
+
- localhost:8080
|
157
165
|
response:
|
158
166
|
status:
|
159
167
|
code: 200
|
@@ -170,18 +178,18 @@ http_interactions:
|
|
170
178
|
Pragma:
|
171
179
|
- no-cache
|
172
180
|
Date:
|
173
|
-
-
|
181
|
+
- Mon, 15 Aug 2016 15:20:37 GMT
|
174
182
|
Connection:
|
175
183
|
- keep-alive
|
176
184
|
Content-Type:
|
177
185
|
- application/json
|
178
186
|
Content-Length:
|
179
|
-
- '
|
187
|
+
- '241'
|
180
188
|
body:
|
181
189
|
encoding: UTF-8
|
182
|
-
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"gauge","tenantId":"
|
190
|
+
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"gauge","tenantId":"<%= vcr_test_tenant %>"}'
|
183
191
|
http_version:
|
184
|
-
recorded_at:
|
192
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
185
193
|
- request:
|
186
194
|
method: get
|
187
195
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/?tags=myTag:<%= id %>&type=gauge
|
@@ -192,13 +200,15 @@ http_interactions:
|
|
192
200
|
Accept:
|
193
201
|
- application/json
|
194
202
|
Accept-Encoding:
|
195
|
-
-
|
203
|
+
- identity
|
204
|
+
User-Agent:
|
205
|
+
- hawkular-client-ruby
|
196
206
|
Hawkular-Tenant:
|
197
|
-
-
|
207
|
+
- <%= vcr_test_tenant %>
|
198
208
|
Content-Type:
|
199
209
|
- application/json
|
200
|
-
|
201
|
-
-
|
210
|
+
Host:
|
211
|
+
- localhost:8080
|
202
212
|
response:
|
203
213
|
status:
|
204
214
|
code: 200
|
@@ -215,16 +225,16 @@ http_interactions:
|
|
215
225
|
Pragma:
|
216
226
|
- no-cache
|
217
227
|
Date:
|
218
|
-
-
|
228
|
+
- Mon, 15 Aug 2016 15:20:37 GMT
|
219
229
|
Connection:
|
220
230
|
- keep-alive
|
221
231
|
Content-Type:
|
222
232
|
- application/json
|
223
233
|
Content-Length:
|
224
|
-
- '
|
234
|
+
- '243'
|
225
235
|
body:
|
226
236
|
encoding: UTF-8
|
227
|
-
string: '[{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"gauge","tenantId":"
|
237
|
+
string: '[{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"gauge","tenantId":"<%= vcr_test_tenant %>"}]'
|
228
238
|
http_version:
|
229
|
-
recorded_at:
|
230
|
-
recorded_with: VCR 3.0.
|
239
|
+
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
240
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,328 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- identity
|
14
|
+
User-Agent:
|
15
|
+
- hawkular-client-ruby
|
16
|
+
Hawkular-Tenant:
|
17
|
+
- hawkular
|
18
|
+
Content-Type:
|
19
|
+
- application/json
|
20
|
+
Host:
|
21
|
+
- localhost:8080
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 204
|
25
|
+
message: No Content
|
26
|
+
headers:
|
27
|
+
Expires:
|
28
|
+
- '0'
|
29
|
+
Cache-Control:
|
30
|
+
- no-cache, no-store, must-revalidate
|
31
|
+
X-Powered-By:
|
32
|
+
- Undertow/1
|
33
|
+
Server:
|
34
|
+
- WildFly/10
|
35
|
+
Pragma:
|
36
|
+
- no-cache
|
37
|
+
Date:
|
38
|
+
- Mon, 05 Sep 2016 12:58:07 GMT
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: ''
|
42
|
+
http_version:
|
43
|
+
recorded_at: Mon, 05 Sep 2016 12:58:07 GMT
|
44
|
+
- request:
|
45
|
+
method: post
|
46
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":100.0,"timestamp":1473080287184}]}],"availabilities":[]}'
|
50
|
+
headers:
|
51
|
+
Accept:
|
52
|
+
- application/json
|
53
|
+
Accept-Encoding:
|
54
|
+
- identity
|
55
|
+
User-Agent:
|
56
|
+
- hawkular-client-ruby
|
57
|
+
Hawkular-Tenant:
|
58
|
+
- hawkular
|
59
|
+
Content-Type:
|
60
|
+
- application/json
|
61
|
+
Content-Length:
|
62
|
+
- '143'
|
63
|
+
Host:
|
64
|
+
- localhost:8080
|
65
|
+
response:
|
66
|
+
status:
|
67
|
+
code: 200
|
68
|
+
message: OK
|
69
|
+
headers:
|
70
|
+
Expires:
|
71
|
+
- '0'
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
Cache-Control:
|
75
|
+
- no-cache, no-store, must-revalidate
|
76
|
+
X-Powered-By:
|
77
|
+
- Undertow/1
|
78
|
+
Server:
|
79
|
+
- WildFly/10
|
80
|
+
Pragma:
|
81
|
+
- no-cache
|
82
|
+
Content-Length:
|
83
|
+
- '0'
|
84
|
+
Date:
|
85
|
+
- Mon, 05 Sep 2016 12:58:07 GMT
|
86
|
+
body:
|
87
|
+
encoding: UTF-8
|
88
|
+
string: ''
|
89
|
+
http_version:
|
90
|
+
recorded_at: Mon, 05 Sep 2016 12:58:07 GMT
|
91
|
+
- request:
|
92
|
+
method: post
|
93
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data
|
94
|
+
body:
|
95
|
+
encoding: UTF-8
|
96
|
+
string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":110.0,"timestamp":1473080287194}]}],"availabilities":[]}'
|
97
|
+
headers:
|
98
|
+
Accept:
|
99
|
+
- application/json
|
100
|
+
Accept-Encoding:
|
101
|
+
- identity
|
102
|
+
User-Agent:
|
103
|
+
- hawkular-client-ruby
|
104
|
+
Hawkular-Tenant:
|
105
|
+
- hawkular
|
106
|
+
Content-Type:
|
107
|
+
- application/json
|
108
|
+
Content-Length:
|
109
|
+
- '143'
|
110
|
+
Host:
|
111
|
+
- localhost:8080
|
112
|
+
response:
|
113
|
+
status:
|
114
|
+
code: 200
|
115
|
+
message: OK
|
116
|
+
headers:
|
117
|
+
Expires:
|
118
|
+
- '0'
|
119
|
+
Connection:
|
120
|
+
- keep-alive
|
121
|
+
Cache-Control:
|
122
|
+
- no-cache, no-store, must-revalidate
|
123
|
+
X-Powered-By:
|
124
|
+
- Undertow/1
|
125
|
+
Server:
|
126
|
+
- WildFly/10
|
127
|
+
Pragma:
|
128
|
+
- no-cache
|
129
|
+
Content-Length:
|
130
|
+
- '0'
|
131
|
+
Date:
|
132
|
+
- Mon, 05 Sep 2016 12:58:07 GMT
|
133
|
+
body:
|
134
|
+
encoding: UTF-8
|
135
|
+
string: ''
|
136
|
+
http_version:
|
137
|
+
recorded_at: Mon, 05 Sep 2016 12:58:07 GMT
|
138
|
+
- request:
|
139
|
+
method: post
|
140
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data
|
141
|
+
body:
|
142
|
+
encoding: UTF-8
|
143
|
+
string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":130.0,"timestamp":1473080287197}]}],"availabilities":[]}'
|
144
|
+
headers:
|
145
|
+
Accept:
|
146
|
+
- application/json
|
147
|
+
Accept-Encoding:
|
148
|
+
- identity
|
149
|
+
User-Agent:
|
150
|
+
- hawkular-client-ruby
|
151
|
+
Hawkular-Tenant:
|
152
|
+
- hawkular
|
153
|
+
Content-Type:
|
154
|
+
- application/json
|
155
|
+
Content-Length:
|
156
|
+
- '143'
|
157
|
+
Host:
|
158
|
+
- localhost:8080
|
159
|
+
response:
|
160
|
+
status:
|
161
|
+
code: 200
|
162
|
+
message: OK
|
163
|
+
headers:
|
164
|
+
Expires:
|
165
|
+
- '0'
|
166
|
+
Connection:
|
167
|
+
- keep-alive
|
168
|
+
Cache-Control:
|
169
|
+
- no-cache, no-store, must-revalidate
|
170
|
+
X-Powered-By:
|
171
|
+
- Undertow/1
|
172
|
+
Server:
|
173
|
+
- WildFly/10
|
174
|
+
Pragma:
|
175
|
+
- no-cache
|
176
|
+
Content-Length:
|
177
|
+
- '0'
|
178
|
+
Date:
|
179
|
+
- Mon, 05 Sep 2016 12:58:07 GMT
|
180
|
+
body:
|
181
|
+
encoding: UTF-8
|
182
|
+
string: ''
|
183
|
+
http_version:
|
184
|
+
recorded_at: Mon, 05 Sep 2016 12:58:07 GMT
|
185
|
+
- request:
|
186
|
+
method: post
|
187
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data
|
188
|
+
body:
|
189
|
+
encoding: UTF-8
|
190
|
+
string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":200.0,"timestamp":1473080287200}]}],"availabilities":[]}'
|
191
|
+
headers:
|
192
|
+
Accept:
|
193
|
+
- application/json
|
194
|
+
Accept-Encoding:
|
195
|
+
- identity
|
196
|
+
User-Agent:
|
197
|
+
- hawkular-client-ruby
|
198
|
+
Hawkular-Tenant:
|
199
|
+
- hawkular
|
200
|
+
Content-Type:
|
201
|
+
- application/json
|
202
|
+
Content-Length:
|
203
|
+
- '143'
|
204
|
+
Host:
|
205
|
+
- localhost:8080
|
206
|
+
response:
|
207
|
+
status:
|
208
|
+
code: 200
|
209
|
+
message: OK
|
210
|
+
headers:
|
211
|
+
Expires:
|
212
|
+
- '0'
|
213
|
+
Connection:
|
214
|
+
- keep-alive
|
215
|
+
Cache-Control:
|
216
|
+
- no-cache, no-store, must-revalidate
|
217
|
+
X-Powered-By:
|
218
|
+
- Undertow/1
|
219
|
+
Server:
|
220
|
+
- WildFly/10
|
221
|
+
Pragma:
|
222
|
+
- no-cache
|
223
|
+
Content-Length:
|
224
|
+
- '0'
|
225
|
+
Date:
|
226
|
+
- Mon, 05 Sep 2016 12:58:07 GMT
|
227
|
+
body:
|
228
|
+
encoding: UTF-8
|
229
|
+
string: ''
|
230
|
+
http_version:
|
231
|
+
recorded_at: Mon, 05 Sep 2016 12:58:07 GMT
|
232
|
+
- request:
|
233
|
+
method: get
|
234
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/
|
235
|
+
body:
|
236
|
+
encoding: US-ASCII
|
237
|
+
string: ''
|
238
|
+
headers:
|
239
|
+
Accept:
|
240
|
+
- application/json
|
241
|
+
Accept-Encoding:
|
242
|
+
- identity
|
243
|
+
User-Agent:
|
244
|
+
- hawkular-client-ruby
|
245
|
+
Hawkular-Tenant:
|
246
|
+
- hawkular
|
247
|
+
Content-Type:
|
248
|
+
- application/json
|
249
|
+
Host:
|
250
|
+
- localhost:8080
|
251
|
+
response:
|
252
|
+
status:
|
253
|
+
code: 200
|
254
|
+
message: OK
|
255
|
+
headers:
|
256
|
+
Expires:
|
257
|
+
- '0'
|
258
|
+
Cache-Control:
|
259
|
+
- no-cache, no-store, must-revalidate
|
260
|
+
X-Powered-By:
|
261
|
+
- Undertow/1
|
262
|
+
Server:
|
263
|
+
- WildFly/10
|
264
|
+
Pragma:
|
265
|
+
- no-cache
|
266
|
+
Date:
|
267
|
+
- Mon, 05 Sep 2016 12:58:07 GMT
|
268
|
+
Connection:
|
269
|
+
- keep-alive
|
270
|
+
Content-Type:
|
271
|
+
- application/json
|
272
|
+
Content-Length:
|
273
|
+
- '161'
|
274
|
+
body:
|
275
|
+
encoding: UTF-8
|
276
|
+
string: '[{"timestamp":1473080287200,"value":200},{"timestamp":1473080287197,"value":130},{"timestamp":1473080287194,"value":110},{"timestamp":1473080287184,"value":100}]'
|
277
|
+
http_version:
|
278
|
+
recorded_at: Mon, 05 Sep 2016 12:58:07 GMT
|
279
|
+
- request:
|
280
|
+
method: post
|
281
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/stats/query
|
282
|
+
body:
|
283
|
+
encoding: UTF-8
|
284
|
+
string: '{"metrics":{"gauge":[],"counter":["<%= id %>"],"availability":[]},"start":1473080287184,"end":1473080287201,"bucketDuration":"17ms","types":["gauge","gauge_rate","counter","counter_rate","availability"]}'
|
285
|
+
headers:
|
286
|
+
Accept:
|
287
|
+
- application/json
|
288
|
+
Accept-Encoding:
|
289
|
+
- identity
|
290
|
+
User-Agent:
|
291
|
+
- hawkular-client-ruby
|
292
|
+
Hawkular-Tenant:
|
293
|
+
- hawkular
|
294
|
+
Content-Type:
|
295
|
+
- application/json
|
296
|
+
Content-Length:
|
297
|
+
- '230'
|
298
|
+
Host:
|
299
|
+
- localhost:8080
|
300
|
+
response:
|
301
|
+
status:
|
302
|
+
code: 200
|
303
|
+
message: OK
|
304
|
+
headers:
|
305
|
+
Expires:
|
306
|
+
- '0'
|
307
|
+
Cache-Control:
|
308
|
+
- no-cache, no-store, must-revalidate
|
309
|
+
X-Powered-By:
|
310
|
+
- Undertow/1
|
311
|
+
Server:
|
312
|
+
- WildFly/10
|
313
|
+
Pragma:
|
314
|
+
- no-cache
|
315
|
+
Date:
|
316
|
+
- Mon, 05 Sep 2016 12:58:07 GMT
|
317
|
+
Connection:
|
318
|
+
- keep-alive
|
319
|
+
Content-Type:
|
320
|
+
- application/json
|
321
|
+
Content-Length:
|
322
|
+
- '394'
|
323
|
+
body:
|
324
|
+
encoding: UTF-8
|
325
|
+
string: '{"counter_rate":{"<%= id %>":[{"start":1473080287184,"end":1473080287201,"min":60000.0,"avg":620000.0,"median":400000.0,"max":1400000.0,"sum":1860000.0,"samples":3,"empty":false}]},"counter":{"<%= id %>":[{"start":1473080287184,"end":1473080287201,"min":100.0,"avg":135.0,"median":110.0,"max":200.0,"sum":540.0,"samples":4,"empty":false}]}}'
|
326
|
+
http_version:
|
327
|
+
recorded_at: Mon, 05 Sep 2016 12:58:07 GMT
|
328
|
+
recorded_with: VCR 3.0.1
|