hawkular-client 2.6.0 → 2.7.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 +5 -2
- data/lib/hawkular/hawkular_client.rb +1 -1
- data/lib/hawkular/inventory/inventory_api.rb +2 -1
- data/lib/hawkular/metrics/metric_api.rb +4 -1
- data/lib/hawkular/operations/operations_api.rb +7 -4
- data/lib/hawkular/version.rb +1 -1
- data/spec/integration/inventory_spec.rb +516 -466
- data/spec/integration/metric_spec.rb +612 -561
- data/spec/integration/operations_spec.rb +425 -504
- data/spec/spec_helper.rb +73 -19
- data/spec/vcr_cassettes/Inventory/{Connection → NonSecure/Connection/Templates}/Should_err_on_bad_credentials.yml +6 -4
- data/spec/vcr_cassettes/Inventory/{Tenants → NonSecure/Tenants/Templates}/Should_Get_Tenant_For_Explicit_Credentials.yml +13 -9
- data/spec/vcr_cassettes/Inventory/{Tenants → NonSecure/Tenants/Templates}/Should_Get_Tenant_For_Implicit_Credentials.yml +13 -9
- data/spec/vcr_cassettes/Inventory/{inventory_0_17/Templates → NonSecure/inventory_0_17}/Client_should_listen_on_various_inventory_events.json +5 -5
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Client_should_listen_on_various_inventory_events.yml +21 -13
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17/Templates}/Helpers/create_url.yml +12 -10
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Helpers/generate_some_events_for_websocket.yml +51 -37
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17/Templates}/Helpers/get_feeds.yml +11 -9
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_List_datasources_with_no_props.yml +11 -7
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_feed.yml +6 -4
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_feed_again.yml +16 -10
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +664 -0
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_resource.yml +31 -19
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_resource_with_metric.yml +77 -49
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_a_resourcetype.yml +16 -10
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_create_and_delete_feed.yml +19 -13
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +420 -0
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +132 -0
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_have_the_same_requested_metric_type_id.yml +8 -8
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_URLs.yml +29 -7
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_WildFlys.yml +10 -8
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_WildFlys_with_props.yml +24 -17
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_all_the_resource_types.yml +6 -4
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_children_of_WildFly.yml +31 -13
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_children_of_nested_resource.yml +16 -10
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_feeds.yml +9 -7
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_heap_metrics_for_WildFlys.yml +196 -188
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_metrics_for_WildFlys.yml +72 -68
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_metrics_of_given_metric_type.yml +12 -44
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_metrics_of_given_resource_type.yml +63 -61
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_operation_definitions_of_given_resource.yml +220 -156
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_operation_definitions_of_given_resource_type.yml +200 -140
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_recursive_children_of_WildFly.yml +30 -12
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_relationships_of_WildFly.yml +129 -113
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_resources_for_feed.yml +12 -10
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_types_with_bad_feed.yml +6 -4
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_list_types_with_feed.yml +7 -5
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_not_find_an_unknown_resource.yml +6 -4
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_return_config_data_of_given_nested_resource.yml +6 -4
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_return_config_data_of_given_resource.yml +15 -10
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → NonSecure/inventory_0_17}/Templates/Should_return_the_version.yml +8 -6
- data/spec/vcr_cassettes/Inventory/Secure/Connection/Templates/Should_err_on_bad_credentials.yml +44 -0
- data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Explicit_Credentials.yml +101 -0
- data/spec/vcr_cassettes/Inventory/Secure/Tenants/Templates/Should_Get_Tenant_For_Implicit_Credentials.yml +101 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Client_should_listen_on_various_inventory_events.json +47 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.yml +207 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/create_url.yml +52 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +411 -0
- data/spec/vcr_cassettes/Inventory/{inventory_0_17/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml → Secure/inventory_0_17/Templates/Helpers/get_feeds.yml} +13 -11
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +133 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed.yml +59 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_feed_again.yml +181 -0
- data/spec/vcr_cassettes/Inventory/{inventory_0_17 → Secure/inventory_0_17}/Templates/Should_create_a_nested_resource_and_metric_on_it.yml +108 -150
- data/spec/vcr_cassettes/Inventory/{inventory_0_17/Templates/Should_create_and_get_a_resource.yml → Secure/inventory_0_17/Templates/Should_create_a_resource.yml} +45 -87
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resource_with_metric.yml +846 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resourcetype.yml +169 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_delete_feed.yml +166 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_get_a_resource.yml +420 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_get_resource_with_its_configurations.yml +132 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_have_the_same_requested_metric_type_id.yml +73 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_URLs.yml +90 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys.yml +70 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +138 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_all_the_resource_types.yml +59 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +333 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_children_of_nested_resource.yml +180 -0
- data/spec/vcr_cassettes/{Operation/Helpers/get_feed.yml → Inventory/Secure/inventory_0_17/Templates/Should_list_feeds.yml} +13 -11
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +943 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +361 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +90 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +294 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +871 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +740 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +1117 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +393 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_resources_for_feed.yml +84 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_bad_feed.yml +55 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_list_types_with_feed.yml +166 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_not_find_an_unknown_resource.yml +59 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_nested_resource.yml +66 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +71 -0
- data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_return_the_version.yml +50 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml +114 -0
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Get_metric_definition_by_id.yml +10 -8
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Retrieve_metric_rate_points.yml +18 -14
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_create_Availability_definition.yml +18 -14
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_create_Counter_definition.yml +18 -14
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_create_gauge_definition.yml +18 -14
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_push_metric_data_to_existing_gauge.yml +9 -7
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_update_tags_for_Availability_definition.yml +28 -22
- data/spec/vcr_cassettes/{Metric_ID_with_special_characters → Metrics/NonSecure/ID_with_special_characters/Templates}/Should_update_tags_for_gauge_definition.yml +28 -22
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +12 -8
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +14 -10
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_group_contiguous_values.yml +10 -6
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +19 -13
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +31 -21
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +14 -10
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +12 -8
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +28 -18
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +38 -24
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +32 -20
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +19 -13
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +14 -10
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +12 -8
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +32 -20
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +19 -13
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_return_periods.yml +10 -6
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +31 -21
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +48 -52
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +39 -25
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +36 -24
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/No_Tenant/Should_fail.yml +6 -4
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Simple/Should_be_Cool.yml +2 -2
- data/spec/vcr_cassettes/Metrics/{metrics_0_16_0 → NonSecure/metrics_0_16_0}/Templates/Status/Should_return_the_version.yml +5 -3
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +3 -3
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +3 -3
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +3 -3
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_return_periods.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Simple/Should_be_Cool.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Status/Should_return_the_version.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_0_8_0 → NonSecure/metrics_0_8_0}/Templates/Tenants/Should_create_and_return_tenant.yml +0 -0
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +19 -15
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +21 -17
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_group_contiguous_values.yml +17 -13
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +29 -23
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +47 -37
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +21 -17
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +19 -15
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +44 -34
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +60 -46
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +51 -39
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +29 -23
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +21 -17
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +19 -15
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +51 -39
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +29 -23
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_return_periods.yml +17 -13
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +50 -0
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +12 -10
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +47 -37
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_rate_stats_for_mixed_metric.yml +328 -0
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +32 -32
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +70 -74
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +61 -47
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +55 -43
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/No_Tenant/Should_fail.yml +9 -7
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Simple/Should_be_Cool.yml +3 -3
- data/spec/vcr_cassettes/Metrics/{metrics_services → NonSecure/metrics_services}/Templates/Status/Should_return_the_version.yml +10 -8
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +51 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +92 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +101 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +101 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +101 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +50 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +146 -0
- data/spec/vcr_cassettes/Metrics/Secure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +146 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +97 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +144 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +240 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +240 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +328 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +281 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +144 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +281 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +144 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +97 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +240 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +326 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +314 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +285 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +50 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +48 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Status/Should_return_the_version.yml +44 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +97 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +144 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +240 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +240 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +328 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +281 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +144 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +99 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +281 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +144 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +97 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +50 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +51 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +240 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +364 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +326 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +314 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +285 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/No_Tenant/Should_fail.yml +50 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Simple/Should_be_Cool.yml +48 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Status/Should_return_the_version.yml +44 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +99 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Helpers/Templates/get_feed.yml +61 -0
- data/spec/vcr_cassettes/Operation/{Helpers → NonSecure/Helpers/Templates}/get_tenant.yml +8 -5
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_JDBC_driver_should_add_the_driver.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_datasource_should_be_doable.json +23 -0
- data/spec/vcr_cassettes/Operation/{Operation → NonSecure/Operation}/Add_deployment_should_be_doable.json +4 -7
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +32 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/{Operation → NonSecure/Operation}/should_not_be_possible_to_perform_on_closed_client.json +1 -1
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
- data/spec/vcr_cassettes/Operation/{Websocket_connection → NonSecure/Websocket_connection}/should_bail_with_no_host.json +0 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established.json +9 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_be_established_via_entrypoint.json +9 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Websocket_connection/should_run_into_error_callback.json +18 -0
- data/spec/vcr_cassettes/Operation/{Websocket_connection → NonSecure/Websocket_connection}/should_run_into_error_callback_because_bad_hash_parameters.json +1 -1
- data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_feed.yml +61 -0
- data/spec/vcr_cassettes/Operation/Secure/Helpers/Templates/get_tenant.yml +55 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Add_JDBC_driver_should_add_the_driver.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Add_datasource_should_be_doable.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Add_deployment_should_be_doable.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_can_be_run_multiple_times_in_parallel.json +32 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +23 -0
- data/spec/vcr_cassettes/Operation/Secure/Operation/should_not_be_possible_to_perform_on_closed_client.json +12 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_bail_with_no_host.json +3 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established.json +9 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_be_established_via_entrypoint.json +9 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback.json +18 -0
- data/spec/vcr_cassettes/Operation/Secure/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +13 -0
- metadata +526 -282
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -95
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +0 -48
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +0 -95
- data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Disable_should_be_performed_and_eventually_respond_with_success.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Restart_can_be_run_multiple_times_in_parallel.json +0 -40
- data/spec/vcr_cassettes/Operation/Operation/Restart_should_be_performed_and_eventually_respond_with_success.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Restart_should_not_be_performed_if_resource_path_is_wrong.json +0 -26
- data/spec/vcr_cassettes/Operation/Operation/Undeploy_deployment_should_be_performed_and_eventually_respond_with_success.json +0 -26
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +0 -9
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +0 -9
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json +0 -9
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established_via_entrypoint.json +0 -9
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_run_into_error_callback.json +0 -13
data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_a_resourcetype.yml
ADDED
@@ -0,0 +1,169 @@
|
|
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_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
|
+
- 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_may_exist
|
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
|
+
- '135'
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: |-
|
52
|
+
{
|
53
|
+
"path" : "/t;hawkular/f;feed_may_exist",
|
54
|
+
"identityHash" : "18a4f8a18a8012f826e2dbe4cb768d14c391a59b",
|
55
|
+
"id" : "feed_may_exist"
|
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/f;feed_may_exist/resourceType
|
62
|
+
body:
|
63
|
+
encoding: UTF-8
|
64
|
+
string: '{"properties":{},"id":"rt-123","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
|
+
- '81'
|
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;feed_may_exist/rt;rt-123
|
97
|
+
Date:
|
98
|
+
- Wed, 10 Aug 2016 22:35:50 GMT
|
99
|
+
Connection:
|
100
|
+
- keep-alive
|
101
|
+
Content-Type:
|
102
|
+
- application/json
|
103
|
+
Content-Length:
|
104
|
+
- '162'
|
105
|
+
body:
|
106
|
+
encoding: UTF-8
|
107
|
+
string: |-
|
108
|
+
{
|
109
|
+
"path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
|
110
|
+
"name" : "ResourceType",
|
111
|
+
"identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
|
112
|
+
"id" : "rt-123"
|
113
|
+
}
|
114
|
+
http_version:
|
115
|
+
recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
|
116
|
+
- request:
|
117
|
+
method: get
|
118
|
+
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_may_exist/rt;rt-123
|
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:50 GMT
|
152
|
+
Connection:
|
153
|
+
- keep-alive
|
154
|
+
Content-Type:
|
155
|
+
- application/json
|
156
|
+
Content-Length:
|
157
|
+
- '162'
|
158
|
+
body:
|
159
|
+
encoding: UTF-8
|
160
|
+
string: |-
|
161
|
+
{
|
162
|
+
"path" : "/t;hawkular/f;feed_may_exist/rt;rt-123",
|
163
|
+
"name" : "ResourceType",
|
164
|
+
"identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
|
165
|
+
"id" : "rt-123"
|
166
|
+
}
|
167
|
+
http_version:
|
168
|
+
recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
|
169
|
+
recorded_with: VCR 3.0.3
|
data/spec/vcr_cassettes/Inventory/Secure/inventory_0_17/Templates/Should_create_and_delete_feed.yml
ADDED
@@ -0,0 +1,166 @@
|
|
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_1123sdn","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
|
+
- '77'
|
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_1123sdn
|
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
|
+
- '131'
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: |-
|
52
|
+
{
|
53
|
+
"path" : "/t;hawkular/f;feed_1123sdn",
|
54
|
+
"identityHash" : "e153d6e14c5bd12f51dcdc16a0493afbd0298dcb",
|
55
|
+
"id" : "feed_1123sdn"
|
56
|
+
}
|
57
|
+
http_version:
|
58
|
+
recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
|
59
|
+
- request:
|
60
|
+
method: delete
|
61
|
+
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;feed_1123sdn
|
62
|
+
body:
|
63
|
+
encoding: US-ASCII
|
64
|
+
string: ''
|
65
|
+
headers:
|
66
|
+
Accept:
|
67
|
+
- application/json
|
68
|
+
Accept-Encoding:
|
69
|
+
- identity
|
70
|
+
User-Agent:
|
71
|
+
- hawkular-client-ruby
|
72
|
+
Hawkular-Tenant:
|
73
|
+
- hawkular
|
74
|
+
Content-Type:
|
75
|
+
- application/json
|
76
|
+
Host:
|
77
|
+
- 127.0.0.1:8443
|
78
|
+
response:
|
79
|
+
status:
|
80
|
+
code: 204
|
81
|
+
message: No Content
|
82
|
+
headers:
|
83
|
+
Expires:
|
84
|
+
- '0'
|
85
|
+
Cache-Control:
|
86
|
+
- no-cache, no-store, must-revalidate
|
87
|
+
X-Powered-By:
|
88
|
+
- Undertow/1
|
89
|
+
Server:
|
90
|
+
- WildFly/10
|
91
|
+
Pragma:
|
92
|
+
- no-cache
|
93
|
+
Date:
|
94
|
+
- Wed, 10 Aug 2016 22:35:50 GMT
|
95
|
+
body:
|
96
|
+
encoding: UTF-8
|
97
|
+
string: ''
|
98
|
+
http_version:
|
99
|
+
recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
|
100
|
+
- request:
|
101
|
+
method: get
|
102
|
+
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/traversal/type=f
|
103
|
+
body:
|
104
|
+
encoding: US-ASCII
|
105
|
+
string: ''
|
106
|
+
headers:
|
107
|
+
Accept:
|
108
|
+
- application/json
|
109
|
+
Accept-Encoding:
|
110
|
+
- identity
|
111
|
+
User-Agent:
|
112
|
+
- hawkular-client-ruby
|
113
|
+
Hawkular-Tenant:
|
114
|
+
- hawkular
|
115
|
+
Content-Type:
|
116
|
+
- application/json
|
117
|
+
Host:
|
118
|
+
- 127.0.0.1:8443
|
119
|
+
response:
|
120
|
+
status:
|
121
|
+
code: 200
|
122
|
+
message: OK
|
123
|
+
headers:
|
124
|
+
Expires:
|
125
|
+
- '0'
|
126
|
+
Cache-Control:
|
127
|
+
- no-cache, no-store, must-revalidate
|
128
|
+
X-Powered-By:
|
129
|
+
- Undertow/1
|
130
|
+
Server:
|
131
|
+
- WildFly/10
|
132
|
+
Pragma:
|
133
|
+
- no-cache
|
134
|
+
Date:
|
135
|
+
- Wed, 10 Aug 2016 22:35:50 GMT
|
136
|
+
X-Total-Count:
|
137
|
+
- '2'
|
138
|
+
Connection:
|
139
|
+
- keep-alive
|
140
|
+
Content-Type:
|
141
|
+
- application/json
|
142
|
+
Content-Length:
|
143
|
+
- '540'
|
144
|
+
Link:
|
145
|
+
- <https://127.0.0.1:8443/hawkular/inventory/traversal/type=f>; rel="current"
|
146
|
+
body:
|
147
|
+
encoding: UTF-8
|
148
|
+
string: |-
|
149
|
+
[ {
|
150
|
+
"path" : "/t;hawkular/f;<%= feed_uuid %>",
|
151
|
+
"properties" : {
|
152
|
+
"__identityHash" : "6f7052f82072f942f3e402fe127d6133ea5e963"
|
153
|
+
},
|
154
|
+
"identityHash" : "6f7052f82072f942f3e402fe127d6133ea5e963",
|
155
|
+
"id" : "<%= feed_uuid %>"
|
156
|
+
}, {
|
157
|
+
"path" : "/t;hawkular/f;feed_1123sdncisud6237ui23hjbdscuzsad",
|
158
|
+
"properties" : {
|
159
|
+
"__identityHash" : "c5ef96a36ea11f6a72066f685b5d1d8b9d1daaf"
|
160
|
+
},
|
161
|
+
"identityHash" : "c5ef96a36ea11f6a72066f685b5d1d8b9d1daaf",
|
162
|
+
"id" : "feed_1123sdncisud6237ui23hjbdscuzsad"
|
163
|
+
} ]
|
164
|
+
http_version:
|
165
|
+
recorded_at: Wed, 10 Aug 2016 22:35:50 GMT
|
166
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,420 @@
|
|
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: 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:53 GMT
|
41
|
+
Connection:
|
42
|
+
- keep-alive
|
43
|
+
Content-Type:
|
44
|
+
- application/json
|
45
|
+
Content-Length:
|
46
|
+
- '698'
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: |-
|
50
|
+
{
|
51
|
+
"errorMsg" : "Feed with id 'Feed[path='/t;hawkular/f;Secure_feed_may_exist']' has been already registered. Entity with id 'Secure_feed_may_exist' already exists at some of the positions: [[Types[Tenant], Ids[hawkular], Related[, rel='contains', role=SOURCE], Types[Feed], Ids[Secure_feed_may_exist]]]",
|
52
|
+
"details" : {
|
53
|
+
"entityId" : "Secure_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" : [ "Secure_feed_may_exist" ]
|
65
|
+
} ] ]
|
66
|
+
}
|
67
|
+
}
|
68
|
+
http_version:
|
69
|
+
recorded_at: Wed, 10 Aug 2016 22:35:53 GMT
|
70
|
+
- request:
|
71
|
+
method: get
|
72
|
+
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_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
|
+
- 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:53 GMT
|
106
|
+
Connection:
|
107
|
+
- keep-alive
|
108
|
+
Content-Type:
|
109
|
+
- application/json
|
110
|
+
Content-Length:
|
111
|
+
- '237'
|
112
|
+
body:
|
113
|
+
encoding: UTF-8
|
114
|
+
string: |-
|
115
|
+
{
|
116
|
+
"path" : "/t;hawkular/f;Secure_feed_may_exist",
|
117
|
+
"properties" : {
|
118
|
+
"__identityHash" : "8f9a4e45359487266a539f0cf4aa3769bf933b1"
|
119
|
+
},
|
120
|
+
"identityHash" : "8f9a4e45359487266a539f0cf4aa3769bf933b1",
|
121
|
+
"id" : "Secure_feed_may_exist"
|
122
|
+
}
|
123
|
+
http_version:
|
124
|
+
recorded_at: Wed, 10 Aug 2016 22:35:53 GMT
|
125
|
+
- request:
|
126
|
+
method: post
|
127
|
+
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_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
|
+
- 127.0.0.1:8443
|
146
|
+
response:
|
147
|
+
status:
|
148
|
+
code: 201
|
149
|
+
message: Created
|
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
|
+
Location:
|
162
|
+
- https://127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/rt;rt-123
|
163
|
+
Date:
|
164
|
+
- Wed, 10 Aug 2016 22:35:53 GMT
|
165
|
+
Connection:
|
166
|
+
- keep-alive
|
167
|
+
Content-Type:
|
168
|
+
- application/json
|
169
|
+
Content-Length:
|
170
|
+
- '169'
|
171
|
+
body:
|
172
|
+
encoding: UTF-8
|
173
|
+
string: |-
|
174
|
+
{
|
175
|
+
"path" : "/t;hawkular/f;Secure_feed_may_exist/rt;rt-123",
|
176
|
+
"name" : "ResourceType",
|
177
|
+
"identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
|
178
|
+
"id" : "rt-123"
|
179
|
+
}
|
180
|
+
http_version:
|
181
|
+
recorded_at: Wed, 10 Aug 2016 22:35:53 GMT
|
182
|
+
- request:
|
183
|
+
method: get
|
184
|
+
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/rt;rt-123
|
185
|
+
body:
|
186
|
+
encoding: US-ASCII
|
187
|
+
string: ''
|
188
|
+
headers:
|
189
|
+
Accept:
|
190
|
+
- application/json
|
191
|
+
Accept-Encoding:
|
192
|
+
- identity
|
193
|
+
User-Agent:
|
194
|
+
- hawkular-client-ruby
|
195
|
+
Hawkular-Tenant:
|
196
|
+
- hawkular
|
197
|
+
Content-Type:
|
198
|
+
- application/json
|
199
|
+
Host:
|
200
|
+
- 127.0.0.1:8443
|
201
|
+
response:
|
202
|
+
status:
|
203
|
+
code: 200
|
204
|
+
message: OK
|
205
|
+
headers:
|
206
|
+
Expires:
|
207
|
+
- '0'
|
208
|
+
Cache-Control:
|
209
|
+
- no-cache, no-store, must-revalidate
|
210
|
+
X-Powered-By:
|
211
|
+
- Undertow/1
|
212
|
+
Server:
|
213
|
+
- WildFly/10
|
214
|
+
Pragma:
|
215
|
+
- no-cache
|
216
|
+
Date:
|
217
|
+
- Wed, 10 Aug 2016 22:35:53 GMT
|
218
|
+
Connection:
|
219
|
+
- keep-alive
|
220
|
+
Content-Type:
|
221
|
+
- application/json
|
222
|
+
Content-Length:
|
223
|
+
- '169'
|
224
|
+
body:
|
225
|
+
encoding: UTF-8
|
226
|
+
string: |-
|
227
|
+
{
|
228
|
+
"path" : "/t;hawkular/f;Secure_feed_may_exist/rt;rt-123",
|
229
|
+
"name" : "ResourceType",
|
230
|
+
"identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
|
231
|
+
"id" : "rt-123"
|
232
|
+
}
|
233
|
+
http_version:
|
234
|
+
recorded_at: Wed, 10 Aug 2016 22:35:53 GMT
|
235
|
+
- request:
|
236
|
+
method: post
|
237
|
+
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/resource
|
238
|
+
body:
|
239
|
+
encoding: UTF-8
|
240
|
+
string: '{"properties":{"version":1.0},"id":"r125","name":"My Resource","outgoing":{},"incoming":{},"resourceTypePath":"/t;hawkular/f;Secure_feed_may_exist/rt;rt-123"}'
|
241
|
+
headers:
|
242
|
+
Accept:
|
243
|
+
- application/json
|
244
|
+
Accept-Encoding:
|
245
|
+
- identity
|
246
|
+
User-Agent:
|
247
|
+
- hawkular-client-ruby
|
248
|
+
Hawkular-Tenant:
|
249
|
+
- hawkular
|
250
|
+
Content-Type:
|
251
|
+
- application/json
|
252
|
+
Content-Length:
|
253
|
+
- '158'
|
254
|
+
Host:
|
255
|
+
- 127.0.0.1:8443
|
256
|
+
response:
|
257
|
+
status:
|
258
|
+
code: 201
|
259
|
+
message: Created
|
260
|
+
headers:
|
261
|
+
Expires:
|
262
|
+
- '0'
|
263
|
+
Cache-Control:
|
264
|
+
- no-cache, no-store, must-revalidate
|
265
|
+
X-Powered-By:
|
266
|
+
- Undertow/1
|
267
|
+
Server:
|
268
|
+
- WildFly/10
|
269
|
+
Pragma:
|
270
|
+
- no-cache
|
271
|
+
Location:
|
272
|
+
- https://127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/r;r125
|
273
|
+
Date:
|
274
|
+
- Wed, 10 Aug 2016 22:35:53 GMT
|
275
|
+
Connection:
|
276
|
+
- keep-alive
|
277
|
+
Content-Type:
|
278
|
+
- application/json
|
279
|
+
Content-Length:
|
280
|
+
- '400'
|
281
|
+
body:
|
282
|
+
encoding: UTF-8
|
283
|
+
string: |-
|
284
|
+
{
|
285
|
+
"path" : "/t;hawkular/f;Secure_feed_may_exist/r;r125",
|
286
|
+
"properties" : {
|
287
|
+
"version" : 1.0
|
288
|
+
},
|
289
|
+
"name" : "My Resource",
|
290
|
+
"identityHash" : "4f6d7ec5cdd2f75ca2cb9e4d0499c7bc0f5c5a2",
|
291
|
+
"type" : {
|
292
|
+
"path" : "/t;hawkular/f;Secure_feed_may_exist/rt;rt-123",
|
293
|
+
"name" : "ResourceType",
|
294
|
+
"identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
|
295
|
+
"id" : "rt-123"
|
296
|
+
},
|
297
|
+
"id" : "r125"
|
298
|
+
}
|
299
|
+
http_version:
|
300
|
+
recorded_at: Wed, 10 Aug 2016 22:35:53 GMT
|
301
|
+
- request:
|
302
|
+
method: get
|
303
|
+
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/r;r125
|
304
|
+
body:
|
305
|
+
encoding: US-ASCII
|
306
|
+
string: ''
|
307
|
+
headers:
|
308
|
+
Accept:
|
309
|
+
- application/json
|
310
|
+
Accept-Encoding:
|
311
|
+
- identity
|
312
|
+
User-Agent:
|
313
|
+
- hawkular-client-ruby
|
314
|
+
Hawkular-Tenant:
|
315
|
+
- hawkular
|
316
|
+
Content-Type:
|
317
|
+
- application/json
|
318
|
+
Host:
|
319
|
+
- 127.0.0.1:8443
|
320
|
+
response:
|
321
|
+
status:
|
322
|
+
code: 200
|
323
|
+
message: OK
|
324
|
+
headers:
|
325
|
+
Expires:
|
326
|
+
- '0'
|
327
|
+
Cache-Control:
|
328
|
+
- no-cache, no-store, must-revalidate
|
329
|
+
X-Powered-By:
|
330
|
+
- Undertow/1
|
331
|
+
Server:
|
332
|
+
- WildFly/10
|
333
|
+
Pragma:
|
334
|
+
- no-cache
|
335
|
+
Date:
|
336
|
+
- Wed, 10 Aug 2016 22:35:53 GMT
|
337
|
+
Connection:
|
338
|
+
- keep-alive
|
339
|
+
Content-Type:
|
340
|
+
- application/json
|
341
|
+
Content-Length:
|
342
|
+
- '466'
|
343
|
+
body:
|
344
|
+
encoding: UTF-8
|
345
|
+
string: |-
|
346
|
+
{
|
347
|
+
"path" : "/t;hawkular/f;Secure_feed_may_exist/r;r125",
|
348
|
+
"properties" : {
|
349
|
+
"__identityHash" : "4f6d7ec5cdd2f75ca2cb9e4d0499c7bc0f5c5a2",
|
350
|
+
"version" : 1.0
|
351
|
+
},
|
352
|
+
"name" : "My Resource",
|
353
|
+
"identityHash" : "4f6d7ec5cdd2f75ca2cb9e4d0499c7bc0f5c5a2",
|
354
|
+
"type" : {
|
355
|
+
"path" : "/t;hawkular/f;Secure_feed_may_exist/rt;rt-123",
|
356
|
+
"name" : "ResourceType",
|
357
|
+
"identityHash" : "30a52c53a93cb102e499367ecc55ed8a03b0b1",
|
358
|
+
"id" : "rt-123"
|
359
|
+
},
|
360
|
+
"id" : "r125"
|
361
|
+
}
|
362
|
+
http_version:
|
363
|
+
recorded_at: Wed, 10 Aug 2016 22:35:53 GMT
|
364
|
+
- request:
|
365
|
+
method: get
|
366
|
+
uri: https://<%= super_secret_username %>:<%= super_secret_password %>@127.0.0.1:8443/hawkular/inventory/entity/f;Secure_feed_may_exist/r;r125/d;configuration
|
367
|
+
body:
|
368
|
+
encoding: US-ASCII
|
369
|
+
string: ''
|
370
|
+
headers:
|
371
|
+
Accept:
|
372
|
+
- application/json
|
373
|
+
Accept-Encoding:
|
374
|
+
- identity
|
375
|
+
User-Agent:
|
376
|
+
- hawkular-client-ruby
|
377
|
+
Hawkular-Tenant:
|
378
|
+
- hawkular
|
379
|
+
Content-Type:
|
380
|
+
- application/json
|
381
|
+
Host:
|
382
|
+
- 127.0.0.1:8443
|
383
|
+
response:
|
384
|
+
status:
|
385
|
+
code: 404
|
386
|
+
message: Not Found
|
387
|
+
headers:
|
388
|
+
Expires:
|
389
|
+
- '0'
|
390
|
+
Cache-Control:
|
391
|
+
- no-cache, no-store, must-revalidate
|
392
|
+
X-Powered-By:
|
393
|
+
- Undertow/1
|
394
|
+
Server:
|
395
|
+
- WildFly/10
|
396
|
+
Pragma:
|
397
|
+
- no-cache
|
398
|
+
Date:
|
399
|
+
- Wed, 10 Aug 2016 22:35:53 GMT
|
400
|
+
Connection:
|
401
|
+
- keep-alive
|
402
|
+
Content-Type:
|
403
|
+
- application/json
|
404
|
+
Content-Length:
|
405
|
+
- '314'
|
406
|
+
body:
|
407
|
+
encoding: UTF-8
|
408
|
+
string: |-
|
409
|
+
{
|
410
|
+
"errorMsg" : "No DataEntity found on any of the following paths: [[CanonicalPaths[/t;hawkular/f;Secure_feed_may_exist/r;r125/d;configuration]]]",
|
411
|
+
"details" : {
|
412
|
+
"entityType" : "DataEntity",
|
413
|
+
"path" : [ [ {
|
414
|
+
"paths" : [ "/t;hawkular/f;Secure_feed_may_exist/r;r125/d;configuration" ]
|
415
|
+
} ] ]
|
416
|
+
}
|
417
|
+
}
|
418
|
+
http_version:
|
419
|
+
recorded_at: Wed, 10 Aug 2016 22:35:53 GMT
|
420
|
+
recorded_with: VCR 3.0.3
|