hawkular-client 2.7.0 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +19 -2
- data/.travis/wait_for_services.rb +23 -0
- data/CHANGES.rdoc +11 -0
- data/docker-compose.yml +15 -0
- data/lib/hawkular/alerts/alerts_api.rb +24 -0
- data/lib/hawkular/base_client.rb +7 -0
- data/lib/hawkular/inventory/entities.rb +3 -0
- data/lib/hawkular/metrics/metric_api.rb +38 -3
- data/lib/hawkular/metrics/metrics_client.rb +3 -0
- data/lib/hawkular/metrics/tenant_api.rb +2 -2
- data/lib/hawkular/version.rb +1 -1
- data/spec/integration/alert-resources/alerts-test-data.json +40 -0
- data/spec/integration/alert-resources/events-test-data.json +78 -0
- data/spec/integration/alert-resources/triggers-test-data.json +66 -0
- data/spec/integration/alerts_spec.rb +192 -83
- data/spec/integration/hello-world-definitions.json +1 -2
- data/spec/integration/inventory_spec.rb +18 -5
- data/spec/integration/metric_spec.rb +201 -40
- data/spec/integration/operations_spec.rb +45 -1
- data/spec/spec_helper.rb +25 -6
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_acknowledge_an_alert.yml +205 -0
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_fetch_single_alert.yml +108 -0
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts.yml +59 -0
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts_for_trigger.yml +58 -0
- data/spec/vcr_cassettes/Alert/Alerts/{Should_list_alerts_for_unknown_trigger.yml → Templates/Should_list_alerts_for_unknown_trigger.yml} +13 -9
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_open_alerts.yml +59 -0
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_resolve_an_alert.yml +207 -0
- data/spec/vcr_cassettes/Alert/Alerts/Templates/setup.yml +255 -0
- data/spec/vcr_cassettes/Alert/Alerts/Templates/setup_cleanup.yml +302 -0
- data/spec/vcr_cassettes/Alert/EndToEnd/Templates/Should_create_and_fire_a_trigger.yml +527 -0
- data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml → Alert/Events/Templates/Should_create_an_event.yml} +22 -18
- data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml → Alert/Events/Templates/Should_delete_an_event.yml} +28 -24
- data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events.yml +91 -0
- data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events_using_criteria.yml +60 -0
- data/spec/vcr_cassettes/Alert/Events/{Should_not_list_events_using_criteria.yml → Templates/Should_not_list_events_using_criteria.yml} +14 -13
- data/spec/vcr_cassettes/Alert/Events/Templates/setup.yml +615 -0
- data/spec/vcr_cassettes/Alert/Events/Templates/setup_cleanup.yml +567 -0
- data/spec/vcr_cassettes/Alert/Groups/{Should_operate_a_complex_group_trigger.yml → Templates/Should_operate_a_complex_group_trigger.yml} +508 -352
- data/spec/vcr_cassettes/{Alerts → Alert/Templates}/Should_return_the_version.yml +10 -8
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers.yml +55 -0
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_ID.yml +56 -0
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tag.yml +56 -0
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tags.yml +56 -0
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_bulk_load_triggers.yml +243 -0
- data/spec/vcr_cassettes/Alert/Triggers/{Should_create_a_basic_trigger_with_action.yml → Templates/Should_create_a_basic_trigger_with_action.yml} +107 -76
- data/spec/vcr_cassettes/Alert/Triggers/{Should_create_a_firing_ALL_ANY_trigger.yml → Templates/Should_create_a_firing_ALL_ANY_trigger.yml} +81 -61
- data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml → Alert/Triggers/Templates/Should_create_an_action.yml} +32 -30
- data/spec/vcr_cassettes/{Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml → Alert/Triggers/Templates/Should_get_a_single_Trigger_with_conditions.yml} +29 -29
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_metric_Trigger.yml +50 -0
- data/spec/vcr_cassettes/Alert/Triggers/{Should_get_the_action_definitions.yml → Templates/Should_get_the_action_definitions.yml} +46 -73
- data/spec/vcr_cassettes/Alert/Triggers/{Should_not_create_an_action_for_unknown_plugin.yml → Templates/Should_not_create_an_action_for_unknown_plugin.yml} +12 -8
- data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml → Alert/Triggers/Templates/Should_not_create_an_action_for_unknown_properties.yml} +27 -26
- data/spec/vcr_cassettes/Alert/Triggers/Templates/setup.yml +52 -0
- data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml → Alert/Triggers/Templates/setup_cleanup.yml} +51 -51
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +29 -25
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +3 -3
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +5 -5
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +4 -4
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +4 -4
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +4 -4
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +4 -4
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +6 -6
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +8 -8
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml → metrics_services/Templates/All_Tags_for_metrics/Should_fetch_all_metric_tags_for_metrics_definitions.yml} +159 -53
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +47 -6
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +12 -12
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +17 -17
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +23 -23
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +19 -19
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +12 -12
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +19 -19
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +12 -12
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +5 -5
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +151 -5
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +152 -6
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_rate_stats_for_mixed_metric.yml +33 -33
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +31 -32
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +108 -20
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +26 -26
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +27 -27
- data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Status/Should_return_the_version.yml → metrics_services/Templates/Mixed_metrics/setup_client.yml} +3 -3
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/No_Tenant/Should_fail.yml +43 -4
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Status/Should_return_the_version.yml +44 -3
- data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml → metrics_services/Templates/String_metrics/Should_create_string_definition_using_Hash.yml} +9 -9
- data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml → metrics_services/Templates/String_metrics/Should_create_string_definition_using_MetricDefinition.yml} +9 -9
- data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml → metrics_services/Templates/String_metrics/Should_push_metric_data_to_existing_string.yml} +27 -27
- data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml → metrics_services/Templates/String_metrics/Should_push_metric_data_to_non-existing_string.yml} +15 -15
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tags_Metrics/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +10 -6
- data/spec/vcr_cassettes/Metrics/{Secure/metrics_0_16_0/Templates/Status/Should_return_the_version.yml → NonSecure/metrics_services/Templates/Tenants/setup_client.yml} +5 -5
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +80 -33
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_XA_datasource_should_be_doable.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/{Add_datasource_should_be_doable.json → Add_non-XA_datasource_should_be_doable.json} +0 -0
- metadata +111 -156
- data/spec/vcr_cassettes/Alert/Alerts/Should_acknowledge_an_alert.yml +0 -183
- data/spec/vcr_cassettes/Alert/Alerts/Should_fetch_single_alert.yml +0 -69
- data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts.yml +0 -85
- data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts_for_trigger.yml +0 -142
- data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert.yml +0 -181
- data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert2.yml +0 -49
- data/spec/vcr_cassettes/Alert/EndToEnd/Should_create_and_fire_a_trigger.yml +0 -1187
- data/spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml +0 -50
- data/spec/vcr_cassettes/Alert/Events/Should_list_events.yml +0 -101
- data/spec/vcr_cassettes/Alert/Events/Should_list_events_using_criteria.yml +0 -79
- data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers.yml +0 -62
- data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_ID.yml +0 -55
- data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tag.yml +0 -68
- data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tags.yml +0 -68
- data/spec/vcr_cassettes/Alert/Triggers/Should_bulk_load_triggers.yml +0 -225
- data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action.yml +0 -134
- data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action_for_webhooks.yml +0 -220
- data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_Trigger_with_conditions.yml +0 -138
- data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_metric_Trigger.yml +0 -50
- data/spec/vcr_cassettes/Alert/Triggers/Should_not_create_an_action_for_unknown_properties.yml +0 -134
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -326
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +0 -50
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +0 -48
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +0 -328
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -144
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -281
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -144
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +0 -97
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -326
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -285
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +0 -50
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +0 -48
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -99
data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '[{"value":4,"timestamp":1471274437980}]'
|
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
|
-
Content-Length:
|
19
|
-
- '39'
|
20
|
-
Host:
|
21
|
-
- localhost:8080
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 400
|
25
|
-
message: Bad Request
|
26
|
-
headers:
|
27
|
-
Expires:
|
28
|
-
- '0'
|
29
|
-
Cache-Control:
|
30
|
-
- no-cache, no-store, must-revalidate
|
31
|
-
X-Powered-By:
|
32
|
-
- Undertow/1
|
33
|
-
Server:
|
34
|
-
- WildFly/10
|
35
|
-
Pragma:
|
36
|
-
- no-cache
|
37
|
-
Date:
|
38
|
-
- Mon, 15 Aug 2016 15:20:37 GMT
|
39
|
-
Connection:
|
40
|
-
- keep-alive
|
41
|
-
Content-Type:
|
42
|
-
- application/json
|
43
|
-
Content-Length:
|
44
|
-
- '69'
|
45
|
-
body:
|
46
|
-
encoding: UTF-8
|
47
|
-
string: '{"errorMsg":"Tenant is not specified. Use ''Hawkular-Tenant'' header."}'
|
48
|
-
http_version:
|
49
|
-
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
50
|
-
recorded_with: VCR 3.0.3
|
data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://localhost:8080/hawkular/metrics
|
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: 401
|
21
|
-
message: Unauthorized
|
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
|
-
- Mon, 15 Aug 2016 15:20:37 GMT
|
35
|
-
Connection:
|
36
|
-
- keep-alive
|
37
|
-
Www-Authenticate:
|
38
|
-
- Basic realm="ApplicationRealm"
|
39
|
-
Content-Type:
|
40
|
-
- text/html;charset=UTF-8
|
41
|
-
Content-Length:
|
42
|
-
- '71'
|
43
|
-
body:
|
44
|
-
encoding: UTF-8
|
45
|
-
string: "<html><head><title>Error</title></head><body>Unauthorized</body></html>"
|
46
|
-
http_version:
|
47
|
-
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
48
|
-
recorded_with: VCR 3.0.3
|
@@ -1,99 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/tenants
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"id":"<%= id %>"}'
|
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
|
-
- '45'
|
22
|
-
Host:
|
23
|
-
- localhost:8080
|
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
|
-
- http://localhost:8080/hawkular/metrics/tenants
|
41
|
-
Date:
|
42
|
-
- Mon, 15 Aug 2016 15:20:37 GMT
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '0'
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: ''
|
50
|
-
http_version:
|
51
|
-
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
52
|
-
- request:
|
53
|
-
method: get
|
54
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/tenants
|
55
|
-
body:
|
56
|
-
encoding: US-ASCII
|
57
|
-
string: ''
|
58
|
-
headers:
|
59
|
-
Accept:
|
60
|
-
- application/json
|
61
|
-
Accept-Encoding:
|
62
|
-
- identity
|
63
|
-
User-Agent:
|
64
|
-
- hawkular-client-ruby
|
65
|
-
Hawkular-Tenant:
|
66
|
-
- hawkular
|
67
|
-
Content-Type:
|
68
|
-
- application/json
|
69
|
-
Host:
|
70
|
-
- localhost:8080
|
71
|
-
response:
|
72
|
-
status:
|
73
|
-
code: 200
|
74
|
-
message: OK
|
75
|
-
headers:
|
76
|
-
Expires:
|
77
|
-
- '0'
|
78
|
-
Cache-Control:
|
79
|
-
- no-cache, no-store, must-revalidate
|
80
|
-
X-Powered-By:
|
81
|
-
- Undertow/1
|
82
|
-
Server:
|
83
|
-
- WildFly/10
|
84
|
-
Pragma:
|
85
|
-
- no-cache
|
86
|
-
Date:
|
87
|
-
- Mon, 15 Aug 2016 15:20:37 GMT
|
88
|
-
Connection:
|
89
|
-
- keep-alive
|
90
|
-
Content-Type:
|
91
|
-
- application/json
|
92
|
-
Content-Length:
|
93
|
-
- '15674'
|
94
|
-
body:
|
95
|
-
encoding: UTF-8
|
96
|
-
string: '[{"id":"5afaf0b7-515f-431b-b39c-3da9de4cc7eb"},{"id":"99513ff6-731b-4bf6-bc49-9b4cb589d438"},{"id":"c322404e-27a9-4916-acdc-82a073d7594e"},{"id":"721a3ef4-8259-4362-91a4-03b84db61294"},{"id":"e24a96d4-36ef-4659-8f9d-7b47cc666776"},{"id":"67c774fa-b85e-478c-9d95-3d3d2d9c96eb"},{"id":"a892a18a-186b-4fbc-9778-fd84fb0c9722"},{"id":"51e7772e-d137-4874-aa59-85956c510a3c"},{"id":"d69421bc-f1a1-473c-9be8-1dba42c6bf50"},{"id":"1e40d594-82dc-4fa7-b409-94193ba2e345"},{"id":"0da2902f-d084-47b0-9ea9-0fd753378c78"},{"id":"9407d22f-dd11-496b-afe3-8187a0a5480c"},{"id":"abbbba05-5212-427f-a2dc-a1265ddeb275"},{"id":"7d0cfbfa-5bf9-4630-9350-d95023868f0b"},{"id":"e0ae49ee-b0ec-4c87-a80f-72ce9ee7f5de"},{"id":"3216f3d8-3fa5-4529-b45f-6ffa86de6f6e"},{"id":"be7d8ba7-b63a-44d4-ac05-c370f7c016dd"},{"id":"58f1d65f-5156-4a1d-9940-b57cce463802"},{"id":"6bd98087-2343-456a-9f3f-15300b4b7e33"},{"id":"1a196765-a5be-4bd3-985f-7bae9f583815"},{"id":"e324142c-d06b-41a0-a36b-a610bb6be114"},{"id":"7fe9d215-9596-4537-8f56-5fbb80f3cd07"},{"id":"098b0412-37d5-4dca-a1c1-b950051c3d2a"},{"id":"c722527b-4620-4ca9-b038-5afc7bad967c"},{"id":"740bebc6-7383-474f-ba0a-c5cca06d3175"},{"id":"4136005f-907d-4acd-b4c4-d8fd829249b4"},{"id":"bcb91b80-341c-4443-bacd-2a732fe9c715"},{"id":"02f04b83-4ea7-4e1b-94c4-6141b2f8459d"},{"id":"a6d002bc-9f11-46af-b755-c588c29010c8"},{"id":"c1754b38-c217-43fb-88a8-b16bfb215be0"},{"id":"4e75b4fe-bfa6-49bd-bb6f-b5256b8fd5aa"},{"id":"ccffa0a1-366f-45fc-851a-be4d4f3397f0"},{"id":"fd791113-dd2f-4e5b-acbc-f2fa08635e55"},{"id":"8a53c4d3-e193-4c4c-8f69-f20c43f5b7e4"},{"id":"b0337e54-5835-43b1-8216-809c53ab1c1f"},{"id":"8fe1e629-e8a0-47e0-b84c-ad14cfaa291b"},{"id":"50ab6182-61a6-4b5e-abfb-86f3d6280574"},{"id":"3e0f698e-4546-4895-9009-a9012e586458"},{"id":"<%= id %>"},{"id":"ad31aee2-31ff-46fc-a718-f28511332d24"},{"id":"b8e714bc-2c76-493c-864b-da212b2774f3"},{"id":"dd258f5c-c0c6-49d6-8923-068b76c0183c"},{"id":"6243f7d3-65f6-4e91-b01a-1fdec6ac62d0"},{"id":"c4e22361-6fab-47ab-b7a5-6209a674bbcd"},{"id":"baea3640-2994-487b-a41f-5a4397c908d5"},{"id":"a35d1e07-b6d1-49a7-a462-72f0640713f1"},{"id":"fd47a085-99b6-4996-a563-a6aa1c266673"},{"id":"7a1d5507-dd89-421a-88d2-d839999e63d3"},{"id":"88e626e6-e545-4549-84d4-68674e072618"},{"id":"6ca85574-dc0e-4e59-ba5f-fdaf30d9df6b"},{"id":"27570616-02cd-4d1e-92c3-75956c3d5cf9"},{"id":"4d5dd633-5f65-4f58-a7ac-57702548cff8"},{"id":"f43f3ce3-0fa1-4c6e-860c-c3d2307043c5"},{"id":"e0eada82-970d-44f7-a50f-f8d31c844279"},{"id":"78890432-9bf9-4932-861a-ea58be141027"},{"id":"e9d3ea31-6399-4f75-a865-0da02690985c"},{"id":"dd9edf07-0e73-410f-89b8-d43a9fe9afe3"},{"id":"3b2e9c7b-f3aa-4e39-8390-cdbc8012f68f"},{"id":"2886d83d-30c3-4fd6-acdc-38529fa03dbf"},{"id":"06ea9bd9-0aa1-4282-8124-73910f64550d"},{"id":"5cd22a59-28a7-4bf8-a2b7-0a162a38b524"},{"id":"67f95568-b589-45a7-a612-5650ff6651e1"},{"id":"0249c88f-f1f9-469c-9c2e-c6c113f7fd05"},{"id":"a66a9a4e-c83c-41f4-8a51-b085c39d9f79"},{"id":"ce49e9d4-7c42-4552-87fb-df9d5dd7173a"},{"id":"03879bf9-46de-471f-8e13-472355f92248"},{"id":"c0a5388c-1d3e-4cf7-abec-e4c5945c6170"},{"id":"957aa2b5-c1f1-4922-8f9c-eb0e0d5d305d"},{"id":"a82a2c8d-39c2-4515-9feb-253ca74a22e4"},{"id":"8f3bd1c4-cded-4f21-b7cf-76d93f3d7868"},{"id":"950a103a-8810-4746-bdd2-c170355ed969"},{"id":"273b066d-ac8d-4211-b7f2-d216cac6f83a"},{"id":"3e65525b-f872-4758-a271-f7c21989163a"},{"id":"e8982445-972d-478f-b999-37db4b577a73"},{"id":"75e7ff8b-d06b-473d-8c43-c1a05f619d68"},{"id":"2ac8aaa4-6ef9-42a2-8a2e-d4263922c05f"},{"id":"ddf7c1a1-6d82-4a0f-925d-31c1fb3b00d0"},{"id":"3d79f0d6-2851-4c9e-b5fe-29051c9143b5"},{"id":"16fb4124-b73f-4a66-a5bb-e5d66b7116cb"},{"id":"57c3c0bd-ef9d-4439-a9c7-b7d6de71413c"},{"id":"2939977d-600d-43c6-a384-c4fbc8ec4573"},{"id":"9efc98df-61e2-4c20-9f36-4423b650c558"},{"id":"6e8dbfad-c4e7-4139-98e8-dad53665c9f1"},{"id":"406c098e-6a12-4189-a1b3-cba1666704d7"},{"id":"36a4017c-f97e-49c9-93c1-e24745137071"},{"id":"0fa53e33-a49d-4bdc-a1a1-26012b25b425"},{"id":"6859f311-7b1d-4503-95d5-bd9cf4be51f8"},{"id":"5a8f6e22-da51-4601-a7ee-8c988d3ff485"},{"id":"8b92461c-c763-48c5-b5fc-68252f5bcb22"},{"id":"7feb54ec-86d4-4362-924c-a5d9da85d4dd"},{"id":"78ffbc37-fce4-4629-b970-2247e5476b6d"},{"id":"1d17d491-a82d-4b25-a515-eef4456ad07b"},{"id":"e7476fd4-b5f9-4a58-9e99-a9bee7810744"},{"id":"d8ef79bd-2716-4872-964c-dd39e5ed7f89"},{"id":"f7edad81-7319-4863-9d9a-1ae8279804ed"},{"id":"586ceac1-78e8-46f0-86c9-78da83116364"},{"id":"19654817-32e7-441d-8cdb-b5608947b70b"},{"id":"4b784620-cd0d-4448-94b4-ec5f6f3644f9"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"Securemetrics_0_16_0-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"NonSecuremetrics_services-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"Securemetrics_services-vcr-tenant-d03ee744-a61e-4d77-805a-8867259eacf5"},{"id":"Securemetrics_0_16_0-vcr-tenant-d03ee744-a61e-4d77-805a-8867259eacf5"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"Securemetrics_services-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"Securemetrics_0_16_0-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"Securemetrics_0_16_0-vcr-tenant-3786b501-83eb-4b43-8c79-e637d1413b06"},{"id":"NonSecuremetrics_services-vcr-tenant-13bd38f1-19a9-4681-8764-b4444cac07c3"},{"id":"Securemetrics_0_16_0-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"Securemetrics_0_16_0-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"Securemetrics_services-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"Secure-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"vcr-test-tenant-123"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-80f51f08-9519-4faf-8bef-936762bb979e"},{"id":"Securemetrics_services-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"Securemetrics_services-vcr-tenant-7baf0743-323e-49a5-a65c-39bba4af78d4"},{"id":"vcr-test"},{"id":"Secure-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"NonSecure-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"Securemetrics_services-vcr-tenant-1fb625f3-0dab-4405-b18c-3be1b3e6e6bb"},{"id":"NonSecuremetrics_services-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"NonSecuremetrics_services-vcr-tenant-3786b501-83eb-4b43-8c79-e637d1413b06"},{"id":"Securemetrics_0_16_0-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-6eca7c2a-23b7-4f07-81cb-9753686496f5"},{"id":"Secure-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"Securemetrics_services-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"NonSecuremetrics_services-vcr-tenant-1fb625f3-0dab-4405-b18c-3be1b3e6e6bb"},{"id":"NonSecuremetrics_services-vcr-tenant-f875e627-acaa-4ab0-81b0-cf5a4733ee14"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-e000d5c1-bad9-4229-97c8-70a5524b46d3"},{"id":"Securemetrics_services-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"NonSecuremetrics_services-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-d03ee744-a61e-4d77-805a-8867259eacf5"},{"id":"Securemetrics_0_16_0-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"NonSecure-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"NonSecuremetrics_services-vcr-tenant-7baf0743-323e-49a5-a65c-39bba4af78d4"},{"id":"Securemetrics_services-vcr-tenant-6eca7c2a-23b7-4f07-81cb-9753686496f5"},{"id":"NonSecuremetrics_services-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecuremetrics_services-vcr-tenant-81444d01-db25-4c6e-ace0-99ba715fb125"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-7baf0743-323e-49a5-a65c-39bba4af78d4"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-2ec41673-b692-4033-988b-0c8accd209cd"},{"id":"NonSecure-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"NonSecure-vcr-tenant"},{"id":"Securemetrics_services-vcr-tenant-81444d01-db25-4c6e-ace0-99ba715fb125"},{"id":"Securemetrics_services-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"Secure-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-1924590f-1afe-48e2-ab02-bed6cd3f3e5b"},{"id":"NonSecuremetrics_services-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"Securemetrics_services-vcr-tenant-2ec41673-b692-4033-988b-0c8accd209cd"},{"id":"NonSecure-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"NonSecuremetrics_services-vcr-tenant-af16af6f-1531-4fb8-ae89-5754dfc93a4d"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecure-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"Securemetrics_0_16_0-vcr-tenant-1924590f-1afe-48e2-ab02-bed6cd3f3e5b"},{"id":"Securemetrics_0_16_0-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"NonSecuremetrics_services-vcr-tenant-80f51f08-9519-4faf-8bef-936762bb979e"},{"id":"Securemetrics_0_16_0-vcr-tenant-2ec41673-b692-4033-988b-0c8accd209cd"},{"id":"NonSecure-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"Secure-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-13bd38f1-19a9-4681-8764-b4444cac07c3"},{"id":"NonSecure-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecuremetrics_services-vcr-tenant-d03ee744-a61e-4d77-805a-8867259eacf5"},{"id":"Securemetrics_0_16_0-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"Securemetrics_services-vcr-tenant-a1fd7aa1-9fa6-4d8c-bc01-3444a71e660e"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant"},{"id":"Secure-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"Securemetrics_0_16_0-vcr-tenant-80f51f08-9519-4faf-8bef-936762bb979e"},{"id":"Securemetrics_services-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"Securemetrics_0_16_0-vcr-tenant-bb849c8d-0bca-42e6-b7e4-4224fc305d21"},{"id":"Securemetrics_services-vcr-tenant-1924590f-1afe-48e2-ab02-bed6cd3f3e5b"},{"id":"NonSecure-vcr-test-tenant"},{"id":"Securemetrics_0_16_0-vcr-tenant-af16af6f-1531-4fb8-ae89-5754dfc93a4d"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-c1741aac-87f9-4c9e-9584-a9d65638b52e"},{"id":"Securemetrics_services-vcr-tenant-13bd38f1-19a9-4681-8764-b4444cac07c3"},{"id":"NonSecuremetrics_services-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"Secure-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"NonSecuremetrics_services-vcr-tenant-a1fd7aa1-9fa6-4d8c-bc01-3444a71e660e"},{"id":"NonSecuremetrics_services-vcr-tenant"},{"id":"NonSecure-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-3786b501-83eb-4b43-8c79-e637d1413b06"},{"id":"Securemetrics_0_16_0-vcr-tenant-81444d01-db25-4c6e-ace0-99ba715fb125"},{"id":"NonSecuremetrics_services-vcr-tenant-1924590f-1afe-48e2-ab02-bed6cd3f3e5b"},{"id":"NonSecuremetrics_services-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-af16af6f-1531-4fb8-ae89-5754dfc93a4d"},{"id":"Secure-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"Secure-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"Secure-vcr-test-tenant"},{"id":"Securemetrics_0_16_0-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"NonSecure-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"Securemetrics_services-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"NonSecuremetrics_services-vcr-tenant-c1741aac-87f9-4c9e-9584-a9d65638b52e"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-81444d01-db25-4c6e-ace0-99ba715fb125"},{"id":"Securemetrics_0_16_0-vcr-tenant"},{"id":"Securemetrics_services-vcr-tenant-80f51f08-9519-4faf-8bef-936762bb979e"},{"id":"Securemetrics_services-vcr-tenant-e000d5c1-bad9-4229-97c8-70a5524b46d3"},{"id":"NonSecuremetrics_services-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"Securemetrics_services-vcr-tenant"},{"id":"NonSecuremetrics_services-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"Securemetrics_0_16_0-vcr-tenant-a1fd7aa1-9fa6-4d8c-bc01-3444a71e660e"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-bb849c8d-0bca-42e6-b7e4-4224fc305d21"},{"id":"Securemetrics_0_16_0-vcr-tenant-e000d5c1-bad9-4229-97c8-70a5524b46d3"},{"id":"NonSecuremetrics_services-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"NonSecure-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"Securemetrics_services-vcr-tenant-c1741aac-87f9-4c9e-9584-a9d65638b52e"},{"id":"Securemetrics_services-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"NonSecure-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"NonSecure-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"Secure-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"NonSecuremetrics_services-vcr-tenant-2ec41673-b692-4033-988b-0c8accd209cd"},{"id":"NonSecuremetrics_services-vcr-tenant-6eca7c2a-23b7-4f07-81cb-9753686496f5"},{"id":"Secure-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"Securemetrics_0_16_0-vcr-tenant-6eca7c2a-23b7-4f07-81cb-9753686496f5"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"Secure-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"Secure-vcr-tenant"},{"id":"Securemetrics_0_16_0-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"NonSecure-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"Securemetrics_0_16_0-vcr-tenant-c1741aac-87f9-4c9e-9584-a9d65638b52e"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"Securemetrics_0_16_0-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"Securemetrics_0_16_0-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"NonSecuremetrics_services-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"NonSecuremetrics_services-vcr-tenant-e000d5c1-bad9-4229-97c8-70a5524b46d3"},{"id":"Securemetrics_services-vcr-tenant-af16af6f-1531-4fb8-ae89-5754dfc93a4d"},{"id":"Securemetrics_services-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"Securemetrics_0_16_0-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"NonSecuremetrics_services-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"hawkular"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-1fb625f3-0dab-4405-b18c-3be1b3e6e6bb"},{"id":"Securemetrics_services-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"Securemetrics_0_16_0-vcr-tenant-7baf0743-323e-49a5-a65c-39bba4af78d4"},{"id":"NonSecuremetrics_services-vcr-tenant-bb849c8d-0bca-42e6-b7e4-4224fc305d21"},{"id":"Securemetrics_services-vcr-tenant-bb849c8d-0bca-42e6-b7e4-4224fc305d21"},{"id":"Securemetrics_services-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"Securemetrics_0_16_0-vcr-tenant-1fb625f3-0dab-4405-b18c-3be1b3e6e6bb"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"Securemetrics_services-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-a1fd7aa1-9fa6-4d8c-bc01-3444a71e660e"},{"id":"Securemetrics_0_16_0-vcr-tenant-13bd38f1-19a9-4681-8764-b4444cac07c3"},{"id":"Secure-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"Securemetrics_services-vcr-tenant-3786b501-83eb-4b43-8c79-e637d1413b06"},{"id":"NonSecuremetrics_services-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"}]'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
|
99
|
-
recorded_with: VCR 3.0.3
|
@@ -1,99 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/availability
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"id":"<%= id %>","dataRetention":90,"tags":{"tag":"value"}}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- identity
|
14
|
-
User-Agent:
|
15
|
-
- hawkular-client-ruby
|
16
|
-
Hawkular-Tenant:
|
17
|
-
- <%= vcr_test_tenant %>
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
Content-Length:
|
21
|
-
- '87'
|
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/metrics/availability/<%= id %>
|
41
|
-
Date:
|
42
|
-
- Mon, 15 Aug 2016 15:20:42 GMT
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '0'
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: ''
|
50
|
-
http_version:
|
51
|
-
recorded_at: Mon, 15 Aug 2016 15:20:42 GMT
|
52
|
-
- request:
|
53
|
-
method: get
|
54
|
-
uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/availability/<%= id %>
|
55
|
-
body:
|
56
|
-
encoding: US-ASCII
|
57
|
-
string: ''
|
58
|
-
headers:
|
59
|
-
Accept:
|
60
|
-
- application/json
|
61
|
-
Accept-Encoding:
|
62
|
-
- identity
|
63
|
-
User-Agent:
|
64
|
-
- hawkular-client-ruby
|
65
|
-
Hawkular-Tenant:
|
66
|
-
- <%= vcr_test_tenant %>
|
67
|
-
Content-Type:
|
68
|
-
- application/json
|
69
|
-
Host:
|
70
|
-
- 127.0.0.1:8443
|
71
|
-
response:
|
72
|
-
status:
|
73
|
-
code: 200
|
74
|
-
message: OK
|
75
|
-
headers:
|
76
|
-
Expires:
|
77
|
-
- '0'
|
78
|
-
Cache-Control:
|
79
|
-
- no-cache, no-store, must-revalidate
|
80
|
-
X-Powered-By:
|
81
|
-
- Undertow/1
|
82
|
-
Server:
|
83
|
-
- WildFly/10
|
84
|
-
Pragma:
|
85
|
-
- no-cache
|
86
|
-
Date:
|
87
|
-
- Mon, 15 Aug 2016 15:20:42 GMT
|
88
|
-
Connection:
|
89
|
-
- keep-alive
|
90
|
-
Content-Type:
|
91
|
-
- application/json
|
92
|
-
Content-Length:
|
93
|
-
- '191'
|
94
|
-
body:
|
95
|
-
encoding: UTF-8
|
96
|
-
string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Mon, 15 Aug 2016 15:20:42 GMT
|
99
|
-
recorded_with: VCR 3.0.3
|
@@ -1,99 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/availability
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"id":"<%= id %>","dataRetention":123,"tags":{"some":"value"}}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- identity
|
14
|
-
User-Agent:
|
15
|
-
- hawkular-client-ruby
|
16
|
-
Hawkular-Tenant:
|
17
|
-
- <%= vcr_test_tenant %>
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
Content-Length:
|
21
|
-
- '89'
|
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/metrics/availability/<%= id %>
|
41
|
-
Date:
|
42
|
-
- Mon, 15 Aug 2016 15:20:42 GMT
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '0'
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: ''
|
50
|
-
http_version:
|
51
|
-
recorded_at: Mon, 15 Aug 2016 15:20:42 GMT
|
52
|
-
- request:
|
53
|
-
method: get
|
54
|
-
uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/availability/<%= id %>
|
55
|
-
body:
|
56
|
-
encoding: US-ASCII
|
57
|
-
string: ''
|
58
|
-
headers:
|
59
|
-
Accept:
|
60
|
-
- application/json
|
61
|
-
Accept-Encoding:
|
62
|
-
- identity
|
63
|
-
User-Agent:
|
64
|
-
- hawkular-client-ruby
|
65
|
-
Hawkular-Tenant:
|
66
|
-
- <%= vcr_test_tenant %>
|
67
|
-
Content-Type:
|
68
|
-
- application/json
|
69
|
-
Host:
|
70
|
-
- 127.0.0.1:8443
|
71
|
-
response:
|
72
|
-
status:
|
73
|
-
code: 200
|
74
|
-
message: OK
|
75
|
-
headers:
|
76
|
-
Expires:
|
77
|
-
- '0'
|
78
|
-
Cache-Control:
|
79
|
-
- no-cache, no-store, must-revalidate
|
80
|
-
X-Powered-By:
|
81
|
-
- Undertow/1
|
82
|
-
Server:
|
83
|
-
- WildFly/10
|
84
|
-
Pragma:
|
85
|
-
- no-cache
|
86
|
-
Date:
|
87
|
-
- Mon, 15 Aug 2016 15:20:42 GMT
|
88
|
-
Connection:
|
89
|
-
- keep-alive
|
90
|
-
Content-Type:
|
91
|
-
- application/json
|
92
|
-
Content-Length:
|
93
|
-
- '193'
|
94
|
-
body:
|
95
|
-
encoding: UTF-8
|
96
|
-
string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Mon, 15 Aug 2016 15:20:42 GMT
|
99
|
-
recorded_with: VCR 3.0.3
|
@@ -1,97 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/availability/<%= id %>/raw
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '[{"timestamp":<%= minus50 %>,"value":"up"},{"timestamp":<%= minus40 %>,"value":"up"},{"timestamp":<%= minus30 %>,"value":"down"},{"timestamp":<%= minus20 %>,"value":"down"},{"timestamp":<%= minus10 %>,"value":"down"},{"timestamp":<%= now %>,"value":"up"}]'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- identity
|
14
|
-
User-Agent:
|
15
|
-
- hawkular-client-ruby
|
16
|
-
Hawkular-Tenant:
|
17
|
-
- <%= vcr_test_tenant %>
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
Content-Length:
|
21
|
-
- '253'
|
22
|
-
Host:
|
23
|
-
- 127.0.0.1:8443
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 200
|
27
|
-
message: OK
|
28
|
-
headers:
|
29
|
-
Expires:
|
30
|
-
- '0'
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Cache-Control:
|
34
|
-
- no-cache, no-store, must-revalidate
|
35
|
-
X-Powered-By:
|
36
|
-
- Undertow/1
|
37
|
-
Server:
|
38
|
-
- WildFly/10
|
39
|
-
Pragma:
|
40
|
-
- no-cache
|
41
|
-
Content-Length:
|
42
|
-
- '0'
|
43
|
-
Date:
|
44
|
-
- Mon, 15 Aug 2016 15:20:42 GMT
|
45
|
-
body:
|
46
|
-
encoding: UTF-8
|
47
|
-
string: ''
|
48
|
-
http_version:
|
49
|
-
recorded_at: Mon, 15 Aug 2016 15:20:42 GMT
|
50
|
-
- request:
|
51
|
-
method: get
|
52
|
-
uri: https://jdoe:password@127.0.0.1:8443/hawkular/metrics/availability/<%= id %>/raw/?distinct=true&order=ASC
|
53
|
-
body:
|
54
|
-
encoding: US-ASCII
|
55
|
-
string: ''
|
56
|
-
headers:
|
57
|
-
Accept:
|
58
|
-
- application/json
|
59
|
-
Accept-Encoding:
|
60
|
-
- identity
|
61
|
-
User-Agent:
|
62
|
-
- hawkular-client-ruby
|
63
|
-
Hawkular-Tenant:
|
64
|
-
- <%= vcr_test_tenant %>
|
65
|
-
Content-Type:
|
66
|
-
- application/json
|
67
|
-
Host:
|
68
|
-
- 127.0.0.1:8443
|
69
|
-
response:
|
70
|
-
status:
|
71
|
-
code: 200
|
72
|
-
message: OK
|
73
|
-
headers:
|
74
|
-
Expires:
|
75
|
-
- '0'
|
76
|
-
Cache-Control:
|
77
|
-
- no-cache, no-store, must-revalidate
|
78
|
-
X-Powered-By:
|
79
|
-
- Undertow/1
|
80
|
-
Server:
|
81
|
-
- WildFly/10
|
82
|
-
Pragma:
|
83
|
-
- no-cache
|
84
|
-
Date:
|
85
|
-
- Mon, 15 Aug 2016 15:20:42 GMT
|
86
|
-
Connection:
|
87
|
-
- keep-alive
|
88
|
-
Content-Type:
|
89
|
-
- application/json
|
90
|
-
Content-Length:
|
91
|
-
- '126'
|
92
|
-
body:
|
93
|
-
encoding: UTF-8
|
94
|
-
string: '[{"timestamp":<%= minus50 %>,"value":"up"},{"timestamp":<%= minus30 %>,"value":"down"},{"timestamp":<%= now %>,"value":"up"}]'
|
95
|
-
http_version:
|
96
|
-
recorded_at: Mon, 15 Aug 2016 15:20:42 GMT
|
97
|
-
recorded_with: VCR 3.0.3
|