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
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: get
|
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/data?dataType=configuration
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
Accept:
|
|
11
|
-
- application/json
|
|
12
|
-
Accept-Encoding:
|
|
13
|
-
- gzip, deflate
|
|
14
|
-
Content-Type:
|
|
15
|
-
- application/json
|
|
16
|
-
User-Agent:
|
|
17
|
-
- Ruby
|
|
18
|
-
response:
|
|
19
|
-
status:
|
|
20
|
-
code: 200
|
|
21
|
-
message: OK
|
|
22
|
-
headers:
|
|
23
|
-
Expires:
|
|
24
|
-
- '0'
|
|
25
|
-
Cache-Control:
|
|
26
|
-
- no-cache, no-store, must-revalidate
|
|
27
|
-
X-Powered-By:
|
|
28
|
-
- Undertow/1
|
|
29
|
-
Server:
|
|
30
|
-
- WildFly/10
|
|
31
|
-
Pragma:
|
|
32
|
-
- no-cache
|
|
33
|
-
Date:
|
|
34
|
-
- Thu, 05 May 2016 11:18:44 GMT
|
|
35
|
-
Connection:
|
|
36
|
-
- keep-alive
|
|
37
|
-
Content-Type:
|
|
38
|
-
- application/json
|
|
39
|
-
Content-Length:
|
|
40
|
-
- '351'
|
|
41
|
-
body:
|
|
42
|
-
encoding: ASCII-8BIT
|
|
43
|
-
string: |-
|
|
44
|
-
{
|
|
45
|
-
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/d;configuration",
|
|
46
|
-
"value" : {
|
|
47
|
-
"Bound Address" : "127.0.0.1",
|
|
48
|
-
"Version" : "1.0.0.Alpha13-SNAPSHOT",
|
|
49
|
-
"Server State" : "running",
|
|
50
|
-
"Product Name" : "Hawkular",
|
|
51
|
-
"Hostname" : "localhost.localdomain"
|
|
52
|
-
},
|
|
53
|
-
"name" : "configuration"
|
|
54
|
-
}
|
|
55
|
-
http_version:
|
|
56
|
-
recorded_at: Thu, 05 May 2016 11:18:44 GMT
|
|
57
|
-
recorded_with: VCR 3.0.1
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: get
|
|
5
|
-
uri: http://localhost:8080/
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
Accept-Encoding:
|
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
12
|
-
Accept:
|
|
13
|
-
- '*/*'
|
|
14
|
-
User-Agent:
|
|
15
|
-
- Ruby
|
|
16
|
-
Host:
|
|
17
|
-
- localhost:8080
|
|
18
|
-
response:
|
|
19
|
-
status:
|
|
20
|
-
code: 200
|
|
21
|
-
message: OK
|
|
22
|
-
headers:
|
|
23
|
-
Connection:
|
|
24
|
-
- keep-alive
|
|
25
|
-
Last-Modified:
|
|
26
|
-
- Wed, 28 Oct 2015 11:28:32 GMT
|
|
27
|
-
X-Powered-By:
|
|
28
|
-
- Undertow/1
|
|
29
|
-
Server:
|
|
30
|
-
- WildFly/9
|
|
31
|
-
Content-Type:
|
|
32
|
-
- text/html
|
|
33
|
-
Content-Length:
|
|
34
|
-
- '9123'
|
|
35
|
-
Date:
|
|
36
|
-
- Thu, 29 Oct 2015 21:05:27 GMT
|
|
37
|
-
body:
|
|
38
|
-
encoding: UTF-8
|
|
39
|
-
string: |
|
|
40
|
-
<!DOCTYPE html>
|
|
41
|
-
<html>
|
|
42
|
-
|
|
43
|
-
<head>
|
|
44
|
-
<title>Hawkular - The OpenSource monitoring platform</title>
|
|
45
|
-
<base href='/'>
|
|
46
|
-
<meta charset="UTF8">
|
|
47
|
-
|
|
48
|
-
<!-- bower:css -->
|
|
49
|
-
<link rel="stylesheet" href="libs/angular-ui-select/dist/select.css?v=1446031712077" />
|
|
50
|
-
<link rel="stylesheet" href="libs/angular-toastr/dist/angular-toastr.css?v=1446031712077" />
|
|
51
|
-
<link rel="stylesheet" href="libs/animate.css/animate.css?v=1446031712077" />
|
|
52
|
-
<link rel="stylesheet" href="libs/bootstrap-select/dist/css/bootstrap-select.css?v=1446031712077" />
|
|
53
|
-
<link rel="stylesheet" href="libs/hawkular-charts/css/hawkular-charts.css?v=1446031712077" />
|
|
54
|
-
<link rel="stylesheet" href="libs/patternfly/dist/css/patternfly.css?v=1446031712077" />
|
|
55
|
-
<link rel="stylesheet" href="libs/patternfly/dist/css/patternfly-additions.css?v=1446031712077" />
|
|
56
|
-
<link rel="stylesheet" href="libs/angular-wizard/dist/angular-wizard.min.css?v=1446031712077" />
|
|
57
|
-
<!-- endbower -->
|
|
58
|
-
<link href="dist/hawkular-console.css?v=2015-10-28T11:22:41Z" rel="stylesheet">
|
|
59
|
-
|
|
60
|
-
<!-- ES6/ES6 shim -->
|
|
61
|
-
<!--[if IE 8]>
|
|
62
|
-
<script src="libs/es5-dom-shim/__COMIPLE/a.ie8.js"></script>
|
|
63
|
-
<![endif]-->
|
|
64
|
-
<script src="libs/es5-dom-shim/__COMPILE/a.js"></script>
|
|
65
|
-
<script src="libs/patternfly/components/jquery/dist/jquery.js"></script>
|
|
66
|
-
<script src="libs/patternfly/components/bootstrap/dist/js/bootstrap.js"></script>
|
|
67
|
-
|
|
68
|
-
<!-- bower:js -->
|
|
69
|
-
<script src="libs/jquery/dist/jquery.js?v=1446031712077"></script>
|
|
70
|
-
<script src="libs/angular/angular.js?v=1446031712077"></script>
|
|
71
|
-
<script src="libs/angular-animate/angular-animate.js?v=1446031712077"></script>
|
|
72
|
-
<script src="libs/angular-bootstrap/ui-bootstrap-tpls.js?v=1446031712077"></script>
|
|
73
|
-
<script src="libs/angular-md5/angular-md5.js?v=1446031712077"></script>
|
|
74
|
-
<script src="libs/moment/moment.js?v=1446031712077"></script>
|
|
75
|
-
<script src="libs/angular-momentjs/angular-momentjs.js?v=1446031712077"></script>
|
|
76
|
-
<script src="libs/angular-patternfly/dist/angular-patternfly.js?v=1446031712077"></script>
|
|
77
|
-
<script src="libs/angular-scroll/angular-scroll.js?v=1446031712077"></script>
|
|
78
|
-
<script src="libs/angular-ui-select/dist/select.js?v=1446031712077"></script>
|
|
79
|
-
<script src="libs/angular-toastr/dist/angular-toastr.tpls.js?v=1446031712077"></script>
|
|
80
|
-
<script src="libs/ngInfiniteScroll/build/ng-infinite-scroll.js?v=1446031712077"></script>
|
|
81
|
-
<script src="libs/bootstrap-select/dist/js/bootstrap-select.js?v=1446031712077"></script>
|
|
82
|
-
<script src="libs/d3/d3.js?v=1446031712077"></script>
|
|
83
|
-
<script src="libs/d3-tip/index.js?v=1446031712077"></script>
|
|
84
|
-
<script src="libs/hawkular-charts/hawkular-charts.js?v=1446031712077"></script>
|
|
85
|
-
<script src="libs/angular-resource/angular-resource.js?v=1446031712077"></script>
|
|
86
|
-
<script src="libs/lodash/lodash.js?v=1446031712077"></script>
|
|
87
|
-
<script src="libs/hawkular-ui-services/dist/hawkular-ui-service.js?v=1446031712077"></script>
|
|
88
|
-
<script src="libs/angular-sanitize/angular-sanitize.js?v=1446031712077"></script>
|
|
89
|
-
<script src="libs/js-logger/src/logger.js?v=1446031712077"></script>
|
|
90
|
-
<script src="libs/hawtio-core/hawtio-core.js?v=1446031712077"></script>
|
|
91
|
-
<script src="libs/angular-route/angular-route.js?v=1446031712077"></script>
|
|
92
|
-
<script src="libs/uri.js/src/URI.js?v=1446031712077"></script>
|
|
93
|
-
<script src="libs/uri.js/src/IPv6.js?v=1446031712077"></script>
|
|
94
|
-
<script src="libs/uri.js/src/SecondLevelDomains.js?v=1446031712077"></script>
|
|
95
|
-
<script src="libs/uri.js/src/punycode.js?v=1446031712077"></script>
|
|
96
|
-
<script src="libs/uri.js/src/URITemplate.js?v=1446031712077"></script>
|
|
97
|
-
<script src="libs/uri.js/src/jquery.URI.js?v=1446031712077"></script>
|
|
98
|
-
<script src="libs/uri.js/src/URI.min.js?v=1446031712077"></script>
|
|
99
|
-
<script src="libs/uri.js/src/jquery.URI.min.js?v=1446031712077"></script>
|
|
100
|
-
<script src="libs/uri.js/src/URI.fragmentQuery.js?v=1446031712077"></script>
|
|
101
|
-
<script src="libs/uri.js/src/URI.fragmentURI.js?v=1446031712077"></script>
|
|
102
|
-
<script src="libs/hawtio-core-navigation/dist/hawtio-core-navigation.js?v=1446031712077"></script>
|
|
103
|
-
<script src="libs/hawtio-template-cache/dist/hawtio-template-cache.js?v=1446031712077"></script>
|
|
104
|
-
<script src="libs/hawtio-utilities/dist/sugar.js?v=1446031712077"></script>
|
|
105
|
-
<script src="libs/hawtio-utilities/dist/angular-file-upload.js?v=1446031712077"></script>
|
|
106
|
-
<script src="libs/hawtio-utilities/dist/hawtio-utilities.js?v=1446031712077"></script>
|
|
107
|
-
<script src="libs/hawtio-extension-service/dist/hawtio-extension-service.js?v=1446031712077"></script>
|
|
108
|
-
<script src="libs/keycloak/dist/keycloak.js?v=1446031712077"></script>
|
|
109
|
-
<script src="libs/ng-idle/angular-idle.js?v=1446031712077"></script>
|
|
110
|
-
<script src="libs/hawtio-oauth/dist/hawtio-oauth.js?v=1446031712077"></script>
|
|
111
|
-
<script src="libs/patternfly/dist/js/patternfly.js?v=1446031712077"></script>
|
|
112
|
-
<script src="libs/angular-truncate/src/truncate.js?v=1446031712077"></script>
|
|
113
|
-
<script src="libs/angular-smart-truncate/dist/angular-smart-truncate.js?v=1446031712077"></script>
|
|
114
|
-
<script src="libs/angular-wizard/dist/angular-wizard.min.js?v=1446031712077"></script>
|
|
115
|
-
<!-- endbower -->
|
|
116
|
-
</head>
|
|
117
|
-
|
|
118
|
-
<body class="ng-cloak" ng-controller="GlobalController as global">
|
|
119
|
-
<nav class="navbar navbar-default navbar-pf" role="navigation">
|
|
120
|
-
<div idle-countdown="countdown" ng-init="countdown=30" id="idle">
|
|
121
|
-
<strong>You'll be logged out in {{countdown}} second(s).</strong>.
|
|
122
|
-
</div>
|
|
123
|
-
|
|
124
|
-
<div>
|
|
125
|
-
<div class="navbar-header">
|
|
126
|
-
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
|
|
127
|
-
<span class="sr-only">Toggle navigation</span>
|
|
128
|
-
<span class="icon-bar"></span>
|
|
129
|
-
<span class="icon-bar"></span>
|
|
130
|
-
<span class="icon-bar"></span>
|
|
131
|
-
</button>
|
|
132
|
-
<a class="navbar-brand" ng-click="global.experimentalMode()" >
|
|
133
|
-
<img id="hawkularLogo" src="resources/img/brand.svg"
|
|
134
|
-
alt="RED HAT JBOSS HAWKULAR Management Console" title="Hawkular">
|
|
135
|
-
</a>
|
|
136
|
-
</div>
|
|
137
|
-
<div class="collapse navbar-collapse navbar-collapse-1">
|
|
138
|
-
<ul class="nav navbar-nav navbar-utility pull-right">
|
|
139
|
-
<li class="dropdown">
|
|
140
|
-
<a href="#" dropdown-toggle>
|
|
141
|
-
Red Hat Access <b class="caret"></b>
|
|
142
|
-
</a>
|
|
143
|
-
<ul class="dropdown-menu">
|
|
144
|
-
<li><a href="/hawkular-ui/access/search">Search</a></li>
|
|
145
|
-
<li class="dropdown-submenu">
|
|
146
|
-
<a data-toggle="dropdown" tabindex="-1" href="#">Support</a>
|
|
147
|
-
<ul class="dropdown-menu">
|
|
148
|
-
<li><a href="/hawkular-ui/access/openCase">Open Case</a></li>
|
|
149
|
-
<li><a href="/hawkular-ui/access/myCases">My Cases</a></li>
|
|
150
|
-
</ul>
|
|
151
|
-
</li>
|
|
152
|
-
</ul>
|
|
153
|
-
</li>
|
|
154
|
-
<li class="dropdown" ng-controller="HawkularAccounts.PersonaController as personaController">
|
|
155
|
-
<a href="#" dropdown-toggle>
|
|
156
|
-
<span class="pficon pficon-user"></span>
|
|
157
|
-
{{personaController.currentPersona.name}} <b class="caret"></b>
|
|
158
|
-
</a>
|
|
159
|
-
<ul class="dropdown-menu" id="personaSwitcher">
|
|
160
|
-
<li class="text-muted hk-using">Use Hawkular as:</li>
|
|
161
|
-
<li ng-repeat="persona in personaController.personas"
|
|
162
|
-
ng-class="{'active': persona.id === currentPersona.id}">
|
|
163
|
-
<a href="#" ng-click="personaController.switchPersona(persona)">
|
|
164
|
-
<i class="fa fa-check"
|
|
165
|
-
ng-class="{'hk-invisible': persona.id !== personaController.currentPersona.id}"></i>
|
|
166
|
-
{{persona.name}}
|
|
167
|
-
</a>
|
|
168
|
-
</li>
|
|
169
|
-
<li class="divider" ng-show="personaController.personas.length"></li>
|
|
170
|
-
<li>
|
|
171
|
-
<a id="organizationsOption" href="/hawkular-ui/organizations">Manage Organizations</a>
|
|
172
|
-
</li>
|
|
173
|
-
<li>
|
|
174
|
-
<a id="userSettingsOption" href="/hawkular-ui/settings">User Settings</a>
|
|
175
|
-
</li>
|
|
176
|
-
<li class="divider"></li>
|
|
177
|
-
<li>
|
|
178
|
-
<a id="logout" href="#" ng-click="userDetails.logout()">Log Out</a>
|
|
179
|
-
</li>
|
|
180
|
-
</ul>
|
|
181
|
-
</li>
|
|
182
|
-
</ul>
|
|
183
|
-
<hawkular-topbar ng-controller="Topbar.TopbarController"></hawkular-topbar>
|
|
184
|
-
</div>
|
|
185
|
-
</div>
|
|
186
|
-
</nav>
|
|
187
|
-
|
|
188
|
-
<div ng-controller="HawtioNav.ViewController">
|
|
189
|
-
<div class="container screen-content" ng-include src="viewPartial"></div>
|
|
190
|
-
</div>
|
|
191
|
-
|
|
192
|
-
<div ng-non-bindable data-$injector="">
|
|
193
|
-
<div id="redhat-access-cases">
|
|
194
|
-
<div ui-view autoscroll="false"></div>
|
|
195
|
-
</div>
|
|
196
|
-
</div>
|
|
197
|
-
|
|
198
|
-
<!-- add any scripts under dist/ here -->
|
|
199
|
-
<script src="dist/hawkular-console.js?v=2015-10-28T11:22:41Z"></script>
|
|
200
|
-
<script>
|
|
201
|
-
var title = 'HAWKULAR: ' + HawkularVersion;
|
|
202
|
-
document.getElementById("hawkularLogo").title = title;
|
|
203
|
-
</script>
|
|
204
|
-
</body>
|
|
205
|
-
</html>
|
|
206
|
-
http_version:
|
|
207
|
-
recorded_at: Thu, 29 Oct 2015 21:05:27 GMT
|
|
208
|
-
recorded_with: VCR 2.9.3
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: get
|
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
Accept:
|
|
11
|
-
- application/json
|
|
12
|
-
Accept-Encoding:
|
|
13
|
-
- gzip, deflate
|
|
14
|
-
Content-Type:
|
|
15
|
-
- application/json
|
|
16
|
-
User-Agent:
|
|
17
|
-
- Ruby
|
|
18
|
-
response:
|
|
19
|
-
status:
|
|
20
|
-
code: 200
|
|
21
|
-
message: OK
|
|
22
|
-
headers:
|
|
23
|
-
Content-Encoding:
|
|
24
|
-
- gzip
|
|
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/9
|
|
33
|
-
Pragma:
|
|
34
|
-
- no-cache
|
|
35
|
-
Date:
|
|
36
|
-
- Fri, 06 Nov 2015 13:21:12 GMT
|
|
37
|
-
Connection:
|
|
38
|
-
- keep-alive
|
|
39
|
-
Content-Type:
|
|
40
|
-
- application/json
|
|
41
|
-
Content-Length:
|
|
42
|
-
- '85'
|
|
43
|
-
body:
|
|
44
|
-
encoding: ASCII-8BIT
|
|
45
|
-
string: !binary |-
|
|
46
|
-
H4sIAAAAAAAAAKvmUlBQKkgsyVBSsFJQ0i+xNrIwMDJLMjbTtUhLNdE1MTY2
|
|
47
|
-
0rUwSbbQNTUySTU0N040s0hKU9IB6cpMAeshSgNXLQAnmwH5aQAAAA==
|
|
48
|
-
http_version:
|
|
49
|
-
recorded_at: Fri, 06 Nov 2015 13:21:12 GMT
|
|
50
|
-
recorded_with: VCR 3.0.0
|