hawkular-client 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.rdoc +12 -0
- data/README.rdoc +5 -3
- data/Rakefile +8 -0
- data/hawkularclient.gemspec +1 -1
- data/lib/hawkular/base_client.rb +19 -1
- data/lib/hawkular/hawkular_client.rb +1 -1
- data/lib/hawkular/hawkular_client_utils.rb +1 -0
- data/lib/hawkular/inventory/entities.rb +234 -0
- data/lib/hawkular/inventory/inventory_api.rb +92 -311
- data/lib/hawkular/metrics/metric_api.rb +23 -10
- data/lib/hawkular/metrics/metrics_client.rb +14 -0
- data/lib/hawkular/operations/operations_api.rb +8 -2
- data/lib/hawkular/version.rb +1 -1
- data/spec/README.rdoc +62 -0
- data/spec/integration/alerts_spec.rb +18 -14
- data/spec/integration/hawkular_client_spec.rb +53 -14
- data/spec/integration/inventory_spec.rb +91 -44
- data/spec/integration/metric_spec.rb +574 -420
- data/spec/integration/operations_spec.rb +78 -5
- data/spec/integration/tokens_spec.rb +8 -4
- data/spec/spec_helper.rb +73 -13
- data/spec/unit/base_spec.rb +30 -1
- data/spec/unit/client_spec.rb +21 -9
- data/spec/vcr_cassettes/HawkularClient/Should_err_on_bad_credentials.yml +42 -0
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +64 -34
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml +27 -43
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_list_types_with_bad_feed.yml +12 -8
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +144 -64
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml +26 -14
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +20 -158
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml +40 -30
- data/spec/vcr_cassettes/{Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml → HawkularClient/and_Operations_client/Should_work_initializing_with_URI.yml} +18 -20
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +8 -8
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_work_initializing_with_URI.json +9 -0
- data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI.yml +77 -20
- data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI_on_metrics_client.yml +3 -3
- data/spec/vcr_cassettes/Inventory/Connection/Should_err_on_bad_credentials.yml +42 -0
- data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +59 -12
- data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +59 -12
- data/spec/vcr_cassettes/Inventory/{Helpers → inventory_0_17/Helpers}/create_url.yml +9 -7
- data/spec/vcr_cassettes/Inventory/{Templates/Should_list_feeds_when_using_SSL_without_certificate.yml → inventory_0_17/Helpers/get_feeds.yml} +23 -21
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Client_should_listen_on_various_inventory_events.json +47 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Client_should_listen_on_various_inventory_events.yml +48 -40
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Helpers/generate_some_events_for_websocket.yml +397 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_List_datasources_with_no_props.yml +129 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_feed.yml +13 -10
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_feed_again.yml +40 -29
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_nested_resource_and_metric_on_it.yml +193 -237
- data/spec/vcr_cassettes/Inventory/{Templates/Should_create_and_get_a_resource.yml → inventory_0_17/Templates/Should_create_a_resource.yml} +86 -172
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_resource_with_metric.yml +296 -158
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_a_resourcetype.yml +38 -29
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_create_and_delete_feed.yml +42 -27
- data/spec/vcr_cassettes/Inventory/{Templates/Should_create_a_resource.yml → inventory_0_17/Templates/Should_create_and_get_a_resource.yml} +109 -89
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_URLs.yml +20 -17
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_WildFlys.yml +19 -12
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_WildFlys_with_props.yml +131 -0
- data/spec/vcr_cassettes/Inventory/{Helpers/get_feeds.yml → inventory_0_17/Templates/Should_list_all_the_resource_types.yml} +14 -11
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_children_of_WildFly.yml +315 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_children_of_nested_resource.yml +45 -30
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_feeds.yml +16 -10
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_feeds_when_using_SSL_without_certificate.yml +60 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_heap_metrics_for_WildFlys.yml +935 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_for_WildFlys.yml +357 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +122 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_metrics_of_given_resource_type.yml +292 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource.yml +235 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_operation_definitions_of_given_resource_type.yml +121 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_recursive_children_of_WildFly.yml +1099 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_relationships_of_WildFly.yml +377 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_resources_for_feed.yml +19 -9
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_list_types_with_bad_feed.yml +10 -8
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_list_types_with_feed.yml +164 -0
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_not_find_an_unknown_resource.yml +12 -10
- data/spec/vcr_cassettes/Inventory/{Templates → inventory_0_17/Templates}/Should_return_config_data_of_given_nested_resource.yml +17 -11
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_return_config_data_of_given_resource.yml +66 -0
- data/spec/vcr_cassettes/Inventory/inventory_0_17/Templates/Should_return_the_version.yml +48 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Get_metric_definition_by_id.yml +49 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Retrieve_metric_rate_points.yml +88 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_Availability_definition.yml +97 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_Counter_definition.yml +97 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_create_gauge_definition.yml +97 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_push_metric_data_to_existing_gauge.yml +48 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_update_tags_for_Availability_definition.yml +140 -0
- data/spec/vcr_cassettes/Metric_ID_with_special_characters/Should_update_tags_for_gauge_definition.yml +140 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +93 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +314 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +269 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +269 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +93 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +330 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +273 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +48 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +48 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Status/Should_return_the_version.yml +42 -0
- data/spec/vcr_cassettes/Metrics/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +95 -0
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +5 -9
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_create_and_return_Availability_using_Hash_parameter.yml +5 -9
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_push_metric_data_to_non-existing_Availability.yml +9 -15
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_0_8_0/Templates/Availability_metrics}/Should_update_tags_for_Availability_definition.yml +11 -21
- data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_create_and_return_counter_using_Hash_parameter.yml +5 -9
- data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_create_counter_definition_using_MetricDefinition_parameter.yml +5 -9
- data/spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +200 -0
- data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_push_metric_data_to_existing_counter.yml +16 -28
- data/spec/vcr_cassettes/{Counter_metrics → Metrics/metrics_0_8_0/Templates/Counter_metrics}/Should_push_metric_data_to_non-existing_counter.yml +9 -15
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_create_gauge_definition_using_Hash.yml +5 -9
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_create_gauge_definition_using_MetricDefinition.yml +6 -10
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_push_metric_data_to_existing_gauge.yml +18 -30
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_push_metric_data_to_non-existing_gauge.yml +9 -15
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_return_periods.yml +6 -10
- data/spec/vcr_cassettes/{Gauge_metrics → Metrics/metrics_0_8_0/Templates/Gauge_metrics}/Should_update_tags_for_gauge_definition.yml +11 -21
- data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_0_8_0/Templates/Mixed_metrics}/Should_send_mixed_metric_request.yml +19 -33
- data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_0_8_0/Templates/Mixed_metrics}/Should_send_mixed_metric_request_of_a_single_type.yml +19 -31
- data/spec/vcr_cassettes/Metrics/metrics_0_8_0/Templates/Simple/Should_be_Cool.yml +82 -0
- data/spec/vcr_cassettes/Metrics/{Status.yml → metrics_0_8_0/Templates/Status/Should_return_the_version.yml} +6 -8
- data/spec/vcr_cassettes/{Tenants → Metrics/metrics_0_8_0/Templates/Tenants}/Should_create_and_return_tenant.yml +12 -8
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +95 -0
- data/spec/vcr_cassettes/{Availability_metrics → Metrics/metrics_services/Templates/Availability_metrics}/Should_group_contiguous_values.yml +7 -7
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +230 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +314 -0
- data/spec/vcr_cassettes/{Counter_metrics/Should_get_metrics_with_limit_and_order.yml → Metrics/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml} +72 -61
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +95 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +269 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +138 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +93 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +48 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +49 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +230 -0
- data/spec/vcr_cassettes/{Mixed_metrics → Metrics/metrics_services/Templates/Mixed_metrics}/Should_requests_raw_data_for_multiple_metrics.yml +25 -25
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +273 -0
- data/spec/vcr_cassettes/{No_Tenant → Metrics/metrics_services/Templates/No_Tenant}/Should_fail.yml +16 -10
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Simple/Should_be_Cool.yml +48 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Status/Should_return_the_version.yml +42 -0
- data/spec/vcr_cassettes/Metrics/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +95 -0
- data/spec/vcr_cassettes/{Counter_metrics → New_API_Counter_metrics}/Should_get_metrics_as_bucketed_results.yml +73 -33
- data/spec/vcr_cassettes/New_API_Mixed_metrics/Should_send_mixed_metric_request.yml +300 -0
- data/spec/vcr_cassettes/Operation/Helpers/get_feed.yml +17 -11
- data/spec/vcr_cassettes/Operation/Helpers/get_tenant.yml +13 -11
- data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +4 -4
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +2 -2
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_callback_at_all.json +9 -0
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_bail_with_hash_property_error_because_no_error-callback_.json +9 -0
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_run_into_error_callback_because_bad_hash_parameters.json +13 -0
- metadata +259 -139
- data/spec/vcr_cassettes/Gauge_metrics/Platform_mem.yml +0 -44
- data/spec/vcr_cassettes/Gauge_metrics/Platform_mem_def.yml +0 -45
- data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +0 -4446
- data/spec/vcr_cassettes/Inventory/Templates/Client_should_listen_on_various_inventory_events.json +0 -47
- data/spec/vcr_cassettes/Inventory/Templates/Helpers/generate_some_events_for_websocket.yml +0 -542
- data/spec/vcr_cassettes/Inventory/Templates/Should_List_datasources_with_no_props.yml +0 -174
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_WildFlys_with_props.yml +0 -115
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_all_the_resource_types.yml +0 -126
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_children_of_WildFly.yml +0 -308
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_heap_metrics_for_WildFlys.yml +0 -712
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_for_WildFlys.yml +0 -278
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_metric_type.yml +0 -530
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_resource_type.yml +0 -278
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource.yml +0 -185
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource_type.yml +0 -126
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_recursive_children_of_WildFly.yml +0 -2369
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_relationships_of_WildFly.yml +0 -415
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_feed.yml +0 -124
- data/spec/vcr_cassettes/Inventory/Templates/Should_return_config_data_of_given_resource.yml +0 -57
- data/spec/vcr_cassettes/Simple/Should_be_Cool.yml +0 -208
- data/spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +0 -50
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/
|
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/status
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
|
11
11
|
- application/json
|
|
12
12
|
Accept-Encoding:
|
|
13
13
|
- gzip, deflate
|
|
14
|
+
Hawkular-Tenant:
|
|
15
|
+
- hawkular
|
|
14
16
|
Content-Type:
|
|
15
17
|
- application/json
|
|
16
18
|
User-Agent:
|
|
@@ -20,31 +22,27 @@ http_interactions:
|
|
|
20
22
|
code: 200
|
|
21
23
|
message: OK
|
|
22
24
|
headers:
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
Expires:
|
|
26
|
-
- '0'
|
|
27
|
-
Cache-Control:
|
|
28
|
-
- no-cache, no-store, must-revalidate
|
|
25
|
+
Connection:
|
|
26
|
+
- keep-alive
|
|
29
27
|
X-Powered-By:
|
|
30
28
|
- Undertow/1
|
|
31
29
|
Server:
|
|
32
|
-
- WildFly/
|
|
33
|
-
Pragma:
|
|
34
|
-
- no-cache
|
|
35
|
-
Date:
|
|
36
|
-
- Fri, 06 Nov 2015 13:18:44 GMT
|
|
37
|
-
Connection:
|
|
38
|
-
- keep-alive
|
|
30
|
+
- WildFly/10
|
|
39
31
|
Content-Type:
|
|
40
32
|
- application/json
|
|
41
33
|
Content-Length:
|
|
42
|
-
- '
|
|
34
|
+
- '234'
|
|
35
|
+
Date:
|
|
36
|
+
- Fri, 22 Jul 2016 00:12:55 GMT
|
|
43
37
|
body:
|
|
44
38
|
encoding: ASCII-8BIT
|
|
45
|
-
string:
|
|
46
|
-
|
|
47
|
-
|
|
39
|
+
string: |-
|
|
40
|
+
{
|
|
41
|
+
"Implementation-Version" : "0.17.2.Final",
|
|
42
|
+
"Built-From-Git-SHA1" : "3c8ac6648aa0ec33643ae1b98faadc475d2c6f02",
|
|
43
|
+
"Inventory-Implementation" : "org.hawkular.inventory.impl.tinkerpop.TinkerpopInventory",
|
|
44
|
+
"Initialized" : "true"
|
|
45
|
+
}
|
|
48
46
|
http_version:
|
|
49
|
-
recorded_at: Fri,
|
|
50
|
-
recorded_with: VCR 3.0.
|
|
47
|
+
recorded_at: Fri, 22 Jul 2016 00:12:55 GMT
|
|
48
|
+
recorded_with: VCR 3.0.3
|
data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json
CHANGED
|
@@ -3,42 +3,42 @@
|
|
|
3
3
|
{
|
|
4
4
|
"operation": "read",
|
|
5
5
|
"type": "text",
|
|
6
|
-
"data": "WelcomeResponse={\"sessionId\":\"
|
|
6
|
+
"data": "WelcomeResponse={\"sessionId\":\"GC2GchJkB5_B6zmOANryIEYweDL21a-kmqUcjM3J\"}"
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
9
|
"operation": "write",
|
|
10
|
-
"data": "ExecuteOperationRequest={\"operationName\":\"Redeploy\",\"resourcePath\":\"/t;
|
|
10
|
+
"data": "ExecuteOperationRequest={\"operationName\":\"Redeploy\",\"resourcePath\":\"/t;hawkular/f;8eba5e52-8082-4326-9bbe-eaf4c4eba263/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-alerts-actions-email.war\",\"authentication\":{\"username\":\"jdoe\",\"password\":\"password\"}}"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"operation": "read",
|
|
14
14
|
"type": "text",
|
|
15
|
-
"data": "GenericSuccessResponse={\"message\":\"The request has been forwarded to feed [
|
|
15
|
+
"data": "GenericSuccessResponse={\"message\":\"The request has been forwarded to feed [8eba5e52-8082-4326-9bbe-eaf4c4eba263] (MessageId=ID:338b1dbf-5036-11e6-8736-e3680c098d6d)\"}"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"operation": "read",
|
|
19
19
|
"type": "text",
|
|
20
|
-
"data": "ExecuteOperationResponse={\"operationName\":\"Redeploy\",\"resourcePath\":\"/t;
|
|
20
|
+
"data": "ExecuteOperationResponse={\"operationName\":\"Redeploy\",\"resourcePath\":\"/t;hawkular/f;8eba5e52-8082-4326-9bbe-eaf4c4eba263/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-alerts-actions-email.war\",\"destinationSessionId\":\"GC2GchJkB5_B6zmOANryIEYweDL21a-kmqUcjM3J\",\"status\":\"OK\",\"message\":\"Performed [Redeploy] on a [DMR Node] given by Inventory path [/t;hawkular/f;8eba5e52-8082-4326-9bbe-eaf4c4eba263/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-alerts-actions-email.war]\"}"
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
[
|
|
24
24
|
{
|
|
25
25
|
"operation": "read",
|
|
26
26
|
"type": "text",
|
|
27
|
-
"data": "WelcomeResponse={\"sessionId\":\"
|
|
27
|
+
"data": "WelcomeResponse={\"sessionId\":\"7R8sUEfq9pXqIU0Ob3xfSKmKUXIeDGzWNbUyWnye\"}"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"operation": "write",
|
|
31
|
-
"data": "ExecuteOperationRequest={\"operationName\":\"Redeploy\",\"resourcePath\":\"/t;
|
|
31
|
+
"data": "ExecuteOperationRequest={\"operationName\":\"Redeploy\",\"resourcePath\":\"/t;hawkular/f;8eba5e52-8082-4326-9bbe-eaf4c4eba263/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-alerts-actions-email.war\",\"authentication\":{\"username\":\"jdoe\",\"password\":\"password\"}}"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"operation": "read",
|
|
35
35
|
"type": "text",
|
|
36
|
-
"data": "GenericSuccessResponse={\"message\":\"The request has been forwarded to feed [
|
|
36
|
+
"data": "GenericSuccessResponse={\"message\":\"The request has been forwarded to feed [8eba5e52-8082-4326-9bbe-eaf4c4eba263] (MessageId=ID:35bca406-5036-11e6-8736-e3680c098d6d)\"}"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"operation": "read",
|
|
40
40
|
"type": "text",
|
|
41
|
-
"data": "ExecuteOperationResponse={\"operationName\":\"Redeploy\",\"resourcePath\":\"/t;
|
|
41
|
+
"data": "ExecuteOperationResponse={\"operationName\":\"Redeploy\",\"resourcePath\":\"/t;hawkular/f;8eba5e52-8082-4326-9bbe-eaf4c4eba263/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-alerts-actions-email.war\",\"destinationSessionId\":\"7R8sUEfq9pXqIU0Ob3xfSKmKUXIeDGzWNbUyWnye\",\"status\":\"OK\",\"message\":\"Performed [Redeploy] on a [DMR Node] given by Inventory path [/t;hawkular/f;8eba5e52-8082-4326-9bbe-eaf4c4eba263/r;Local~~/r;Local~%2Fdeployment%3Dhawkular-alerts-actions-email.war]\"}"
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
44
|
]
|
|
@@ -1,5 +1,69 @@
|
|
|
1
1
|
---
|
|
2
2
|
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/deprecated/feeds
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Accept:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- gzip, deflate
|
|
14
|
+
Hawkular-Tenant:
|
|
15
|
+
- hawkular
|
|
16
|
+
Content-Type:
|
|
17
|
+
- application/json
|
|
18
|
+
User-Agent:
|
|
19
|
+
- Ruby
|
|
20
|
+
response:
|
|
21
|
+
status:
|
|
22
|
+
code: 200
|
|
23
|
+
message: OK
|
|
24
|
+
headers:
|
|
25
|
+
Expires:
|
|
26
|
+
- '0'
|
|
27
|
+
Cache-Control:
|
|
28
|
+
- no-cache, no-store, must-revalidate
|
|
29
|
+
X-Powered-By:
|
|
30
|
+
- Undertow/1
|
|
31
|
+
Server:
|
|
32
|
+
- WildFly/10
|
|
33
|
+
Pragma:
|
|
34
|
+
- no-cache
|
|
35
|
+
Date:
|
|
36
|
+
- Fri, 08 Jul 2016 10:39:13 GMT
|
|
37
|
+
X-Total-Count:
|
|
38
|
+
- '2'
|
|
39
|
+
Connection:
|
|
40
|
+
- keep-alive
|
|
41
|
+
Content-Type:
|
|
42
|
+
- application/json
|
|
43
|
+
Content-Length:
|
|
44
|
+
- '542'
|
|
45
|
+
Link:
|
|
46
|
+
- <http://localhost:8080/hawkular/inventory/deprecated/feeds>; rel="current"
|
|
47
|
+
body:
|
|
48
|
+
encoding: ASCII-8BIT
|
|
49
|
+
string: |-
|
|
50
|
+
[ {
|
|
51
|
+
"path" : "/t;hawkular/f;5f040b77-8929-46f4-ace2-4da64c370a0e",
|
|
52
|
+
"properties" : {
|
|
53
|
+
"__identityHash" : "5c76e6f66a08176a1e413e9acb433f534c3e31a"
|
|
54
|
+
},
|
|
55
|
+
"identityHash" : "5c76e6f66a08176a1e413e9acb433f534c3e31a",
|
|
56
|
+
"id" : "5f040b77-8929-46f4-ace2-4da64c370a0e"
|
|
57
|
+
}, {
|
|
58
|
+
"path" : "/t;hawkular/f;70c798a0-6985-4f8a-a525-012d8d28e8a3",
|
|
59
|
+
"properties" : {
|
|
60
|
+
"__identityHash" : "fe2613e3b6df7c9dadc6f314e1902b1395445ceb"
|
|
61
|
+
},
|
|
62
|
+
"identityHash" : "fe2613e3b6df7c9dadc6f314e1902b1395445ceb",
|
|
63
|
+
"id" : "70c798a0-6985-4f8a-a525-012d8d28e8a3"
|
|
64
|
+
} ]
|
|
65
|
+
http_version:
|
|
66
|
+
recorded_at: Fri, 08 Jul 2016 10:39:13 GMT
|
|
3
67
|
- request:
|
|
4
68
|
method: get
|
|
5
69
|
uri: http://jdoe:password@localhost:8080/hawkular/inventory/status
|
|
@@ -33,7 +97,7 @@ http_interactions:
|
|
|
33
97
|
Content-Length:
|
|
34
98
|
- '234'
|
|
35
99
|
Date:
|
|
36
|
-
-
|
|
100
|
+
- Wed, 13 Jul 2016 23:58:37 GMT
|
|
37
101
|
body:
|
|
38
102
|
encoding: ASCII-8BIT
|
|
39
103
|
string: |-
|
|
@@ -44,10 +108,10 @@ http_interactions:
|
|
|
44
108
|
"Initialized" : "true"
|
|
45
109
|
}
|
|
46
110
|
http_version:
|
|
47
|
-
recorded_at:
|
|
111
|
+
recorded_at: Wed, 13 Jul 2016 23:58:37 GMT
|
|
48
112
|
- request:
|
|
49
113
|
method: get
|
|
50
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/
|
|
114
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/traversal/type=f
|
|
51
115
|
body:
|
|
52
116
|
encoding: US-ASCII
|
|
53
117
|
string: ''
|
|
@@ -78,35 +142,28 @@ http_interactions:
|
|
|
78
142
|
Pragma:
|
|
79
143
|
- no-cache
|
|
80
144
|
Date:
|
|
81
|
-
-
|
|
145
|
+
- Wed, 13 Jul 2016 23:58:37 GMT
|
|
82
146
|
X-Total-Count:
|
|
83
|
-
- '
|
|
147
|
+
- '1'
|
|
84
148
|
Connection:
|
|
85
149
|
- keep-alive
|
|
86
150
|
Content-Type:
|
|
87
151
|
- application/json
|
|
88
152
|
Content-Length:
|
|
89
|
-
- '
|
|
153
|
+
- '269'
|
|
90
154
|
Link:
|
|
91
|
-
- <http://localhost:8080/hawkular/inventory/
|
|
155
|
+
- <http://localhost:8080/hawkular/inventory/traversal/type=f>; rel="current"
|
|
92
156
|
body:
|
|
93
157
|
encoding: ASCII-8BIT
|
|
94
158
|
string: |-
|
|
95
159
|
[ {
|
|
96
|
-
"path" : "/t;hawkular/f;
|
|
97
|
-
"properties" : {
|
|
98
|
-
"__identityHash" : "5c76e6f66a08176a1e413e9acb433f534c3e31a"
|
|
99
|
-
},
|
|
100
|
-
"identityHash" : "5c76e6f66a08176a1e413e9acb433f534c3e31a",
|
|
101
|
-
"id" : "5f040b77-8929-46f4-ace2-4da64c370a0e"
|
|
102
|
-
}, {
|
|
103
|
-
"path" : "/t;hawkular/f;70c798a0-6985-4f8a-a525-012d8d28e8a3",
|
|
160
|
+
"path" : "/t;hawkular/f;60f168e0-5220-4208-aa28-0d82a3df4c0c",
|
|
104
161
|
"properties" : {
|
|
105
|
-
"__identityHash" : "
|
|
162
|
+
"__identityHash" : "994724c2730de93555ab298d8e4e3f99579a6b"
|
|
106
163
|
},
|
|
107
|
-
"identityHash" : "
|
|
108
|
-
"id" : "
|
|
164
|
+
"identityHash" : "994724c2730de93555ab298d8e4e3f99579a6b",
|
|
165
|
+
"id" : "60f168e0-5220-4208-aa28-0d82a3df4c0c"
|
|
109
166
|
} ]
|
|
110
167
|
http_version:
|
|
111
|
-
recorded_at:
|
|
112
|
-
recorded_with: VCR 3.0.
|
|
168
|
+
recorded_at: Wed, 13 Jul 2016 23:58:37 GMT
|
|
169
|
+
recorded_with: VCR 3.0.1
|
data/spec/vcr_cassettes/HawkularClient/and_URIs_as_input/Should_work_with_URI_on_metrics_client.yml
CHANGED
|
@@ -33,10 +33,10 @@ http_interactions:
|
|
|
33
33
|
Content-Length:
|
|
34
34
|
- '133'
|
|
35
35
|
Date:
|
|
36
|
-
-
|
|
36
|
+
- Wed, 13 Jul 2016 23:58:37 GMT
|
|
37
37
|
body:
|
|
38
38
|
encoding: UTF-8
|
|
39
39
|
string: '{"MetricsService":"STARTED","Implementation-Version":"0.17.0.Final","Built-From-Git-SHA1":"c439d3797397425d340eac7c549e330d51fc2cac"}'
|
|
40
40
|
http_version:
|
|
41
|
-
recorded_at:
|
|
42
|
-
recorded_with: VCR 3.0.
|
|
41
|
+
recorded_at: Wed, 13 Jul 2016 23:58:37 GMT
|
|
42
|
+
recorded_with: VCR 3.0.1
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: http://-XX-X-jdoe-X:password@localhost:8080/hawkular/inventory/status
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers:
|
|
10
|
+
Accept:
|
|
11
|
+
- application/json
|
|
12
|
+
Accept-Encoding:
|
|
13
|
+
- identity
|
|
14
|
+
User-Agent:
|
|
15
|
+
- hawkular-client-ruby
|
|
16
|
+
Content-Type:
|
|
17
|
+
- application/json
|
|
18
|
+
response:
|
|
19
|
+
status:
|
|
20
|
+
code: 401
|
|
21
|
+
message: Unauthorized
|
|
22
|
+
headers:
|
|
23
|
+
Connection:
|
|
24
|
+
- keep-alive
|
|
25
|
+
Www-Authenticate:
|
|
26
|
+
- Basic realm="ApplicationRealm"
|
|
27
|
+
X-Powered-By:
|
|
28
|
+
- Undertow/1
|
|
29
|
+
Server:
|
|
30
|
+
- WildFly/10
|
|
31
|
+
Content-Type:
|
|
32
|
+
- text/html;charset=UTF-8
|
|
33
|
+
Content-Length:
|
|
34
|
+
- '71'
|
|
35
|
+
Date:
|
|
36
|
+
- Thu, 14 Jul 2016 16:23:36 GMT
|
|
37
|
+
body:
|
|
38
|
+
encoding: UTF-8
|
|
39
|
+
string: "<html><head><title>Error</title></head><body>Unauthorized</body></html>"
|
|
40
|
+
http_version:
|
|
41
|
+
recorded_at: Thu, 14 Jul 2016 16:23:36 GMT
|
|
42
|
+
recorded_with: VCR 3.0.1
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/
|
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/status
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -10,18 +10,63 @@ http_interactions:
|
|
|
10
10
|
Accept:
|
|
11
11
|
- application/json
|
|
12
12
|
Accept-Encoding:
|
|
13
|
-
-
|
|
13
|
+
- identity
|
|
14
|
+
User-Agent:
|
|
15
|
+
- hawkular-client-ruby
|
|
16
|
+
Hawkular-Tenant:
|
|
17
|
+
- hawkular
|
|
18
|
+
Content-Type:
|
|
19
|
+
- application/json
|
|
20
|
+
response:
|
|
21
|
+
status:
|
|
22
|
+
code: 200
|
|
23
|
+
message: OK
|
|
24
|
+
headers:
|
|
25
|
+
Connection:
|
|
26
|
+
- keep-alive
|
|
27
|
+
X-Powered-By:
|
|
28
|
+
- Undertow/1
|
|
29
|
+
Server:
|
|
30
|
+
- WildFly/10
|
|
14
31
|
Content-Type:
|
|
15
32
|
- application/json
|
|
33
|
+
Content-Length:
|
|
34
|
+
- '234'
|
|
35
|
+
Date:
|
|
36
|
+
- Thu, 14 Jul 2016 16:23:36 GMT
|
|
37
|
+
body:
|
|
38
|
+
encoding: UTF-8
|
|
39
|
+
string: |-
|
|
40
|
+
{
|
|
41
|
+
"Implementation-Version" : "0.17.2.Final",
|
|
42
|
+
"Built-From-Git-SHA1" : "3c8ac6648aa0ec33643ae1b98faadc475d2c6f02",
|
|
43
|
+
"Inventory-Implementation" : "org.hawkular.inventory.impl.tinkerpop.TinkerpopInventory",
|
|
44
|
+
"Initialized" : "true"
|
|
45
|
+
}
|
|
46
|
+
http_version:
|
|
47
|
+
recorded_at: Thu, 14 Jul 2016 16:23:36 GMT
|
|
48
|
+
- request:
|
|
49
|
+
method: get
|
|
50
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
|
|
51
|
+
body:
|
|
52
|
+
encoding: US-ASCII
|
|
53
|
+
string: ''
|
|
54
|
+
headers:
|
|
55
|
+
Accept:
|
|
56
|
+
- application/json
|
|
57
|
+
Accept-Encoding:
|
|
58
|
+
- identity
|
|
16
59
|
User-Agent:
|
|
17
|
-
-
|
|
60
|
+
- hawkular-client-ruby
|
|
61
|
+
Hawkular-Tenant:
|
|
62
|
+
- hawkular
|
|
63
|
+
Content-Type:
|
|
64
|
+
- application/json
|
|
18
65
|
response:
|
|
19
66
|
status:
|
|
20
67
|
code: 200
|
|
21
68
|
message: OK
|
|
22
69
|
headers:
|
|
23
|
-
Content-Encoding:
|
|
24
|
-
- gzip
|
|
25
70
|
Expires:
|
|
26
71
|
- '0'
|
|
27
72
|
Cache-Control:
|
|
@@ -33,18 +78,20 @@ http_interactions:
|
|
|
33
78
|
Pragma:
|
|
34
79
|
- no-cache
|
|
35
80
|
Date:
|
|
36
|
-
-
|
|
81
|
+
- Thu, 14 Jul 2016 16:23:36 GMT
|
|
37
82
|
Connection:
|
|
38
83
|
- keep-alive
|
|
39
84
|
Content-Type:
|
|
40
85
|
- application/json
|
|
41
86
|
Content-Length:
|
|
42
|
-
- '
|
|
87
|
+
- '49'
|
|
43
88
|
body:
|
|
44
|
-
encoding:
|
|
45
|
-
string:
|
|
46
|
-
|
|
47
|
-
|
|
89
|
+
encoding: UTF-8
|
|
90
|
+
string: |-
|
|
91
|
+
{
|
|
92
|
+
"path" : "/t;hawkular",
|
|
93
|
+
"id" : "hawkular"
|
|
94
|
+
}
|
|
48
95
|
http_version:
|
|
49
|
-
recorded_at:
|
|
96
|
+
recorded_at: Thu, 14 Jul 2016 16:23:36 GMT
|
|
50
97
|
recorded_with: VCR 3.0.1
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/
|
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/status
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -10,18 +10,63 @@ http_interactions:
|
|
|
10
10
|
Accept:
|
|
11
11
|
- application/json
|
|
12
12
|
Accept-Encoding:
|
|
13
|
-
-
|
|
13
|
+
- identity
|
|
14
|
+
User-Agent:
|
|
15
|
+
- hawkular-client-ruby
|
|
16
|
+
Hawkular-Tenant:
|
|
17
|
+
- hawkular
|
|
18
|
+
Content-Type:
|
|
19
|
+
- application/json
|
|
20
|
+
response:
|
|
21
|
+
status:
|
|
22
|
+
code: 200
|
|
23
|
+
message: OK
|
|
24
|
+
headers:
|
|
25
|
+
Connection:
|
|
26
|
+
- keep-alive
|
|
27
|
+
X-Powered-By:
|
|
28
|
+
- Undertow/1
|
|
29
|
+
Server:
|
|
30
|
+
- WildFly/10
|
|
14
31
|
Content-Type:
|
|
15
32
|
- application/json
|
|
33
|
+
Content-Length:
|
|
34
|
+
- '234'
|
|
35
|
+
Date:
|
|
36
|
+
- Thu, 14 Jul 2016 16:23:36 GMT
|
|
37
|
+
body:
|
|
38
|
+
encoding: UTF-8
|
|
39
|
+
string: |-
|
|
40
|
+
{
|
|
41
|
+
"Implementation-Version" : "0.17.2.Final",
|
|
42
|
+
"Built-From-Git-SHA1" : "3c8ac6648aa0ec33643ae1b98faadc475d2c6f02",
|
|
43
|
+
"Inventory-Implementation" : "org.hawkular.inventory.impl.tinkerpop.TinkerpopInventory",
|
|
44
|
+
"Initialized" : "true"
|
|
45
|
+
}
|
|
46
|
+
http_version:
|
|
47
|
+
recorded_at: Thu, 14 Jul 2016 16:23:36 GMT
|
|
48
|
+
- request:
|
|
49
|
+
method: get
|
|
50
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
|
|
51
|
+
body:
|
|
52
|
+
encoding: US-ASCII
|
|
53
|
+
string: ''
|
|
54
|
+
headers:
|
|
55
|
+
Accept:
|
|
56
|
+
- application/json
|
|
57
|
+
Accept-Encoding:
|
|
58
|
+
- identity
|
|
16
59
|
User-Agent:
|
|
17
|
-
-
|
|
60
|
+
- hawkular-client-ruby
|
|
61
|
+
Hawkular-Tenant:
|
|
62
|
+
- hawkular
|
|
63
|
+
Content-Type:
|
|
64
|
+
- application/json
|
|
18
65
|
response:
|
|
19
66
|
status:
|
|
20
67
|
code: 200
|
|
21
68
|
message: OK
|
|
22
69
|
headers:
|
|
23
|
-
Content-Encoding:
|
|
24
|
-
- gzip
|
|
25
70
|
Expires:
|
|
26
71
|
- '0'
|
|
27
72
|
Cache-Control:
|
|
@@ -33,18 +78,20 @@ http_interactions:
|
|
|
33
78
|
Pragma:
|
|
34
79
|
- no-cache
|
|
35
80
|
Date:
|
|
36
|
-
-
|
|
81
|
+
- Thu, 14 Jul 2016 16:23:36 GMT
|
|
37
82
|
Connection:
|
|
38
83
|
- keep-alive
|
|
39
84
|
Content-Type:
|
|
40
85
|
- application/json
|
|
41
86
|
Content-Length:
|
|
42
|
-
- '
|
|
87
|
+
- '49'
|
|
43
88
|
body:
|
|
44
|
-
encoding:
|
|
45
|
-
string:
|
|
46
|
-
|
|
47
|
-
|
|
89
|
+
encoding: UTF-8
|
|
90
|
+
string: |-
|
|
91
|
+
{
|
|
92
|
+
"path" : "/t;hawkular",
|
|
93
|
+
"id" : "hawkular"
|
|
94
|
+
}
|
|
48
95
|
http_version:
|
|
49
|
-
recorded_at:
|
|
96
|
+
recorded_at: Thu, 14 Jul 2016 16:23:36 GMT
|
|
50
97
|
recorded_with: VCR 3.0.1
|