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
data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_resource.yml
DELETED
@@ -1,360 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/feed
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"properties":{},"id":"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
|
-
- '79'
|
22
|
-
Host:
|
23
|
-
- localhost:8080
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 409
|
27
|
-
message: Conflict
|
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
|
-
Date:
|
40
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
41
|
-
Connection:
|
42
|
-
- keep-alive
|
43
|
-
Content-Type:
|
44
|
-
- application/json
|
45
|
-
Content-Length:
|
46
|
-
- '663'
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: |-
|
50
|
-
{
|
51
|
-
"errorMsg" : "Feed with id 'Feed[path='/t;hawkular/f;feed_may_exist']' has been already registered. Entity with id 'feed_may_exist' already exists at some of the positions: [[Types[Tenant], Ids[hawkular], Related[, rel='contains', role=SOURCE], Types[Feed], Ids[feed_may_exist]]]",
|
52
|
-
"details" : {
|
53
|
-
"entityId" : "feed_may_exist",
|
54
|
-
"paths" : [ [ {
|
55
|
-
"types" : [ "org.hawkular.inventory.api.model.Tenant" ]
|
56
|
-
}, {
|
57
|
-
"ids" : [ "hawkular" ]
|
58
|
-
}, {
|
59
|
-
"relationshipName" : "contains",
|
60
|
-
"entityRole" : "SOURCE"
|
61
|
-
}, {
|
62
|
-
"types" : [ "org.hawkular.inventory.api.model.Feed" ]
|
63
|
-
}, {
|
64
|
-
"ids" : [ "feed_may_exist" ]
|
65
|
-
} ] ]
|
66
|
-
}
|
67
|
-
}
|
68
|
-
http_version:
|
69
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
70
|
-
- request:
|
71
|
-
method: get
|
72
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist
|
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
|
-
- localhost:8080
|
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:38 GMT
|
106
|
-
Connection:
|
107
|
-
- keep-alive
|
108
|
-
Content-Type:
|
109
|
-
- application/json
|
110
|
-
Content-Length:
|
111
|
-
- '225'
|
112
|
-
body:
|
113
|
-
encoding: UTF-8
|
114
|
-
string: |-
|
115
|
-
{
|
116
|
-
"path" : "/t;hawkular/f;feed_may_exist",
|
117
|
-
"properties" : {
|
118
|
-
"__identityHash" : "95604cd341ec20d5a059792fbc18603bf754fbcc"
|
119
|
-
},
|
120
|
-
"identityHash" : "95604cd341ec20d5a059792fbc18603bf754fbcc",
|
121
|
-
"id" : "feed_may_exist"
|
122
|
-
}
|
123
|
-
http_version:
|
124
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
125
|
-
- request:
|
126
|
-
method: post
|
127
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/resourceType
|
128
|
-
body:
|
129
|
-
encoding: UTF-8
|
130
|
-
string: '{"properties":{},"id":"rt-123","name":"ResourceType","outgoing":{},"incoming":{}}'
|
131
|
-
headers:
|
132
|
-
Accept:
|
133
|
-
- application/json
|
134
|
-
Accept-Encoding:
|
135
|
-
- identity
|
136
|
-
User-Agent:
|
137
|
-
- hawkular-client-ruby
|
138
|
-
Hawkular-Tenant:
|
139
|
-
- hawkular
|
140
|
-
Content-Type:
|
141
|
-
- application/json
|
142
|
-
Content-Length:
|
143
|
-
- '81'
|
144
|
-
Host:
|
145
|
-
- localhost:8080
|
146
|
-
response:
|
147
|
-
status:
|
148
|
-
code: 409
|
149
|
-
message: Conflict
|
150
|
-
headers:
|
151
|
-
Expires:
|
152
|
-
- '0'
|
153
|
-
Cache-Control:
|
154
|
-
- no-cache, no-store, must-revalidate
|
155
|
-
X-Powered-By:
|
156
|
-
- Undertow/1
|
157
|
-
Server:
|
158
|
-
- WildFly/10
|
159
|
-
Pragma:
|
160
|
-
- no-cache
|
161
|
-
Date:
|
162
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
163
|
-
Connection:
|
164
|
-
- keep-alive
|
165
|
-
Content-Type:
|
166
|
-
- application/json
|
167
|
-
Content-Length:
|
168
|
-
- '107'
|
169
|
-
body:
|
170
|
-
encoding: UTF-8
|
171
|
-
string: |-
|
172
|
-
{
|
173
|
-
"errorMsg" : "Entity with id 'null' already exists at some of the positions: null",
|
174
|
-
"details" : { }
|
175
|
-
}
|
176
|
-
http_version:
|
177
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
178
|
-
- request:
|
179
|
-
method: get
|
180
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/rt;rt-123
|
181
|
-
body:
|
182
|
-
encoding: US-ASCII
|
183
|
-
string: ''
|
184
|
-
headers:
|
185
|
-
Accept:
|
186
|
-
- application/json
|
187
|
-
Accept-Encoding:
|
188
|
-
- identity
|
189
|
-
User-Agent:
|
190
|
-
- hawkular-client-ruby
|
191
|
-
Hawkular-Tenant:
|
192
|
-
- hawkular
|
193
|
-
Content-Type:
|
194
|
-
- application/json
|
195
|
-
Host:
|
196
|
-
- localhost:8080
|
197
|
-
response:
|
198
|
-
status:
|
199
|
-
code: 200
|
200
|
-
message: OK
|
201
|
-
headers:
|
202
|
-
Expires:
|
203
|
-
- '0'
|
204
|
-
Cache-Control:
|
205
|
-
- no-cache, no-store, must-revalidate
|
206
|
-
X-Powered-By:
|
207
|
-
- Undertow/1
|
208
|
-
Server:
|
209
|
-
- WildFly/10
|
210
|
-
Pragma:
|
211
|
-
- no-cache
|
212
|
-
Date:
|
213
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
214
|
-
Connection:
|
215
|
-
- keep-alive
|
216
|
-
Content-Type:
|
217
|
-
- application/json
|
218
|
-
Content-Length:
|
219
|
-
- '162'
|
220
|
-
body:
|
221
|
-
encoding: UTF-8
|
222
|
-
string: |-
|
223
|
-
{
|
224
|
-
"path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
|
225
|
-
"name" : "ResourceType",
|
226
|
-
"identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
|
227
|
-
"id" : "rt-123"
|
228
|
-
}
|
229
|
-
http_version:
|
230
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
231
|
-
- request:
|
232
|
-
method: post
|
233
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/resource
|
234
|
-
body:
|
235
|
-
encoding: UTF-8
|
236
|
-
string: '{"properties":{"version":1.0},"id":"r123","name":"My Resource","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;feed_may_exist/rt;rt-123"}'
|
237
|
-
headers:
|
238
|
-
Accept:
|
239
|
-
- application/json
|
240
|
-
Accept-Encoding:
|
241
|
-
- identity
|
242
|
-
User-Agent:
|
243
|
-
- hawkular-client-ruby
|
244
|
-
Hawkular-Tenant:
|
245
|
-
- hawkular
|
246
|
-
Content-Type:
|
247
|
-
- application/json
|
248
|
-
Content-Length:
|
249
|
-
- '151'
|
250
|
-
Host:
|
251
|
-
- localhost:8080
|
252
|
-
response:
|
253
|
-
status:
|
254
|
-
code: 201
|
255
|
-
message: Created
|
256
|
-
headers:
|
257
|
-
Expires:
|
258
|
-
- '0'
|
259
|
-
Cache-Control:
|
260
|
-
- no-cache, no-store, must-revalidate
|
261
|
-
X-Powered-By:
|
262
|
-
- Undertow/1
|
263
|
-
Server:
|
264
|
-
- WildFly/10
|
265
|
-
Pragma:
|
266
|
-
- no-cache
|
267
|
-
Location:
|
268
|
-
- http://localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r123
|
269
|
-
Date:
|
270
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
271
|
-
Connection:
|
272
|
-
- keep-alive
|
273
|
-
Content-Type:
|
274
|
-
- application/json
|
275
|
-
Content-Length:
|
276
|
-
- '383'
|
277
|
-
body:
|
278
|
-
encoding: UTF-8
|
279
|
-
string: |-
|
280
|
-
{
|
281
|
-
"path" : "/t;hawkular/f;feed_may_exist/r;r123",
|
282
|
-
"properties" : {
|
283
|
-
"version" : 1.0
|
284
|
-
},
|
285
|
-
"name" : "My Resource",
|
286
|
-
"identityHash" : "3be2debda577083937e8830525b1bef4fa48",
|
287
|
-
"type" : {
|
288
|
-
"path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
|
289
|
-
"name" : "ResourceType",
|
290
|
-
"identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
|
291
|
-
"id" : "rt-123"
|
292
|
-
},
|
293
|
-
"id" : "r123"
|
294
|
-
}
|
295
|
-
http_version:
|
296
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
297
|
-
- request:
|
298
|
-
method: get
|
299
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r123
|
300
|
-
body:
|
301
|
-
encoding: US-ASCII
|
302
|
-
string: ''
|
303
|
-
headers:
|
304
|
-
Accept:
|
305
|
-
- application/json
|
306
|
-
Accept-Encoding:
|
307
|
-
- identity
|
308
|
-
User-Agent:
|
309
|
-
- hawkular-client-ruby
|
310
|
-
Hawkular-Tenant:
|
311
|
-
- hawkular
|
312
|
-
Content-Type:
|
313
|
-
- application/json
|
314
|
-
Host:
|
315
|
-
- localhost:8080
|
316
|
-
response:
|
317
|
-
status:
|
318
|
-
code: 200
|
319
|
-
message: OK
|
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
|
-
Date:
|
332
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
333
|
-
Connection:
|
334
|
-
- keep-alive
|
335
|
-
Content-Type:
|
336
|
-
- application/json
|
337
|
-
Content-Length:
|
338
|
-
- '446'
|
339
|
-
body:
|
340
|
-
encoding: UTF-8
|
341
|
-
string: |-
|
342
|
-
{
|
343
|
-
"path" : "/t;hawkular/f;feed_may_exist/r;r123",
|
344
|
-
"properties" : {
|
345
|
-
"__identityHash" : "3be2debda577083937e8830525b1bef4fa48",
|
346
|
-
"version" : 1.0
|
347
|
-
},
|
348
|
-
"name" : "My Resource",
|
349
|
-
"identityHash" : "3be2debda577083937e8830525b1bef4fa48",
|
350
|
-
"type" : {
|
351
|
-
"path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
|
352
|
-
"name" : "ResourceType",
|
353
|
-
"identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
|
354
|
-
"id" : "rt-123"
|
355
|
-
},
|
356
|
-
"id" : "r123"
|
357
|
-
}
|
358
|
-
http_version:
|
359
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
360
|
-
recorded_with: VCR 3.0.3
|
@@ -1,846 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/feed
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"properties":{},"id":"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
|
-
- '79'
|
22
|
-
Host:
|
23
|
-
- localhost:8080
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 409
|
27
|
-
message: Conflict
|
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
|
-
Date:
|
40
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
41
|
-
Connection:
|
42
|
-
- keep-alive
|
43
|
-
Content-Type:
|
44
|
-
- application/json
|
45
|
-
Content-Length:
|
46
|
-
- '663'
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: |-
|
50
|
-
{
|
51
|
-
"errorMsg" : "Feed with id 'Feed[path='/t;hawkular/f;feed_may_exist']' has been already registered. Entity with id 'feed_may_exist' already exists at some of the positions: [[Types[Tenant], Ids[hawkular], Related[, rel='contains', role=SOURCE], Types[Feed], Ids[feed_may_exist]]]",
|
52
|
-
"details" : {
|
53
|
-
"entityId" : "feed_may_exist",
|
54
|
-
"paths" : [ [ {
|
55
|
-
"types" : [ "org.hawkular.inventory.api.model.Tenant" ]
|
56
|
-
}, {
|
57
|
-
"ids" : [ "hawkular" ]
|
58
|
-
}, {
|
59
|
-
"relationshipName" : "contains",
|
60
|
-
"entityRole" : "SOURCE"
|
61
|
-
}, {
|
62
|
-
"types" : [ "org.hawkular.inventory.api.model.Feed" ]
|
63
|
-
}, {
|
64
|
-
"ids" : [ "feed_may_exist" ]
|
65
|
-
} ] ]
|
66
|
-
}
|
67
|
-
}
|
68
|
-
http_version:
|
69
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
70
|
-
- request:
|
71
|
-
method: get
|
72
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist
|
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
|
-
- localhost:8080
|
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:38 GMT
|
106
|
-
Connection:
|
107
|
-
- keep-alive
|
108
|
-
Content-Type:
|
109
|
-
- application/json
|
110
|
-
Content-Length:
|
111
|
-
- '219'
|
112
|
-
body:
|
113
|
-
encoding: UTF-8
|
114
|
-
string: |-
|
115
|
-
{
|
116
|
-
"path" : "/t;hawkular/f;feed_may_exist",
|
117
|
-
"properties" : {
|
118
|
-
"__identityHash" : "74c06ecbd9cadebfda6338c1333995f6cc55b"
|
119
|
-
},
|
120
|
-
"identityHash" : "74c06ecbd9cadebfda6338c1333995f6cc55b",
|
121
|
-
"id" : "feed_may_exist"
|
122
|
-
}
|
123
|
-
http_version:
|
124
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
125
|
-
- request:
|
126
|
-
method: post
|
127
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/resourceType
|
128
|
-
body:
|
129
|
-
encoding: UTF-8
|
130
|
-
string: '{"properties":{},"id":"rt-123","name":"ResourceType","outgoing":{},"incoming":{}}'
|
131
|
-
headers:
|
132
|
-
Accept:
|
133
|
-
- application/json
|
134
|
-
Accept-Encoding:
|
135
|
-
- identity
|
136
|
-
User-Agent:
|
137
|
-
- hawkular-client-ruby
|
138
|
-
Hawkular-Tenant:
|
139
|
-
- hawkular
|
140
|
-
Content-Type:
|
141
|
-
- application/json
|
142
|
-
Content-Length:
|
143
|
-
- '81'
|
144
|
-
Host:
|
145
|
-
- localhost:8080
|
146
|
-
response:
|
147
|
-
status:
|
148
|
-
code: 409
|
149
|
-
message: Conflict
|
150
|
-
headers:
|
151
|
-
Expires:
|
152
|
-
- '0'
|
153
|
-
Cache-Control:
|
154
|
-
- no-cache, no-store, must-revalidate
|
155
|
-
X-Powered-By:
|
156
|
-
- Undertow/1
|
157
|
-
Server:
|
158
|
-
- WildFly/10
|
159
|
-
Pragma:
|
160
|
-
- no-cache
|
161
|
-
Date:
|
162
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
163
|
-
Connection:
|
164
|
-
- keep-alive
|
165
|
-
Content-Type:
|
166
|
-
- application/json
|
167
|
-
Content-Length:
|
168
|
-
- '107'
|
169
|
-
body:
|
170
|
-
encoding: UTF-8
|
171
|
-
string: |-
|
172
|
-
{
|
173
|
-
"errorMsg" : "Entity with id 'null' already exists at some of the positions: null",
|
174
|
-
"details" : { }
|
175
|
-
}
|
176
|
-
http_version:
|
177
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
178
|
-
- request:
|
179
|
-
method: get
|
180
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/rt;rt-123
|
181
|
-
body:
|
182
|
-
encoding: US-ASCII
|
183
|
-
string: ''
|
184
|
-
headers:
|
185
|
-
Accept:
|
186
|
-
- application/json
|
187
|
-
Accept-Encoding:
|
188
|
-
- identity
|
189
|
-
User-Agent:
|
190
|
-
- hawkular-client-ruby
|
191
|
-
Hawkular-Tenant:
|
192
|
-
- hawkular
|
193
|
-
Content-Type:
|
194
|
-
- application/json
|
195
|
-
Host:
|
196
|
-
- localhost:8080
|
197
|
-
response:
|
198
|
-
status:
|
199
|
-
code: 200
|
200
|
-
message: OK
|
201
|
-
headers:
|
202
|
-
Expires:
|
203
|
-
- '0'
|
204
|
-
Cache-Control:
|
205
|
-
- no-cache, no-store, must-revalidate
|
206
|
-
X-Powered-By:
|
207
|
-
- Undertow/1
|
208
|
-
Server:
|
209
|
-
- WildFly/10
|
210
|
-
Pragma:
|
211
|
-
- no-cache
|
212
|
-
Date:
|
213
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
214
|
-
Connection:
|
215
|
-
- keep-alive
|
216
|
-
Content-Type:
|
217
|
-
- application/json
|
218
|
-
Content-Length:
|
219
|
-
- '162'
|
220
|
-
body:
|
221
|
-
encoding: UTF-8
|
222
|
-
string: |-
|
223
|
-
{
|
224
|
-
"path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
|
225
|
-
"name" : "ResourceType",
|
226
|
-
"identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
|
227
|
-
"id" : "rt-123"
|
228
|
-
}
|
229
|
-
http_version:
|
230
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
231
|
-
- request:
|
232
|
-
method: post
|
233
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/resource
|
234
|
-
body:
|
235
|
-
encoding: UTF-8
|
236
|
-
string: '{"properties":{"version":1.0},"id":"r124","name":"My Resource","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;feed_may_exist/rt;rt-123"}'
|
237
|
-
headers:
|
238
|
-
Accept:
|
239
|
-
- application/json
|
240
|
-
Accept-Encoding:
|
241
|
-
- identity
|
242
|
-
User-Agent:
|
243
|
-
- hawkular-client-ruby
|
244
|
-
Hawkular-Tenant:
|
245
|
-
- hawkular
|
246
|
-
Content-Type:
|
247
|
-
- application/json
|
248
|
-
Content-Length:
|
249
|
-
- '151'
|
250
|
-
Host:
|
251
|
-
- localhost:8080
|
252
|
-
response:
|
253
|
-
status:
|
254
|
-
code: 201
|
255
|
-
message: Created
|
256
|
-
headers:
|
257
|
-
Expires:
|
258
|
-
- '0'
|
259
|
-
Cache-Control:
|
260
|
-
- no-cache, no-store, must-revalidate
|
261
|
-
X-Powered-By:
|
262
|
-
- Undertow/1
|
263
|
-
Server:
|
264
|
-
- WildFly/10
|
265
|
-
Pragma:
|
266
|
-
- no-cache
|
267
|
-
Location:
|
268
|
-
- http://localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r124
|
269
|
-
Date:
|
270
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
271
|
-
Connection:
|
272
|
-
- keep-alive
|
273
|
-
Content-Type:
|
274
|
-
- application/json
|
275
|
-
Content-Length:
|
276
|
-
- '384'
|
277
|
-
body:
|
278
|
-
encoding: UTF-8
|
279
|
-
string: |-
|
280
|
-
{
|
281
|
-
"path" : "/t;hawkular/f;feed_may_exist/r;r124",
|
282
|
-
"properties" : {
|
283
|
-
"version" : 1.0
|
284
|
-
},
|
285
|
-
"name" : "My Resource",
|
286
|
-
"identityHash" : "4458723fedfbb69a19a166e65edba47dbc45e",
|
287
|
-
"type" : {
|
288
|
-
"path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
|
289
|
-
"name" : "ResourceType",
|
290
|
-
"identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
|
291
|
-
"id" : "rt-123"
|
292
|
-
},
|
293
|
-
"id" : "r124"
|
294
|
-
}
|
295
|
-
http_version:
|
296
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
297
|
-
- request:
|
298
|
-
method: get
|
299
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r124
|
300
|
-
body:
|
301
|
-
encoding: US-ASCII
|
302
|
-
string: ''
|
303
|
-
headers:
|
304
|
-
Accept:
|
305
|
-
- application/json
|
306
|
-
Accept-Encoding:
|
307
|
-
- identity
|
308
|
-
User-Agent:
|
309
|
-
- hawkular-client-ruby
|
310
|
-
Hawkular-Tenant:
|
311
|
-
- hawkular
|
312
|
-
Content-Type:
|
313
|
-
- application/json
|
314
|
-
Host:
|
315
|
-
- localhost:8080
|
316
|
-
response:
|
317
|
-
status:
|
318
|
-
code: 200
|
319
|
-
message: OK
|
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
|
-
Date:
|
332
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
333
|
-
Connection:
|
334
|
-
- keep-alive
|
335
|
-
Content-Type:
|
336
|
-
- application/json
|
337
|
-
Content-Length:
|
338
|
-
- '448'
|
339
|
-
body:
|
340
|
-
encoding: UTF-8
|
341
|
-
string: |-
|
342
|
-
{
|
343
|
-
"path" : "/t;hawkular/f;feed_may_exist/r;r124",
|
344
|
-
"properties" : {
|
345
|
-
"__identityHash" : "4458723fedfbb69a19a166e65edba47dbc45e",
|
346
|
-
"version" : 1.0
|
347
|
-
},
|
348
|
-
"name" : "My Resource",
|
349
|
-
"identityHash" : "4458723fedfbb69a19a166e65edba47dbc45e",
|
350
|
-
"type" : {
|
351
|
-
"path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
|
352
|
-
"name" : "ResourceType",
|
353
|
-
"identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
|
354
|
-
"id" : "rt-123"
|
355
|
-
},
|
356
|
-
"id" : "r124"
|
357
|
-
}
|
358
|
-
http_version:
|
359
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
360
|
-
- request:
|
361
|
-
method: post
|
362
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/metricType
|
363
|
-
body:
|
364
|
-
encoding: UTF-8
|
365
|
-
string: '{"id":"mt-124","type":"GAUGE","unit":"NONE","collectionInterval":60}'
|
366
|
-
headers:
|
367
|
-
Accept:
|
368
|
-
- application/json
|
369
|
-
Accept-Encoding:
|
370
|
-
- identity
|
371
|
-
User-Agent:
|
372
|
-
- hawkular-client-ruby
|
373
|
-
Hawkular-Tenant:
|
374
|
-
- hawkular
|
375
|
-
Content-Type:
|
376
|
-
- application/json
|
377
|
-
Content-Length:
|
378
|
-
- '68'
|
379
|
-
Host:
|
380
|
-
- localhost:8080
|
381
|
-
response:
|
382
|
-
status:
|
383
|
-
code: 201
|
384
|
-
message: Created
|
385
|
-
headers:
|
386
|
-
Expires:
|
387
|
-
- '0'
|
388
|
-
Cache-Control:
|
389
|
-
- no-cache, no-store, must-revalidate
|
390
|
-
X-Powered-By:
|
391
|
-
- Undertow/1
|
392
|
-
Server:
|
393
|
-
- WildFly/10
|
394
|
-
Pragma:
|
395
|
-
- no-cache
|
396
|
-
Location:
|
397
|
-
- http://localhost:8080/hawkular/inventory/entity/f;feed_may_exist/mt;mt-124
|
398
|
-
Date:
|
399
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
400
|
-
Connection:
|
401
|
-
- keep-alive
|
402
|
-
Content-Type:
|
403
|
-
- application/json
|
404
|
-
Content-Length:
|
405
|
-
- '203'
|
406
|
-
body:
|
407
|
-
encoding: UTF-8
|
408
|
-
string: |-
|
409
|
-
{
|
410
|
-
"path" : "/t;hawkular/f;feed_may_exist/mt;mt-124",
|
411
|
-
"identityHash" : "dabc11fbfd76774e47c38f91ea832d404cc0df",
|
412
|
-
"unit" : "NONE",
|
413
|
-
"type" : "GAUGE",
|
414
|
-
"collectionInterval" : 60,
|
415
|
-
"id" : "mt-124"
|
416
|
-
}
|
417
|
-
http_version:
|
418
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
419
|
-
- request:
|
420
|
-
method: get
|
421
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/mt;mt-124
|
422
|
-
body:
|
423
|
-
encoding: US-ASCII
|
424
|
-
string: ''
|
425
|
-
headers:
|
426
|
-
Accept:
|
427
|
-
- application/json
|
428
|
-
Accept-Encoding:
|
429
|
-
- identity
|
430
|
-
User-Agent:
|
431
|
-
- hawkular-client-ruby
|
432
|
-
Hawkular-Tenant:
|
433
|
-
- hawkular
|
434
|
-
Content-Type:
|
435
|
-
- application/json
|
436
|
-
Host:
|
437
|
-
- localhost:8080
|
438
|
-
response:
|
439
|
-
status:
|
440
|
-
code: 200
|
441
|
-
message: OK
|
442
|
-
headers:
|
443
|
-
Expires:
|
444
|
-
- '0'
|
445
|
-
Cache-Control:
|
446
|
-
- no-cache, no-store, must-revalidate
|
447
|
-
X-Powered-By:
|
448
|
-
- Undertow/1
|
449
|
-
Server:
|
450
|
-
- WildFly/10
|
451
|
-
Pragma:
|
452
|
-
- no-cache
|
453
|
-
Date:
|
454
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
455
|
-
Connection:
|
456
|
-
- keep-alive
|
457
|
-
Content-Type:
|
458
|
-
- application/json
|
459
|
-
Content-Length:
|
460
|
-
- '203'
|
461
|
-
body:
|
462
|
-
encoding: UTF-8
|
463
|
-
string: |-
|
464
|
-
{
|
465
|
-
"path" : "/t;hawkular/f;feed_may_exist/mt;mt-124",
|
466
|
-
"identityHash" : "dabc11fbfd76774e47c38f91ea832d404cc0df",
|
467
|
-
"unit" : "NONE",
|
468
|
-
"type" : "GAUGE",
|
469
|
-
"collectionInterval" : 60,
|
470
|
-
"id" : "mt-124"
|
471
|
-
}
|
472
|
-
http_version:
|
473
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
474
|
-
- request:
|
475
|
-
method: post
|
476
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/metric
|
477
|
-
body:
|
478
|
-
encoding: UTF-8
|
479
|
-
string: '{"id":"m-124","name":"m-124","metricTypePath":"/t;hawkular/f;feed_may_exist/mt;mt-124"}'
|
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
|
-
Content-Length:
|
492
|
-
- '87'
|
493
|
-
Host:
|
494
|
-
- localhost:8080
|
495
|
-
response:
|
496
|
-
status:
|
497
|
-
code: 201
|
498
|
-
message: Created
|
499
|
-
headers:
|
500
|
-
Expires:
|
501
|
-
- '0'
|
502
|
-
Cache-Control:
|
503
|
-
- no-cache, no-store, must-revalidate
|
504
|
-
X-Powered-By:
|
505
|
-
- Undertow/1
|
506
|
-
Server:
|
507
|
-
- WildFly/10
|
508
|
-
Pragma:
|
509
|
-
- no-cache
|
510
|
-
Location:
|
511
|
-
- http://localhost:8080/hawkular/inventory/entity/f;feed_may_exist/m;m-124
|
512
|
-
Date:
|
513
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
514
|
-
Connection:
|
515
|
-
- keep-alive
|
516
|
-
Content-Type:
|
517
|
-
- application/json
|
518
|
-
Content-Length:
|
519
|
-
- '380'
|
520
|
-
body:
|
521
|
-
encoding: UTF-8
|
522
|
-
string: |-
|
523
|
-
{
|
524
|
-
"path" : "/t;hawkular/f;feed_may_exist/m;m-124",
|
525
|
-
"name" : "m-124",
|
526
|
-
"identityHash" : "816e3f69c829acf281b31ac82e7ba3213bf2",
|
527
|
-
"type" : {
|
528
|
-
"path" : "/t;hawkular/f;feed_may_exist/mt;mt-124",
|
529
|
-
"identityHash" : "dabc11fbfd76774e47c38f91ea832d404cc0df",
|
530
|
-
"unit" : "NONE",
|
531
|
-
"type" : "GAUGE",
|
532
|
-
"collectionInterval" : 60,
|
533
|
-
"id" : "mt-124"
|
534
|
-
},
|
535
|
-
"id" : "m-124"
|
536
|
-
}
|
537
|
-
http_version:
|
538
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
539
|
-
- request:
|
540
|
-
method: get
|
541
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/m;m-124
|
542
|
-
body:
|
543
|
-
encoding: US-ASCII
|
544
|
-
string: ''
|
545
|
-
headers:
|
546
|
-
Accept:
|
547
|
-
- application/json
|
548
|
-
Accept-Encoding:
|
549
|
-
- identity
|
550
|
-
User-Agent:
|
551
|
-
- hawkular-client-ruby
|
552
|
-
Hawkular-Tenant:
|
553
|
-
- hawkular
|
554
|
-
Content-Type:
|
555
|
-
- application/json
|
556
|
-
Host:
|
557
|
-
- localhost:8080
|
558
|
-
response:
|
559
|
-
status:
|
560
|
-
code: 200
|
561
|
-
message: OK
|
562
|
-
headers:
|
563
|
-
Expires:
|
564
|
-
- '0'
|
565
|
-
Cache-Control:
|
566
|
-
- no-cache, no-store, must-revalidate
|
567
|
-
X-Powered-By:
|
568
|
-
- Undertow/1
|
569
|
-
Server:
|
570
|
-
- WildFly/10
|
571
|
-
Pragma:
|
572
|
-
- no-cache
|
573
|
-
Date:
|
574
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
575
|
-
Connection:
|
576
|
-
- keep-alive
|
577
|
-
Content-Type:
|
578
|
-
- application/json
|
579
|
-
Content-Length:
|
580
|
-
- '466'
|
581
|
-
body:
|
582
|
-
encoding: UTF-8
|
583
|
-
string: |-
|
584
|
-
{
|
585
|
-
"path" : "/t;hawkular/f;feed_may_exist/m;m-124",
|
586
|
-
"properties" : {
|
587
|
-
"__identityHash" : "816e3f69c829acf281b31ac82e7ba3213bf2"
|
588
|
-
},
|
589
|
-
"name" : "m-124",
|
590
|
-
"identityHash" : "816e3f69c829acf281b31ac82e7ba3213bf2",
|
591
|
-
"type" : {
|
592
|
-
"path" : "/t;hawkular/f;feed_may_exist/mt;mt-124",
|
593
|
-
"identityHash" : "dabc11fbfd76774e47c38f91ea832d404cc0df",
|
594
|
-
"unit" : "NONE",
|
595
|
-
"type" : "GAUGE",
|
596
|
-
"collectionInterval" : 60,
|
597
|
-
"id" : "mt-124"
|
598
|
-
},
|
599
|
-
"id" : "m-124"
|
600
|
-
}
|
601
|
-
http_version:
|
602
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
603
|
-
- request:
|
604
|
-
method: post
|
605
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r124/relationship
|
606
|
-
body:
|
607
|
-
encoding: UTF-8
|
608
|
-
string: '[{"otherEnd":"/t;hawkular/f;feed_may_exist/m;m-124","name":"incorporates"}]'
|
609
|
-
headers:
|
610
|
-
Accept:
|
611
|
-
- application/json
|
612
|
-
Accept-Encoding:
|
613
|
-
- identity
|
614
|
-
User-Agent:
|
615
|
-
- hawkular-client-ruby
|
616
|
-
Hawkular-Tenant:
|
617
|
-
- hawkular
|
618
|
-
Content-Type:
|
619
|
-
- application/json
|
620
|
-
Content-Length:
|
621
|
-
- '75'
|
622
|
-
Host:
|
623
|
-
- localhost:8080
|
624
|
-
response:
|
625
|
-
status:
|
626
|
-
code: 201
|
627
|
-
message: Created
|
628
|
-
headers:
|
629
|
-
Expires:
|
630
|
-
- '0'
|
631
|
-
Cache-Control:
|
632
|
-
- no-cache, no-store, must-revalidate
|
633
|
-
X-Powered-By:
|
634
|
-
- Undertow/1
|
635
|
-
Server:
|
636
|
-
- WildFly/10
|
637
|
-
Pragma:
|
638
|
-
- no-cache
|
639
|
-
Location:
|
640
|
-
- http://localhost:8080/hawkular/inventory/entity/rl;4o8n4-382rk-8tn9-383y8
|
641
|
-
Date:
|
642
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
643
|
-
Connection:
|
644
|
-
- keep-alive
|
645
|
-
Content-Type:
|
646
|
-
- application/json
|
647
|
-
Content-Length:
|
648
|
-
- '173'
|
649
|
-
body:
|
650
|
-
encoding: UTF-8
|
651
|
-
string: |-
|
652
|
-
[ {
|
653
|
-
"id" : "4o8n4-382rk-8tn9-383y8",
|
654
|
-
"name" : "incorporates",
|
655
|
-
"source" : "/t;hawkular/f;feed_may_exist/r;r124",
|
656
|
-
"target" : "/t;hawkular/f;feed_may_exist/m;m-124"
|
657
|
-
} ]
|
658
|
-
http_version:
|
659
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
660
|
-
- request:
|
661
|
-
method: post
|
662
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/metric
|
663
|
-
body:
|
664
|
-
encoding: UTF-8
|
665
|
-
string: '{"id":"m-124-1","name":"Metric1","metricTypePath":"/t;hawkular/f;feed_may_exist/mt;mt-124"}'
|
666
|
-
headers:
|
667
|
-
Accept:
|
668
|
-
- application/json
|
669
|
-
Accept-Encoding:
|
670
|
-
- identity
|
671
|
-
User-Agent:
|
672
|
-
- hawkular-client-ruby
|
673
|
-
Hawkular-Tenant:
|
674
|
-
- hawkular
|
675
|
-
Content-Type:
|
676
|
-
- application/json
|
677
|
-
Content-Length:
|
678
|
-
- '91'
|
679
|
-
Host:
|
680
|
-
- localhost:8080
|
681
|
-
response:
|
682
|
-
status:
|
683
|
-
code: 201
|
684
|
-
message: Created
|
685
|
-
headers:
|
686
|
-
Expires:
|
687
|
-
- '0'
|
688
|
-
Cache-Control:
|
689
|
-
- no-cache, no-store, must-revalidate
|
690
|
-
X-Powered-By:
|
691
|
-
- Undertow/1
|
692
|
-
Server:
|
693
|
-
- WildFly/10
|
694
|
-
Pragma:
|
695
|
-
- no-cache
|
696
|
-
Location:
|
697
|
-
- http://localhost:8080/hawkular/inventory/entity/f;feed_may_exist/m;m-124-1
|
698
|
-
Date:
|
699
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
700
|
-
Connection:
|
701
|
-
- keep-alive
|
702
|
-
Content-Type:
|
703
|
-
- application/json
|
704
|
-
Content-Length:
|
705
|
-
- '389'
|
706
|
-
body:
|
707
|
-
encoding: UTF-8
|
708
|
-
string: |-
|
709
|
-
{
|
710
|
-
"path" : "/t;hawkular/f;feed_may_exist/m;m-124-1",
|
711
|
-
"name" : "Metric1",
|
712
|
-
"identityHash" : "979c135fb98bdc57a1e95a159ec2a24b9caa562",
|
713
|
-
"type" : {
|
714
|
-
"path" : "/t;hawkular/f;feed_may_exist/mt;mt-124",
|
715
|
-
"identityHash" : "dabc11fbfd76774e47c38f91ea832d404cc0df",
|
716
|
-
"unit" : "NONE",
|
717
|
-
"type" : "GAUGE",
|
718
|
-
"collectionInterval" : 60,
|
719
|
-
"id" : "mt-124"
|
720
|
-
},
|
721
|
-
"id" : "m-124-1"
|
722
|
-
}
|
723
|
-
http_version:
|
724
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
725
|
-
- request:
|
726
|
-
method: get
|
727
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/m;m-124-1
|
728
|
-
body:
|
729
|
-
encoding: US-ASCII
|
730
|
-
string: ''
|
731
|
-
headers:
|
732
|
-
Accept:
|
733
|
-
- application/json
|
734
|
-
Accept-Encoding:
|
735
|
-
- identity
|
736
|
-
User-Agent:
|
737
|
-
- hawkular-client-ruby
|
738
|
-
Hawkular-Tenant:
|
739
|
-
- hawkular
|
740
|
-
Content-Type:
|
741
|
-
- application/json
|
742
|
-
Host:
|
743
|
-
- localhost:8080
|
744
|
-
response:
|
745
|
-
status:
|
746
|
-
code: 200
|
747
|
-
message: OK
|
748
|
-
headers:
|
749
|
-
Expires:
|
750
|
-
- '0'
|
751
|
-
Cache-Control:
|
752
|
-
- no-cache, no-store, must-revalidate
|
753
|
-
X-Powered-By:
|
754
|
-
- Undertow/1
|
755
|
-
Server:
|
756
|
-
- WildFly/10
|
757
|
-
Pragma:
|
758
|
-
- no-cache
|
759
|
-
Date:
|
760
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
761
|
-
Connection:
|
762
|
-
- keep-alive
|
763
|
-
Content-Type:
|
764
|
-
- application/json
|
765
|
-
Content-Length:
|
766
|
-
- '478'
|
767
|
-
body:
|
768
|
-
encoding: UTF-8
|
769
|
-
string: |-
|
770
|
-
{
|
771
|
-
"path" : "/t;hawkular/f;feed_may_exist/m;m-124-1",
|
772
|
-
"properties" : {
|
773
|
-
"__identityHash" : "979c135fb98bdc57a1e95a159ec2a24b9caa562"
|
774
|
-
},
|
775
|
-
"name" : "Metric1",
|
776
|
-
"identityHash" : "979c135fb98bdc57a1e95a159ec2a24b9caa562",
|
777
|
-
"type" : {
|
778
|
-
"path" : "/t;hawkular/f;feed_may_exist/mt;mt-124",
|
779
|
-
"identityHash" : "dabc11fbfd76774e47c38f91ea832d404cc0df",
|
780
|
-
"unit" : "NONE",
|
781
|
-
"type" : "GAUGE",
|
782
|
-
"collectionInterval" : 60,
|
783
|
-
"id" : "mt-124"
|
784
|
-
},
|
785
|
-
"id" : "m-124-1"
|
786
|
-
}
|
787
|
-
http_version:
|
788
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
789
|
-
- request:
|
790
|
-
method: post
|
791
|
-
uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/entity/f;feed_may_exist/r;r124/relationship
|
792
|
-
body:
|
793
|
-
encoding: UTF-8
|
794
|
-
string: '[{"otherEnd":"/t;hawkular/f;feed_may_exist/m;m-124-1","name":"incorporates"}]'
|
795
|
-
headers:
|
796
|
-
Accept:
|
797
|
-
- application/json
|
798
|
-
Accept-Encoding:
|
799
|
-
- identity
|
800
|
-
User-Agent:
|
801
|
-
- hawkular-client-ruby
|
802
|
-
Hawkular-Tenant:
|
803
|
-
- hawkular
|
804
|
-
Content-Type:
|
805
|
-
- application/json
|
806
|
-
Content-Length:
|
807
|
-
- '77'
|
808
|
-
Host:
|
809
|
-
- localhost:8080
|
810
|
-
response:
|
811
|
-
status:
|
812
|
-
code: 201
|
813
|
-
message: Created
|
814
|
-
headers:
|
815
|
-
Expires:
|
816
|
-
- '0'
|
817
|
-
Cache-Control:
|
818
|
-
- no-cache, no-store, must-revalidate
|
819
|
-
X-Powered-By:
|
820
|
-
- Undertow/1
|
821
|
-
Server:
|
822
|
-
- WildFly/10
|
823
|
-
Pragma:
|
824
|
-
- no-cache
|
825
|
-
Location:
|
826
|
-
- http://localhost:8080/hawkular/inventory/entity/rl;4o94w-382rk-8tn9-384jk
|
827
|
-
Date:
|
828
|
-
- Wed, 10 Aug 2016 22:35:38 GMT
|
829
|
-
Connection:
|
830
|
-
- keep-alive
|
831
|
-
Content-Type:
|
832
|
-
- application/json
|
833
|
-
Content-Length:
|
834
|
-
- '175'
|
835
|
-
body:
|
836
|
-
encoding: UTF-8
|
837
|
-
string: |-
|
838
|
-
[ {
|
839
|
-
"id" : "4o94w-382rk-8tn9-384jk",
|
840
|
-
"name" : "incorporates",
|
841
|
-
"source" : "/t;hawkular/f;feed_may_exist/r;r124",
|
842
|
-
"target" : "/t;hawkular/f;feed_may_exist/m;m-124-1"
|
843
|
-
} ]
|
844
|
-
http_version:
|
845
|
-
recorded_at: Wed, 10 Aug 2016 22:35:38 GMT
|
846
|
-
recorded_with: VCR 3.0.3
|