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
@@ -2,10 +2,10 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/strings/<%= id %>/raw
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '[{"value":
|
8
|
+
string: '[{"value":"Hello world","timestamp":1476328206139}]'
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- application/json
|
@@ -18,7 +18,7 @@ http_interactions:
|
|
18
18
|
Content-Type:
|
19
19
|
- application/json
|
20
20
|
Content-Length:
|
21
|
-
- '
|
21
|
+
- '51'
|
22
22
|
Host:
|
23
23
|
- localhost:8080
|
24
24
|
response:
|
@@ -41,15 +41,15 @@ http_interactions:
|
|
41
41
|
Content-Length:
|
42
42
|
- '0'
|
43
43
|
Date:
|
44
|
-
-
|
44
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
45
45
|
body:
|
46
46
|
encoding: UTF-8
|
47
47
|
string: ''
|
48
48
|
http_version:
|
49
|
-
recorded_at:
|
49
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
50
50
|
- request:
|
51
51
|
method: get
|
52
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/
|
52
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/strings/<%= id %>/raw/
|
53
53
|
body:
|
54
54
|
encoding: US-ASCII
|
55
55
|
string: ''
|
@@ -82,21 +82,21 @@ http_interactions:
|
|
82
82
|
Pragma:
|
83
83
|
- no-cache
|
84
84
|
Date:
|
85
|
-
-
|
85
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
86
86
|
Connection:
|
87
87
|
- keep-alive
|
88
88
|
Content-Type:
|
89
89
|
- application/json
|
90
90
|
Content-Length:
|
91
|
-
- '
|
91
|
+
- '51'
|
92
92
|
body:
|
93
93
|
encoding: UTF-8
|
94
|
-
string: '[{"timestamp":
|
94
|
+
string: '[{"timestamp":1476328206139,"value":"Hello world"}]'
|
95
95
|
http_version:
|
96
|
-
recorded_at:
|
96
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
97
97
|
- request:
|
98
98
|
method: get
|
99
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/
|
99
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/strings/<%= id %>
|
100
100
|
body:
|
101
101
|
encoding: US-ASCII
|
102
102
|
string: ''
|
@@ -129,16 +129,16 @@ http_interactions:
|
|
129
129
|
Pragma:
|
130
130
|
- no-cache
|
131
131
|
Date:
|
132
|
-
-
|
132
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
133
133
|
Connection:
|
134
134
|
- keep-alive
|
135
135
|
Content-Type:
|
136
136
|
- application/json
|
137
137
|
Content-Length:
|
138
|
-
- '
|
138
|
+
- '225'
|
139
139
|
body:
|
140
140
|
encoding: UTF-8
|
141
|
-
string: '{"id":"<%= id %>","dataRetention":
|
141
|
+
string: '{"id":"<%= id %>","dataRetention":14,"type":"string","tenantId":"<%= vcr_test_tenant %>","minTimestamp":1476328206139,"maxTimestamp":1476328206139}'
|
142
142
|
http_version:
|
143
|
-
recorded_at:
|
143
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
144
144
|
recorded_with: VCR 3.0.3
|
data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/setup_client.yml
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/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
|
+
Hawkular-Tenant:
|
17
|
+
- <%= type %>metrics_services-vcr-tenant-ad9b3815-fe9a-4a80-a84b-c096468d3a82
|
18
|
+
Content-Type:
|
19
|
+
- application/json
|
20
|
+
Host:
|
21
|
+
- localhost:8080
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
X-Powered-By:
|
30
|
+
- Undertow/1
|
31
|
+
Server:
|
32
|
+
- WildFly/10
|
33
|
+
Content-Type:
|
34
|
+
- application/json
|
35
|
+
Content-Length:
|
36
|
+
- '133'
|
37
|
+
Date:
|
38
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"MetricsService":"STARTED","Implementation-Version":"0.20.1.Final","Built-From-Git-SHA1":"f23946235446d3425db31d262b47b4f950ddabb3"}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
44
|
+
recorded_with: VCR 3.0.3
|
data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tags_Metrics/setup_client.yml
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/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
|
+
Hawkular-Tenant:
|
17
|
+
- <%= tenant %>
|
18
|
+
Content-Type:
|
19
|
+
- application/json
|
20
|
+
Host:
|
21
|
+
- localhost:8080
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
X-Powered-By:
|
30
|
+
- Undertow/1
|
31
|
+
Server:
|
32
|
+
- WildFly/10
|
33
|
+
Content-Type:
|
34
|
+
- application/json
|
35
|
+
Content-Length:
|
36
|
+
- '133'
|
37
|
+
Date:
|
38
|
+
- Fri, 14 Oct 2016 21:11:20 GMT
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"MetricsService":"STARTED","Implementation-Version":"0.20.1.Final","Built-From-Git-SHA1":"f23946235446d3425db31d262b47b4f950ddabb3"}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
|
44
|
+
recorded_with: VCR 3.0.3
|
@@ -17,6 +17,8 @@ http_interactions:
|
|
17
17
|
- hawkular
|
18
18
|
Content-Type:
|
19
19
|
- application/json
|
20
|
+
Hawkular-Admin-Token:
|
21
|
+
- <%= admin_token %>
|
20
22
|
Content-Length:
|
21
23
|
- '45'
|
22
24
|
Host:
|
@@ -39,7 +41,7 @@ http_interactions:
|
|
39
41
|
Location:
|
40
42
|
- http://localhost:8080/hawkular/metrics/tenants
|
41
43
|
Date:
|
42
|
-
-
|
44
|
+
- Fri, 07 Oct 2016 17:56:22 GMT
|
43
45
|
Connection:
|
44
46
|
- keep-alive
|
45
47
|
Content-Length:
|
@@ -48,7 +50,7 @@ http_interactions:
|
|
48
50
|
encoding: UTF-8
|
49
51
|
string: ''
|
50
52
|
http_version:
|
51
|
-
recorded_at:
|
53
|
+
recorded_at: Fri, 07 Oct 2016 17:56:22 GMT
|
52
54
|
- request:
|
53
55
|
method: get
|
54
56
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/tenants
|
@@ -66,6 +68,8 @@ http_interactions:
|
|
66
68
|
- hawkular
|
67
69
|
Content-Type:
|
68
70
|
- application/json
|
71
|
+
Hawkular-Admin-Token:
|
72
|
+
- <%= admin_token %>
|
69
73
|
Host:
|
70
74
|
- localhost:8080
|
71
75
|
response:
|
@@ -84,16 +88,16 @@ http_interactions:
|
|
84
88
|
Pragma:
|
85
89
|
- no-cache
|
86
90
|
Date:
|
87
|
-
-
|
91
|
+
- Fri, 07 Oct 2016 17:56:22 GMT
|
88
92
|
Connection:
|
89
93
|
- keep-alive
|
90
94
|
Content-Type:
|
91
95
|
- application/json
|
92
96
|
Content-Length:
|
93
|
-
- '
|
97
|
+
- '115'
|
94
98
|
body:
|
95
99
|
encoding: UTF-8
|
96
|
-
string: '[{"id":"5afaf0b7-515f-431b-b39c-3da9de4cc7eb"},{"id":"67c774fa-b85e-478c-9d95-3d3d2d9c96eb"},{"id":"a892a18a-186b-4fbc-9778-fd84fb0c9722"},{"id":"99513ff6-731b-4bf6-bc49-9b4cb589d438"},{"id":"721a3ef4-8259-4362-91a4-03b84db61294"},{"id":"e24a96d4-36ef-4659-8f9d-7b47cc666776"},{"id":"d69421bc-f1a1-473c-9be8-1dba42c6bf50"},{"id":"ccffa0a1-366f-45fc-851a-be4d4f3397f0"},{"id":"6bd98087-2343-456a-9f3f-15300b4b7e33"},{"id":"02f04b83-4ea7-4e1b-94c4-6141b2f8459d"},{"id":"ce49e9d4-7c42-4552-87fb-df9d5dd7173a"},{"id":"c722527b-4620-4ca9-b038-5afc7bad967c"},{"id":"e0eada82-970d-44f7-a50f-f8d31c844279"},{"id":"67f95568-b589-45a7-a612-5650ff6651e1"},{"id":"be7d8ba7-b63a-44d4-ac05-c370f7c016dd"},{"id":"3e65525b-f872-4758-a271-f7c21989163a"},{"id":"e324142c-d06b-41a0-a36b-a610bb6be114"},{"id":"3216f3d8-3fa5-4529-b45f-6ffa86de6f6e"},{"id":"abbbba05-5212-427f-a2dc-a1265ddeb275"},{"id":"a6d002bc-9f11-46af-b755-c588c29010c8"},{"id":"4136005f-907d-4acd-b4c4-d8fd829249b4"},{"id":"c1754b38-c217-43fb-88a8-b16bfb215be0"},{"id":"1a196765-a5be-4bd3-985f-7bae9f583815"},{"id":"7fe9d215-9596-4537-8f56-5fbb80f3cd07"},{"id":"740bebc6-7383-474f-ba0a-c5cca06d3175"},{"id":"fd47a085-99b6-4996-a563-a6aa1c266673"},{"id":"f43f3ce3-0fa1-4c6e-860c-c3d2307043c5"},{"id":"fd791113-dd2f-4e5b-acbc-f2fa08635e55"},{"id":"8f3bd1c4-cded-4f21-b7cf-76d93f3d7868"},{"id":"78890432-9bf9-4932-861a-ea58be141027"},{"id":"5cd22a59-28a7-4bf8-a2b7-0a162a38b524"},{"id":"4d5dd633-5f65-4f58-a7ac-57702548cff8"},{"id":"3b2e9c7b-f3aa-4e39-8390-cdbc8012f68f"},{"id":"06ea9bd9-0aa1-4282-8124-73910f64550d"},{"id":"7a1d5507-dd89-421a-88d2-d839999e63d3"},{"id":"a66a9a4e-c83c-41f4-8a51-b085c39d9f79"},{"id":"03879bf9-46de-471f-8e13-472355f92248"},{"id":"2ac8aaa4-6ef9-42a2-8a2e-d4263922c05f"},{"id":"2939977d-600d-43c6-a384-c4fbc8ec4573"},{"id":"88e626e6-e545-4549-84d4-68674e072618"},{"id":"c4e22361-6fab-47ab-b7a5-6209a674bbcd"},{"id":"5a8f6e22-da51-4601-a7ee-8c988d3ff485"},{"id":"e9d3ea31-6399-4f75-a865-0da02690985c"},{"id":"<%= id %>"},{"id":"dd9edf07-0e73-410f-89b8-d43a9fe9afe3"},{"id":"3e0f698e-4546-4895-9009-a9012e586458"},{"id":"a82a2c8d-39c2-4515-9feb-253ca74a22e4"},{"id":"b8e714bc-2c76-493c-864b-da212b2774f3"},{"id":"16fb4124-b73f-4a66-a5bb-e5d66b7116cb"},{"id":"58f1d65f-5156-4a1d-9940-b57cce463802"},{"id":"b0337e54-5835-43b1-8216-809c53ab1c1f"},{"id":"3d79f0d6-2851-4c9e-b5fe-29051c9143b5"},{"id":"7d0cfbfa-5bf9-4630-9350-d95023868f0b"},{"id":"ddf7c1a1-6d82-4a0f-925d-31c1fb3b00d0"},{"id":"9407d22f-dd11-496b-afe3-8187a0a5480c"},{"id":"6ca85574-dc0e-4e59-ba5f-fdaf30d9df6b"},{"id":"950a103a-8810-4746-bdd2-c170355ed969"},{"id":"8fe1e629-e8a0-47e0-b84c-ad14cfaa291b"},{"id":"6e8dbfad-c4e7-4139-98e8-dad53665c9f1"},{"id":"6859f311-7b1d-4503-95d5-bd9cf4be51f8"},{"id":"7feb54ec-86d4-4362-924c-a5d9da85d4dd"},{"id":"57c3c0bd-ef9d-4439-a9c7-b7d6de71413c"},{"id":"8b92461c-c763-48c5-b5fc-68252f5bcb22"},{"id":"27570616-02cd-4d1e-92c3-75956c3d5cf9"},{"id":"19654817-32e7-441d-8cdb-b5608947b70b"},{"id":"78ffbc37-fce4-4629-b970-2247e5476b6d"},{"id":"e7476fd4-b5f9-4a58-9e99-a9bee7810744"},{"id":"1d17d491-a82d-4b25-a515-eef4456ad07b"},{"id":"0249c88f-f1f9-469c-9c2e-c6c113f7fd05"},{"id":"957aa2b5-c1f1-4922-8f9c-eb0e0d5d305d"},{"id":"51e7772e-d137-4874-aa59-85956c510a3c"},{"id":"273b066d-ac8d-4211-b7f2-d216cac6f83a"},{"id":"0fa53e33-a49d-4bdc-a1a1-26012b25b425"},{"id":"1e40d594-82dc-4fa7-b409-94193ba2e345"},{"id":"9efc98df-61e2-4c20-9f36-4423b650c558"},{"id":"f7edad81-7319-4863-9d9a-1ae8279804ed"},{"id":"e0ae49ee-b0ec-4c87-a80f-72ce9ee7f5de"},{"id":"0da2902f-d084-47b0-9ea9-0fd753378c78"},{"id":"4e75b4fe-bfa6-49bd-bb6f-b5256b8fd5aa"},{"id":"4b784620-cd0d-4448-94b4-ec5f6f3644f9"},{"id":"a35d1e07-b6d1-49a7-a462-72f0640713f1"},{"id":"dd258f5c-c0c6-49d6-8923-068b76c0183c"},{"id":"50ab6182-61a6-4b5e-abfb-86f3d6280574"},{"id":"ad31aee2-31ff-46fc-a718-f28511332d24"},{"id":"bcb91b80-341c-4443-bacd-2a732fe9c715"},{"id":"36a4017c-f97e-49c9-93c1-e24745137071"},{"id":"6243f7d3-65f6-4e91-b01a-1fdec6ac62d0"},{"id":"e8982445-972d-478f-b999-37db4b577a73"},{"id":"75e7ff8b-d06b-473d-8c43-c1a05f619d68"},{"id":"586ceac1-78e8-46f0-86c9-78da83116364"},{"id":"c0a5388c-1d3e-4cf7-abec-e4c5945c6170"},{"id":"c322404e-27a9-4916-acdc-82a073d7594e"},{"id":"2886d83d-30c3-4fd6-acdc-38529fa03dbf"},{"id":"406c098e-6a12-4189-a1b3-cba1666704d7"},{"id":"baea3640-2994-487b-a41f-5a4397c908d5"},{"id":"NonSecuremetrics_services-vcr-tenant-81444d01-db25-4c6e-ace0-99ba715fb125"},{"id":"Securemetrics_services-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"Securemetrics_0_16_0-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"Securemetrics_0_16_0-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"Securemetrics_services-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"Secure-vcr-test-tenant"},{"id":"Securemetrics_0_16_0-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-2ec41673-b692-4033-988b-0c8accd209cd"},{"id":"Secure-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"vcr-test-tenant-123"},{"id":"NonSecure-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"098b0412-37d5-4dca-a1c1-b950051c3d2a"},{"id":"d8ef79bd-2716-4872-964c-dd39e5ed7f89"},{"id":"Securemetrics_services-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"Secure-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"NonSecure-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"Securemetrics_0_16_0-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"NonSecure-vcr-tenant"},{"id":"NonSecure-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"NonSecuremetrics_services-vcr-tenant-6eca7c2a-23b7-4f07-81cb-9753686496f5"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"Securemetrics_services-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"NonSecure-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecuremetrics_services-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"NonSecuremetrics_services-vcr-tenant-7baf0743-323e-49a5-a65c-39bba4af78d4"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant"},{"id":"Secure-vcr-tenant"},{"id":"NonSecuremetrics_services-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"Secure-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"Securemetrics_services-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-c1741aac-87f9-4c9e-9584-a9d65638b52e"},{"id":"Secure-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"Securemetrics_0_16_0-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"Securemetrics_0_16_0-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecuremetrics_services-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"Secure-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"Securemetrics_services-vcr-tenant-6eca7c2a-23b7-4f07-81cb-9753686496f5"},{"id":"NonSecuremetrics_services-vcr-tenant-d03ee744-a61e-4d77-805a-8867259eacf5"},{"id":"NonSecuremetrics_services-vcr-tenant-e000d5c1-bad9-4229-97c8-70a5524b46d3"},{"id":"NonSecuremetrics_services-vcr-tenant-80f51f08-9519-4faf-8bef-936762bb979e"},{"id":"Securemetrics_0_16_0-vcr-tenant-1924590f-1afe-48e2-ab02-bed6cd3f3e5b"},{"id":"Securemetrics_services-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"Securemetrics_0_16_0-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"Secure-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"Securemetrics_services-vcr-tenant-e000d5c1-bad9-4229-97c8-70a5524b46d3"},{"id":"NonSecuremetrics_services-vcr-tenant-1924590f-1afe-48e2-ab02-bed6cd3f3e5b"},{"id":"Securemetrics_services-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"NonSecuremetrics_services-vcr-tenant-af16af6f-1531-4fb8-ae89-5754dfc93a4d"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-1fb625f3-0dab-4405-b18c-3be1b3e6e6bb"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-13bd38f1-19a9-4681-8764-b4444cac07c3"},{"id":"Securemetrics_services-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"Securemetrics_0_16_0-vcr-tenant-3786b501-83eb-4b43-8c79-e637d1413b06"},{"id":"Securemetrics_0_16_0-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"NonSecuremetrics_services-vcr-tenant-3786b501-83eb-4b43-8c79-e637d1413b06"},{"id":"Securemetrics_services-vcr-tenant-1fb625f3-0dab-4405-b18c-3be1b3e6e6bb"},{"id":"Secure-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"NonSecuremetrics_services-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"Securemetrics_services-vcr-tenant-af16af6f-1531-4fb8-ae89-5754dfc93a4d"},{"id":"Securemetrics_0_16_0-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-a1fd7aa1-9fa6-4d8c-bc01-3444a71e660e"},{"id":"NonSecure-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"Securemetrics_0_16_0-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"NonSecuremetrics_services-vcr-tenant-13bd38f1-19a9-4681-8764-b4444cac07c3"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-1924590f-1afe-48e2-ab02-bed6cd3f3e5b"},{"id":"NonSecure-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"NonSecuremetrics_services-vcr-tenant"},{"id":"Securemetrics_0_16_0-vcr-tenant"},{"id":"NonSecure-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"NonSecuremetrics_services-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"NonSecuremetrics_services-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"Securemetrics_0_16_0-vcr-tenant-c1741aac-87f9-4c9e-9584-a9d65638b52e"},{"id":"Secure-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"NonSecuremetrics_services-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"Securemetrics_services-vcr-tenant-7baf0743-323e-49a5-a65c-39bba4af78d4"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-bb849c8d-0bca-42e6-b7e4-4224fc305d21"},{"id":"Securemetrics_0_16_0-vcr-tenant-80f51f08-9519-4faf-8bef-936762bb979e"},{"id":"Securemetrics_services-vcr-tenant-d03ee744-a61e-4d77-805a-8867259eacf5"},{"id":"NonSecure-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"NonSecure-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"NonSecuremetrics_services-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-7baf0743-323e-49a5-a65c-39bba4af78d4"},{"id":"NonSecuremetrics_services-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"Securemetrics_services-vcr-tenant-3786b501-83eb-4b43-8c79-e637d1413b06"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-80f51f08-9519-4faf-8bef-936762bb979e"},{"id":"NonSecure-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"NonSecure-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"NonSecuremetrics_services-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"Securemetrics_0_16_0-vcr-tenant-1fb625f3-0dab-4405-b18c-3be1b3e6e6bb"},{"id":"Securemetrics_services-vcr-tenant-a1fd7aa1-9fa6-4d8c-bc01-3444a71e660e"},{"id":"Securemetrics_services-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"NonSecuremetrics_services-vcr-tenant-a1fd7aa1-9fa6-4d8c-bc01-3444a71e660e"},{"id":"Securemetrics_0_16_0-vcr-tenant-2ec41673-b692-4033-988b-0c8accd209cd"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-af16af6f-1531-4fb8-ae89-5754dfc93a4d"},{"id":"Securemetrics_services-vcr-tenant-bb849c8d-0bca-42e6-b7e4-4224fc305d21"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-944043a2-5382-4b69-b536-feef36fb8059"},{"id":"Securemetrics_services-vcr-tenant-13bd38f1-19a9-4681-8764-b4444cac07c3"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-3786b501-83eb-4b43-8c79-e637d1413b06"},{"id":"Securemetrics_services-vcr-tenant-80f51f08-9519-4faf-8bef-936762bb979e"},{"id":"NonSecuremetrics_services-vcr-tenant-c1741aac-87f9-4c9e-9584-a9d65638b52e"},{"id":"Securemetrics_services-vcr-tenant-cbad1ed5-86e6-47bb-813b-1116b5a810d7"},{"id":"NonSecure-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"Securemetrics_0_16_0-vcr-tenant-81444d01-db25-4c6e-ace0-99ba715fb125"},{"id":"Securemetrics_0_16_0-vcr-tenant-2e243ab2-0c65-42c5-94b3-00757306b2ad"},{"id":"Securemetrics_0_16_0-vcr-tenant-7baf0743-323e-49a5-a65c-39bba4af78d4"},{"id":"Securemetrics_services-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"NonSecure-vcr-test-tenant"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-e000d5c1-bad9-4229-97c8-70a5524b46d3"},{"id":"Securemetrics_services-vcr-tenant-c1741aac-87f9-4c9e-9584-a9d65638b52e"},{"id":"Secure-vcr-tenant-3206db20-2183-40fc-9d56-42280e4d3cba"},{"id":"Securemetrics_0_16_0-vcr-tenant-d03ee744-a61e-4d77-805a-8867259eacf5"},{"id":"vcr-test"},{"id":"NonSecuremetrics_services-vcr-tenant-2ec41673-b692-4033-988b-0c8accd209cd"},{"id":"Secure-vcr-tenant-4a0673ed-007c-42b2-ae4c-6ba21108b59b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-791957b6-5aad-4379-b9c2-1f9bf20baa74"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-6eca7c2a-23b7-4f07-81cb-9753686496f5"},{"id":"Secure-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"Securemetrics_services-vcr-tenant-1924590f-1afe-48e2-ab02-bed6cd3f3e5b"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-d03ee744-a61e-4d77-805a-8867259eacf5"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-81444d01-db25-4c6e-ace0-99ba715fb125"},{"id":"NonSecuremetrics_services-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"Securemetrics_services-vcr-tenant"},{"id":"hawkular"},{"id":"NonSecure-vcr-tenant-c710b8c6-c560-4ed4-8f82-7aab71fb0bc4"},{"id":"Securemetrics_0_16_0-vcr-tenant-13bd38f1-19a9-4681-8764-b4444cac07c3"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"Securemetrics_0_16_0-vcr-tenant-bb849c8d-0bca-42e6-b7e4-4224fc305d21"},{"id":"Securemetrics_services-vcr-tenant-2ec41673-b692-4033-988b-0c8accd209cd"},{"id":"NonSecuremetrics_services-vcr-tenant-944b6918-61a5-4211-8cd0-b41f9dfb5199"},{"id":"Securemetrics_0_16_0-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"Securemetrics_0_16_0-vcr-tenant-a1fd7aa1-9fa6-4d8c-bc01-3444a71e660e"},{"id":"Securemetrics_0_16_0-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"Securemetrics_0_16_0-vcr-tenant-af16af6f-1531-4fb8-ae89-5754dfc93a4d"},{"id":"Securemetrics_0_16_0-vcr-tenant-e000d5c1-bad9-4229-97c8-70a5524b46d3"},{"id":"NonSecuremetrics_0_16_0-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"Secure-vcr-tenant-e305e8db-dcba-4002-9a2e-1eaf7c977ac7"},{"id":"Securemetrics_services-vcr-tenant-c77f4963-e197-4957-8b90-07d89ccea9f7"},{"id":"Secure-vcr-tenant-05c819cb-2acf-49f9-8caa-348d159b2e7c"},{"id":"Securemetrics_services-vcr-tenant-e7631b1e-ee4f-49d6-ad44-fffaa645f90e"},{"id":"NonSecuremetrics_services-vcr-tenant-bb849c8d-0bca-42e6-b7e4-4224fc305d21"},{"id":"Securemetrics_services-vcr-tenant-81444d01-db25-4c6e-ace0-99ba715fb125"},{"id":"NonSecuremetrics_services-vcr-tenant-326af131-55e1-4adb-bf12-5035a318f113"},{"id":"NonSecuremetrics_services-vcr-tenant-1fb625f3-0dab-4405-b18c-3be1b3e6e6bb"}]'
|
100
|
+
string: '[{"id":"other-tenant"},{"id":"dea3f721-2e73-4d7e-8cfb-cf073680f77b"},{"id":"<%= id %>"}]'
|
97
101
|
http_version:
|
98
|
-
recorded_at:
|
102
|
+
recorded_at: Fri, 07 Oct 2016 17:56:22 GMT
|
99
103
|
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/status
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -18,7 +18,7 @@ http_interactions:
|
|
18
18
|
Content-Type:
|
19
19
|
- application/json
|
20
20
|
Host:
|
21
|
-
-
|
21
|
+
- localhost:8080
|
22
22
|
response:
|
23
23
|
status:
|
24
24
|
code: 200
|
@@ -35,10 +35,10 @@ http_interactions:
|
|
35
35
|
Content-Length:
|
36
36
|
- '133'
|
37
37
|
Date:
|
38
|
-
-
|
38
|
+
- Thu, 13 Oct 2016 03:10:05 GMT
|
39
39
|
body:
|
40
40
|
encoding: UTF-8
|
41
|
-
string: '{"MetricsService":"STARTED","Implementation-Version":"0.
|
41
|
+
string: '{"MetricsService":"STARTED","Implementation-Version":"0.20.1.Final","Built-From-Git-SHA1":"f23946235446d3425db31d262b47b4f950ddabb3"}'
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Thu, 13 Oct 2016 03:10:05 GMT
|
44
44
|
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/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
|
+
Hawkular-Tenant:
|
17
|
+
- <%= type %>metrics_services-vcr-tenant-b83d0822-4e59-45e4-b94d-c1b468e1a634
|
18
|
+
Content-Type:
|
19
|
+
- application/json
|
20
|
+
Host:
|
21
|
+
- localhost:8080
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
X-Powered-By:
|
30
|
+
- Undertow/1
|
31
|
+
Server:
|
32
|
+
- WildFly/10
|
33
|
+
Content-Type:
|
34
|
+
- application/json
|
35
|
+
Content-Length:
|
36
|
+
- '133'
|
37
|
+
Date:
|
38
|
+
- Wed, 12 Oct 2016 19:24:46 GMT
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"MetricsService":"STARTED","Implementation-Version":"0.20.1.Final","Built-From-Git-SHA1":"f23946235446d3425db31d262b47b4f950ddabb3"}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Wed, 12 Oct 2016 19:24:46 GMT
|
44
|
+
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri:
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/raw/query
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"ids":["<%= id1 %>","<%= id2 %>","<%= id3 %>"],"start":null,"end":null,"limit":null,"order":null}'
|
@@ -20,7 +20,7 @@ http_interactions:
|
|
20
20
|
Content-Length:
|
21
21
|
- '176'
|
22
22
|
Host:
|
23
|
-
-
|
23
|
+
- localhost:8080
|
24
24
|
response:
|
25
25
|
status:
|
26
26
|
code: 204
|
@@ -37,15 +37,15 @@ http_interactions:
|
|
37
37
|
Pragma:
|
38
38
|
- no-cache
|
39
39
|
Date:
|
40
|
-
- Mon,
|
40
|
+
- Mon, 10 Oct 2016 16:12:14 GMT
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
43
|
string: ''
|
44
44
|
http_version:
|
45
|
-
recorded_at: Mon,
|
45
|
+
recorded_at: Mon, 10 Oct 2016 16:12:14 GMT
|
46
46
|
- request:
|
47
47
|
method: post
|
48
|
-
uri:
|
48
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/raw/query
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
51
|
string: '{"ids":["<%= id1 %>","<%= id2 %>","<%= id3 %>"],"start":null,"end":null,"limit":null,"order":null}'
|
@@ -63,7 +63,7 @@ http_interactions:
|
|
63
63
|
Content-Length:
|
64
64
|
- '176'
|
65
65
|
Host:
|
66
|
-
-
|
66
|
+
- localhost:8080
|
67
67
|
response:
|
68
68
|
status:
|
69
69
|
code: 204
|
@@ -80,15 +80,15 @@ http_interactions:
|
|
80
80
|
Pragma:
|
81
81
|
- no-cache
|
82
82
|
Date:
|
83
|
-
- Mon,
|
83
|
+
- Mon, 10 Oct 2016 16:12:14 GMT
|
84
84
|
body:
|
85
85
|
encoding: UTF-8
|
86
86
|
string: ''
|
87
87
|
http_version:
|
88
|
-
recorded_at: Mon,
|
88
|
+
recorded_at: Mon, 10 Oct 2016 16:12:14 GMT
|
89
89
|
- request:
|
90
90
|
method: post
|
91
|
-
uri:
|
91
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/raw/query
|
92
92
|
body:
|
93
93
|
encoding: UTF-8
|
94
94
|
string: '{"ids":["<%= id1 %>","<%= id2 %>","<%= id3 %>"],"start":null,"end":null,"limit":null,"order":null}'
|
@@ -106,7 +106,7 @@ http_interactions:
|
|
106
106
|
Content-Length:
|
107
107
|
- '176'
|
108
108
|
Host:
|
109
|
-
-
|
109
|
+
- localhost:8080
|
110
110
|
response:
|
111
111
|
status:
|
112
112
|
code: 204
|
@@ -123,18 +123,18 @@ http_interactions:
|
|
123
123
|
Pragma:
|
124
124
|
- no-cache
|
125
125
|
Date:
|
126
|
-
- Mon,
|
126
|
+
- Mon, 10 Oct 2016 16:12:14 GMT
|
127
127
|
body:
|
128
128
|
encoding: UTF-8
|
129
129
|
string: ''
|
130
130
|
http_version:
|
131
|
-
recorded_at: Mon,
|
131
|
+
recorded_at: Mon, 10 Oct 2016 16:12:14 GMT
|
132
132
|
- request:
|
133
133
|
method: post
|
134
|
-
uri:
|
134
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
135
135
|
body:
|
136
136
|
encoding: UTF-8
|
137
|
-
string: '{"gauges":[{"id":"<%= id1 %>","data":[{"value":1.1,"timestamp":
|
137
|
+
string: '{"gauges":[{"id":"<%= id1 %>","data":[{"value":1.1,"timestamp":1476115934633}]},{"id":"<%= id2 %>","data":[{"value":2.2,"timestamp":1476115934633}]},{"id":"<%= id3 %>","data":[{"value":3.3,"timestamp":1476115934633}]}],"counters":[{"id":"<%= id1 %>","data":[{"value":1,"timestamp":1476115934633}]},{"id":"<%= id2 %>","data":[{"value":2,"timestamp":1476115934633}]},{"id":"<%= id3 %>","data":[{"value":3,"timestamp":1476115934633}]}],"availabilities":[{"id":"<%= id1 %>","data":[{"value":"up","timestamp":1476115934633}]},{"id":"<%= id2 %>","data":[{"value":"down","timestamp":1476115934633}]},{"id":"<%= id3 %>","data":[{"value":"up","timestamp":1476115934633}]},{"id":"7da02e58-4ec9-4be2-a13f-ef3f5b1c7e6f","data":[{"value":"up","timestamp":10000},{"value":"down","timestamp":100000},{"value":"admin","timestamp":1000000}]}],"strings":[]}'
|
138
138
|
headers:
|
139
139
|
Accept:
|
140
140
|
- application/json
|
@@ -147,9 +147,9 @@ http_interactions:
|
|
147
147
|
Content-Type:
|
148
148
|
- application/json
|
149
149
|
Content-Length:
|
150
|
-
- '
|
150
|
+
- '1073'
|
151
151
|
Host:
|
152
|
-
-
|
152
|
+
- localhost:8080
|
153
153
|
response:
|
154
154
|
status:
|
155
155
|
code: 200
|
@@ -170,15 +170,15 @@ http_interactions:
|
|
170
170
|
Content-Length:
|
171
171
|
- '0'
|
172
172
|
Date:
|
173
|
-
- Mon,
|
173
|
+
- Mon, 10 Oct 2016 16:12:14 GMT
|
174
174
|
body:
|
175
175
|
encoding: UTF-8
|
176
176
|
string: ''
|
177
177
|
http_version:
|
178
|
-
recorded_at: Mon,
|
178
|
+
recorded_at: Mon, 10 Oct 2016 16:12:14 GMT
|
179
179
|
- request:
|
180
180
|
method: post
|
181
|
-
uri:
|
181
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/raw/query
|
182
182
|
body:
|
183
183
|
encoding: UTF-8
|
184
184
|
string: '{"ids":["<%= id1 %>","<%= id2 %>","<%= id3 %>"],"start":null,"end":null,"limit":null,"order":null}'
|
@@ -196,7 +196,7 @@ http_interactions:
|
|
196
196
|
Content-Length:
|
197
197
|
- '176'
|
198
198
|
Host:
|
199
|
-
-
|
199
|
+
- localhost:8080
|
200
200
|
response:
|
201
201
|
status:
|
202
202
|
code: 200
|
@@ -213,7 +213,7 @@ http_interactions:
|
|
213
213
|
Pragma:
|
214
214
|
- no-cache
|
215
215
|
Date:
|
216
|
-
- Mon,
|
216
|
+
- Mon, 10 Oct 2016 16:12:14 GMT
|
217
217
|
Connection:
|
218
218
|
- keep-alive
|
219
219
|
Content-Type:
|
@@ -222,12 +222,12 @@ http_interactions:
|
|
222
222
|
- '280'
|
223
223
|
body:
|
224
224
|
encoding: UTF-8
|
225
|
-
string: '[{"id":"<%= id1 %>","data":[{"timestamp":
|
225
|
+
string: '[{"id":"<%= id1 %>","data":[{"timestamp":1476115934633,"value":1}]},{"id":"<%= id2 %>","data":[{"timestamp":1476115934633,"value":2}]},{"id":"<%= id3 %>","data":[{"timestamp":1476115934633,"value":3}]}]'
|
226
226
|
http_version:
|
227
|
-
recorded_at: Mon,
|
227
|
+
recorded_at: Mon, 10 Oct 2016 16:12:14 GMT
|
228
228
|
- request:
|
229
229
|
method: post
|
230
|
-
uri:
|
230
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/raw/query
|
231
231
|
body:
|
232
232
|
encoding: UTF-8
|
233
233
|
string: '{"ids":["<%= id1 %>","<%= id2 %>","<%= id3 %>"],"start":null,"end":null,"limit":null,"order":null}'
|
@@ -245,7 +245,7 @@ http_interactions:
|
|
245
245
|
Content-Length:
|
246
246
|
- '176'
|
247
247
|
Host:
|
248
|
-
-
|
248
|
+
- localhost:8080
|
249
249
|
response:
|
250
250
|
status:
|
251
251
|
code: 200
|
@@ -262,7 +262,7 @@ http_interactions:
|
|
262
262
|
Pragma:
|
263
263
|
- no-cache
|
264
264
|
Date:
|
265
|
-
- Mon,
|
265
|
+
- Mon, 10 Oct 2016 16:12:14 GMT
|
266
266
|
Connection:
|
267
267
|
- keep-alive
|
268
268
|
Content-Type:
|
@@ -271,12 +271,12 @@ http_interactions:
|
|
271
271
|
- '286'
|
272
272
|
body:
|
273
273
|
encoding: UTF-8
|
274
|
-
string: '[{"id":"<%= id1 %>","data":[{"timestamp":
|
274
|
+
string: '[{"id":"<%= id1 %>","data":[{"timestamp":1476115934633,"value":1.1}]},{"id":"<%= id2 %>","data":[{"timestamp":1476115934633,"value":2.2}]},{"id":"<%= id3 %>","data":[{"timestamp":1476115934633,"value":3.3}]}]'
|
275
275
|
http_version:
|
276
|
-
recorded_at: Mon,
|
276
|
+
recorded_at: Mon, 10 Oct 2016 16:12:14 GMT
|
277
277
|
- request:
|
278
278
|
method: post
|
279
|
-
uri:
|
279
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/raw/query
|
280
280
|
body:
|
281
281
|
encoding: UTF-8
|
282
282
|
string: '{"ids":["<%= id1 %>","<%= id2 %>","<%= id3 %>"],"start":null,"end":null,"limit":null,"order":null}'
|
@@ -294,7 +294,7 @@ http_interactions:
|
|
294
294
|
Content-Length:
|
295
295
|
- '176'
|
296
296
|
Host:
|
297
|
-
-
|
297
|
+
- localhost:8080
|
298
298
|
response:
|
299
299
|
status:
|
300
300
|
code: 200
|
@@ -311,7 +311,7 @@ http_interactions:
|
|
311
311
|
Pragma:
|
312
312
|
- no-cache
|
313
313
|
Date:
|
314
|
-
- Mon,
|
314
|
+
- Mon, 10 Oct 2016 16:12:14 GMT
|
315
315
|
Connection:
|
316
316
|
- keep-alive
|
317
317
|
Content-Type:
|
@@ -320,7 +320,54 @@ http_interactions:
|
|
320
320
|
- '291'
|
321
321
|
body:
|
322
322
|
encoding: UTF-8
|
323
|
-
string: '[{"id":"<%= id1 %>","data":[{"timestamp":
|
323
|
+
string: '[{"id":"<%= id1 %>","data":[{"timestamp":1476115934633,"value":"up"}]},{"id":"<%= id2 %>","data":[{"timestamp":1476115934633,"value":"down"}]},{"id":"<%= id3 %>","data":[{"timestamp":1476115934633,"value":"up"}]}]'
|
324
324
|
http_version:
|
325
|
-
recorded_at: Mon,
|
325
|
+
recorded_at: Mon, 10 Oct 2016 16:12:14 GMT
|
326
|
+
- request:
|
327
|
+
method: get
|
328
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/7da02e58-4ec9-4be2-a13f-ef3f5b1c7e6f/raw/?distinct=true&end=2000000&order=ASC&start=100
|
329
|
+
body:
|
330
|
+
encoding: US-ASCII
|
331
|
+
string: ''
|
332
|
+
headers:
|
333
|
+
Accept:
|
334
|
+
- application/json
|
335
|
+
Accept-Encoding:
|
336
|
+
- identity
|
337
|
+
User-Agent:
|
338
|
+
- hawkular-client-ruby
|
339
|
+
Hawkular-Tenant:
|
340
|
+
- <%= vcr_test_tenant %>
|
341
|
+
Content-Type:
|
342
|
+
- application/json
|
343
|
+
Host:
|
344
|
+
- localhost:8080
|
345
|
+
response:
|
346
|
+
status:
|
347
|
+
code: 200
|
348
|
+
message: OK
|
349
|
+
headers:
|
350
|
+
Expires:
|
351
|
+
- '0'
|
352
|
+
Cache-Control:
|
353
|
+
- no-cache, no-store, must-revalidate
|
354
|
+
X-Powered-By:
|
355
|
+
- Undertow/1
|
356
|
+
Server:
|
357
|
+
- WildFly/10
|
358
|
+
Pragma:
|
359
|
+
- no-cache
|
360
|
+
Date:
|
361
|
+
- Mon, 10 Oct 2016 16:12:14 GMT
|
362
|
+
Connection:
|
363
|
+
- keep-alive
|
364
|
+
Content-Type:
|
365
|
+
- application/json
|
366
|
+
Content-Length:
|
367
|
+
- '108'
|
368
|
+
body:
|
369
|
+
encoding: UTF-8
|
370
|
+
string: '[{"timestamp":10000,"value":"up"},{"timestamp":100000,"value":"down"},{"timestamp":1000000,"value":"admin"}]'
|
371
|
+
http_version:
|
372
|
+
recorded_at: Mon, 10 Oct 2016 16:12:14 GMT
|
326
373
|
recorded_with: VCR 3.0.3
|