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,1882 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"id":"a-group-trigger","name":"A Group Trigger","enabled":false,"severity":"HIGH","description":"A
|
9
|
-
Group Trigger generated from test","actions":[]}'
|
10
|
-
headers:
|
11
|
-
Accept:
|
12
|
-
- application/json
|
13
|
-
Accept-Encoding:
|
14
|
-
- identity
|
15
|
-
User-Agent:
|
16
|
-
- hawkular-client-ruby
|
17
|
-
Hawkular-Tenant:
|
18
|
-
- hawkular
|
19
|
-
Content-Type:
|
20
|
-
- application/json
|
21
|
-
Content-Length:
|
22
|
-
- '148'
|
23
|
-
Host:
|
24
|
-
- localhost:8080
|
25
|
-
response:
|
26
|
-
status:
|
27
|
-
code: 200
|
28
|
-
message: OK
|
29
|
-
headers:
|
30
|
-
Expires:
|
31
|
-
- '0'
|
32
|
-
Cache-Control:
|
33
|
-
- no-cache, no-store, must-revalidate
|
34
|
-
X-Powered-By:
|
35
|
-
- Undertow/1
|
36
|
-
Server:
|
37
|
-
- WildFly/10
|
38
|
-
Pragma:
|
39
|
-
- no-cache
|
40
|
-
Date:
|
41
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
42
|
-
Connection:
|
43
|
-
- keep-alive
|
44
|
-
Content-Type:
|
45
|
-
- application/json
|
46
|
-
Content-Length:
|
47
|
-
- '377'
|
48
|
-
body:
|
49
|
-
encoding: UTF-8
|
50
|
-
string: '{"tenantId":"hawkular","id":"a-group-trigger","name":"A Group Trigger","description":"A
|
51
|
-
Group Trigger generated from test","type":"GROUP","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
52
|
-
http_version:
|
53
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
54
|
-
- request:
|
55
|
-
method: put
|
56
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/conditions/FIRING
|
57
|
-
body:
|
58
|
-
encoding: UTF-8
|
59
|
-
string: '{"conditions":[{"conditionId":null,"type":"THRESHOLD","operator":"LT","threshold":5,"triggerMode":"FIRING","dataId":"my-metric-id","data2Id":null,"data2Multiplier":null,"triggerId":null}],"dataIdMemberMap":{}}'
|
60
|
-
headers:
|
61
|
-
Accept:
|
62
|
-
- application/json
|
63
|
-
Accept-Encoding:
|
64
|
-
- identity
|
65
|
-
User-Agent:
|
66
|
-
- hawkular-client-ruby
|
67
|
-
Hawkular-Tenant:
|
68
|
-
- hawkular
|
69
|
-
Content-Type:
|
70
|
-
- application/json
|
71
|
-
Content-Length:
|
72
|
-
- '209'
|
73
|
-
Host:
|
74
|
-
- localhost:8080
|
75
|
-
response:
|
76
|
-
status:
|
77
|
-
code: 200
|
78
|
-
message: OK
|
79
|
-
headers:
|
80
|
-
Expires:
|
81
|
-
- '0'
|
82
|
-
Cache-Control:
|
83
|
-
- no-cache, no-store, must-revalidate
|
84
|
-
X-Powered-By:
|
85
|
-
- Undertow/1
|
86
|
-
Server:
|
87
|
-
- WildFly/10
|
88
|
-
Pragma:
|
89
|
-
- no-cache
|
90
|
-
Date:
|
91
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
92
|
-
Connection:
|
93
|
-
- keep-alive
|
94
|
-
Content-Type:
|
95
|
-
- application/json
|
96
|
-
Content-Length:
|
97
|
-
- '248'
|
98
|
-
body:
|
99
|
-
encoding: UTF-8
|
100
|
-
string: '[{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-a-group-trigger-FIRING-1-1","dataId":"my-metric-id","operator":"LT","threshold":5.0}]'
|
101
|
-
http_version:
|
102
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
103
|
-
- request:
|
104
|
-
method: post
|
105
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/members
|
106
|
-
body:
|
107
|
-
encoding: UTF-8
|
108
|
-
string: '{"groupId":"a-group-trigger","memberId":"member1","memberName":"Member
|
109
|
-
One","memberDescription":null,"memberContext":null,"memberTags":null,"dataIdMap":{"my-metric-id":"my-metric-id-member1"}}'
|
110
|
-
headers:
|
111
|
-
Accept:
|
112
|
-
- application/json
|
113
|
-
Accept-Encoding:
|
114
|
-
- identity
|
115
|
-
User-Agent:
|
116
|
-
- hawkular-client-ruby
|
117
|
-
Hawkular-Tenant:
|
118
|
-
- hawkular
|
119
|
-
Content-Type:
|
120
|
-
- application/json
|
121
|
-
Content-Length:
|
122
|
-
- '192'
|
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
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
142
|
-
Connection:
|
143
|
-
- keep-alive
|
144
|
-
Content-Type:
|
145
|
-
- application/json
|
146
|
-
Content-Length:
|
147
|
-
- '446'
|
148
|
-
body:
|
149
|
-
encoding: UTF-8
|
150
|
-
string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
|
151
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
152
|
-
http_version:
|
153
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
154
|
-
- request:
|
155
|
-
method: get
|
156
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1
|
157
|
-
body:
|
158
|
-
encoding: US-ASCII
|
159
|
-
string: ''
|
160
|
-
headers:
|
161
|
-
Accept:
|
162
|
-
- application/json
|
163
|
-
Accept-Encoding:
|
164
|
-
- identity
|
165
|
-
User-Agent:
|
166
|
-
- hawkular-client-ruby
|
167
|
-
Hawkular-Tenant:
|
168
|
-
- hawkular
|
169
|
-
Content-Type:
|
170
|
-
- application/json
|
171
|
-
Host:
|
172
|
-
- localhost:8080
|
173
|
-
response:
|
174
|
-
status:
|
175
|
-
code: 200
|
176
|
-
message: OK
|
177
|
-
headers:
|
178
|
-
Expires:
|
179
|
-
- '0'
|
180
|
-
Cache-Control:
|
181
|
-
- no-cache, no-store, must-revalidate
|
182
|
-
X-Powered-By:
|
183
|
-
- Undertow/1
|
184
|
-
Server:
|
185
|
-
- WildFly/10
|
186
|
-
Pragma:
|
187
|
-
- no-cache
|
188
|
-
Date:
|
189
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
190
|
-
Connection:
|
191
|
-
- keep-alive
|
192
|
-
Content-Type:
|
193
|
-
- application/json
|
194
|
-
Content-Length:
|
195
|
-
- '446'
|
196
|
-
body:
|
197
|
-
encoding: UTF-8
|
198
|
-
string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
|
199
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
200
|
-
http_version:
|
201
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
202
|
-
- request:
|
203
|
-
method: get
|
204
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/conditions
|
205
|
-
body:
|
206
|
-
encoding: US-ASCII
|
207
|
-
string: ''
|
208
|
-
headers:
|
209
|
-
Accept:
|
210
|
-
- application/json
|
211
|
-
Accept-Encoding:
|
212
|
-
- identity
|
213
|
-
User-Agent:
|
214
|
-
- hawkular-client-ruby
|
215
|
-
Hawkular-Tenant:
|
216
|
-
- hawkular
|
217
|
-
Content-Type:
|
218
|
-
- application/json
|
219
|
-
Host:
|
220
|
-
- localhost:8080
|
221
|
-
response:
|
222
|
-
status:
|
223
|
-
code: 200
|
224
|
-
message: OK
|
225
|
-
headers:
|
226
|
-
Expires:
|
227
|
-
- '0'
|
228
|
-
Cache-Control:
|
229
|
-
- no-cache, no-store, must-revalidate
|
230
|
-
X-Powered-By:
|
231
|
-
- Undertow/1
|
232
|
-
Server:
|
233
|
-
- WildFly/10
|
234
|
-
Pragma:
|
235
|
-
- no-cache
|
236
|
-
Date:
|
237
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
238
|
-
Connection:
|
239
|
-
- keep-alive
|
240
|
-
Content-Type:
|
241
|
-
- application/json
|
242
|
-
Content-Length:
|
243
|
-
- '240'
|
244
|
-
body:
|
245
|
-
encoding: UTF-8
|
246
|
-
string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-member1-FIRING-1-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0}]'
|
247
|
-
http_version:
|
248
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
249
|
-
- request:
|
250
|
-
method: get
|
251
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/dampenings
|
252
|
-
body:
|
253
|
-
encoding: US-ASCII
|
254
|
-
string: ''
|
255
|
-
headers:
|
256
|
-
Accept:
|
257
|
-
- application/json
|
258
|
-
Accept-Encoding:
|
259
|
-
- identity
|
260
|
-
User-Agent:
|
261
|
-
- hawkular-client-ruby
|
262
|
-
Hawkular-Tenant:
|
263
|
-
- hawkular
|
264
|
-
Content-Type:
|
265
|
-
- application/json
|
266
|
-
Host:
|
267
|
-
- localhost:8080
|
268
|
-
response:
|
269
|
-
status:
|
270
|
-
code: 200
|
271
|
-
message: OK
|
272
|
-
headers:
|
273
|
-
Expires:
|
274
|
-
- '0'
|
275
|
-
Cache-Control:
|
276
|
-
- no-cache, no-store, must-revalidate
|
277
|
-
X-Powered-By:
|
278
|
-
- Undertow/1
|
279
|
-
Server:
|
280
|
-
- WildFly/10
|
281
|
-
Pragma:
|
282
|
-
- no-cache
|
283
|
-
Date:
|
284
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
285
|
-
Connection:
|
286
|
-
- keep-alive
|
287
|
-
Content-Type:
|
288
|
-
- application/json
|
289
|
-
Content-Length:
|
290
|
-
- '2'
|
291
|
-
body:
|
292
|
-
encoding: UTF-8
|
293
|
-
string: "[]"
|
294
|
-
http_version:
|
295
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
296
|
-
- request:
|
297
|
-
method: get
|
298
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/members?includeOrphans=false
|
299
|
-
body:
|
300
|
-
encoding: US-ASCII
|
301
|
-
string: ''
|
302
|
-
headers:
|
303
|
-
Accept:
|
304
|
-
- application/json
|
305
|
-
Accept-Encoding:
|
306
|
-
- identity
|
307
|
-
User-Agent:
|
308
|
-
- hawkular-client-ruby
|
309
|
-
Hawkular-Tenant:
|
310
|
-
- hawkular
|
311
|
-
Content-Type:
|
312
|
-
- application/json
|
313
|
-
Host:
|
314
|
-
- localhost:8080
|
315
|
-
response:
|
316
|
-
status:
|
317
|
-
code: 200
|
318
|
-
message: OK
|
319
|
-
headers:
|
320
|
-
Expires:
|
321
|
-
- '0'
|
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
|
-
Date:
|
331
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
332
|
-
Connection:
|
333
|
-
- keep-alive
|
334
|
-
Content-Type:
|
335
|
-
- application/json
|
336
|
-
Content-Length:
|
337
|
-
- '448'
|
338
|
-
body:
|
339
|
-
encoding: UTF-8
|
340
|
-
string: '[{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
|
341
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}]'
|
342
|
-
http_version:
|
343
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
344
|
-
- request:
|
345
|
-
method: post
|
346
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/members
|
347
|
-
body:
|
348
|
-
encoding: UTF-8
|
349
|
-
string: '{"groupId":"a-group-trigger","memberId":"member2","memberName":"Member
|
350
|
-
Two","memberDescription":null,"memberContext":null,"memberTags":null,"dataIdMap":{"my-metric-id":"my-metric-id-member2"}}'
|
351
|
-
headers:
|
352
|
-
Accept:
|
353
|
-
- application/json
|
354
|
-
Accept-Encoding:
|
355
|
-
- identity
|
356
|
-
User-Agent:
|
357
|
-
- hawkular-client-ruby
|
358
|
-
Hawkular-Tenant:
|
359
|
-
- hawkular
|
360
|
-
Content-Type:
|
361
|
-
- application/json
|
362
|
-
Content-Length:
|
363
|
-
- '192'
|
364
|
-
Host:
|
365
|
-
- localhost:8080
|
366
|
-
response:
|
367
|
-
status:
|
368
|
-
code: 200
|
369
|
-
message: OK
|
370
|
-
headers:
|
371
|
-
Expires:
|
372
|
-
- '0'
|
373
|
-
Cache-Control:
|
374
|
-
- no-cache, no-store, must-revalidate
|
375
|
-
X-Powered-By:
|
376
|
-
- Undertow/1
|
377
|
-
Server:
|
378
|
-
- WildFly/10
|
379
|
-
Pragma:
|
380
|
-
- no-cache
|
381
|
-
Date:
|
382
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
383
|
-
Connection:
|
384
|
-
- keep-alive
|
385
|
-
Content-Type:
|
386
|
-
- application/json
|
387
|
-
Content-Length:
|
388
|
-
- '446'
|
389
|
-
body:
|
390
|
-
encoding: UTF-8
|
391
|
-
string: '{"tenantId":"hawkular","id":"member2","name":"Member Two","description":"A
|
392
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
393
|
-
http_version:
|
394
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
395
|
-
- request:
|
396
|
-
method: get
|
397
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member2
|
398
|
-
body:
|
399
|
-
encoding: US-ASCII
|
400
|
-
string: ''
|
401
|
-
headers:
|
402
|
-
Accept:
|
403
|
-
- application/json
|
404
|
-
Accept-Encoding:
|
405
|
-
- identity
|
406
|
-
User-Agent:
|
407
|
-
- hawkular-client-ruby
|
408
|
-
Hawkular-Tenant:
|
409
|
-
- hawkular
|
410
|
-
Content-Type:
|
411
|
-
- application/json
|
412
|
-
Host:
|
413
|
-
- localhost:8080
|
414
|
-
response:
|
415
|
-
status:
|
416
|
-
code: 200
|
417
|
-
message: OK
|
418
|
-
headers:
|
419
|
-
Expires:
|
420
|
-
- '0'
|
421
|
-
Cache-Control:
|
422
|
-
- no-cache, no-store, must-revalidate
|
423
|
-
X-Powered-By:
|
424
|
-
- Undertow/1
|
425
|
-
Server:
|
426
|
-
- WildFly/10
|
427
|
-
Pragma:
|
428
|
-
- no-cache
|
429
|
-
Date:
|
430
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
431
|
-
Connection:
|
432
|
-
- keep-alive
|
433
|
-
Content-Type:
|
434
|
-
- application/json
|
435
|
-
Content-Length:
|
436
|
-
- '446'
|
437
|
-
body:
|
438
|
-
encoding: UTF-8
|
439
|
-
string: '{"tenantId":"hawkular","id":"member2","name":"Member Two","description":"A
|
440
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
441
|
-
http_version:
|
442
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
443
|
-
- request:
|
444
|
-
method: get
|
445
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member2/conditions
|
446
|
-
body:
|
447
|
-
encoding: US-ASCII
|
448
|
-
string: ''
|
449
|
-
headers:
|
450
|
-
Accept:
|
451
|
-
- application/json
|
452
|
-
Accept-Encoding:
|
453
|
-
- identity
|
454
|
-
User-Agent:
|
455
|
-
- hawkular-client-ruby
|
456
|
-
Hawkular-Tenant:
|
457
|
-
- hawkular
|
458
|
-
Content-Type:
|
459
|
-
- application/json
|
460
|
-
Host:
|
461
|
-
- localhost:8080
|
462
|
-
response:
|
463
|
-
status:
|
464
|
-
code: 200
|
465
|
-
message: OK
|
466
|
-
headers:
|
467
|
-
Expires:
|
468
|
-
- '0'
|
469
|
-
Cache-Control:
|
470
|
-
- no-cache, no-store, must-revalidate
|
471
|
-
X-Powered-By:
|
472
|
-
- Undertow/1
|
473
|
-
Server:
|
474
|
-
- WildFly/10
|
475
|
-
Pragma:
|
476
|
-
- no-cache
|
477
|
-
Date:
|
478
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
479
|
-
Connection:
|
480
|
-
- keep-alive
|
481
|
-
Content-Type:
|
482
|
-
- application/json
|
483
|
-
Content-Length:
|
484
|
-
- '240'
|
485
|
-
body:
|
486
|
-
encoding: UTF-8
|
487
|
-
string: '[{"tenantId":"hawkular","triggerId":"member2","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-member2-FIRING-1-1","dataId":"my-metric-id-member2","operator":"LT","threshold":5.0}]'
|
488
|
-
http_version:
|
489
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
490
|
-
- request:
|
491
|
-
method: get
|
492
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member2/dampenings
|
493
|
-
body:
|
494
|
-
encoding: US-ASCII
|
495
|
-
string: ''
|
496
|
-
headers:
|
497
|
-
Accept:
|
498
|
-
- application/json
|
499
|
-
Accept-Encoding:
|
500
|
-
- identity
|
501
|
-
User-Agent:
|
502
|
-
- hawkular-client-ruby
|
503
|
-
Hawkular-Tenant:
|
504
|
-
- hawkular
|
505
|
-
Content-Type:
|
506
|
-
- application/json
|
507
|
-
Host:
|
508
|
-
- localhost:8080
|
509
|
-
response:
|
510
|
-
status:
|
511
|
-
code: 200
|
512
|
-
message: OK
|
513
|
-
headers:
|
514
|
-
Expires:
|
515
|
-
- '0'
|
516
|
-
Cache-Control:
|
517
|
-
- no-cache, no-store, must-revalidate
|
518
|
-
X-Powered-By:
|
519
|
-
- Undertow/1
|
520
|
-
Server:
|
521
|
-
- WildFly/10
|
522
|
-
Pragma:
|
523
|
-
- no-cache
|
524
|
-
Date:
|
525
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
526
|
-
Connection:
|
527
|
-
- keep-alive
|
528
|
-
Content-Type:
|
529
|
-
- application/json
|
530
|
-
Content-Length:
|
531
|
-
- '2'
|
532
|
-
body:
|
533
|
-
encoding: UTF-8
|
534
|
-
string: "[]"
|
535
|
-
http_version:
|
536
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
537
|
-
- request:
|
538
|
-
method: get
|
539
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/members?includeOrphans=false
|
540
|
-
body:
|
541
|
-
encoding: US-ASCII
|
542
|
-
string: ''
|
543
|
-
headers:
|
544
|
-
Accept:
|
545
|
-
- application/json
|
546
|
-
Accept-Encoding:
|
547
|
-
- identity
|
548
|
-
User-Agent:
|
549
|
-
- hawkular-client-ruby
|
550
|
-
Hawkular-Tenant:
|
551
|
-
- hawkular
|
552
|
-
Content-Type:
|
553
|
-
- application/json
|
554
|
-
Host:
|
555
|
-
- localhost:8080
|
556
|
-
response:
|
557
|
-
status:
|
558
|
-
code: 200
|
559
|
-
message: OK
|
560
|
-
headers:
|
561
|
-
Expires:
|
562
|
-
- '0'
|
563
|
-
Cache-Control:
|
564
|
-
- no-cache, no-store, must-revalidate
|
565
|
-
X-Powered-By:
|
566
|
-
- Undertow/1
|
567
|
-
Server:
|
568
|
-
- WildFly/10
|
569
|
-
Pragma:
|
570
|
-
- no-cache
|
571
|
-
Date:
|
572
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
573
|
-
Connection:
|
574
|
-
- keep-alive
|
575
|
-
Content-Type:
|
576
|
-
- application/json
|
577
|
-
Content-Length:
|
578
|
-
- '895'
|
579
|
-
body:
|
580
|
-
encoding: UTF-8
|
581
|
-
string: '[{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
|
582
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"},{"tenantId":"hawkular","id":"member2","name":"Member
|
583
|
-
Two","description":"A Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}]'
|
584
|
-
http_version:
|
585
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
586
|
-
- request:
|
587
|
-
method: post
|
588
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/members/member2/orphan
|
589
|
-
body:
|
590
|
-
encoding: UTF-8
|
591
|
-
string: "{}"
|
592
|
-
headers:
|
593
|
-
Accept:
|
594
|
-
- application/json
|
595
|
-
Accept-Encoding:
|
596
|
-
- identity
|
597
|
-
User-Agent:
|
598
|
-
- hawkular-client-ruby
|
599
|
-
Hawkular-Tenant:
|
600
|
-
- hawkular
|
601
|
-
Content-Type:
|
602
|
-
- application/json
|
603
|
-
Content-Length:
|
604
|
-
- '2'
|
605
|
-
Host:
|
606
|
-
- localhost:8080
|
607
|
-
response:
|
608
|
-
status:
|
609
|
-
code: 200
|
610
|
-
message: OK
|
611
|
-
headers:
|
612
|
-
Expires:
|
613
|
-
- '0'
|
614
|
-
Cache-Control:
|
615
|
-
- no-cache, no-store, must-revalidate
|
616
|
-
X-Powered-By:
|
617
|
-
- Undertow/1
|
618
|
-
Server:
|
619
|
-
- WildFly/10
|
620
|
-
Pragma:
|
621
|
-
- no-cache
|
622
|
-
Date:
|
623
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
624
|
-
Connection:
|
625
|
-
- keep-alive
|
626
|
-
Content-Type:
|
627
|
-
- application/json
|
628
|
-
Content-Length:
|
629
|
-
- '0'
|
630
|
-
body:
|
631
|
-
encoding: UTF-8
|
632
|
-
string: ''
|
633
|
-
http_version:
|
634
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
635
|
-
- request:
|
636
|
-
method: get
|
637
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member2
|
638
|
-
body:
|
639
|
-
encoding: US-ASCII
|
640
|
-
string: ''
|
641
|
-
headers:
|
642
|
-
Accept:
|
643
|
-
- application/json
|
644
|
-
Accept-Encoding:
|
645
|
-
- identity
|
646
|
-
User-Agent:
|
647
|
-
- hawkular-client-ruby
|
648
|
-
Hawkular-Tenant:
|
649
|
-
- hawkular
|
650
|
-
Content-Type:
|
651
|
-
- application/json
|
652
|
-
Host:
|
653
|
-
- localhost:8080
|
654
|
-
response:
|
655
|
-
status:
|
656
|
-
code: 200
|
657
|
-
message: OK
|
658
|
-
headers:
|
659
|
-
Expires:
|
660
|
-
- '0'
|
661
|
-
Cache-Control:
|
662
|
-
- no-cache, no-store, must-revalidate
|
663
|
-
X-Powered-By:
|
664
|
-
- Undertow/1
|
665
|
-
Server:
|
666
|
-
- WildFly/10
|
667
|
-
Pragma:
|
668
|
-
- no-cache
|
669
|
-
Date:
|
670
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
671
|
-
Connection:
|
672
|
-
- keep-alive
|
673
|
-
Content-Type:
|
674
|
-
- application/json
|
675
|
-
Content-Length:
|
676
|
-
- '446'
|
677
|
-
body:
|
678
|
-
encoding: UTF-8
|
679
|
-
string: '{"tenantId":"hawkular","id":"member2","name":"Member Two","description":"A
|
680
|
-
Group Trigger generated from test","type":"ORPHAN","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
681
|
-
http_version:
|
682
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
683
|
-
- request:
|
684
|
-
method: get
|
685
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/members?includeOrphans=false
|
686
|
-
body:
|
687
|
-
encoding: US-ASCII
|
688
|
-
string: ''
|
689
|
-
headers:
|
690
|
-
Accept:
|
691
|
-
- application/json
|
692
|
-
Accept-Encoding:
|
693
|
-
- identity
|
694
|
-
User-Agent:
|
695
|
-
- hawkular-client-ruby
|
696
|
-
Hawkular-Tenant:
|
697
|
-
- hawkular
|
698
|
-
Content-Type:
|
699
|
-
- application/json
|
700
|
-
Host:
|
701
|
-
- localhost:8080
|
702
|
-
response:
|
703
|
-
status:
|
704
|
-
code: 200
|
705
|
-
message: OK
|
706
|
-
headers:
|
707
|
-
Expires:
|
708
|
-
- '0'
|
709
|
-
Cache-Control:
|
710
|
-
- no-cache, no-store, must-revalidate
|
711
|
-
X-Powered-By:
|
712
|
-
- Undertow/1
|
713
|
-
Server:
|
714
|
-
- WildFly/10
|
715
|
-
Pragma:
|
716
|
-
- no-cache
|
717
|
-
Date:
|
718
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
719
|
-
Connection:
|
720
|
-
- keep-alive
|
721
|
-
Content-Type:
|
722
|
-
- application/json
|
723
|
-
Content-Length:
|
724
|
-
- '448'
|
725
|
-
body:
|
726
|
-
encoding: UTF-8
|
727
|
-
string: '[{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
|
728
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}]'
|
729
|
-
http_version:
|
730
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
731
|
-
- request:
|
732
|
-
method: get
|
733
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/members?includeOrphans=true
|
734
|
-
body:
|
735
|
-
encoding: US-ASCII
|
736
|
-
string: ''
|
737
|
-
headers:
|
738
|
-
Accept:
|
739
|
-
- application/json
|
740
|
-
Accept-Encoding:
|
741
|
-
- identity
|
742
|
-
User-Agent:
|
743
|
-
- hawkular-client-ruby
|
744
|
-
Hawkular-Tenant:
|
745
|
-
- hawkular
|
746
|
-
Content-Type:
|
747
|
-
- application/json
|
748
|
-
Host:
|
749
|
-
- localhost:8080
|
750
|
-
response:
|
751
|
-
status:
|
752
|
-
code: 200
|
753
|
-
message: OK
|
754
|
-
headers:
|
755
|
-
Expires:
|
756
|
-
- '0'
|
757
|
-
Cache-Control:
|
758
|
-
- no-cache, no-store, must-revalidate
|
759
|
-
X-Powered-By:
|
760
|
-
- Undertow/1
|
761
|
-
Server:
|
762
|
-
- WildFly/10
|
763
|
-
Pragma:
|
764
|
-
- no-cache
|
765
|
-
Date:
|
766
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
767
|
-
Connection:
|
768
|
-
- keep-alive
|
769
|
-
Content-Type:
|
770
|
-
- application/json
|
771
|
-
Content-Length:
|
772
|
-
- '895'
|
773
|
-
body:
|
774
|
-
encoding: UTF-8
|
775
|
-
string: '[{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
|
776
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"},{"tenantId":"hawkular","id":"member2","name":"Member
|
777
|
-
Two","description":"A Group Trigger generated from test","type":"ORPHAN","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member2"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}]'
|
778
|
-
http_version:
|
779
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
780
|
-
- request:
|
781
|
-
method: post
|
782
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/dampenings
|
783
|
-
body:
|
784
|
-
encoding: UTF-8
|
785
|
-
string: '{"dampeningId":null,"triggerId":"a-group-trigger","type":"STRICT","evalTrueSetting":2,"evalTotalSetting":2,"evalTimeSetting":null}'
|
786
|
-
headers:
|
787
|
-
Accept:
|
788
|
-
- application/json
|
789
|
-
Accept-Encoding:
|
790
|
-
- identity
|
791
|
-
User-Agent:
|
792
|
-
- hawkular-client-ruby
|
793
|
-
Hawkular-Tenant:
|
794
|
-
- hawkular
|
795
|
-
Content-Type:
|
796
|
-
- application/json
|
797
|
-
Content-Length:
|
798
|
-
- '130'
|
799
|
-
Host:
|
800
|
-
- localhost:8080
|
801
|
-
response:
|
802
|
-
status:
|
803
|
-
code: 200
|
804
|
-
message: OK
|
805
|
-
headers:
|
806
|
-
Expires:
|
807
|
-
- '0'
|
808
|
-
Cache-Control:
|
809
|
-
- no-cache, no-store, must-revalidate
|
810
|
-
X-Powered-By:
|
811
|
-
- Undertow/1
|
812
|
-
Server:
|
813
|
-
- WildFly/10
|
814
|
-
Pragma:
|
815
|
-
- no-cache
|
816
|
-
Date:
|
817
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
818
|
-
Connection:
|
819
|
-
- keep-alive
|
820
|
-
Content-Type:
|
821
|
-
- application/json
|
822
|
-
Content-Length:
|
823
|
-
- '201'
|
824
|
-
body:
|
825
|
-
encoding: UTF-8
|
826
|
-
string: '{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":2,"evalTotalSetting":2,"evalTimeSetting":0,"dampeningId":"hawkular-a-group-trigger-FIRING"}'
|
827
|
-
http_version:
|
828
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
829
|
-
- request:
|
830
|
-
method: get
|
831
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1
|
832
|
-
body:
|
833
|
-
encoding: US-ASCII
|
834
|
-
string: ''
|
835
|
-
headers:
|
836
|
-
Accept:
|
837
|
-
- application/json
|
838
|
-
Accept-Encoding:
|
839
|
-
- identity
|
840
|
-
User-Agent:
|
841
|
-
- hawkular-client-ruby
|
842
|
-
Hawkular-Tenant:
|
843
|
-
- hawkular
|
844
|
-
Content-Type:
|
845
|
-
- application/json
|
846
|
-
Host:
|
847
|
-
- localhost:8080
|
848
|
-
response:
|
849
|
-
status:
|
850
|
-
code: 200
|
851
|
-
message: OK
|
852
|
-
headers:
|
853
|
-
Expires:
|
854
|
-
- '0'
|
855
|
-
Cache-Control:
|
856
|
-
- no-cache, no-store, must-revalidate
|
857
|
-
X-Powered-By:
|
858
|
-
- Undertow/1
|
859
|
-
Server:
|
860
|
-
- WildFly/10
|
861
|
-
Pragma:
|
862
|
-
- no-cache
|
863
|
-
Date:
|
864
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
865
|
-
Connection:
|
866
|
-
- keep-alive
|
867
|
-
Content-Type:
|
868
|
-
- application/json
|
869
|
-
Content-Length:
|
870
|
-
- '446'
|
871
|
-
body:
|
872
|
-
encoding: UTF-8
|
873
|
-
string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
|
874
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
875
|
-
http_version:
|
876
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
877
|
-
- request:
|
878
|
-
method: get
|
879
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/conditions
|
880
|
-
body:
|
881
|
-
encoding: US-ASCII
|
882
|
-
string: ''
|
883
|
-
headers:
|
884
|
-
Accept:
|
885
|
-
- application/json
|
886
|
-
Accept-Encoding:
|
887
|
-
- identity
|
888
|
-
User-Agent:
|
889
|
-
- hawkular-client-ruby
|
890
|
-
Hawkular-Tenant:
|
891
|
-
- hawkular
|
892
|
-
Content-Type:
|
893
|
-
- application/json
|
894
|
-
Host:
|
895
|
-
- localhost:8080
|
896
|
-
response:
|
897
|
-
status:
|
898
|
-
code: 200
|
899
|
-
message: OK
|
900
|
-
headers:
|
901
|
-
Expires:
|
902
|
-
- '0'
|
903
|
-
Cache-Control:
|
904
|
-
- no-cache, no-store, must-revalidate
|
905
|
-
X-Powered-By:
|
906
|
-
- Undertow/1
|
907
|
-
Server:
|
908
|
-
- WildFly/10
|
909
|
-
Pragma:
|
910
|
-
- no-cache
|
911
|
-
Date:
|
912
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
913
|
-
Connection:
|
914
|
-
- keep-alive
|
915
|
-
Content-Type:
|
916
|
-
- application/json
|
917
|
-
Content-Length:
|
918
|
-
- '240'
|
919
|
-
body:
|
920
|
-
encoding: UTF-8
|
921
|
-
string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"hawkular-member1-FIRING-1-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0}]'
|
922
|
-
http_version:
|
923
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
924
|
-
- request:
|
925
|
-
method: get
|
926
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/dampenings
|
927
|
-
body:
|
928
|
-
encoding: US-ASCII
|
929
|
-
string: ''
|
930
|
-
headers:
|
931
|
-
Accept:
|
932
|
-
- application/json
|
933
|
-
Accept-Encoding:
|
934
|
-
- identity
|
935
|
-
User-Agent:
|
936
|
-
- hawkular-client-ruby
|
937
|
-
Hawkular-Tenant:
|
938
|
-
- hawkular
|
939
|
-
Content-Type:
|
940
|
-
- application/json
|
941
|
-
Host:
|
942
|
-
- localhost:8080
|
943
|
-
response:
|
944
|
-
status:
|
945
|
-
code: 200
|
946
|
-
message: OK
|
947
|
-
headers:
|
948
|
-
Expires:
|
949
|
-
- '0'
|
950
|
-
Cache-Control:
|
951
|
-
- no-cache, no-store, must-revalidate
|
952
|
-
X-Powered-By:
|
953
|
-
- Undertow/1
|
954
|
-
Server:
|
955
|
-
- WildFly/10
|
956
|
-
Pragma:
|
957
|
-
- no-cache
|
958
|
-
Date:
|
959
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
960
|
-
Connection:
|
961
|
-
- keep-alive
|
962
|
-
Content-Type:
|
963
|
-
- application/json
|
964
|
-
Content-Length:
|
965
|
-
- '187'
|
966
|
-
body:
|
967
|
-
encoding: UTF-8
|
968
|
-
string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":2,"evalTotalSetting":2,"evalTimeSetting":0,"dampeningId":"hawkular-member1-FIRING"}]'
|
969
|
-
http_version:
|
970
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
971
|
-
- request:
|
972
|
-
method: put
|
973
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/
|
974
|
-
body:
|
975
|
-
encoding: UTF-8
|
976
|
-
string: '{"id":"a-group-trigger","name":"A Group Trigger","enabled":false,"severity":"HIGH","autoResolve":false,"autoResolveAlerts":true,"eventType":"ALERT","description":"A
|
977
|
-
Group Trigger generated from test","autoEnable":false,"autoDisable":false,"type":"GROUP","tags":{"group-tname":"group-tvalue"},"firingMatch":"ALL","autoResolveMatch":"ALL","tenantId":"hawkular","actions":[]}'
|
978
|
-
headers:
|
979
|
-
Accept:
|
980
|
-
- application/json
|
981
|
-
Accept-Encoding:
|
982
|
-
- identity
|
983
|
-
User-Agent:
|
984
|
-
- hawkular-client-ruby
|
985
|
-
Hawkular-Tenant:
|
986
|
-
- hawkular
|
987
|
-
Content-Type:
|
988
|
-
- application/json
|
989
|
-
Content-Length:
|
990
|
-
- '372'
|
991
|
-
Host:
|
992
|
-
- localhost:8080
|
993
|
-
response:
|
994
|
-
status:
|
995
|
-
code: 200
|
996
|
-
message: OK
|
997
|
-
headers:
|
998
|
-
Expires:
|
999
|
-
- '0'
|
1000
|
-
Cache-Control:
|
1001
|
-
- no-cache, no-store, must-revalidate
|
1002
|
-
X-Powered-By:
|
1003
|
-
- Undertow/1
|
1004
|
-
Server:
|
1005
|
-
- WildFly/10
|
1006
|
-
Pragma:
|
1007
|
-
- no-cache
|
1008
|
-
Date:
|
1009
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1010
|
-
Connection:
|
1011
|
-
- keep-alive
|
1012
|
-
Content-Type:
|
1013
|
-
- application/json
|
1014
|
-
Content-Length:
|
1015
|
-
- '0'
|
1016
|
-
body:
|
1017
|
-
encoding: UTF-8
|
1018
|
-
string: ''
|
1019
|
-
http_version:
|
1020
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1021
|
-
- request:
|
1022
|
-
method: get
|
1023
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/a-group-trigger
|
1024
|
-
body:
|
1025
|
-
encoding: US-ASCII
|
1026
|
-
string: ''
|
1027
|
-
headers:
|
1028
|
-
Accept:
|
1029
|
-
- application/json
|
1030
|
-
Accept-Encoding:
|
1031
|
-
- identity
|
1032
|
-
User-Agent:
|
1033
|
-
- hawkular-client-ruby
|
1034
|
-
Hawkular-Tenant:
|
1035
|
-
- hawkular
|
1036
|
-
Content-Type:
|
1037
|
-
- application/json
|
1038
|
-
Host:
|
1039
|
-
- localhost:8080
|
1040
|
-
response:
|
1041
|
-
status:
|
1042
|
-
code: 200
|
1043
|
-
message: OK
|
1044
|
-
headers:
|
1045
|
-
Expires:
|
1046
|
-
- '0'
|
1047
|
-
Cache-Control:
|
1048
|
-
- no-cache, no-store, must-revalidate
|
1049
|
-
X-Powered-By:
|
1050
|
-
- Undertow/1
|
1051
|
-
Server:
|
1052
|
-
- WildFly/10
|
1053
|
-
Pragma:
|
1054
|
-
- no-cache
|
1055
|
-
Date:
|
1056
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1057
|
-
Connection:
|
1058
|
-
- keep-alive
|
1059
|
-
Content-Type:
|
1060
|
-
- application/json
|
1061
|
-
Content-Length:
|
1062
|
-
- '415'
|
1063
|
-
body:
|
1064
|
-
encoding: UTF-8
|
1065
|
-
string: '{"tenantId":"hawkular","id":"a-group-trigger","name":"A Group Trigger","description":"A
|
1066
|
-
Group Trigger generated from test","type":"GROUP","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
1067
|
-
http_version:
|
1068
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1069
|
-
- request:
|
1070
|
-
method: get
|
1071
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1
|
1072
|
-
body:
|
1073
|
-
encoding: US-ASCII
|
1074
|
-
string: ''
|
1075
|
-
headers:
|
1076
|
-
Accept:
|
1077
|
-
- application/json
|
1078
|
-
Accept-Encoding:
|
1079
|
-
- identity
|
1080
|
-
User-Agent:
|
1081
|
-
- hawkular-client-ruby
|
1082
|
-
Hawkular-Tenant:
|
1083
|
-
- hawkular
|
1084
|
-
Content-Type:
|
1085
|
-
- application/json
|
1086
|
-
Host:
|
1087
|
-
- localhost:8080
|
1088
|
-
response:
|
1089
|
-
status:
|
1090
|
-
code: 200
|
1091
|
-
message: OK
|
1092
|
-
headers:
|
1093
|
-
Expires:
|
1094
|
-
- '0'
|
1095
|
-
Cache-Control:
|
1096
|
-
- no-cache, no-store, must-revalidate
|
1097
|
-
X-Powered-By:
|
1098
|
-
- Undertow/1
|
1099
|
-
Server:
|
1100
|
-
- WildFly/10
|
1101
|
-
Pragma:
|
1102
|
-
- no-cache
|
1103
|
-
Date:
|
1104
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1105
|
-
Connection:
|
1106
|
-
- keep-alive
|
1107
|
-
Content-Type:
|
1108
|
-
- application/json
|
1109
|
-
Content-Length:
|
1110
|
-
- '484'
|
1111
|
-
body:
|
1112
|
-
encoding: UTF-8
|
1113
|
-
string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
|
1114
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
1115
|
-
http_version:
|
1116
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1117
|
-
- request:
|
1118
|
-
method: put
|
1119
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/conditions/FIRING
|
1120
|
-
body:
|
1121
|
-
encoding: UTF-8
|
1122
|
-
string: '{"conditions":[{"conditionId":null,"type":"THRESHOLD","operator":"LT","threshold":5,"triggerMode":"FIRING","dataId":"my-metric-id","data2Id":null,"data2Multiplier":null,"triggerId":null},{"conditionId":null,"type":"THRESHOLD","operator":"GT","threshold":50,"triggerMode":"FIRING","dataId":"my-metric-id2","data2Id":null,"data2Multiplier":null,"triggerId":null}],"dataIdMemberMap":{"my-metric-id":{"member1":"my-metric-id-member1"},"my-metric-id2":{"member1":"my-metric-id2-member1"}}}'
|
1123
|
-
headers:
|
1124
|
-
Accept:
|
1125
|
-
- application/json
|
1126
|
-
Accept-Encoding:
|
1127
|
-
- identity
|
1128
|
-
User-Agent:
|
1129
|
-
- hawkular-client-ruby
|
1130
|
-
Hawkular-Tenant:
|
1131
|
-
- hawkular
|
1132
|
-
Content-Type:
|
1133
|
-
- application/json
|
1134
|
-
Content-Length:
|
1135
|
-
- '484'
|
1136
|
-
Host:
|
1137
|
-
- localhost:8080
|
1138
|
-
response:
|
1139
|
-
status:
|
1140
|
-
code: 200
|
1141
|
-
message: OK
|
1142
|
-
headers:
|
1143
|
-
Expires:
|
1144
|
-
- '0'
|
1145
|
-
Cache-Control:
|
1146
|
-
- no-cache, no-store, must-revalidate
|
1147
|
-
X-Powered-By:
|
1148
|
-
- Undertow/1
|
1149
|
-
Server:
|
1150
|
-
- WildFly/10
|
1151
|
-
Pragma:
|
1152
|
-
- no-cache
|
1153
|
-
Date:
|
1154
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1155
|
-
Connection:
|
1156
|
-
- keep-alive
|
1157
|
-
Content-Type:
|
1158
|
-
- application/json
|
1159
|
-
Content-Length:
|
1160
|
-
- '497'
|
1161
|
-
body:
|
1162
|
-
encoding: UTF-8
|
1163
|
-
string: '[{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"hawkular-a-group-trigger-FIRING-2-1","dataId":"my-metric-id","operator":"LT","threshold":5.0},{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"hawkular-a-group-trigger-FIRING-2-2","dataId":"my-metric-id2","operator":"GT","threshold":50.0}]'
|
1164
|
-
http_version:
|
1165
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1166
|
-
- request:
|
1167
|
-
method: get
|
1168
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1
|
1169
|
-
body:
|
1170
|
-
encoding: US-ASCII
|
1171
|
-
string: ''
|
1172
|
-
headers:
|
1173
|
-
Accept:
|
1174
|
-
- application/json
|
1175
|
-
Accept-Encoding:
|
1176
|
-
- identity
|
1177
|
-
User-Agent:
|
1178
|
-
- hawkular-client-ruby
|
1179
|
-
Hawkular-Tenant:
|
1180
|
-
- hawkular
|
1181
|
-
Content-Type:
|
1182
|
-
- application/json
|
1183
|
-
Host:
|
1184
|
-
- localhost:8080
|
1185
|
-
response:
|
1186
|
-
status:
|
1187
|
-
code: 200
|
1188
|
-
message: OK
|
1189
|
-
headers:
|
1190
|
-
Expires:
|
1191
|
-
- '0'
|
1192
|
-
Cache-Control:
|
1193
|
-
- no-cache, no-store, must-revalidate
|
1194
|
-
X-Powered-By:
|
1195
|
-
- Undertow/1
|
1196
|
-
Server:
|
1197
|
-
- WildFly/10
|
1198
|
-
Pragma:
|
1199
|
-
- no-cache
|
1200
|
-
Date:
|
1201
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1202
|
-
Connection:
|
1203
|
-
- keep-alive
|
1204
|
-
Content-Type:
|
1205
|
-
- application/json
|
1206
|
-
Content-Length:
|
1207
|
-
- '484'
|
1208
|
-
body:
|
1209
|
-
encoding: UTF-8
|
1210
|
-
string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
|
1211
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
1212
|
-
http_version:
|
1213
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1214
|
-
- request:
|
1215
|
-
method: get
|
1216
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/conditions
|
1217
|
-
body:
|
1218
|
-
encoding: US-ASCII
|
1219
|
-
string: ''
|
1220
|
-
headers:
|
1221
|
-
Accept:
|
1222
|
-
- application/json
|
1223
|
-
Accept-Encoding:
|
1224
|
-
- identity
|
1225
|
-
User-Agent:
|
1226
|
-
- hawkular-client-ruby
|
1227
|
-
Hawkular-Tenant:
|
1228
|
-
- hawkular
|
1229
|
-
Content-Type:
|
1230
|
-
- application/json
|
1231
|
-
Host:
|
1232
|
-
- localhost:8080
|
1233
|
-
response:
|
1234
|
-
status:
|
1235
|
-
code: 200
|
1236
|
-
message: OK
|
1237
|
-
headers:
|
1238
|
-
Expires:
|
1239
|
-
- '0'
|
1240
|
-
Cache-Control:
|
1241
|
-
- no-cache, no-store, must-revalidate
|
1242
|
-
X-Powered-By:
|
1243
|
-
- Undertow/1
|
1244
|
-
Server:
|
1245
|
-
- WildFly/10
|
1246
|
-
Pragma:
|
1247
|
-
- no-cache
|
1248
|
-
Date:
|
1249
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1250
|
-
Connection:
|
1251
|
-
- keep-alive
|
1252
|
-
Content-Type:
|
1253
|
-
- application/json
|
1254
|
-
Content-Length:
|
1255
|
-
- '481'
|
1256
|
-
body:
|
1257
|
-
encoding: UTF-8
|
1258
|
-
string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"hawkular-member1-FIRING-2-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0},{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"hawkular-member1-FIRING-2-2","dataId":"my-metric-id2-member1","operator":"GT","threshold":50.0}]'
|
1259
|
-
http_version:
|
1260
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1261
|
-
- request:
|
1262
|
-
method: get
|
1263
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/dampenings
|
1264
|
-
body:
|
1265
|
-
encoding: US-ASCII
|
1266
|
-
string: ''
|
1267
|
-
headers:
|
1268
|
-
Accept:
|
1269
|
-
- application/json
|
1270
|
-
Accept-Encoding:
|
1271
|
-
- identity
|
1272
|
-
User-Agent:
|
1273
|
-
- hawkular-client-ruby
|
1274
|
-
Hawkular-Tenant:
|
1275
|
-
- hawkular
|
1276
|
-
Content-Type:
|
1277
|
-
- application/json
|
1278
|
-
Host:
|
1279
|
-
- localhost:8080
|
1280
|
-
response:
|
1281
|
-
status:
|
1282
|
-
code: 200
|
1283
|
-
message: OK
|
1284
|
-
headers:
|
1285
|
-
Expires:
|
1286
|
-
- '0'
|
1287
|
-
Cache-Control:
|
1288
|
-
- no-cache, no-store, must-revalidate
|
1289
|
-
X-Powered-By:
|
1290
|
-
- Undertow/1
|
1291
|
-
Server:
|
1292
|
-
- WildFly/10
|
1293
|
-
Pragma:
|
1294
|
-
- no-cache
|
1295
|
-
Date:
|
1296
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1297
|
-
Connection:
|
1298
|
-
- keep-alive
|
1299
|
-
Content-Type:
|
1300
|
-
- application/json
|
1301
|
-
Content-Length:
|
1302
|
-
- '187'
|
1303
|
-
body:
|
1304
|
-
encoding: UTF-8
|
1305
|
-
string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"STRICT","evalTrueSetting":2,"evalTotalSetting":2,"evalTimeSetting":0,"dampeningId":"hawkular-member1-FIRING"}]'
|
1306
|
-
http_version:
|
1307
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1308
|
-
- request:
|
1309
|
-
method: put
|
1310
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/dampenings/hawkular-a-group-trigger-FIRING
|
1311
|
-
body:
|
1312
|
-
encoding: UTF-8
|
1313
|
-
string: '{"dampeningId":"hawkular-a-group-trigger-FIRING","triggerId":"a-group-trigger","type":"RELAXED_COUNT","evalTrueSetting":2,"evalTotalSetting":4,"evalTimeSetting":0}'
|
1314
|
-
headers:
|
1315
|
-
Accept:
|
1316
|
-
- application/json
|
1317
|
-
Accept-Encoding:
|
1318
|
-
- identity
|
1319
|
-
User-Agent:
|
1320
|
-
- hawkular-client-ruby
|
1321
|
-
Hawkular-Tenant:
|
1322
|
-
- hawkular
|
1323
|
-
Content-Type:
|
1324
|
-
- application/json
|
1325
|
-
Content-Length:
|
1326
|
-
- '163'
|
1327
|
-
Host:
|
1328
|
-
- localhost:8080
|
1329
|
-
response:
|
1330
|
-
status:
|
1331
|
-
code: 200
|
1332
|
-
message: OK
|
1333
|
-
headers:
|
1334
|
-
Expires:
|
1335
|
-
- '0'
|
1336
|
-
Cache-Control:
|
1337
|
-
- no-cache, no-store, must-revalidate
|
1338
|
-
X-Powered-By:
|
1339
|
-
- Undertow/1
|
1340
|
-
Server:
|
1341
|
-
- WildFly/10
|
1342
|
-
Pragma:
|
1343
|
-
- no-cache
|
1344
|
-
Date:
|
1345
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1346
|
-
Connection:
|
1347
|
-
- keep-alive
|
1348
|
-
Content-Type:
|
1349
|
-
- application/json
|
1350
|
-
Content-Length:
|
1351
|
-
- '208'
|
1352
|
-
body:
|
1353
|
-
encoding: UTF-8
|
1354
|
-
string: '{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"RELAXED_COUNT","evalTrueSetting":2,"evalTotalSetting":4,"evalTimeSetting":0,"dampeningId":"hawkular-a-group-trigger-FIRING"}'
|
1355
|
-
http_version:
|
1356
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1357
|
-
- request:
|
1358
|
-
method: put
|
1359
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/
|
1360
|
-
body:
|
1361
|
-
encoding: UTF-8
|
1362
|
-
string: '{"id":"a-group-trigger","name":"A Group Trigger","enabled":false,"severity":"HIGH","autoResolve":false,"autoResolveAlerts":true,"eventType":"ALERT","description":"A
|
1363
|
-
Group Trigger generated from test","autoEnable":false,"autoDisable":false,"context":{"alert-profiles":"profile1"},"type":"GROUP","tags":{"group-tname":"group-tvalue"},"firingMatch":"ALL","autoResolveMatch":"ALL","tenantId":"hawkular","actions":[]}'
|
1364
|
-
headers:
|
1365
|
-
Accept:
|
1366
|
-
- application/json
|
1367
|
-
Accept-Encoding:
|
1368
|
-
- identity
|
1369
|
-
User-Agent:
|
1370
|
-
- hawkular-client-ruby
|
1371
|
-
Hawkular-Tenant:
|
1372
|
-
- hawkular
|
1373
|
-
Content-Type:
|
1374
|
-
- application/json
|
1375
|
-
Content-Length:
|
1376
|
-
- '412'
|
1377
|
-
Host:
|
1378
|
-
- localhost:8080
|
1379
|
-
response:
|
1380
|
-
status:
|
1381
|
-
code: 200
|
1382
|
-
message: OK
|
1383
|
-
headers:
|
1384
|
-
Expires:
|
1385
|
-
- '0'
|
1386
|
-
Cache-Control:
|
1387
|
-
- no-cache, no-store, must-revalidate
|
1388
|
-
X-Powered-By:
|
1389
|
-
- Undertow/1
|
1390
|
-
Server:
|
1391
|
-
- WildFly/10
|
1392
|
-
Pragma:
|
1393
|
-
- no-cache
|
1394
|
-
Date:
|
1395
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1396
|
-
Connection:
|
1397
|
-
- keep-alive
|
1398
|
-
Content-Type:
|
1399
|
-
- application/json
|
1400
|
-
Content-Length:
|
1401
|
-
- '0'
|
1402
|
-
body:
|
1403
|
-
encoding: UTF-8
|
1404
|
-
string: ''
|
1405
|
-
http_version:
|
1406
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1407
|
-
- request:
|
1408
|
-
method: get
|
1409
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/a-group-trigger
|
1410
|
-
body:
|
1411
|
-
encoding: US-ASCII
|
1412
|
-
string: ''
|
1413
|
-
headers:
|
1414
|
-
Accept:
|
1415
|
-
- application/json
|
1416
|
-
Accept-Encoding:
|
1417
|
-
- identity
|
1418
|
-
User-Agent:
|
1419
|
-
- hawkular-client-ruby
|
1420
|
-
Hawkular-Tenant:
|
1421
|
-
- hawkular
|
1422
|
-
Content-Type:
|
1423
|
-
- application/json
|
1424
|
-
Host:
|
1425
|
-
- localhost:8080
|
1426
|
-
response:
|
1427
|
-
status:
|
1428
|
-
code: 200
|
1429
|
-
message: OK
|
1430
|
-
headers:
|
1431
|
-
Expires:
|
1432
|
-
- '0'
|
1433
|
-
Cache-Control:
|
1434
|
-
- no-cache, no-store, must-revalidate
|
1435
|
-
X-Powered-By:
|
1436
|
-
- Undertow/1
|
1437
|
-
Server:
|
1438
|
-
- WildFly/10
|
1439
|
-
Pragma:
|
1440
|
-
- no-cache
|
1441
|
-
Date:
|
1442
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1443
|
-
Connection:
|
1444
|
-
- keep-alive
|
1445
|
-
Content-Type:
|
1446
|
-
- application/json
|
1447
|
-
Content-Length:
|
1448
|
-
- '455'
|
1449
|
-
body:
|
1450
|
-
encoding: UTF-8
|
1451
|
-
string: '{"tenantId":"hawkular","id":"a-group-trigger","name":"A Group Trigger","description":"A
|
1452
|
-
Group Trigger generated from test","type":"GROUP","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alert-profiles":"profile1"},"tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
1453
|
-
http_version:
|
1454
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1455
|
-
- request:
|
1456
|
-
method: delete
|
1457
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/dampenings/hawkular-a-group-trigger-FIRING
|
1458
|
-
body:
|
1459
|
-
encoding: US-ASCII
|
1460
|
-
string: ''
|
1461
|
-
headers:
|
1462
|
-
Accept:
|
1463
|
-
- application/json
|
1464
|
-
Accept-Encoding:
|
1465
|
-
- identity
|
1466
|
-
User-Agent:
|
1467
|
-
- hawkular-client-ruby
|
1468
|
-
Hawkular-Tenant:
|
1469
|
-
- hawkular
|
1470
|
-
Content-Type:
|
1471
|
-
- application/json
|
1472
|
-
Host:
|
1473
|
-
- localhost:8080
|
1474
|
-
response:
|
1475
|
-
status:
|
1476
|
-
code: 200
|
1477
|
-
message: OK
|
1478
|
-
headers:
|
1479
|
-
Expires:
|
1480
|
-
- '0'
|
1481
|
-
Cache-Control:
|
1482
|
-
- no-cache, no-store, must-revalidate
|
1483
|
-
X-Powered-By:
|
1484
|
-
- Undertow/1
|
1485
|
-
Server:
|
1486
|
-
- WildFly/10
|
1487
|
-
Pragma:
|
1488
|
-
- no-cache
|
1489
|
-
Date:
|
1490
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1491
|
-
Connection:
|
1492
|
-
- keep-alive
|
1493
|
-
Content-Type:
|
1494
|
-
- application/json
|
1495
|
-
Content-Length:
|
1496
|
-
- '0'
|
1497
|
-
body:
|
1498
|
-
encoding: UTF-8
|
1499
|
-
string: ''
|
1500
|
-
http_version:
|
1501
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1502
|
-
- request:
|
1503
|
-
method: get
|
1504
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1
|
1505
|
-
body:
|
1506
|
-
encoding: US-ASCII
|
1507
|
-
string: ''
|
1508
|
-
headers:
|
1509
|
-
Accept:
|
1510
|
-
- application/json
|
1511
|
-
Accept-Encoding:
|
1512
|
-
- identity
|
1513
|
-
User-Agent:
|
1514
|
-
- hawkular-client-ruby
|
1515
|
-
Hawkular-Tenant:
|
1516
|
-
- hawkular
|
1517
|
-
Content-Type:
|
1518
|
-
- application/json
|
1519
|
-
Host:
|
1520
|
-
- localhost:8080
|
1521
|
-
response:
|
1522
|
-
status:
|
1523
|
-
code: 200
|
1524
|
-
message: OK
|
1525
|
-
headers:
|
1526
|
-
Expires:
|
1527
|
-
- '0'
|
1528
|
-
Cache-Control:
|
1529
|
-
- no-cache, no-store, must-revalidate
|
1530
|
-
X-Powered-By:
|
1531
|
-
- Undertow/1
|
1532
|
-
Server:
|
1533
|
-
- WildFly/10
|
1534
|
-
Pragma:
|
1535
|
-
- no-cache
|
1536
|
-
Date:
|
1537
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1538
|
-
Connection:
|
1539
|
-
- keep-alive
|
1540
|
-
Content-Type:
|
1541
|
-
- application/json
|
1542
|
-
Content-Length:
|
1543
|
-
- '524'
|
1544
|
-
body:
|
1545
|
-
encoding: UTF-8
|
1546
|
-
string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
|
1547
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alert-profiles":"profile1"},"tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
1548
|
-
http_version:
|
1549
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1550
|
-
- request:
|
1551
|
-
method: get
|
1552
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/conditions
|
1553
|
-
body:
|
1554
|
-
encoding: US-ASCII
|
1555
|
-
string: ''
|
1556
|
-
headers:
|
1557
|
-
Accept:
|
1558
|
-
- application/json
|
1559
|
-
Accept-Encoding:
|
1560
|
-
- identity
|
1561
|
-
User-Agent:
|
1562
|
-
- hawkular-client-ruby
|
1563
|
-
Hawkular-Tenant:
|
1564
|
-
- hawkular
|
1565
|
-
Content-Type:
|
1566
|
-
- application/json
|
1567
|
-
Host:
|
1568
|
-
- localhost:8080
|
1569
|
-
response:
|
1570
|
-
status:
|
1571
|
-
code: 200
|
1572
|
-
message: OK
|
1573
|
-
headers:
|
1574
|
-
Expires:
|
1575
|
-
- '0'
|
1576
|
-
Cache-Control:
|
1577
|
-
- no-cache, no-store, must-revalidate
|
1578
|
-
X-Powered-By:
|
1579
|
-
- Undertow/1
|
1580
|
-
Server:
|
1581
|
-
- WildFly/10
|
1582
|
-
Pragma:
|
1583
|
-
- no-cache
|
1584
|
-
Date:
|
1585
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1586
|
-
Connection:
|
1587
|
-
- keep-alive
|
1588
|
-
Content-Type:
|
1589
|
-
- application/json
|
1590
|
-
Content-Length:
|
1591
|
-
- '481'
|
1592
|
-
body:
|
1593
|
-
encoding: UTF-8
|
1594
|
-
string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"hawkular-member1-FIRING-2-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0},{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"hawkular-member1-FIRING-2-2","dataId":"my-metric-id2-member1","operator":"GT","threshold":50.0}]'
|
1595
|
-
http_version:
|
1596
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1597
|
-
- request:
|
1598
|
-
method: get
|
1599
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/dampenings
|
1600
|
-
body:
|
1601
|
-
encoding: US-ASCII
|
1602
|
-
string: ''
|
1603
|
-
headers:
|
1604
|
-
Accept:
|
1605
|
-
- application/json
|
1606
|
-
Accept-Encoding:
|
1607
|
-
- identity
|
1608
|
-
User-Agent:
|
1609
|
-
- hawkular-client-ruby
|
1610
|
-
Hawkular-Tenant:
|
1611
|
-
- hawkular
|
1612
|
-
Content-Type:
|
1613
|
-
- application/json
|
1614
|
-
Host:
|
1615
|
-
- localhost:8080
|
1616
|
-
response:
|
1617
|
-
status:
|
1618
|
-
code: 200
|
1619
|
-
message: OK
|
1620
|
-
headers:
|
1621
|
-
Expires:
|
1622
|
-
- '0'
|
1623
|
-
Cache-Control:
|
1624
|
-
- no-cache, no-store, must-revalidate
|
1625
|
-
X-Powered-By:
|
1626
|
-
- Undertow/1
|
1627
|
-
Server:
|
1628
|
-
- WildFly/10
|
1629
|
-
Pragma:
|
1630
|
-
- no-cache
|
1631
|
-
Date:
|
1632
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1633
|
-
Connection:
|
1634
|
-
- keep-alive
|
1635
|
-
Content-Type:
|
1636
|
-
- application/json
|
1637
|
-
Content-Length:
|
1638
|
-
- '2'
|
1639
|
-
body:
|
1640
|
-
encoding: UTF-8
|
1641
|
-
string: "[]"
|
1642
|
-
http_version:
|
1643
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1644
|
-
- request:
|
1645
|
-
method: put
|
1646
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger/conditions/FIRING
|
1647
|
-
body:
|
1648
|
-
encoding: UTF-8
|
1649
|
-
string: '{"conditions":[{"conditionId":null,"type":"THRESHOLD","operator":"LT","threshold":5,"triggerMode":"FIRING","dataId":"my-metric-id","data2Id":null,"data2Multiplier":null,"triggerId":null},{"conditionId":null,"type":"THRESHOLD","operator":"GT","threshold":50,"triggerMode":"FIRING","dataId":"my-metric-id2","data2Id":null,"data2Multiplier":null,"triggerId":null},{"conditionId":null,"type":"COMPARE","operator":"GT","threshold":null,"triggerMode":"FIRING","dataId":"my-metric-id3","data2Id":"my-metric-id4","data2Multiplier":1,"triggerId":null}],"dataIdMemberMap":{"my-metric-id":{"member1":"my-metric-id-member1"},"my-metric-id2":{"member1":"my-metric-id2-member1"},"my-metric-id3":{"member1":"my-metric-id3-member1"},"my-metric-id4":{"member1":"my-metric-id4-member1"}}}'
|
1650
|
-
headers:
|
1651
|
-
Accept:
|
1652
|
-
- application/json
|
1653
|
-
Accept-Encoding:
|
1654
|
-
- identity
|
1655
|
-
User-Agent:
|
1656
|
-
- hawkular-client-ruby
|
1657
|
-
Hawkular-Tenant:
|
1658
|
-
- hawkular
|
1659
|
-
Content-Type:
|
1660
|
-
- application/json
|
1661
|
-
Content-Length:
|
1662
|
-
- '770'
|
1663
|
-
Host:
|
1664
|
-
- localhost:8080
|
1665
|
-
response:
|
1666
|
-
status:
|
1667
|
-
code: 200
|
1668
|
-
message: OK
|
1669
|
-
headers:
|
1670
|
-
Expires:
|
1671
|
-
- '0'
|
1672
|
-
Cache-Control:
|
1673
|
-
- no-cache, no-store, must-revalidate
|
1674
|
-
X-Powered-By:
|
1675
|
-
- Undertow/1
|
1676
|
-
Server:
|
1677
|
-
- WildFly/10
|
1678
|
-
Pragma:
|
1679
|
-
- no-cache
|
1680
|
-
Date:
|
1681
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1682
|
-
Connection:
|
1683
|
-
- keep-alive
|
1684
|
-
Content-Type:
|
1685
|
-
- application/json
|
1686
|
-
Content-Length:
|
1687
|
-
- '775'
|
1688
|
-
body:
|
1689
|
-
encoding: UTF-8
|
1690
|
-
string: '[{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":3,"conditionSetIndex":1,"conditionId":"hawkular-a-group-trigger-FIRING-3-1","dataId":"my-metric-id","operator":"LT","threshold":5.0},{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":3,"conditionSetIndex":2,"conditionId":"hawkular-a-group-trigger-FIRING-3-2","dataId":"my-metric-id2","operator":"GT","threshold":50.0},{"tenantId":"hawkular","triggerId":"a-group-trigger","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":3,"conditionSetIndex":3,"conditionId":"hawkular-a-group-trigger-FIRING-3-3","dataId":"my-metric-id3","operator":"GT","data2Id":"my-metric-id4","data2Multiplier":1.0}]'
|
1691
|
-
http_version:
|
1692
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1693
|
-
- request:
|
1694
|
-
method: get
|
1695
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1
|
1696
|
-
body:
|
1697
|
-
encoding: US-ASCII
|
1698
|
-
string: ''
|
1699
|
-
headers:
|
1700
|
-
Accept:
|
1701
|
-
- application/json
|
1702
|
-
Accept-Encoding:
|
1703
|
-
- identity
|
1704
|
-
User-Agent:
|
1705
|
-
- hawkular-client-ruby
|
1706
|
-
Hawkular-Tenant:
|
1707
|
-
- hawkular
|
1708
|
-
Content-Type:
|
1709
|
-
- application/json
|
1710
|
-
Host:
|
1711
|
-
- localhost:8080
|
1712
|
-
response:
|
1713
|
-
status:
|
1714
|
-
code: 200
|
1715
|
-
message: OK
|
1716
|
-
headers:
|
1717
|
-
Expires:
|
1718
|
-
- '0'
|
1719
|
-
Cache-Control:
|
1720
|
-
- no-cache, no-store, must-revalidate
|
1721
|
-
X-Powered-By:
|
1722
|
-
- Undertow/1
|
1723
|
-
Server:
|
1724
|
-
- WildFly/10
|
1725
|
-
Pragma:
|
1726
|
-
- no-cache
|
1727
|
-
Date:
|
1728
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1729
|
-
Connection:
|
1730
|
-
- keep-alive
|
1731
|
-
Content-Type:
|
1732
|
-
- application/json
|
1733
|
-
Content-Length:
|
1734
|
-
- '524'
|
1735
|
-
body:
|
1736
|
-
encoding: UTF-8
|
1737
|
-
string: '{"tenantId":"hawkular","id":"member1","name":"Member One","description":"A
|
1738
|
-
Group Trigger generated from test","type":"MEMBER","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","context":{"alert-profiles":"profile1"},"tags":{"group-tname":"group-tvalue"},"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","dataIdMap":{"my-metric-id":"my-metric-id-member1"},"memberOf":"a-group-trigger","enabled":false,"firingMatch":"ALL","source":"_none_"}'
|
1739
|
-
http_version:
|
1740
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1741
|
-
- request:
|
1742
|
-
method: get
|
1743
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/conditions
|
1744
|
-
body:
|
1745
|
-
encoding: US-ASCII
|
1746
|
-
string: ''
|
1747
|
-
headers:
|
1748
|
-
Accept:
|
1749
|
-
- application/json
|
1750
|
-
Accept-Encoding:
|
1751
|
-
- identity
|
1752
|
-
User-Agent:
|
1753
|
-
- hawkular-client-ruby
|
1754
|
-
Hawkular-Tenant:
|
1755
|
-
- hawkular
|
1756
|
-
Content-Type:
|
1757
|
-
- application/json
|
1758
|
-
Host:
|
1759
|
-
- localhost:8080
|
1760
|
-
response:
|
1761
|
-
status:
|
1762
|
-
code: 200
|
1763
|
-
message: OK
|
1764
|
-
headers:
|
1765
|
-
Expires:
|
1766
|
-
- '0'
|
1767
|
-
Cache-Control:
|
1768
|
-
- no-cache, no-store, must-revalidate
|
1769
|
-
X-Powered-By:
|
1770
|
-
- Undertow/1
|
1771
|
-
Server:
|
1772
|
-
- WildFly/10
|
1773
|
-
Pragma:
|
1774
|
-
- no-cache
|
1775
|
-
Date:
|
1776
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1777
|
-
Connection:
|
1778
|
-
- keep-alive
|
1779
|
-
Content-Type:
|
1780
|
-
- application/json
|
1781
|
-
Content-Length:
|
1782
|
-
- '759'
|
1783
|
-
body:
|
1784
|
-
encoding: UTF-8
|
1785
|
-
string: '[{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":3,"conditionSetIndex":1,"conditionId":"hawkular-member1-FIRING-3-1","dataId":"my-metric-id-member1","operator":"LT","threshold":5.0},{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":3,"conditionSetIndex":2,"conditionId":"hawkular-member1-FIRING-3-2","dataId":"my-metric-id2-member1","operator":"GT","threshold":50.0},{"tenantId":"hawkular","triggerId":"member1","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":3,"conditionSetIndex":3,"conditionId":"hawkular-member1-FIRING-3-3","dataId":"my-metric-id3-member1","operator":"GT","data2Id":"my-metric-id4-member1","data2Multiplier":1.0}]'
|
1786
|
-
http_version:
|
1787
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1788
|
-
- request:
|
1789
|
-
method: get
|
1790
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/member1/dampenings
|
1791
|
-
body:
|
1792
|
-
encoding: US-ASCII
|
1793
|
-
string: ''
|
1794
|
-
headers:
|
1795
|
-
Accept:
|
1796
|
-
- application/json
|
1797
|
-
Accept-Encoding:
|
1798
|
-
- identity
|
1799
|
-
User-Agent:
|
1800
|
-
- hawkular-client-ruby
|
1801
|
-
Hawkular-Tenant:
|
1802
|
-
- hawkular
|
1803
|
-
Content-Type:
|
1804
|
-
- application/json
|
1805
|
-
Host:
|
1806
|
-
- localhost:8080
|
1807
|
-
response:
|
1808
|
-
status:
|
1809
|
-
code: 200
|
1810
|
-
message: OK
|
1811
|
-
headers:
|
1812
|
-
Expires:
|
1813
|
-
- '0'
|
1814
|
-
Cache-Control:
|
1815
|
-
- no-cache, no-store, must-revalidate
|
1816
|
-
X-Powered-By:
|
1817
|
-
- Undertow/1
|
1818
|
-
Server:
|
1819
|
-
- WildFly/10
|
1820
|
-
Pragma:
|
1821
|
-
- no-cache
|
1822
|
-
Date:
|
1823
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1824
|
-
Connection:
|
1825
|
-
- keep-alive
|
1826
|
-
Content-Type:
|
1827
|
-
- application/json
|
1828
|
-
Content-Length:
|
1829
|
-
- '2'
|
1830
|
-
body:
|
1831
|
-
encoding: UTF-8
|
1832
|
-
string: "[]"
|
1833
|
-
http_version:
|
1834
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1835
|
-
- request:
|
1836
|
-
method: delete
|
1837
|
-
uri: http://<%= username %>:<%= password %>@localhost:8080/hawkular/alerts/triggers/groups/a-group-trigger
|
1838
|
-
body:
|
1839
|
-
encoding: US-ASCII
|
1840
|
-
string: ''
|
1841
|
-
headers:
|
1842
|
-
Accept:
|
1843
|
-
- application/json
|
1844
|
-
Accept-Encoding:
|
1845
|
-
- identity
|
1846
|
-
User-Agent:
|
1847
|
-
- hawkular-client-ruby
|
1848
|
-
Hawkular-Tenant:
|
1849
|
-
- hawkular
|
1850
|
-
Content-Type:
|
1851
|
-
- application/json
|
1852
|
-
Host:
|
1853
|
-
- localhost:8080
|
1854
|
-
response:
|
1855
|
-
status:
|
1856
|
-
code: 200
|
1857
|
-
message: OK
|
1858
|
-
headers:
|
1859
|
-
Expires:
|
1860
|
-
- '0'
|
1861
|
-
Cache-Control:
|
1862
|
-
- no-cache, no-store, must-revalidate
|
1863
|
-
X-Powered-By:
|
1864
|
-
- Undertow/1
|
1865
|
-
Server:
|
1866
|
-
- WildFly/10
|
1867
|
-
Pragma:
|
1868
|
-
- no-cache
|
1869
|
-
Date:
|
1870
|
-
- Tue, 27 Sep 2016 18:17:15 GMT
|
1871
|
-
Connection:
|
1872
|
-
- keep-alive
|
1873
|
-
Content-Type:
|
1874
|
-
- application/json
|
1875
|
-
Content-Length:
|
1876
|
-
- '0'
|
1877
|
-
body:
|
1878
|
-
encoding: UTF-8
|
1879
|
-
string: ''
|
1880
|
-
http_version:
|
1881
|
-
recorded_at: Tue, 27 Sep 2016 18:17:15 GMT
|
1882
|
-
recorded_with: VCR 3.0.3
|