hawkular-client 2.9.0 → 3.0.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 +27 -0
- data/README.rdoc +14 -14
- data/lib/hawkular/alerts/alerts_api.rb +43 -7
- data/lib/hawkular/client_utils.rb +0 -3
- data/lib/hawkular/hawkular_client.rb +1 -1
- data/lib/hawkular/inventory/entities.rb +55 -19
- data/lib/hawkular/inventory/inventory_api.rb +313 -412
- data/lib/hawkular/metrics/metric_api.rb +5 -2
- data/lib/hawkular/operations/operations_api.rb +0 -8
- data/lib/hawkular/tokens/tokens_api.rb +0 -3
- data/lib/hawkular/version.rb +1 -1
- metadata +3 -647
- data/.coveralls.yml +0 -1
- data/.gitignore +0 -56
- data/.rubocop.yml +0 -32
- data/.travis.yml +0 -20
- data/.travis/start_hawkular_services.sh +0 -21
- data/.travis/wait_for_services.rb +0 -39
- data/.yardopts +0 -1
- data/Gemfile +0 -2
- data/Rakefile +0 -20
- data/api_breaking_changes.rdoc +0 -84
- data/docker-compose.yml +0 -17
- data/hawkularclient.gemspec +0 -43
- data/spec/README.rdoc +0 -62
- data/spec/integration/alert-resources/alerts-test-data.json +0 -40
- data/spec/integration/alert-resources/events-test-data.json +0 -78
- data/spec/integration/alert-resources/triggers-test-data.json +0 -66
- data/spec/integration/alerts_spec.rb +0 -774
- data/spec/integration/env_config_spec.rb +0 -39
- data/spec/integration/hawkular_client_spec.rb +0 -304
- data/spec/integration/hello-world-definitions.json +0 -45
- data/spec/integration/inventory_spec.rb +0 -680
- data/spec/integration/logger_spec.rb +0 -36
- data/spec/integration/metric_spec.rb +0 -953
- data/spec/integration/operations_spec.rb +0 -591
- data/spec/integration/tokens_spec.rb +0 -49
- data/spec/resources/driver.jar +0 -0
- data/spec/resources/sample.war +0 -0
- data/spec/spec_helper.rb +0 -336
- data/spec/unit/base_spec.rb +0 -256
- data/spec/unit/canonical_path_spec.rb +0 -102
- data/spec/unit/client_spec.rb +0 -55
- data/spec/unit/deprecations_spec.rb +0 -19
- data/spec/vcr/vcr_setup.rb +0 -16
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_acknowledge_an_alert.yml +0 -205
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_add_tags_to_existing_alert.yml +0 -210
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_fetch_single_alert.yml +0 -108
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts.yml +0 -59
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts_for_trigger.yml +0 -58
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts_for_unknown_trigger.yml +0 -50
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_open_alerts.yml +0 -59
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_remove_tags_from_existing_alert.yml +0 -257
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_resolve_an_alert.yml +0 -207
- data/spec/vcr_cassettes/Alert/Alerts/Templates/setup.yml +0 -255
- data/spec/vcr_cassettes/Alert/Alerts/Templates/setup_cleanup.yml +0 -302
- data/spec/vcr_cassettes/Alert/EndToEnd/Templates/Should_create_and_fire_a_trigger.yml +0 -527
- data/spec/vcr_cassettes/Alert/Events/Templates/Should_create_an_event.yml +0 -101
- data/spec/vcr_cassettes/Alert/Events/Templates/Should_delete_an_event.yml +0 -148
- data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events.yml +0 -91
- data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events_using_criteria.yml +0 -60
- data/spec/vcr_cassettes/Alert/Events/Templates/Should_not_list_events_using_criteria.yml +0 -50
- data/spec/vcr_cassettes/Alert/Events/Templates/setup.yml +0 -615
- data/spec/vcr_cassettes/Alert/Events/Templates/setup_cleanup.yml +0 -567
- data/spec/vcr_cassettes/Alert/Groups/Templates/Should_operate_a_complex_group_trigger.yml +0 -1882
- data/spec/vcr_cassettes/Alert/Templates/Should_return_the_version.yml +0 -42
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers.yml +0 -55
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_ID.yml +0 -56
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tag.yml +0 -56
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tags.yml +0 -56
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_bulk_load_triggers.yml +0 -243
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_create_a_basic_trigger_with_action.yml +0 -386
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_create_a_firing_ALL_ANY_trigger.yml +0 -483
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_create_an_action.yml +0 -146
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_Trigger_with_conditions.yml +0 -144
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_metric_Trigger.yml +0 -50
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_the_action_definitions.yml +0 -228
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_not_create_an_action_for_unknown_plugin.yml +0 -50
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_not_create_an_action_for_unknown_properties.yml +0 -100
- data/spec/vcr_cassettes/Alert/Triggers/Templates/setup.yml +0 -52
- data/spec/vcr_cassettes/Alert/Triggers/Templates/setup_cleanup.yml +0 -285
- data/spec/vcr_cassettes/HawkularClient/Should_err_on_bad_credentials.yml +0 -42
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +0 -317
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml +0 -103
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_types_with_bad_feed.yml +0 -103
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +0 -325
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml +0 -117
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +0 -111
- data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_retrieve_tags_for_Availability.yml +0 -155
- data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_return_Availability_using_Hash_parameter.yml +0 -155
- data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_return_the_version.yml +0 -89
- data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_work_the_same_way_when_pushing_metric_data_to_non-existing_counter.yml +0 -114
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml +0 -158
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client/Should_work_initializing_with_URI.yml +0 -48
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +0 -44
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_work_initializing_with_URI.json +0 -9
- data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI.yml +0 -169
- data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI_on_metrics_client.yml +0 -42
- data/spec/vcr_cassettes/Inventory/NonSecure/Connection/Templates/Should_err_on_bad_credentials.yml +0 -44
- data/spec/vcr_cassettes/Inventory/NonSecure/Tenants/Templates/Should_Get_Tenant_For_Explicit_Credentials.yml +0 -101
- data/spec/vcr_cassettes/Inventory/NonSecure/Tenants/Templates/Should_Get_Tenant_For_Implicit_Credentials.yml +0 -101
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Client_should_listen_on_various_inventory_events.json +0 -47
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.yml +0 -207
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Helpers/create_url.yml +0 -52
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +0 -411
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Helpers/get_feeds.yml +0 -62
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +0 -133
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_feed.yml +0 -59
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_feed_again.yml +0 -181
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +0 -664
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_resource.yml +0 -360
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_resource_with_metric.yml +0 -846
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_resourcetype.yml +0 -169
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_and_delete_feed.yml +0 -166
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +0 -420
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +0 -132
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_have_a_consistent_behaviour_when_creating_an_already_existing_resource.yml +0 -714
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_have_the_same_requested_metric_type_id.yml +0 -73
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_URLs.yml +0 -90
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_WildFlys.yml +0 -70
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +0 -138
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_all_the_resource_types.yml +0 -59
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +0 -333
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_children_of_nested_resource.yml +0 -180
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_feeds.yml +0 -62
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +0 -943
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +0 -361
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +0 -94
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +0 -294
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +0 -871
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +0 -740
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +0 -1117
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +0 -393
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_resources_for_feed.yml +0 -84
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_types_with_bad_feed.yml +0 -55
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_types_with_feed.yml +0 -166
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_not_find_an_unknown_resource.yml +0 -59
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_return_config_data_of_given_nested_resource.yml +0 -66
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +0 -71
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_return_data_from_get_entity.yml +0 -230
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_return_the_version.yml +0 -50
- data/spec/vcr_cassettes/Inventory/Secure/Connection/Templates/Should_err_on_bad_credentials.yml +0 -44
- data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Explicit_Credentials.yml +0 -101
- data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Implicit_Credentials.yml +0 -101
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Client_should_listen_on_various_inventory_events.json +0 -47
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.yml +0 -207
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/create_url.yml +0 -52
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +0 -411
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/get_feeds.yml +0 -62
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +0 -133
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed.yml +0 -59
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed_again.yml +0 -181
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +0 -664
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resource.yml +0 -360
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resource_with_metric.yml +0 -846
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resourcetype.yml +0 -169
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_delete_feed.yml +0 -166
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +0 -420
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +0 -132
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_have_the_same_requested_metric_type_id.yml +0 -73
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_URLs.yml +0 -90
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys.yml +0 -70
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +0 -138
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_all_the_resource_types.yml +0 -59
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +0 -333
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_nested_resource.yml +0 -180
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_feeds.yml +0 -62
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +0 -943
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +0 -361
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +0 -90
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +0 -294
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +0 -871
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +0 -740
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +0 -1117
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +0 -393
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_resources_for_feed.yml +0 -84
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_bad_feed.yml +0 -55
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_feed.yml +0 -166
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_not_find_an_unknown_resource.yml +0 -59
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_nested_resource.yml +0 -66
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +0 -71
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_the_version.yml +0 -50
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml +0 -114
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +0 -132
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +0 -51
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +0 -92
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +0 -101
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +0 -101
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +0 -101
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +0 -50
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +0 -146
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +0 -146
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/setup_client.yml +0 -44
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -83
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -83
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -120
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -200
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -83
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -83
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -200
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -237
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -120
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -83
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -83
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -237
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -120
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_return_periods.yml +0 -81
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -200
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -270
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -237
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Simple/Should_be_Cool.yml +0 -82
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Status/Should_return_the_version.yml +0 -42
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_8_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -83
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/All_Tags_for_metrics/Should_fetch_all_metric_tags_for_metrics_definitions.yml +0 -434
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/All_Tags_for_metrics/Should_fetch_all_metrics_with_some_tags.yml +0 -1251
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -138
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -144
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/setup_client.yml +0 -44
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +0 -328
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -144
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/setup_client.yml +0 -44
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -281
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -144
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +0 -97
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +0 -196
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +0 -197
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/setup_client.yml +0 -44
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_rate_stats_for_mixed_metric.yml +0 -328
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +0 -363
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -414
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -285
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/setup_client.yml +0 -44
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/No_Tenant/Should_fail.yml +0 -89
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Simple/Should_be_Cool.yml +0 -48
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Status/Should_return_the_version.yml +0 -85
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/Should_create_string_definition_using_Hash.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/Should_create_string_definition_using_MetricDefinition.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/Should_push_metric_data_to_existing_string.yml +0 -281
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/Should_push_metric_data_to_non-existing_string.yml +0 -144
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/setup_client.yml +0 -44
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tags_Metrics/setup_client.yml +0 -44
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +0 -103
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/setup_client.yml +0 -44
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/setup_client.yml +0 -44
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +0 -51
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +0 -92
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +0 -101
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +0 -101
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +0 -101
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +0 -50
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +0 -146
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +0 -146
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -144
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +0 -328
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -144
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -281
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -144
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +0 -97
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +0 -50
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +0 -51
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +0 -364
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -373
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -285
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/No_Tenant/Should_fail.yml +0 -50
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Simple/Should_be_Cool.yml +0 -48
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Status/Should_return_the_version.yml +0 -44
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +0 -99
- data/spec/vcr_cassettes/New_API_Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -230
- data/spec/vcr_cassettes/New_API_Mixed_metrics/Should_send_mixed_metric_request.yml +0 -300
- data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/agent_properties.yml +0 -124
- data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/get_feed.yml +0 -61
- data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/get_tenant.yml +0 -55
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_JDBC_driver_should_add_the_driver.json +0 -23
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_XA_datasource_should_be_doable.json +0 -23
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_deployment_should_be_doable.json +0 -23
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_non-XA_datasource_should_be_doable.json +0 -23
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +0 -23
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +0 -23
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +0 -23
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +0 -32
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +0 -23
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +0 -23
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +0 -23
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Update_collection_intervals_should_be_performed_and_eventually_respond_with_success.json +0 -23
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/should_not_be_possible_to_perform_on_closed_client.json +0 -12
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +0 -9
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +0 -9
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_no_host.json +0 -3
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established.json +0 -9
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established_via_entrypoint.json +0 -9
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_run_into_error_callback.json +0 -18
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +0 -13
- data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_feed.yml +0 -61
- data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_tenant.yml +0 -55
- data/spec/vcr_cassettes/Operation/Secure/Operation/Add_JDBC_driver_should_add_the_driver.json +0 -23
- data/spec/vcr_cassettes/Operation/Secure/Operation/Add_datasource_should_be_doable.json +0 -23
- data/spec/vcr_cassettes/Operation/Secure/Operation/Add_deployment_should_be_doable.json +0 -23
- data/spec/vcr_cassettes/Operation/Secure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +0 -23
- data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +0 -23
- data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +0 -23
- data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +0 -32
- data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +0 -23
- data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +0 -23
- data/spec/vcr_cassettes/Operation/Secure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +0 -23
- data/spec/vcr_cassettes/Operation/Secure/Operation/should_not_be_possible_to_perform_on_closed_client.json +0 -12
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +0 -9
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +0 -9
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_no_host.json +0 -3
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established.json +0 -9
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established_via_entrypoint.json +0 -9
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback.json +0 -18
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +0 -13
- data/spec/vcr_cassettes/Tokens/Should_be_able_to_create_a_new_token_for_an_actual_user.yml +0 -57
- data/spec/vcr_cassettes/Tokens/Should_be_able_to_list_the_available_tokens.yml +0 -49
- data/spec/vcr_cassettes/Tokens/Should_get_a_401_when_attempting_to_create_a_token_with_a_wrong_password.yml +0 -56
- data/spec/vcr_cassettes/Tokens/Should_get_a_401_when_attempting_to_create_a_token_without_a_password.yml +0 -55
@@ -1,240 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>"}}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- identity
|
14
|
-
User-Agent:
|
15
|
-
- hawkular-client-ruby
|
16
|
-
Hawkular-Tenant:
|
17
|
-
- <%= vcr_test_tenant %>
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
Content-Length:
|
21
|
-
- '101'
|
22
|
-
Host:
|
23
|
-
- localhost:8080
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 201
|
27
|
-
message: Created
|
28
|
-
headers:
|
29
|
-
Expires:
|
30
|
-
- '0'
|
31
|
-
Cache-Control:
|
32
|
-
- no-cache, no-store, must-revalidate
|
33
|
-
X-Powered-By:
|
34
|
-
- Undertow/1
|
35
|
-
Server:
|
36
|
-
- WildFly/10
|
37
|
-
Pragma:
|
38
|
-
- no-cache
|
39
|
-
Location:
|
40
|
-
- http://localhost:8080/hawkular/metrics/gauges/<%= id %>
|
41
|
-
Date:
|
42
|
-
- Mon, 15 Aug 2016 15:20:37 GMT
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '0'
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: ''
|
50
|
-
http_version:
|
51
|
-
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
52
|
-
- request:
|
53
|
-
method: get
|
54
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>
|
55
|
-
body:
|
56
|
-
encoding: US-ASCII
|
57
|
-
string: ''
|
58
|
-
headers:
|
59
|
-
Accept:
|
60
|
-
- application/json
|
61
|
-
Accept-Encoding:
|
62
|
-
- identity
|
63
|
-
User-Agent:
|
64
|
-
- hawkular-client-ruby
|
65
|
-
Hawkular-Tenant:
|
66
|
-
- <%= vcr_test_tenant %>
|
67
|
-
Content-Type:
|
68
|
-
- application/json
|
69
|
-
Host:
|
70
|
-
- localhost:8080
|
71
|
-
response:
|
72
|
-
status:
|
73
|
-
code: 200
|
74
|
-
message: OK
|
75
|
-
headers:
|
76
|
-
Expires:
|
77
|
-
- '0'
|
78
|
-
Cache-Control:
|
79
|
-
- no-cache, no-store, must-revalidate
|
80
|
-
X-Powered-By:
|
81
|
-
- Undertow/1
|
82
|
-
Server:
|
83
|
-
- WildFly/10
|
84
|
-
Pragma:
|
85
|
-
- no-cache
|
86
|
-
Date:
|
87
|
-
- Mon, 15 Aug 2016 15:20:37 GMT
|
88
|
-
Connection:
|
89
|
-
- keep-alive
|
90
|
-
Content-Type:
|
91
|
-
- application/json
|
92
|
-
Content-Length:
|
93
|
-
- '221'
|
94
|
-
body:
|
95
|
-
encoding: UTF-8
|
96
|
-
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>"},"dataRetention":7,"type":"gauge","tenantId":"<%= vcr_test_tenant %>"}'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
99
|
-
- request:
|
100
|
-
method: put
|
101
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/tags
|
102
|
-
body:
|
103
|
-
encoding: UTF-8
|
104
|
-
string: '{"newTag":"newValue"}'
|
105
|
-
headers:
|
106
|
-
Accept:
|
107
|
-
- application/json
|
108
|
-
Accept-Encoding:
|
109
|
-
- identity
|
110
|
-
User-Agent:
|
111
|
-
- hawkular-client-ruby
|
112
|
-
Hawkular-Tenant:
|
113
|
-
- <%= vcr_test_tenant %>
|
114
|
-
Content-Type:
|
115
|
-
- application/json
|
116
|
-
Content-Length:
|
117
|
-
- '21'
|
118
|
-
Host:
|
119
|
-
- localhost:8080
|
120
|
-
response:
|
121
|
-
status:
|
122
|
-
code: 200
|
123
|
-
message: OK
|
124
|
-
headers:
|
125
|
-
Expires:
|
126
|
-
- '0'
|
127
|
-
Connection:
|
128
|
-
- keep-alive
|
129
|
-
Cache-Control:
|
130
|
-
- no-cache, no-store, must-revalidate
|
131
|
-
X-Powered-By:
|
132
|
-
- Undertow/1
|
133
|
-
Server:
|
134
|
-
- WildFly/10
|
135
|
-
Pragma:
|
136
|
-
- no-cache
|
137
|
-
Content-Length:
|
138
|
-
- '0'
|
139
|
-
Date:
|
140
|
-
- Mon, 15 Aug 2016 15:20:37 GMT
|
141
|
-
body:
|
142
|
-
encoding: UTF-8
|
143
|
-
string: ''
|
144
|
-
http_version:
|
145
|
-
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
146
|
-
- request:
|
147
|
-
method: get
|
148
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>
|
149
|
-
body:
|
150
|
-
encoding: US-ASCII
|
151
|
-
string: ''
|
152
|
-
headers:
|
153
|
-
Accept:
|
154
|
-
- application/json
|
155
|
-
Accept-Encoding:
|
156
|
-
- identity
|
157
|
-
User-Agent:
|
158
|
-
- hawkular-client-ruby
|
159
|
-
Hawkular-Tenant:
|
160
|
-
- <%= vcr_test_tenant %>
|
161
|
-
Content-Type:
|
162
|
-
- application/json
|
163
|
-
Host:
|
164
|
-
- localhost:8080
|
165
|
-
response:
|
166
|
-
status:
|
167
|
-
code: 200
|
168
|
-
message: OK
|
169
|
-
headers:
|
170
|
-
Expires:
|
171
|
-
- '0'
|
172
|
-
Cache-Control:
|
173
|
-
- no-cache, no-store, must-revalidate
|
174
|
-
X-Powered-By:
|
175
|
-
- Undertow/1
|
176
|
-
Server:
|
177
|
-
- WildFly/10
|
178
|
-
Pragma:
|
179
|
-
- no-cache
|
180
|
-
Date:
|
181
|
-
- Mon, 15 Aug 2016 15:20:37 GMT
|
182
|
-
Connection:
|
183
|
-
- keep-alive
|
184
|
-
Content-Type:
|
185
|
-
- application/json
|
186
|
-
Content-Length:
|
187
|
-
- '241'
|
188
|
-
body:
|
189
|
-
encoding: UTF-8
|
190
|
-
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"gauge","tenantId":"<%= vcr_test_tenant %>"}'
|
191
|
-
http_version:
|
192
|
-
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
193
|
-
- request:
|
194
|
-
method: get
|
195
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/?tags=myTag:<%= id %>&type=gauge
|
196
|
-
body:
|
197
|
-
encoding: US-ASCII
|
198
|
-
string: ''
|
199
|
-
headers:
|
200
|
-
Accept:
|
201
|
-
- application/json
|
202
|
-
Accept-Encoding:
|
203
|
-
- identity
|
204
|
-
User-Agent:
|
205
|
-
- hawkular-client-ruby
|
206
|
-
Hawkular-Tenant:
|
207
|
-
- <%= vcr_test_tenant %>
|
208
|
-
Content-Type:
|
209
|
-
- application/json
|
210
|
-
Host:
|
211
|
-
- localhost:8080
|
212
|
-
response:
|
213
|
-
status:
|
214
|
-
code: 200
|
215
|
-
message: OK
|
216
|
-
headers:
|
217
|
-
Expires:
|
218
|
-
- '0'
|
219
|
-
Cache-Control:
|
220
|
-
- no-cache, no-store, must-revalidate
|
221
|
-
X-Powered-By:
|
222
|
-
- Undertow/1
|
223
|
-
Server:
|
224
|
-
- WildFly/10
|
225
|
-
Pragma:
|
226
|
-
- no-cache
|
227
|
-
Date:
|
228
|
-
- Mon, 15 Aug 2016 15:20:37 GMT
|
229
|
-
Connection:
|
230
|
-
- keep-alive
|
231
|
-
Content-Type:
|
232
|
-
- application/json
|
233
|
-
Content-Length:
|
234
|
-
- '243'
|
235
|
-
body:
|
236
|
-
encoding: UTF-8
|
237
|
-
string: '[{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"gauge","tenantId":"<%= vcr_test_tenant %>"}]'
|
238
|
-
http_version:
|
239
|
-
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
240
|
-
recorded_with: VCR 3.0.3
|
data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/setup_client.yml
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/status
|
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
|
-
- <%= type %>metrics_services-vcr-tenant-e034c355-5c5e-4a5e-8258-242088759e96
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
Host:
|
21
|
-
- localhost:8080
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
X-Powered-By:
|
30
|
-
- Undertow/1
|
31
|
-
Server:
|
32
|
-
- WildFly/10
|
33
|
-
Content-Type:
|
34
|
-
- application/json
|
35
|
-
Content-Length:
|
36
|
-
- '133'
|
37
|
-
Date:
|
38
|
-
- Thu, 13 Oct 2016 03:30:38 GMT
|
39
|
-
body:
|
40
|
-
encoding: UTF-8
|
41
|
-
string: '{"MetricsService":"STARTED","Implementation-Version":"0.20.1.Final","Built-From-Git-SHA1":"f23946235446d3425db31d262b47b4f950ddabb3"}'
|
42
|
-
http_version:
|
43
|
-
recorded_at: Thu, 13 Oct 2016 03:30:38 GMT
|
44
|
-
recorded_with: VCR 3.0.3
|
@@ -1,328 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
|
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
|
-
- Thu, 13 Oct 2016 03:22:22 GMT
|
39
|
-
body:
|
40
|
-
encoding: UTF-8
|
41
|
-
string: ''
|
42
|
-
http_version:
|
43
|
-
recorded_at: Thu, 13 Oct 2016 03:22:22 GMT
|
44
|
-
- request:
|
45
|
-
method: post
|
46
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":100.0,"timestamp":1476328942622}]}],"availabilities":[],"strings":[]}'
|
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
|
-
- '156'
|
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
|
-
- Thu, 13 Oct 2016 03:22:22 GMT
|
86
|
-
body:
|
87
|
-
encoding: UTF-8
|
88
|
-
string: ''
|
89
|
-
http_version:
|
90
|
-
recorded_at: Thu, 13 Oct 2016 03:22:22 GMT
|
91
|
-
- request:
|
92
|
-
method: post
|
93
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
94
|
-
body:
|
95
|
-
encoding: UTF-8
|
96
|
-
string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":110.0,"timestamp":1476328942626}]}],"availabilities":[],"strings":[]}'
|
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
|
-
- '156'
|
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
|
-
- Thu, 13 Oct 2016 03:22:22 GMT
|
133
|
-
body:
|
134
|
-
encoding: UTF-8
|
135
|
-
string: ''
|
136
|
-
http_version:
|
137
|
-
recorded_at: Thu, 13 Oct 2016 03:22:22 GMT
|
138
|
-
- request:
|
139
|
-
method: post
|
140
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
141
|
-
body:
|
142
|
-
encoding: UTF-8
|
143
|
-
string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":130.0,"timestamp":1476328942630}]}],"availabilities":[],"strings":[]}'
|
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
|
-
- '156'
|
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
|
-
- Thu, 13 Oct 2016 03:22:22 GMT
|
180
|
-
body:
|
181
|
-
encoding: UTF-8
|
182
|
-
string: ''
|
183
|
-
http_version:
|
184
|
-
recorded_at: Thu, 13 Oct 2016 03:22:22 GMT
|
185
|
-
- request:
|
186
|
-
method: post
|
187
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
188
|
-
body:
|
189
|
-
encoding: UTF-8
|
190
|
-
string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":200.0,"timestamp":1476328942633}]}],"availabilities":[],"strings":[]}'
|
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
|
-
- '156'
|
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
|
-
- Thu, 13 Oct 2016 03:22:22 GMT
|
227
|
-
body:
|
228
|
-
encoding: UTF-8
|
229
|
-
string: ''
|
230
|
-
http_version:
|
231
|
-
recorded_at: Thu, 13 Oct 2016 03:22:22 GMT
|
232
|
-
- request:
|
233
|
-
method: get
|
234
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
|
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
|
-
- Thu, 13 Oct 2016 03:22:22 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":1476328942633,"value":200},{"timestamp":1476328942630,"value":130},{"timestamp":1476328942626,"value":110},{"timestamp":1476328942622,"value":100}]'
|
277
|
-
http_version:
|
278
|
-
recorded_at: Thu, 13 Oct 2016 03:22:22 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":1476328942622,"end":1476328942634,"bucketDuration":"12ms","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
|
-
- Thu, 13 Oct 2016 03:22:22 GMT
|
317
|
-
Connection:
|
318
|
-
- keep-alive
|
319
|
-
Content-Type:
|
320
|
-
- application/json
|
321
|
-
Content-Length:
|
322
|
-
- '404'
|
323
|
-
body:
|
324
|
-
encoding: UTF-8
|
325
|
-
string: '{"counter_rate":{"<%= id %>":[{"start":1476328942622,"end":1476328942634,"min":150000.0,"avg":616666.6666666667,"median":300000.0,"max":1400000.0,"sum":1850000.0,"samples":3,"empty":false}]},"counter":{"<%= id %>":[{"start":1476328942622,"end":1476328942634,"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: Thu, 13 Oct 2016 03:22:22 GMT
|
328
|
-
recorded_with: VCR 3.0.3
|