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,302 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/?triggerIds=hello-world-trigger
|
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: 200
|
25
|
-
message: OK
|
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
|
-
- Fri, 07 Oct 2016 15:36:35 GMT
|
39
|
-
X-Total-Count:
|
40
|
-
- '1'
|
41
|
-
Connection:
|
42
|
-
- keep-alive
|
43
|
-
Content-Type:
|
44
|
-
- application/json
|
45
|
-
Content-Length:
|
46
|
-
- '1486'
|
47
|
-
Link:
|
48
|
-
- <http://localhost:8080/hawkular/alerts/?triggerIds=hello-world-trigger>; rel="current",
|
49
|
-
<http://localhost:8080/hawkular/alerts/?triggerIds=hello-world-trigger&page=0>;
|
50
|
-
rel="last"
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: '[{"eventType":"ALERT","tenantId":"hawkular","id":"hello-world-trigger-1475854594696-24e7846e-589b-44ba-b8de-7c35de0b0ebf","ctime":1475854594696,"dataSource":"_none_","dataId":"hello-world-trigger","category":"ALERT","text":"A
|
54
|
-
mandatory Hello World Trigger","trigger":{"tenantId":"hawkular","id":"hello-world-trigger","name":"Hello
|
55
|
-
World Trigger","description":"A mandatory Hello World Trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"hawkular","triggerId":"hello-world-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"hawkular-hello-world-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1475854594695,"dataTimestamp":1475854594,"type":"THRESHOLD","condition":{"tenantId":"hawkular","triggerId":"hello-world-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-hello-world-trigger-FIRING-1-1","dataId":"data-x","operator":"LT","threshold":5.0},"value":4.0}]],"severity":"HIGH","status":"RESOLVED","notes":[{"user":"Heiko","ctime":1475854595312,"text":"Hello
|
56
|
-
Ruby World :-)"}],"lifecycle":[{"status":"OPEN","user":"system","stime":1475854594696},{"status":"RESOLVED","user":"Heiko","stime":1475854595312}]}]'
|
57
|
-
http_version:
|
58
|
-
recorded_at: Fri, 07 Oct 2016 15:36:35 GMT
|
59
|
-
- request:
|
60
|
-
method: delete
|
61
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/hello-world-trigger-1475854594696-24e7846e-589b-44ba-b8de-7c35de0b0ebf
|
62
|
-
body:
|
63
|
-
encoding: US-ASCII
|
64
|
-
string: ''
|
65
|
-
headers:
|
66
|
-
Accept:
|
67
|
-
- application/json
|
68
|
-
Accept-Encoding:
|
69
|
-
- identity
|
70
|
-
User-Agent:
|
71
|
-
- hawkular-client-ruby
|
72
|
-
Hawkular-Tenant:
|
73
|
-
- hawkular
|
74
|
-
Content-Type:
|
75
|
-
- application/json
|
76
|
-
Host:
|
77
|
-
- localhost:8080
|
78
|
-
response:
|
79
|
-
status:
|
80
|
-
code: 200
|
81
|
-
message: OK
|
82
|
-
headers:
|
83
|
-
Expires:
|
84
|
-
- '0'
|
85
|
-
Cache-Control:
|
86
|
-
- no-cache, no-store, must-revalidate
|
87
|
-
X-Powered-By:
|
88
|
-
- Undertow/1
|
89
|
-
Server:
|
90
|
-
- WildFly/10
|
91
|
-
Pragma:
|
92
|
-
- no-cache
|
93
|
-
Date:
|
94
|
-
- Fri, 07 Oct 2016 15:36:35 GMT
|
95
|
-
Connection:
|
96
|
-
- keep-alive
|
97
|
-
Content-Type:
|
98
|
-
- application/json
|
99
|
-
Content-Length:
|
100
|
-
- '0'
|
101
|
-
body:
|
102
|
-
encoding: UTF-8
|
103
|
-
string: ''
|
104
|
-
http_version:
|
105
|
-
recorded_at: Fri, 07 Oct 2016 15:36:35 GMT
|
106
|
-
- request:
|
107
|
-
method: delete
|
108
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/hello-world-trigger
|
109
|
-
body:
|
110
|
-
encoding: US-ASCII
|
111
|
-
string: ''
|
112
|
-
headers:
|
113
|
-
Accept:
|
114
|
-
- application/json
|
115
|
-
Accept-Encoding:
|
116
|
-
- identity
|
117
|
-
User-Agent:
|
118
|
-
- hawkular-client-ruby
|
119
|
-
Hawkular-Tenant:
|
120
|
-
- hawkular
|
121
|
-
Content-Type:
|
122
|
-
- application/json
|
123
|
-
Host:
|
124
|
-
- localhost:8080
|
125
|
-
response:
|
126
|
-
status:
|
127
|
-
code: 200
|
128
|
-
message: OK
|
129
|
-
headers:
|
130
|
-
Expires:
|
131
|
-
- '0'
|
132
|
-
Cache-Control:
|
133
|
-
- no-cache, no-store, must-revalidate
|
134
|
-
X-Powered-By:
|
135
|
-
- Undertow/1
|
136
|
-
Server:
|
137
|
-
- WildFly/10
|
138
|
-
Pragma:
|
139
|
-
- no-cache
|
140
|
-
Date:
|
141
|
-
- Fri, 07 Oct 2016 15:36:35 GMT
|
142
|
-
Connection:
|
143
|
-
- keep-alive
|
144
|
-
Content-Type:
|
145
|
-
- application/json
|
146
|
-
Content-Length:
|
147
|
-
- '0'
|
148
|
-
body:
|
149
|
-
encoding: UTF-8
|
150
|
-
string: ''
|
151
|
-
http_version:
|
152
|
-
recorded_at: Fri, 07 Oct 2016 15:36:35 GMT
|
153
|
-
- request:
|
154
|
-
method: get
|
155
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/?triggerIds=a-trigger
|
156
|
-
body:
|
157
|
-
encoding: US-ASCII
|
158
|
-
string: ''
|
159
|
-
headers:
|
160
|
-
Accept:
|
161
|
-
- application/json
|
162
|
-
Accept-Encoding:
|
163
|
-
- identity
|
164
|
-
User-Agent:
|
165
|
-
- hawkular-client-ruby
|
166
|
-
Hawkular-Tenant:
|
167
|
-
- hawkular
|
168
|
-
Content-Type:
|
169
|
-
- application/json
|
170
|
-
Host:
|
171
|
-
- localhost:8080
|
172
|
-
response:
|
173
|
-
status:
|
174
|
-
code: 200
|
175
|
-
message: OK
|
176
|
-
headers:
|
177
|
-
Expires:
|
178
|
-
- '0'
|
179
|
-
Cache-Control:
|
180
|
-
- no-cache, no-store, must-revalidate
|
181
|
-
X-Powered-By:
|
182
|
-
- Undertow/1
|
183
|
-
Server:
|
184
|
-
- WildFly/10
|
185
|
-
Pragma:
|
186
|
-
- no-cache
|
187
|
-
Date:
|
188
|
-
- Fri, 07 Oct 2016 15:36:35 GMT
|
189
|
-
X-Total-Count:
|
190
|
-
- '1'
|
191
|
-
Connection:
|
192
|
-
- keep-alive
|
193
|
-
Content-Type:
|
194
|
-
- application/json
|
195
|
-
Content-Length:
|
196
|
-
- '1385'
|
197
|
-
Link:
|
198
|
-
- <http://localhost:8080/hawkular/alerts/?triggerIds=a-trigger>; rel="current",
|
199
|
-
<http://localhost:8080/hawkular/alerts/?triggerIds=a-trigger&page=0>; rel="last"
|
200
|
-
body:
|
201
|
-
encoding: UTF-8
|
202
|
-
string: '[{"eventType":"ALERT","tenantId":"hawkular","id":"a-trigger-1475854594696-89fe86b0-959c-434f-96c3-e627f2376e90","ctime":1475854594696,"dataSource":"_none_","dataId":"a-trigger","category":"ALERT","text":"Just
|
203
|
-
a trigger","trigger":{"tenantId":"hawkular","id":"a-trigger","name":"A trigger
|
204
|
-
name","description":"Just a trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"dampening":{"tenantId":"hawkular","triggerId":"a-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":1,"evalTotalSetting":1,"evalTimeSetting":0,"dampeningId":"hawkular-a-trigger-FIRING"},"evalSets":[[{"evalTimestamp":1475854594694,"dataTimestamp":1475854594,"type":"THRESHOLD","condition":{"tenantId":"hawkular","triggerId":"a-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-a-trigger-FIRING-1-1","dataId":"data-x","operator":"LT","threshold":5.0},"value":4.0}]],"severity":"HIGH","status":"ACKNOWLEDGED","notes":[{"user":"Heiko","ctime":1475854595365,"text":"Hello
|
205
|
-
Ruby World :-)"}],"lifecycle":[{"status":"OPEN","user":"system","stime":1475854594696},{"status":"ACKNOWLEDGED","user":"Heiko","stime":1475854595365}]}]'
|
206
|
-
http_version:
|
207
|
-
recorded_at: Fri, 07 Oct 2016 15:36:35 GMT
|
208
|
-
- request:
|
209
|
-
method: delete
|
210
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/a-trigger-1475854594696-89fe86b0-959c-434f-96c3-e627f2376e90
|
211
|
-
body:
|
212
|
-
encoding: US-ASCII
|
213
|
-
string: ''
|
214
|
-
headers:
|
215
|
-
Accept:
|
216
|
-
- application/json
|
217
|
-
Accept-Encoding:
|
218
|
-
- identity
|
219
|
-
User-Agent:
|
220
|
-
- hawkular-client-ruby
|
221
|
-
Hawkular-Tenant:
|
222
|
-
- hawkular
|
223
|
-
Content-Type:
|
224
|
-
- application/json
|
225
|
-
Host:
|
226
|
-
- localhost:8080
|
227
|
-
response:
|
228
|
-
status:
|
229
|
-
code: 200
|
230
|
-
message: OK
|
231
|
-
headers:
|
232
|
-
Expires:
|
233
|
-
- '0'
|
234
|
-
Cache-Control:
|
235
|
-
- no-cache, no-store, must-revalidate
|
236
|
-
X-Powered-By:
|
237
|
-
- Undertow/1
|
238
|
-
Server:
|
239
|
-
- WildFly/10
|
240
|
-
Pragma:
|
241
|
-
- no-cache
|
242
|
-
Date:
|
243
|
-
- Fri, 07 Oct 2016 15:36:35 GMT
|
244
|
-
Connection:
|
245
|
-
- keep-alive
|
246
|
-
Content-Type:
|
247
|
-
- application/json
|
248
|
-
Content-Length:
|
249
|
-
- '0'
|
250
|
-
body:
|
251
|
-
encoding: UTF-8
|
252
|
-
string: ''
|
253
|
-
http_version:
|
254
|
-
recorded_at: Fri, 07 Oct 2016 15:36:35 GMT
|
255
|
-
- request:
|
256
|
-
method: delete
|
257
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/a-trigger
|
258
|
-
body:
|
259
|
-
encoding: US-ASCII
|
260
|
-
string: ''
|
261
|
-
headers:
|
262
|
-
Accept:
|
263
|
-
- application/json
|
264
|
-
Accept-Encoding:
|
265
|
-
- identity
|
266
|
-
User-Agent:
|
267
|
-
- hawkular-client-ruby
|
268
|
-
Hawkular-Tenant:
|
269
|
-
- hawkular
|
270
|
-
Content-Type:
|
271
|
-
- application/json
|
272
|
-
Host:
|
273
|
-
- localhost:8080
|
274
|
-
response:
|
275
|
-
status:
|
276
|
-
code: 200
|
277
|
-
message: OK
|
278
|
-
headers:
|
279
|
-
Expires:
|
280
|
-
- '0'
|
281
|
-
Cache-Control:
|
282
|
-
- no-cache, no-store, must-revalidate
|
283
|
-
X-Powered-By:
|
284
|
-
- Undertow/1
|
285
|
-
Server:
|
286
|
-
- WildFly/10
|
287
|
-
Pragma:
|
288
|
-
- no-cache
|
289
|
-
Date:
|
290
|
-
- Fri, 07 Oct 2016 15:36:35 GMT
|
291
|
-
Connection:
|
292
|
-
- keep-alive
|
293
|
-
Content-Type:
|
294
|
-
- application/json
|
295
|
-
Content-Length:
|
296
|
-
- '0'
|
297
|
-
body:
|
298
|
-
encoding: UTF-8
|
299
|
-
string: ''
|
300
|
-
http_version:
|
301
|
-
recorded_at: Fri, 07 Oct 2016 15:36:35 GMT
|
302
|
-
recorded_with: VCR 3.0.3
|
@@ -1,527 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/plugins/email
|
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: 200
|
25
|
-
message: OK
|
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
|
-
- Tue, 27 Sep 2016 18:17:18 GMT
|
39
|
-
Connection:
|
40
|
-
- keep-alive
|
41
|
-
Content-Type:
|
42
|
-
- application/json
|
43
|
-
Content-Length:
|
44
|
-
- '87'
|
45
|
-
body:
|
46
|
-
encoding: UTF-8
|
47
|
-
string: '["cc","from","from-name","template.hawkular.url","template.html","template.plain","to"]'
|
48
|
-
http_version:
|
49
|
-
recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
|
50
|
-
- request:
|
51
|
-
method: post
|
52
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/actions
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{"actionId":"send-via-email","actionPlugin":"email","properties":{"to":"joe@acme.org","from":"admin@acme.org"}}'
|
56
|
-
headers:
|
57
|
-
Accept:
|
58
|
-
- application/json
|
59
|
-
Accept-Encoding:
|
60
|
-
- identity
|
61
|
-
User-Agent:
|
62
|
-
- hawkular-client-ruby
|
63
|
-
Hawkular-Tenant:
|
64
|
-
- hawkular
|
65
|
-
Content-Type:
|
66
|
-
- application/json
|
67
|
-
Content-Length:
|
68
|
-
- '111'
|
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
|
-
- Tue, 27 Sep 2016 18:17:18 GMT
|
88
|
-
Connection:
|
89
|
-
- keep-alive
|
90
|
-
Content-Type:
|
91
|
-
- application/json
|
92
|
-
Content-Length:
|
93
|
-
- '133'
|
94
|
-
body:
|
95
|
-
encoding: UTF-8
|
96
|
-
string: '{"tenantId":"hawkular","actionPlugin":"email","actionId":"send-via-email","properties":{"to":"joe@acme.org","from":"admin@acme.org"}}'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
|
99
|
-
- request:
|
100
|
-
method: post
|
101
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/trigger
|
102
|
-
body:
|
103
|
-
encoding: UTF-8
|
104
|
-
string: '{"trigger":{"id":"my-cool-email-trigger","name":"Just a trigger","enabled":true,"severity":"HIGH","description":"Just
|
105
|
-
a test trigger","actions":[{"actionPlugin":"email","actionId":"send-via-email","tenantId":null,"states":null}]},"conditions":[{"conditionId":null,"type":"THRESHOLD","operator":"GT","threshold":5,"triggerMode":"FIRING","dataId":"my-metric-id1","data2Id":null,"data2Multiplier":null,"triggerId":null}],"dampenings":[]}'
|
106
|
-
headers:
|
107
|
-
Accept:
|
108
|
-
- application/json
|
109
|
-
Accept-Encoding:
|
110
|
-
- identity
|
111
|
-
User-Agent:
|
112
|
-
- hawkular-client-ruby
|
113
|
-
Hawkular-Tenant:
|
114
|
-
- hawkular
|
115
|
-
Content-Type:
|
116
|
-
- application/json
|
117
|
-
Content-Length:
|
118
|
-
- '434'
|
119
|
-
Host:
|
120
|
-
- localhost:8080
|
121
|
-
response:
|
122
|
-
status:
|
123
|
-
code: 200
|
124
|
-
message: OK
|
125
|
-
headers:
|
126
|
-
Expires:
|
127
|
-
- '0'
|
128
|
-
Cache-Control:
|
129
|
-
- no-cache, no-store, must-revalidate
|
130
|
-
X-Powered-By:
|
131
|
-
- Undertow/1
|
132
|
-
Server:
|
133
|
-
- WildFly/10
|
134
|
-
Pragma:
|
135
|
-
- no-cache
|
136
|
-
Date:
|
137
|
-
- Tue, 27 Sep 2016 18:17:18 GMT
|
138
|
-
Connection:
|
139
|
-
- keep-alive
|
140
|
-
Content-Type:
|
141
|
-
- application/json
|
142
|
-
Content-Length:
|
143
|
-
- '742'
|
144
|
-
body:
|
145
|
-
encoding: UTF-8
|
146
|
-
string: '{"trigger":{"tenantId":"hawkular","id":"my-cool-email-trigger","name":"Just
|
147
|
-
a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"hawkular","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"conditions":[{"tenantId":"hawkular","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0}]}'
|
148
|
-
http_version:
|
149
|
-
recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
|
150
|
-
- request:
|
151
|
-
method: get
|
152
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-cool-email-trigger
|
153
|
-
body:
|
154
|
-
encoding: US-ASCII
|
155
|
-
string: ''
|
156
|
-
headers:
|
157
|
-
Accept:
|
158
|
-
- application/json
|
159
|
-
Accept-Encoding:
|
160
|
-
- identity
|
161
|
-
User-Agent:
|
162
|
-
- hawkular-client-ruby
|
163
|
-
Hawkular-Tenant:
|
164
|
-
- hawkular
|
165
|
-
Content-Type:
|
166
|
-
- application/json
|
167
|
-
Host:
|
168
|
-
- localhost:8080
|
169
|
-
response:
|
170
|
-
status:
|
171
|
-
code: 200
|
172
|
-
message: OK
|
173
|
-
headers:
|
174
|
-
Expires:
|
175
|
-
- '0'
|
176
|
-
Cache-Control:
|
177
|
-
- no-cache, no-store, must-revalidate
|
178
|
-
X-Powered-By:
|
179
|
-
- Undertow/1
|
180
|
-
Server:
|
181
|
-
- WildFly/10
|
182
|
-
Pragma:
|
183
|
-
- no-cache
|
184
|
-
Date:
|
185
|
-
- Tue, 27 Sep 2016 18:17:18 GMT
|
186
|
-
Connection:
|
187
|
-
- keep-alive
|
188
|
-
Content-Type:
|
189
|
-
- application/json
|
190
|
-
Content-Length:
|
191
|
-
- '455'
|
192
|
-
body:
|
193
|
-
encoding: UTF-8
|
194
|
-
string: '{"tenantId":"hawkular","id":"my-cool-email-trigger","name":"Just a
|
195
|
-
trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"hawkular","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"}'
|
196
|
-
http_version:
|
197
|
-
recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
|
198
|
-
- request:
|
199
|
-
method: get
|
200
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-cool-email-trigger/conditions
|
201
|
-
body:
|
202
|
-
encoding: US-ASCII
|
203
|
-
string: ''
|
204
|
-
headers:
|
205
|
-
Accept:
|
206
|
-
- application/json
|
207
|
-
Accept-Encoding:
|
208
|
-
- identity
|
209
|
-
User-Agent:
|
210
|
-
- hawkular-client-ruby
|
211
|
-
Hawkular-Tenant:
|
212
|
-
- hawkular
|
213
|
-
Content-Type:
|
214
|
-
- application/json
|
215
|
-
Host:
|
216
|
-
- localhost:8080
|
217
|
-
response:
|
218
|
-
status:
|
219
|
-
code: 200
|
220
|
-
message: OK
|
221
|
-
headers:
|
222
|
-
Expires:
|
223
|
-
- '0'
|
224
|
-
Cache-Control:
|
225
|
-
- no-cache, no-store, must-revalidate
|
226
|
-
X-Powered-By:
|
227
|
-
- Undertow/1
|
228
|
-
Server:
|
229
|
-
- WildFly/10
|
230
|
-
Pragma:
|
231
|
-
- no-cache
|
232
|
-
Date:
|
233
|
-
- Tue, 27 Sep 2016 18:17:18 GMT
|
234
|
-
Connection:
|
235
|
-
- keep-alive
|
236
|
-
Content-Type:
|
237
|
-
- application/json
|
238
|
-
Content-Length:
|
239
|
-
- '261'
|
240
|
-
body:
|
241
|
-
encoding: UTF-8
|
242
|
-
string: '[{"tenantId":"hawkular","triggerId":"my-cool-email-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-my-cool-email-trigger-FIRING-1-1","dataId":"my-metric-id1","operator":"GT","threshold":5.0}]'
|
243
|
-
http_version:
|
244
|
-
recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
|
245
|
-
- request:
|
246
|
-
method: get
|
247
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-cool-email-trigger/dampenings
|
248
|
-
body:
|
249
|
-
encoding: US-ASCII
|
250
|
-
string: ''
|
251
|
-
headers:
|
252
|
-
Accept:
|
253
|
-
- application/json
|
254
|
-
Accept-Encoding:
|
255
|
-
- identity
|
256
|
-
User-Agent:
|
257
|
-
- hawkular-client-ruby
|
258
|
-
Hawkular-Tenant:
|
259
|
-
- hawkular
|
260
|
-
Content-Type:
|
261
|
-
- application/json
|
262
|
-
Host:
|
263
|
-
- localhost:8080
|
264
|
-
response:
|
265
|
-
status:
|
266
|
-
code: 200
|
267
|
-
message: OK
|
268
|
-
headers:
|
269
|
-
Expires:
|
270
|
-
- '0'
|
271
|
-
Cache-Control:
|
272
|
-
- no-cache, no-store, must-revalidate
|
273
|
-
X-Powered-By:
|
274
|
-
- Undertow/1
|
275
|
-
Server:
|
276
|
-
- WildFly/10
|
277
|
-
Pragma:
|
278
|
-
- no-cache
|
279
|
-
Date:
|
280
|
-
- Tue, 27 Sep 2016 18:17:18 GMT
|
281
|
-
Connection:
|
282
|
-
- keep-alive
|
283
|
-
Content-Type:
|
284
|
-
- application/json
|
285
|
-
Content-Length:
|
286
|
-
- '2'
|
287
|
-
body:
|
288
|
-
encoding: UTF-8
|
289
|
-
string: "[]"
|
290
|
-
http_version:
|
291
|
-
recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
|
292
|
-
- request:
|
293
|
-
method: post
|
294
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/metrics/metrics/data
|
295
|
-
body:
|
296
|
-
encoding: UTF-8
|
297
|
-
string: '{"gauges":[{"id":"my-metric-id1","data":[{"timestamp":1475000238000,"value":42}]}],"counters":[],"availabilities":[],"strings":[]}'
|
298
|
-
headers:
|
299
|
-
Accept:
|
300
|
-
- application/json
|
301
|
-
Accept-Encoding:
|
302
|
-
- identity
|
303
|
-
User-Agent:
|
304
|
-
- hawkular-client-ruby
|
305
|
-
Hawkular-Tenant:
|
306
|
-
- hawkular
|
307
|
-
Content-Type:
|
308
|
-
- application/json
|
309
|
-
Content-Length:
|
310
|
-
- '130'
|
311
|
-
Host:
|
312
|
-
- localhost:8080
|
313
|
-
response:
|
314
|
-
status:
|
315
|
-
code: 200
|
316
|
-
message: OK
|
317
|
-
headers:
|
318
|
-
Expires:
|
319
|
-
- '0'
|
320
|
-
Connection:
|
321
|
-
- keep-alive
|
322
|
-
Cache-Control:
|
323
|
-
- no-cache, no-store, must-revalidate
|
324
|
-
X-Powered-By:
|
325
|
-
- Undertow/1
|
326
|
-
Server:
|
327
|
-
- WildFly/10
|
328
|
-
Pragma:
|
329
|
-
- no-cache
|
330
|
-
Content-Length:
|
331
|
-
- '0'
|
332
|
-
Date:
|
333
|
-
- Tue, 27 Sep 2016 18:17:18 GMT
|
334
|
-
body:
|
335
|
-
encoding: UTF-8
|
336
|
-
string: ''
|
337
|
-
http_version:
|
338
|
-
recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
|
339
|
-
- request:
|
340
|
-
method: get
|
341
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/?triggerIds=my-cool-email-trigger
|
342
|
-
body:
|
343
|
-
encoding: US-ASCII
|
344
|
-
string: ''
|
345
|
-
headers:
|
346
|
-
Accept:
|
347
|
-
- application/json
|
348
|
-
Accept-Encoding:
|
349
|
-
- identity
|
350
|
-
User-Agent:
|
351
|
-
- hawkular-client-ruby
|
352
|
-
Hawkular-Tenant:
|
353
|
-
- hawkular
|
354
|
-
Content-Type:
|
355
|
-
- application/json
|
356
|
-
Host:
|
357
|
-
- localhost:8080
|
358
|
-
response:
|
359
|
-
status:
|
360
|
-
code: 200
|
361
|
-
message: OK
|
362
|
-
headers:
|
363
|
-
Expires:
|
364
|
-
- '0'
|
365
|
-
Cache-Control:
|
366
|
-
- no-cache, no-store, must-revalidate
|
367
|
-
X-Powered-By:
|
368
|
-
- Undertow/1
|
369
|
-
Server:
|
370
|
-
- WildFly/10
|
371
|
-
Pragma:
|
372
|
-
- no-cache
|
373
|
-
Date:
|
374
|
-
- Tue, 27 Sep 2016 18:17:18 GMT
|
375
|
-
Connection:
|
376
|
-
- keep-alive
|
377
|
-
Content-Type:
|
378
|
-
- application/json
|
379
|
-
Content-Length:
|
380
|
-
- '2'
|
381
|
-
body:
|
382
|
-
encoding: UTF-8
|
383
|
-
string: "[]"
|
384
|
-
http_version:
|
385
|
-
recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
|
386
|
-
- request:
|
387
|
-
method: get
|
388
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/?triggerIds=my-cool-email-trigger
|
389
|
-
body:
|
390
|
-
encoding: US-ASCII
|
391
|
-
string: ''
|
392
|
-
headers:
|
393
|
-
Accept:
|
394
|
-
- application/json
|
395
|
-
Accept-Encoding:
|
396
|
-
- identity
|
397
|
-
User-Agent:
|
398
|
-
- hawkular-client-ruby
|
399
|
-
Hawkular-Tenant:
|
400
|
-
- hawkular
|
401
|
-
Content-Type:
|
402
|
-
- application/json
|
403
|
-
Host:
|
404
|
-
- localhost:8080
|
405
|
-
response:
|
406
|
-
status:
|
407
|
-
code: 200
|
408
|
-
message: OK
|
409
|
-
headers:
|
410
|
-
Expires:
|
411
|
-
- '0'
|
412
|
-
Cache-Control:
|
413
|
-
- no-cache, no-store, must-revalidate
|
414
|
-
X-Powered-By:
|
415
|
-
- Undertow/1
|
416
|
-
Server:
|
417
|
-
- WildFly/10
|
418
|
-
Pragma:
|
419
|
-
- no-cache
|
420
|
-
Date:
|
421
|
-
- Tue, 27 Sep 2016 18:17:18 GMT
|
422
|
-
Connection:
|
423
|
-
- keep-alive
|
424
|
-
Content-Type:
|
425
|
-
- application/json
|
426
|
-
Content-Length:
|
427
|
-
- '2'
|
428
|
-
body:
|
429
|
-
encoding: UTF-8
|
430
|
-
string: "[]"
|
431
|
-
http_version:
|
432
|
-
recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
|
433
|
-
- request:
|
434
|
-
method: delete
|
435
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/my-cool-email-trigger
|
436
|
-
body:
|
437
|
-
encoding: US-ASCII
|
438
|
-
string: ''
|
439
|
-
headers:
|
440
|
-
Accept:
|
441
|
-
- application/json
|
442
|
-
Accept-Encoding:
|
443
|
-
- identity
|
444
|
-
User-Agent:
|
445
|
-
- hawkular-client-ruby
|
446
|
-
Hawkular-Tenant:
|
447
|
-
- hawkular
|
448
|
-
Content-Type:
|
449
|
-
- application/json
|
450
|
-
Host:
|
451
|
-
- localhost:8080
|
452
|
-
response:
|
453
|
-
status:
|
454
|
-
code: 200
|
455
|
-
message: OK
|
456
|
-
headers:
|
457
|
-
Expires:
|
458
|
-
- '0'
|
459
|
-
Cache-Control:
|
460
|
-
- no-cache, no-store, must-revalidate
|
461
|
-
X-Powered-By:
|
462
|
-
- Undertow/1
|
463
|
-
Server:
|
464
|
-
- WildFly/10
|
465
|
-
Pragma:
|
466
|
-
- no-cache
|
467
|
-
Date:
|
468
|
-
- Tue, 27 Sep 2016 18:17:18 GMT
|
469
|
-
Connection:
|
470
|
-
- keep-alive
|
471
|
-
Content-Type:
|
472
|
-
- application/json
|
473
|
-
Content-Length:
|
474
|
-
- '0'
|
475
|
-
body:
|
476
|
-
encoding: UTF-8
|
477
|
-
string: ''
|
478
|
-
http_version:
|
479
|
-
recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
|
480
|
-
- request:
|
481
|
-
method: delete
|
482
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/actions/email/send-via-email
|
483
|
-
body:
|
484
|
-
encoding: US-ASCII
|
485
|
-
string: ''
|
486
|
-
headers:
|
487
|
-
Accept:
|
488
|
-
- application/json
|
489
|
-
Accept-Encoding:
|
490
|
-
- identity
|
491
|
-
User-Agent:
|
492
|
-
- hawkular-client-ruby
|
493
|
-
Hawkular-Tenant:
|
494
|
-
- hawkular
|
495
|
-
Content-Type:
|
496
|
-
- application/json
|
497
|
-
Host:
|
498
|
-
- localhost:8080
|
499
|
-
response:
|
500
|
-
status:
|
501
|
-
code: 200
|
502
|
-
message: OK
|
503
|
-
headers:
|
504
|
-
Expires:
|
505
|
-
- '0'
|
506
|
-
Cache-Control:
|
507
|
-
- no-cache, no-store, must-revalidate
|
508
|
-
X-Powered-By:
|
509
|
-
- Undertow/1
|
510
|
-
Server:
|
511
|
-
- WildFly/10
|
512
|
-
Pragma:
|
513
|
-
- no-cache
|
514
|
-
Date:
|
515
|
-
- Tue, 27 Sep 2016 18:17:18 GMT
|
516
|
-
Connection:
|
517
|
-
- keep-alive
|
518
|
-
Content-Type:
|
519
|
-
- application/json
|
520
|
-
Content-Length:
|
521
|
-
- '0'
|
522
|
-
body:
|
523
|
-
encoding: UTF-8
|
524
|
-
string: ''
|
525
|
-
http_version:
|
526
|
-
recorded_at: Tue, 27 Sep 2016 18:17:18 GMT
|
527
|
-
recorded_with: VCR 3.0.3
|