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,62 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/traversal/type=f
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- identity
|
14
|
-
User-Agent:
|
15
|
-
- hawkular-client-ruby
|
16
|
-
Hawkular-Tenant:
|
17
|
-
- hawkular
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
Host:
|
21
|
-
- 127.0.0.1:8443
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Expires:
|
28
|
-
- '0'
|
29
|
-
Cache-Control:
|
30
|
-
- no-cache, no-store, must-revalidate
|
31
|
-
X-Powered-By:
|
32
|
-
- Undertow/1
|
33
|
-
Server:
|
34
|
-
- WildFly/10
|
35
|
-
Pragma:
|
36
|
-
- no-cache
|
37
|
-
Date:
|
38
|
-
- Wed, 10 Aug 2016 22:35:46 GMT
|
39
|
-
X-Total-Count:
|
40
|
-
- '1'
|
41
|
-
Connection:
|
42
|
-
- keep-alive
|
43
|
-
Content-Type:
|
44
|
-
- application/json
|
45
|
-
Content-Length:
|
46
|
-
- '271'
|
47
|
-
Link:
|
48
|
-
- <https://127.0.0.1:8443/hawkular/inventory/traversal/type=f>; rel="current"
|
49
|
-
body:
|
50
|
-
encoding: UTF-8
|
51
|
-
string: |-
|
52
|
-
[ {
|
53
|
-
"path" : "/t;hawkular/f;af0ea377-80f4-4567-af45-105eaa808b92",
|
54
|
-
"properties" : {
|
55
|
-
"__identityHash" : "6f7052f82072f942f3e402fe127d6133ea5e963"
|
56
|
-
},
|
57
|
-
"identityHash" : "6f7052f82072f942f3e402fe127d6133ea5e963",
|
58
|
-
"id" : "af0ea377-80f4-4567-af45-105eaa808b92"
|
59
|
-
} ]
|
60
|
-
http_version:
|
61
|
-
recorded_at: Wed, 10 Aug 2016 22:35:46 GMT
|
62
|
-
recorded_with: VCR 3.0.3
|
@@ -1,133 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/traversal/f;<%= feed_uuid %>/rt;Datasource/rl;defines/type=r
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- identity
|
14
|
-
User-Agent:
|
15
|
-
- hawkular-client-ruby
|
16
|
-
Hawkular-Tenant:
|
17
|
-
- hawkular
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
Host:
|
21
|
-
- 127.0.0.1:8443
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Expires:
|
28
|
-
- '0'
|
29
|
-
Cache-Control:
|
30
|
-
- no-cache, no-store, must-revalidate
|
31
|
-
X-Powered-By:
|
32
|
-
- Undertow/1
|
33
|
-
Server:
|
34
|
-
- WildFly/10
|
35
|
-
Pragma:
|
36
|
-
- no-cache
|
37
|
-
Date:
|
38
|
-
- Wed, 10 Aug 2016 22:35:49 GMT
|
39
|
-
X-Total-Count:
|
40
|
-
- '1'
|
41
|
-
Connection:
|
42
|
-
- keep-alive
|
43
|
-
Content-Type:
|
44
|
-
- application/json
|
45
|
-
Content-Length:
|
46
|
-
- '608'
|
47
|
-
Link:
|
48
|
-
- <https://127.0.0.1:8443/hawkular/inventory/traversal/f;<%= feed_uuid %>/rt;Datasource/rl;defines/type=r>;
|
49
|
-
rel="current"
|
50
|
-
body:
|
51
|
-
encoding: UTF-8
|
52
|
-
string: |-
|
53
|
-
[ {
|
54
|
-
"path" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS",
|
55
|
-
"properties" : {
|
56
|
-
"__identityHash" : "e5bba7c6c22ec4591bff4532ca14e989d1498c4"
|
57
|
-
},
|
58
|
-
"name" : "Datasource [ExampleDS]",
|
59
|
-
"identityHash" : "e5bba7c6c22ec4591bff4532ca14e989d1498c4",
|
60
|
-
"type" : {
|
61
|
-
"path" : "/t;hawkular/f;<%= feed_uuid %>/rt;Datasource",
|
62
|
-
"name" : "Datasource",
|
63
|
-
"identityHash" : "b3291af08b396960f425871b493b6d9ee97e339f",
|
64
|
-
"id" : "Datasource"
|
65
|
-
},
|
66
|
-
"id" : "Local~/subsystem=datasources/data-source=ExampleDS"
|
67
|
-
} ]
|
68
|
-
http_version:
|
69
|
-
recorded_at: Wed, 10 Aug 2016 22:35:49 GMT
|
70
|
-
- request:
|
71
|
-
method: get
|
72
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/d;configuration
|
73
|
-
body:
|
74
|
-
encoding: US-ASCII
|
75
|
-
string: ''
|
76
|
-
headers:
|
77
|
-
Accept:
|
78
|
-
- application/json
|
79
|
-
Accept-Encoding:
|
80
|
-
- identity
|
81
|
-
User-Agent:
|
82
|
-
- hawkular-client-ruby
|
83
|
-
Hawkular-Tenant:
|
84
|
-
- hawkular
|
85
|
-
Content-Type:
|
86
|
-
- application/json
|
87
|
-
Host:
|
88
|
-
- 127.0.0.1:8443
|
89
|
-
response:
|
90
|
-
status:
|
91
|
-
code: 200
|
92
|
-
message: OK
|
93
|
-
headers:
|
94
|
-
Expires:
|
95
|
-
- '0'
|
96
|
-
Cache-Control:
|
97
|
-
- no-cache, no-store, must-revalidate
|
98
|
-
X-Powered-By:
|
99
|
-
- Undertow/1
|
100
|
-
Server:
|
101
|
-
- WildFly/10
|
102
|
-
Pragma:
|
103
|
-
- no-cache
|
104
|
-
Date:
|
105
|
-
- Wed, 10 Aug 2016 22:35:49 GMT
|
106
|
-
Connection:
|
107
|
-
- keep-alive
|
108
|
-
Content-Type:
|
109
|
-
- application/json
|
110
|
-
Content-Length:
|
111
|
-
- '585'
|
112
|
-
body:
|
113
|
-
encoding: UTF-8
|
114
|
-
string: |-
|
115
|
-
{
|
116
|
-
"path" : "/t;hawkular/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/d;configuration",
|
117
|
-
"properties" : {
|
118
|
-
"__identityHash" : "db85f6b08996789d6b315151197ef115897dc12"
|
119
|
-
},
|
120
|
-
"name" : "configuration",
|
121
|
-
"identityHash" : "db85f6b08996789d6b315151197ef115897dc12",
|
122
|
-
"value" : {
|
123
|
-
"Username" : "sa",
|
124
|
-
"Driver Name" : "h2",
|
125
|
-
"JNDI Name" : "java:jboss/datasources/ExampleDS",
|
126
|
-
"Connection URL" : "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE",
|
127
|
-
"Enabled" : "true",
|
128
|
-
"Password" : "sa"
|
129
|
-
}
|
130
|
-
}
|
131
|
-
http_version:
|
132
|
-
recorded_at: Wed, 10 Aug 2016 22:35:49 GMT
|
133
|
-
recorded_with: VCR 3.0.3
|
@@ -1,59 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/feed
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"properties":{},"id":"feed_1123sdncisud6237ui23hjbdscuzsad","name":null,"outgoing":{},"incoming":{}}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- identity
|
14
|
-
User-Agent:
|
15
|
-
- hawkular-client-ruby
|
16
|
-
Hawkular-Tenant:
|
17
|
-
- hawkular
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
Content-Length:
|
21
|
-
- '101'
|
22
|
-
Host:
|
23
|
-
- 127.0.0.1:8443
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 201
|
27
|
-
message: Created
|
28
|
-
headers:
|
29
|
-
Expires:
|
30
|
-
- '0'
|
31
|
-
Cache-Control:
|
32
|
-
- no-cache, no-store, must-revalidate
|
33
|
-
X-Powered-By:
|
34
|
-
- Undertow/1
|
35
|
-
Server:
|
36
|
-
- WildFly/10
|
37
|
-
Pragma:
|
38
|
-
- no-cache
|
39
|
-
Location:
|
40
|
-
- https://127.0.0.1:8443/hawkular/inventory/entity/f;feed_1123sdncisud6237ui23hjbdscuzsad
|
41
|
-
Date:
|
42
|
-
- Wed, 10 Aug 2016 22:35:50 GMT
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Type:
|
46
|
-
- application/json
|
47
|
-
Content-Length:
|
48
|
-
- '178'
|
49
|
-
body:
|
50
|
-
encoding: UTF-8
|
51
|
-
string: |-
|
52
|
-
{
|
53
|
-
"path" : "/t;hawkular/f;feed_1123sdncisud6237ui23hjbdscuzsad",
|
54
|
-
"identityHash" : "c5ef96a36ea11f6a72066f685b5d1d8b9d1daaf",
|
55
|
-
"id" : "feed_1123sdncisud6237ui23hjbdscuzsad"
|
56
|
-
}
|
57
|
-
http_version:
|
58
|
-
recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
|
59
|
-
recorded_with: VCR 3.0.3
|
data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed_again.yml
DELETED
@@ -1,181 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/feed
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"properties":{},"id":"feed_1123sdncisud6237ui2378789vvgX","name":null,"outgoing":{},"incoming":{}}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- identity
|
14
|
-
User-Agent:
|
15
|
-
- hawkular-client-ruby
|
16
|
-
Hawkular-Tenant:
|
17
|
-
- hawkular
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
Content-Length:
|
21
|
-
- '99'
|
22
|
-
Host:
|
23
|
-
- 127.0.0.1:8443
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 201
|
27
|
-
message: Created
|
28
|
-
headers:
|
29
|
-
Expires:
|
30
|
-
- '0'
|
31
|
-
Cache-Control:
|
32
|
-
- no-cache, no-store, must-revalidate
|
33
|
-
X-Powered-By:
|
34
|
-
- Undertow/1
|
35
|
-
Server:
|
36
|
-
- WildFly/10
|
37
|
-
Pragma:
|
38
|
-
- no-cache
|
39
|
-
Location:
|
40
|
-
- https://127.0.0.1:8443/hawkular/inventory/entity/f;feed_1123sdncisud6237ui2378789vvgX
|
41
|
-
Date:
|
42
|
-
- Wed, 10 Aug 2016 22:35:50 GMT
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Type:
|
46
|
-
- application/json
|
47
|
-
Content-Length:
|
48
|
-
- '173'
|
49
|
-
body:
|
50
|
-
encoding: UTF-8
|
51
|
-
string: |-
|
52
|
-
{
|
53
|
-
"path" : "/t;hawkular/f;feed_1123sdncisud6237ui2378789vvgX",
|
54
|
-
"identityHash" : "55d3efb84276a901e3b5418316643249b078ab",
|
55
|
-
"id" : "feed_1123sdncisud6237ui2378789vvgX"
|
56
|
-
}
|
57
|
-
http_version:
|
58
|
-
recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
|
59
|
-
- request:
|
60
|
-
method: post
|
61
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/feed
|
62
|
-
body:
|
63
|
-
encoding: UTF-8
|
64
|
-
string: '{"properties":{},"id":"feed_1123sdncisud6237ui2378789vvgX","name":null,"outgoing":{},"incoming":{}}'
|
65
|
-
headers:
|
66
|
-
Accept:
|
67
|
-
- application/json
|
68
|
-
Accept-Encoding:
|
69
|
-
- identity
|
70
|
-
User-Agent:
|
71
|
-
- hawkular-client-ruby
|
72
|
-
Hawkular-Tenant:
|
73
|
-
- hawkular
|
74
|
-
Content-Type:
|
75
|
-
- application/json
|
76
|
-
Content-Length:
|
77
|
-
- '99'
|
78
|
-
Host:
|
79
|
-
- 127.0.0.1:8443
|
80
|
-
response:
|
81
|
-
status:
|
82
|
-
code: 409
|
83
|
-
message: Conflict
|
84
|
-
headers:
|
85
|
-
Expires:
|
86
|
-
- '0'
|
87
|
-
Cache-Control:
|
88
|
-
- no-cache, no-store, must-revalidate
|
89
|
-
X-Powered-By:
|
90
|
-
- Undertow/1
|
91
|
-
Server:
|
92
|
-
- WildFly/10
|
93
|
-
Pragma:
|
94
|
-
- no-cache
|
95
|
-
Date:
|
96
|
-
- Wed, 10 Aug 2016 22:35:50 GMT
|
97
|
-
Connection:
|
98
|
-
- keep-alive
|
99
|
-
Content-Type:
|
100
|
-
- application/json
|
101
|
-
Content-Length:
|
102
|
-
- '763'
|
103
|
-
body:
|
104
|
-
encoding: UTF-8
|
105
|
-
string: |-
|
106
|
-
{
|
107
|
-
"errorMsg" : "Feed with id 'Feed[path='/t;hawkular/f;feed_1123sdncisud6237ui2378789vvgX']' has been already registered. Entity with id 'feed_1123sdncisud6237ui2378789vvgX' already exists at some of the positions: [[Types[Tenant], Ids[hawkular], Related[, rel='contains', role=SOURCE], Types[Feed], Ids[feed_1123sdncisud6237ui2378789vvgX]]]",
|
108
|
-
"details" : {
|
109
|
-
"entityId" : "feed_1123sdncisud6237ui2378789vvgX",
|
110
|
-
"paths" : [ [ {
|
111
|
-
"types" : [ "org.hawkular.inventory.api.model.Tenant" ]
|
112
|
-
}, {
|
113
|
-
"ids" : [ "hawkular" ]
|
114
|
-
}, {
|
115
|
-
"relationshipName" : "contains",
|
116
|
-
"entityRole" : "SOURCE"
|
117
|
-
}, {
|
118
|
-
"types" : [ "org.hawkular.inventory.api.model.Feed" ]
|
119
|
-
}, {
|
120
|
-
"ids" : [ "feed_1123sdncisud6237ui2378789vvgX" ]
|
121
|
-
} ] ]
|
122
|
-
}
|
123
|
-
}
|
124
|
-
http_version:
|
125
|
-
recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
|
126
|
-
- request:
|
127
|
-
method: get
|
128
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_1123sdncisud6237ui2378789vvgX
|
129
|
-
body:
|
130
|
-
encoding: US-ASCII
|
131
|
-
string: ''
|
132
|
-
headers:
|
133
|
-
Accept:
|
134
|
-
- application/json
|
135
|
-
Accept-Encoding:
|
136
|
-
- identity
|
137
|
-
User-Agent:
|
138
|
-
- hawkular-client-ruby
|
139
|
-
Hawkular-Tenant:
|
140
|
-
- hawkular
|
141
|
-
Content-Type:
|
142
|
-
- application/json
|
143
|
-
Host:
|
144
|
-
- 127.0.0.1:8443
|
145
|
-
response:
|
146
|
-
status:
|
147
|
-
code: 200
|
148
|
-
message: OK
|
149
|
-
headers:
|
150
|
-
Expires:
|
151
|
-
- '0'
|
152
|
-
Cache-Control:
|
153
|
-
- no-cache, no-store, must-revalidate
|
154
|
-
X-Powered-By:
|
155
|
-
- Undertow/1
|
156
|
-
Server:
|
157
|
-
- WildFly/10
|
158
|
-
Pragma:
|
159
|
-
- no-cache
|
160
|
-
Date:
|
161
|
-
- Wed, 10 Aug 2016 22:35:50 GMT
|
162
|
-
Connection:
|
163
|
-
- keep-alive
|
164
|
-
Content-Type:
|
165
|
-
- application/json
|
166
|
-
Content-Length:
|
167
|
-
- '261'
|
168
|
-
body:
|
169
|
-
encoding: UTF-8
|
170
|
-
string: |-
|
171
|
-
{
|
172
|
-
"path" : "/t;hawkular/f;feed_1123sdncisud6237ui2378789vvgX",
|
173
|
-
"properties" : {
|
174
|
-
"__identityHash" : "55d3efb84276a901e3b5418316643249b078ab"
|
175
|
-
},
|
176
|
-
"identityHash" : "55d3efb84276a901e3b5418316643249b078ab",
|
177
|
-
"id" : "feed_1123sdncisud6237ui2378789vvgX"
|
178
|
-
}
|
179
|
-
http_version:
|
180
|
-
recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
|
181
|
-
recorded_with: VCR 3.0.3
|
@@ -1,664 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/feed
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"properties":{},"id":"Secure_feed_may_exist","name":null,"outgoing":{},"incoming":{}}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- identity
|
14
|
-
User-Agent:
|
15
|
-
- hawkular-client-ruby
|
16
|
-
Hawkular-Tenant:
|
17
|
-
- hawkular
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
Content-Length:
|
21
|
-
- '86'
|
22
|
-
Host:
|
23
|
-
- 127.0.0.1:8443
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 201
|
27
|
-
message: Created
|
28
|
-
headers:
|
29
|
-
Expires:
|
30
|
-
- '0'
|
31
|
-
Cache-Control:
|
32
|
-
- no-cache, no-store, must-revalidate
|
33
|
-
X-Powered-By:
|
34
|
-
- Undertow/1
|
35
|
-
Server:
|
36
|
-
- WildFly/10
|
37
|
-
Pragma:
|
38
|
-
- no-cache
|
39
|
-
Location:
|
40
|
-
- https://127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist
|
41
|
-
Date:
|
42
|
-
- Wed, 10 Aug 2016 22:35:52 GMT
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Type:
|
46
|
-
- application/json
|
47
|
-
Content-Length:
|
48
|
-
- '147'
|
49
|
-
body:
|
50
|
-
encoding: UTF-8
|
51
|
-
string: |-
|
52
|
-
{
|
53
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist",
|
54
|
-
"identityHash" : "68e7c253d97d52d5a4e412a0297567440ba5f5",
|
55
|
-
"id" : "Secure_feed_may_exist"
|
56
|
-
}
|
57
|
-
http_version:
|
58
|
-
recorded_at: Wed, 10 Aug 2016 22:35:52 GMT
|
59
|
-
- request:
|
60
|
-
method: post
|
61
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/resourceType
|
62
|
-
body:
|
63
|
-
encoding: UTF-8
|
64
|
-
string: '{"properties":{},"id":"rt-123-1","name":"ResourceType","outgoing":{},"incoming":{}}'
|
65
|
-
headers:
|
66
|
-
Accept:
|
67
|
-
- application/json
|
68
|
-
Accept-Encoding:
|
69
|
-
- identity
|
70
|
-
User-Agent:
|
71
|
-
- hawkular-client-ruby
|
72
|
-
Hawkular-Tenant:
|
73
|
-
- hawkular
|
74
|
-
Content-Type:
|
75
|
-
- application/json
|
76
|
-
Content-Length:
|
77
|
-
- '83'
|
78
|
-
Host:
|
79
|
-
- 127.0.0.1:8443
|
80
|
-
response:
|
81
|
-
status:
|
82
|
-
code: 201
|
83
|
-
message: Created
|
84
|
-
headers:
|
85
|
-
Expires:
|
86
|
-
- '0'
|
87
|
-
Cache-Control:
|
88
|
-
- no-cache, no-store, must-revalidate
|
89
|
-
X-Powered-By:
|
90
|
-
- Undertow/1
|
91
|
-
Server:
|
92
|
-
- WildFly/10
|
93
|
-
Pragma:
|
94
|
-
- no-cache
|
95
|
-
Location:
|
96
|
-
- https://127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/rt;rt-123-1
|
97
|
-
Date:
|
98
|
-
- Wed, 10 Aug 2016 22:35:52 GMT
|
99
|
-
Connection:
|
100
|
-
- keep-alive
|
101
|
-
Content-Type:
|
102
|
-
- application/json
|
103
|
-
Content-Length:
|
104
|
-
- '172'
|
105
|
-
body:
|
106
|
-
encoding: UTF-8
|
107
|
-
string: |-
|
108
|
-
{
|
109
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/rt;rt-123-1",
|
110
|
-
"name" : "ResourceType",
|
111
|
-
"identityHash" : "5c475fba1eab01a3f0fbabfbe0efac752aeb7",
|
112
|
-
"id" : "rt-123-1"
|
113
|
-
}
|
114
|
-
http_version:
|
115
|
-
recorded_at: Wed, 10 Aug 2016 22:35:52 GMT
|
116
|
-
- request:
|
117
|
-
method: get
|
118
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/rt;rt-123-1
|
119
|
-
body:
|
120
|
-
encoding: US-ASCII
|
121
|
-
string: ''
|
122
|
-
headers:
|
123
|
-
Accept:
|
124
|
-
- application/json
|
125
|
-
Accept-Encoding:
|
126
|
-
- identity
|
127
|
-
User-Agent:
|
128
|
-
- hawkular-client-ruby
|
129
|
-
Hawkular-Tenant:
|
130
|
-
- hawkular
|
131
|
-
Content-Type:
|
132
|
-
- application/json
|
133
|
-
Host:
|
134
|
-
- 127.0.0.1:8443
|
135
|
-
response:
|
136
|
-
status:
|
137
|
-
code: 200
|
138
|
-
message: OK
|
139
|
-
headers:
|
140
|
-
Expires:
|
141
|
-
- '0'
|
142
|
-
Cache-Control:
|
143
|
-
- no-cache, no-store, must-revalidate
|
144
|
-
X-Powered-By:
|
145
|
-
- Undertow/1
|
146
|
-
Server:
|
147
|
-
- WildFly/10
|
148
|
-
Pragma:
|
149
|
-
- no-cache
|
150
|
-
Date:
|
151
|
-
- Wed, 10 Aug 2016 22:35:52 GMT
|
152
|
-
Connection:
|
153
|
-
- keep-alive
|
154
|
-
Content-Type:
|
155
|
-
- application/json
|
156
|
-
Content-Length:
|
157
|
-
- '172'
|
158
|
-
body:
|
159
|
-
encoding: UTF-8
|
160
|
-
string: |-
|
161
|
-
{
|
162
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/rt;rt-123-1",
|
163
|
-
"name" : "ResourceType",
|
164
|
-
"identityHash" : "5c475fba1eab01a3f0fbabfbe0efac752aeb7",
|
165
|
-
"id" : "rt-123-1"
|
166
|
-
}
|
167
|
-
http_version:
|
168
|
-
recorded_at: Wed, 10 Aug 2016 22:35:52 GMT
|
169
|
-
- request:
|
170
|
-
method: post
|
171
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/resource
|
172
|
-
body:
|
173
|
-
encoding: UTF-8
|
174
|
-
string: '{"properties":{},"id":"r124-a","name":"Res-a","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;Secure_feed_may_exist/rt;rt-123-1"}'
|
175
|
-
headers:
|
176
|
-
Accept:
|
177
|
-
- application/json
|
178
|
-
Accept-Encoding:
|
179
|
-
- identity
|
180
|
-
User-Agent:
|
181
|
-
- hawkular-client-ruby
|
182
|
-
Hawkular-Tenant:
|
183
|
-
- hawkular
|
184
|
-
Content-Type:
|
185
|
-
- application/json
|
186
|
-
Content-Length:
|
187
|
-
- '143'
|
188
|
-
Host:
|
189
|
-
- 127.0.0.1:8443
|
190
|
-
response:
|
191
|
-
status:
|
192
|
-
code: 201
|
193
|
-
message: Created
|
194
|
-
headers:
|
195
|
-
Expires:
|
196
|
-
- '0'
|
197
|
-
Cache-Control:
|
198
|
-
- no-cache, no-store, must-revalidate
|
199
|
-
X-Powered-By:
|
200
|
-
- Undertow/1
|
201
|
-
Server:
|
202
|
-
- WildFly/10
|
203
|
-
Pragma:
|
204
|
-
- no-cache
|
205
|
-
Location:
|
206
|
-
- https://127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/r;r124-a
|
207
|
-
Date:
|
208
|
-
- Wed, 10 Aug 2016 22:35:52 GMT
|
209
|
-
Connection:
|
210
|
-
- keep-alive
|
211
|
-
Content-Type:
|
212
|
-
- application/json
|
213
|
-
Content-Length:
|
214
|
-
- '357'
|
215
|
-
body:
|
216
|
-
encoding: UTF-8
|
217
|
-
string: |-
|
218
|
-
{
|
219
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/r;r124-a",
|
220
|
-
"name" : "Res-a",
|
221
|
-
"identityHash" : "e07eef8c1a65533438b95acac69cfe2d09b75ca",
|
222
|
-
"type" : {
|
223
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/rt;rt-123-1",
|
224
|
-
"name" : "ResourceType",
|
225
|
-
"identityHash" : "5c475fba1eab01a3f0fbabfbe0efac752aeb7",
|
226
|
-
"id" : "rt-123-1"
|
227
|
-
},
|
228
|
-
"id" : "r124-a"
|
229
|
-
}
|
230
|
-
http_version:
|
231
|
-
recorded_at: Wed, 10 Aug 2016 22:35:52 GMT
|
232
|
-
- request:
|
233
|
-
method: post
|
234
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/r;r124-a/resource
|
235
|
-
body:
|
236
|
-
encoding: UTF-8
|
237
|
-
string: '{"properties":{},"id":"r124-b","name":"Res-a","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;Secure_feed_may_exist/rt;rt-123-1"}'
|
238
|
-
headers:
|
239
|
-
Accept:
|
240
|
-
- application/json
|
241
|
-
Accept-Encoding:
|
242
|
-
- identity
|
243
|
-
User-Agent:
|
244
|
-
- hawkular-client-ruby
|
245
|
-
Hawkular-Tenant:
|
246
|
-
- hawkular
|
247
|
-
Content-Type:
|
248
|
-
- application/json
|
249
|
-
Content-Length:
|
250
|
-
- '143'
|
251
|
-
Host:
|
252
|
-
- 127.0.0.1:8443
|
253
|
-
response:
|
254
|
-
status:
|
255
|
-
code: 201
|
256
|
-
message: Created
|
257
|
-
headers:
|
258
|
-
Expires:
|
259
|
-
- '0'
|
260
|
-
Cache-Control:
|
261
|
-
- no-cache, no-store, must-revalidate
|
262
|
-
X-Powered-By:
|
263
|
-
- Undertow/1
|
264
|
-
Server:
|
265
|
-
- WildFly/10
|
266
|
-
Pragma:
|
267
|
-
- no-cache
|
268
|
-
Location:
|
269
|
-
- https://127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/r;r124-a/r;r124-b
|
270
|
-
Date:
|
271
|
-
- Wed, 10 Aug 2016 22:35:52 GMT
|
272
|
-
Connection:
|
273
|
-
- keep-alive
|
274
|
-
Content-Type:
|
275
|
-
- application/json
|
276
|
-
Content-Length:
|
277
|
-
- '365'
|
278
|
-
body:
|
279
|
-
encoding: UTF-8
|
280
|
-
string: |-
|
281
|
-
{
|
282
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/r;r124-a/r;r124-b",
|
283
|
-
"name" : "Res-a",
|
284
|
-
"identityHash" : "8250626a081e4efe5a53fde75a06a2b81b30dd",
|
285
|
-
"type" : {
|
286
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/rt;rt-123-1",
|
287
|
-
"name" : "ResourceType",
|
288
|
-
"identityHash" : "5c475fba1eab01a3f0fbabfbe0efac752aeb7",
|
289
|
-
"id" : "rt-123-1"
|
290
|
-
},
|
291
|
-
"id" : "r124-b"
|
292
|
-
}
|
293
|
-
http_version:
|
294
|
-
recorded_at: Wed, 10 Aug 2016 22:35:52 GMT
|
295
|
-
- request:
|
296
|
-
method: post
|
297
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/metricType
|
298
|
-
body:
|
299
|
-
encoding: UTF-8
|
300
|
-
string: '{"id":"mt-124-a","type":"GAUGE","unit":"NONE","collectionInterval":60}'
|
301
|
-
headers:
|
302
|
-
Accept:
|
303
|
-
- application/json
|
304
|
-
Accept-Encoding:
|
305
|
-
- identity
|
306
|
-
User-Agent:
|
307
|
-
- hawkular-client-ruby
|
308
|
-
Hawkular-Tenant:
|
309
|
-
- hawkular
|
310
|
-
Content-Type:
|
311
|
-
- application/json
|
312
|
-
Content-Length:
|
313
|
-
- '70'
|
314
|
-
Host:
|
315
|
-
- 127.0.0.1:8443
|
316
|
-
response:
|
317
|
-
status:
|
318
|
-
code: 201
|
319
|
-
message: Created
|
320
|
-
headers:
|
321
|
-
Expires:
|
322
|
-
- '0'
|
323
|
-
Cache-Control:
|
324
|
-
- no-cache, no-store, must-revalidate
|
325
|
-
X-Powered-By:
|
326
|
-
- Undertow/1
|
327
|
-
Server:
|
328
|
-
- WildFly/10
|
329
|
-
Pragma:
|
330
|
-
- no-cache
|
331
|
-
Location:
|
332
|
-
- https://127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/mt;mt-124-a
|
333
|
-
Date:
|
334
|
-
- Wed, 10 Aug 2016 22:35:52 GMT
|
335
|
-
Connection:
|
336
|
-
- keep-alive
|
337
|
-
Content-Type:
|
338
|
-
- application/json
|
339
|
-
Content-Length:
|
340
|
-
- '215'
|
341
|
-
body:
|
342
|
-
encoding: UTF-8
|
343
|
-
string: |-
|
344
|
-
{
|
345
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/mt;mt-124-a",
|
346
|
-
"identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
|
347
|
-
"unit" : "NONE",
|
348
|
-
"type" : "GAUGE",
|
349
|
-
"collectionInterval" : 60,
|
350
|
-
"id" : "mt-124-a"
|
351
|
-
}
|
352
|
-
http_version:
|
353
|
-
recorded_at: Wed, 10 Aug 2016 22:35:52 GMT
|
354
|
-
- request:
|
355
|
-
method: get
|
356
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/mt;mt-124-a
|
357
|
-
body:
|
358
|
-
encoding: US-ASCII
|
359
|
-
string: ''
|
360
|
-
headers:
|
361
|
-
Accept:
|
362
|
-
- application/json
|
363
|
-
Accept-Encoding:
|
364
|
-
- identity
|
365
|
-
User-Agent:
|
366
|
-
- hawkular-client-ruby
|
367
|
-
Hawkular-Tenant:
|
368
|
-
- hawkular
|
369
|
-
Content-Type:
|
370
|
-
- application/json
|
371
|
-
Host:
|
372
|
-
- 127.0.0.1:8443
|
373
|
-
response:
|
374
|
-
status:
|
375
|
-
code: 200
|
376
|
-
message: OK
|
377
|
-
headers:
|
378
|
-
Expires:
|
379
|
-
- '0'
|
380
|
-
Cache-Control:
|
381
|
-
- no-cache, no-store, must-revalidate
|
382
|
-
X-Powered-By:
|
383
|
-
- Undertow/1
|
384
|
-
Server:
|
385
|
-
- WildFly/10
|
386
|
-
Pragma:
|
387
|
-
- no-cache
|
388
|
-
Date:
|
389
|
-
- Wed, 10 Aug 2016 22:35:52 GMT
|
390
|
-
Connection:
|
391
|
-
- keep-alive
|
392
|
-
Content-Type:
|
393
|
-
- application/json
|
394
|
-
Content-Length:
|
395
|
-
- '215'
|
396
|
-
body:
|
397
|
-
encoding: UTF-8
|
398
|
-
string: |-
|
399
|
-
{
|
400
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/mt;mt-124-a",
|
401
|
-
"identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
|
402
|
-
"unit" : "NONE",
|
403
|
-
"type" : "GAUGE",
|
404
|
-
"collectionInterval" : 60,
|
405
|
-
"id" : "mt-124-a"
|
406
|
-
}
|
407
|
-
http_version:
|
408
|
-
recorded_at: Wed, 10 Aug 2016 22:35:52 GMT
|
409
|
-
- request:
|
410
|
-
method: post
|
411
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/metric
|
412
|
-
body:
|
413
|
-
encoding: UTF-8
|
414
|
-
string: '{"id":"m-124-a","name":"MetricUnderNestedResource","metricTypePath":"/t;hawkular/f;Secure_feed_may_exist/mt;mt-124-a"}'
|
415
|
-
headers:
|
416
|
-
Accept:
|
417
|
-
- application/json
|
418
|
-
Accept-Encoding:
|
419
|
-
- identity
|
420
|
-
User-Agent:
|
421
|
-
- hawkular-client-ruby
|
422
|
-
Hawkular-Tenant:
|
423
|
-
- hawkular
|
424
|
-
Content-Type:
|
425
|
-
- application/json
|
426
|
-
Content-Length:
|
427
|
-
- '118'
|
428
|
-
Host:
|
429
|
-
- 127.0.0.1:8443
|
430
|
-
response:
|
431
|
-
status:
|
432
|
-
code: 201
|
433
|
-
message: Created
|
434
|
-
headers:
|
435
|
-
Expires:
|
436
|
-
- '0'
|
437
|
-
Cache-Control:
|
438
|
-
- no-cache, no-store, must-revalidate
|
439
|
-
X-Powered-By:
|
440
|
-
- Undertow/1
|
441
|
-
Server:
|
442
|
-
- WildFly/10
|
443
|
-
Pragma:
|
444
|
-
- no-cache
|
445
|
-
Location:
|
446
|
-
- https://127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/m;m-124-a
|
447
|
-
Date:
|
448
|
-
- Wed, 10 Aug 2016 22:35:53 GMT
|
449
|
-
Connection:
|
450
|
-
- keep-alive
|
451
|
-
Content-Type:
|
452
|
-
- application/json
|
453
|
-
Content-Length:
|
454
|
-
- '425'
|
455
|
-
body:
|
456
|
-
encoding: UTF-8
|
457
|
-
string: |-
|
458
|
-
{
|
459
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/m;m-124-a",
|
460
|
-
"name" : "MetricUnderNestedResource",
|
461
|
-
"identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d",
|
462
|
-
"type" : {
|
463
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/mt;mt-124-a",
|
464
|
-
"identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
|
465
|
-
"unit" : "NONE",
|
466
|
-
"type" : "GAUGE",
|
467
|
-
"collectionInterval" : 60,
|
468
|
-
"id" : "mt-124-a"
|
469
|
-
},
|
470
|
-
"id" : "m-124-a"
|
471
|
-
}
|
472
|
-
http_version:
|
473
|
-
recorded_at: Wed, 10 Aug 2016 22:35:53 GMT
|
474
|
-
- request:
|
475
|
-
method: get
|
476
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/m;m-124-a
|
477
|
-
body:
|
478
|
-
encoding: US-ASCII
|
479
|
-
string: ''
|
480
|
-
headers:
|
481
|
-
Accept:
|
482
|
-
- application/json
|
483
|
-
Accept-Encoding:
|
484
|
-
- identity
|
485
|
-
User-Agent:
|
486
|
-
- hawkular-client-ruby
|
487
|
-
Hawkular-Tenant:
|
488
|
-
- hawkular
|
489
|
-
Content-Type:
|
490
|
-
- application/json
|
491
|
-
Host:
|
492
|
-
- 127.0.0.1:8443
|
493
|
-
response:
|
494
|
-
status:
|
495
|
-
code: 200
|
496
|
-
message: OK
|
497
|
-
headers:
|
498
|
-
Expires:
|
499
|
-
- '0'
|
500
|
-
Cache-Control:
|
501
|
-
- no-cache, no-store, must-revalidate
|
502
|
-
X-Powered-By:
|
503
|
-
- Undertow/1
|
504
|
-
Server:
|
505
|
-
- WildFly/10
|
506
|
-
Pragma:
|
507
|
-
- no-cache
|
508
|
-
Date:
|
509
|
-
- Wed, 10 Aug 2016 22:35:53 GMT
|
510
|
-
Connection:
|
511
|
-
- keep-alive
|
512
|
-
Content-Type:
|
513
|
-
- application/json
|
514
|
-
Content-Length:
|
515
|
-
- '513'
|
516
|
-
body:
|
517
|
-
encoding: UTF-8
|
518
|
-
string: |-
|
519
|
-
{
|
520
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/m;m-124-a",
|
521
|
-
"properties" : {
|
522
|
-
"__identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d"
|
523
|
-
},
|
524
|
-
"name" : "MetricUnderNestedResource",
|
525
|
-
"identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d",
|
526
|
-
"type" : {
|
527
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/mt;mt-124-a",
|
528
|
-
"identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
|
529
|
-
"unit" : "NONE",
|
530
|
-
"type" : "GAUGE",
|
531
|
-
"collectionInterval" : 60,
|
532
|
-
"id" : "mt-124-a"
|
533
|
-
},
|
534
|
-
"id" : "m-124-a"
|
535
|
-
}
|
536
|
-
http_version:
|
537
|
-
recorded_at: Wed, 10 Aug 2016 22:35:53 GMT
|
538
|
-
- request:
|
539
|
-
method: post
|
540
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/r;r124-a/r;r124-b/relationship
|
541
|
-
body:
|
542
|
-
encoding: UTF-8
|
543
|
-
string: '[{"otherEnd":"/t;hawkular/f;Secure_feed_may_exist/m;m-124-a","name":"incorporates"}]'
|
544
|
-
headers:
|
545
|
-
Accept:
|
546
|
-
- application/json
|
547
|
-
Accept-Encoding:
|
548
|
-
- identity
|
549
|
-
User-Agent:
|
550
|
-
- hawkular-client-ruby
|
551
|
-
Hawkular-Tenant:
|
552
|
-
- hawkular
|
553
|
-
Content-Type:
|
554
|
-
- application/json
|
555
|
-
Content-Length:
|
556
|
-
- '84'
|
557
|
-
Host:
|
558
|
-
- 127.0.0.1:8443
|
559
|
-
response:
|
560
|
-
status:
|
561
|
-
code: 201
|
562
|
-
message: Created
|
563
|
-
headers:
|
564
|
-
Expires:
|
565
|
-
- '0'
|
566
|
-
Cache-Control:
|
567
|
-
- no-cache, no-store, must-revalidate
|
568
|
-
X-Powered-By:
|
569
|
-
- Undertow/1
|
570
|
-
Server:
|
571
|
-
- WildFly/10
|
572
|
-
Pragma:
|
573
|
-
- no-cache
|
574
|
-
Location:
|
575
|
-
- https://127.0.0.1:8443/hawkular/inventory/entity/rl;4om4g-38jk0-8tn9-38kxs
|
576
|
-
Date:
|
577
|
-
- Wed, 10 Aug 2016 22:35:53 GMT
|
578
|
-
Connection:
|
579
|
-
- keep-alive
|
580
|
-
Content-Type:
|
581
|
-
- application/json
|
582
|
-
Content-Length:
|
583
|
-
- '200'
|
584
|
-
body:
|
585
|
-
encoding: UTF-8
|
586
|
-
string: |-
|
587
|
-
[ {
|
588
|
-
"id" : "4om4g-38jk0-8tn9-38kxs",
|
589
|
-
"name" : "incorporates",
|
590
|
-
"source" : "/t;hawkular/f;Secure_feed_may_exist/r;r124-a/r;r124-b",
|
591
|
-
"target" : "/t;hawkular/f;Secure_feed_may_exist/m;m-124-a"
|
592
|
-
} ]
|
593
|
-
http_version:
|
594
|
-
recorded_at: Wed, 10 Aug 2016 22:35:53 GMT
|
595
|
-
- request:
|
596
|
-
method: get
|
597
|
-
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/traversal/f;Secure_feed_may_exist/r;r124-a/r;r124-b/rl;incorporates/type=m?sort=id
|
598
|
-
body:
|
599
|
-
encoding: US-ASCII
|
600
|
-
string: ''
|
601
|
-
headers:
|
602
|
-
Accept:
|
603
|
-
- application/json
|
604
|
-
Accept-Encoding:
|
605
|
-
- identity
|
606
|
-
User-Agent:
|
607
|
-
- hawkular-client-ruby
|
608
|
-
Hawkular-Tenant:
|
609
|
-
- hawkular
|
610
|
-
Content-Type:
|
611
|
-
- application/json
|
612
|
-
Host:
|
613
|
-
- 127.0.0.1:8443
|
614
|
-
response:
|
615
|
-
status:
|
616
|
-
code: 200
|
617
|
-
message: OK
|
618
|
-
headers:
|
619
|
-
Expires:
|
620
|
-
- '0'
|
621
|
-
Cache-Control:
|
622
|
-
- no-cache, no-store, must-revalidate
|
623
|
-
X-Powered-By:
|
624
|
-
- Undertow/1
|
625
|
-
Server:
|
626
|
-
- WildFly/10
|
627
|
-
Pragma:
|
628
|
-
- no-cache
|
629
|
-
Date:
|
630
|
-
- Wed, 10 Aug 2016 22:35:53 GMT
|
631
|
-
X-Total-Count:
|
632
|
-
- '1'
|
633
|
-
Connection:
|
634
|
-
- keep-alive
|
635
|
-
Content-Type:
|
636
|
-
- application/json
|
637
|
-
Content-Length:
|
638
|
-
- '517'
|
639
|
-
Link:
|
640
|
-
- <https://127.0.0.1:8443/hawkular/inventory/traversal/f;Secure_feed_may_exist/r;r124-a/r;r124-b/rl;incorporates/type=m?sort=id>;
|
641
|
-
rel="current"
|
642
|
-
body:
|
643
|
-
encoding: UTF-8
|
644
|
-
string: |-
|
645
|
-
[ {
|
646
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/m;m-124-a",
|
647
|
-
"properties" : {
|
648
|
-
"__identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d"
|
649
|
-
},
|
650
|
-
"name" : "MetricUnderNestedResource",
|
651
|
-
"identityHash" : "a1b19656c43bdbe28261eccf33269e7f3bf88d",
|
652
|
-
"type" : {
|
653
|
-
"path" : "/t;hawkular/f;Secure_feed_may_exist/mt;mt-124-a",
|
654
|
-
"identityHash" : "b06c658d2341eedf26fcff6667bcf3b2556c994",
|
655
|
-
"unit" : "NONE",
|
656
|
-
"type" : "GAUGE",
|
657
|
-
"collectionInterval" : 60,
|
658
|
-
"id" : "mt-124-a"
|
659
|
-
},
|
660
|
-
"id" : "m-124-a"
|
661
|
-
} ]
|
662
|
-
http_version:
|
663
|
-
recorded_at: Wed, 10 Aug 2016 22:35:53 GMT
|
664
|
-
recorded_with: VCR 3.0.3
|