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/metrics/
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":
|
8
|
+
string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":1476328897225}]}],"availabilities":[],"strings":[]}'
|
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
|
+
- '152'
|
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:21:37 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:21:37 GMT
|
50
50
|
- request:
|
51
51
|
method: get
|
52
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/
|
52
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
|
53
53
|
body:
|
54
54
|
encoding: US-ASCII
|
55
55
|
string: ''
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
Pragma:
|
83
83
|
- no-cache
|
84
84
|
Date:
|
85
|
-
-
|
85
|
+
- Thu, 13 Oct 2016 03:21:37 GMT
|
86
86
|
Connection:
|
87
87
|
- keep-alive
|
88
88
|
Content-Type:
|
@@ -91,15 +91,15 @@ http_interactions:
|
|
91
91
|
- '39'
|
92
92
|
body:
|
93
93
|
encoding: UTF-8
|
94
|
-
string: '[{"timestamp":
|
94
|
+
string: '[{"timestamp":1476328897225,"value":1}]'
|
95
95
|
http_version:
|
96
|
-
recorded_at:
|
96
|
+
recorded_at: Thu, 13 Oct 2016 03:21:37 GMT
|
97
97
|
- request:
|
98
98
|
method: post
|
99
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/
|
99
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
100
100
|
body:
|
101
101
|
encoding: UTF-8
|
102
|
-
string: '{"gauges":[],"counters":[],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":
|
102
|
+
string: '{"gauges":[],"counters":[],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":1476328897236}]}],"strings":[]}'
|
103
103
|
headers:
|
104
104
|
Accept:
|
105
105
|
- application/json
|
@@ -112,7 +112,7 @@ http_interactions:
|
|
112
112
|
Content-Type:
|
113
113
|
- application/json
|
114
114
|
Content-Length:
|
115
|
-
- '
|
115
|
+
- '157'
|
116
116
|
Host:
|
117
117
|
- localhost:8080
|
118
118
|
response:
|
@@ -135,15 +135,15 @@ http_interactions:
|
|
135
135
|
Content-Length:
|
136
136
|
- '0'
|
137
137
|
Date:
|
138
|
-
-
|
138
|
+
- Thu, 13 Oct 2016 03:21:37 GMT
|
139
139
|
body:
|
140
140
|
encoding: UTF-8
|
141
141
|
string: ''
|
142
142
|
http_version:
|
143
|
-
recorded_at:
|
143
|
+
recorded_at: Thu, 13 Oct 2016 03:21:37 GMT
|
144
144
|
- request:
|
145
145
|
method: get
|
146
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/
|
146
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/raw/
|
147
147
|
body:
|
148
148
|
encoding: US-ASCII
|
149
149
|
string: ''
|
@@ -176,7 +176,7 @@ http_interactions:
|
|
176
176
|
Pragma:
|
177
177
|
- no-cache
|
178
178
|
Date:
|
179
|
-
-
|
179
|
+
- Thu, 13 Oct 2016 03:21:37 GMT
|
180
180
|
Connection:
|
181
181
|
- keep-alive
|
182
182
|
Content-Type:
|
@@ -185,15 +185,15 @@ http_interactions:
|
|
185
185
|
- '44'
|
186
186
|
body:
|
187
187
|
encoding: UTF-8
|
188
|
-
string: '[{"timestamp":
|
188
|
+
string: '[{"timestamp":1476328897236,"value":"down"}]'
|
189
189
|
http_version:
|
190
|
-
recorded_at:
|
190
|
+
recorded_at: Thu, 13 Oct 2016 03:21:37 GMT
|
191
191
|
- request:
|
192
192
|
method: post
|
193
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/
|
193
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
194
194
|
body:
|
195
195
|
encoding: UTF-8
|
196
|
-
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":
|
196
|
+
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":1476328897249}]}],"counters":[],"availabilities":[],"strings":[]}'
|
197
197
|
headers:
|
198
198
|
Accept:
|
199
199
|
- application/json
|
@@ -206,7 +206,7 @@ http_interactions:
|
|
206
206
|
Content-Type:
|
207
207
|
- application/json
|
208
208
|
Content-Length:
|
209
|
-
- '
|
209
|
+
- '154'
|
210
210
|
Host:
|
211
211
|
- localhost:8080
|
212
212
|
response:
|
@@ -229,15 +229,15 @@ http_interactions:
|
|
229
229
|
Content-Length:
|
230
230
|
- '0'
|
231
231
|
Date:
|
232
|
-
-
|
232
|
+
- Thu, 13 Oct 2016 03:21:37 GMT
|
233
233
|
body:
|
234
234
|
encoding: UTF-8
|
235
235
|
string: ''
|
236
236
|
http_version:
|
237
|
-
recorded_at:
|
237
|
+
recorded_at: Thu, 13 Oct 2016 03:21:37 GMT
|
238
238
|
- request:
|
239
239
|
method: get
|
240
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/
|
240
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/raw/
|
241
241
|
body:
|
242
242
|
encoding: US-ASCII
|
243
243
|
string: ''
|
@@ -270,7 +270,7 @@ http_interactions:
|
|
270
270
|
Pragma:
|
271
271
|
- no-cache
|
272
272
|
Date:
|
273
|
-
-
|
273
|
+
- Thu, 13 Oct 2016 03:21:37 GMT
|
274
274
|
Connection:
|
275
275
|
- keep-alive
|
276
276
|
Content-Type:
|
@@ -279,7 +279,7 @@ http_interactions:
|
|
279
279
|
- '41'
|
280
280
|
body:
|
281
281
|
encoding: UTF-8
|
282
|
-
string: '[{"timestamp":
|
282
|
+
string: '[{"timestamp":1476328897249,"value":1.1}]'
|
283
283
|
http_version:
|
284
|
-
recorded_at:
|
284
|
+
recorded_at: Thu, 13 Oct 2016 03:21:37 GMT
|
285
285
|
recorded_with: VCR 3.0.3
|
@@ -35,10 +35,10 @@ http_interactions:
|
|
35
35
|
Content-Length:
|
36
36
|
- '133'
|
37
37
|
Date:
|
38
|
-
-
|
38
|
+
- Thu, 13 Oct 2016 03:22:22 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:22:22 GMT
|
44
44
|
recorded_with: VCR 3.0.3
|
data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/No_Tenant/Should_fail.yml
CHANGED
@@ -1,11 +1,50 @@
|
|
1
1
|
---
|
2
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
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Host:
|
19
|
+
- localhost:8080
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Connection:
|
26
|
+
- keep-alive
|
27
|
+
X-Powered-By:
|
28
|
+
- Undertow/1
|
29
|
+
Server:
|
30
|
+
- WildFly/10
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Content-Length:
|
34
|
+
- '133'
|
35
|
+
Date:
|
36
|
+
- Thu, 13 Oct 2016 03:20:55 GMT
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"MetricsService":"STARTED","Implementation-Version":"0.20.1.Final","Built-From-Git-SHA1":"f23946235446d3425db31d262b47b4f950ddabb3"}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Thu, 13 Oct 2016 03:20:55 GMT
|
3
42
|
- request:
|
4
43
|
method: post
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/
|
44
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw
|
6
45
|
body:
|
7
46
|
encoding: UTF-8
|
8
|
-
string: '[{"value":4,"timestamp":
|
47
|
+
string: '[{"value":4,"timestamp":1476328855754}]'
|
9
48
|
headers:
|
10
49
|
Accept:
|
11
50
|
- application/json
|
@@ -35,7 +74,7 @@ http_interactions:
|
|
35
74
|
Pragma:
|
36
75
|
- no-cache
|
37
76
|
Date:
|
38
|
-
-
|
77
|
+
- Thu, 13 Oct 2016 03:20:55 GMT
|
39
78
|
Connection:
|
40
79
|
- keep-alive
|
41
80
|
Content-Type:
|
@@ -46,5 +85,5 @@ http_interactions:
|
|
46
85
|
encoding: UTF-8
|
47
86
|
string: '{"errorMsg":"Tenant is not specified. Use ''Hawkular-Tenant'' header."}'
|
48
87
|
http_version:
|
49
|
-
recorded_at:
|
88
|
+
recorded_at: Thu, 13 Oct 2016 03:20:55 GMT
|
50
89
|
recorded_with: VCR 3.0.3
|
@@ -35,10 +35,51 @@ http_interactions:
|
|
35
35
|
Content-Length:
|
36
36
|
- '133'
|
37
37
|
Date:
|
38
|
-
-
|
38
|
+
- Thu, 13 Oct 2016 03:30:52 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:30:52 GMT
|
44
|
+
- request:
|
45
|
+
method: get
|
46
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/status
|
47
|
+
body:
|
48
|
+
encoding: US-ASCII
|
49
|
+
string: ''
|
50
|
+
headers:
|
51
|
+
Accept:
|
52
|
+
- application/json
|
53
|
+
Accept-Encoding:
|
54
|
+
- identity
|
55
|
+
User-Agent:
|
56
|
+
- hawkular-client-ruby
|
57
|
+
Hawkular-Tenant:
|
58
|
+
- hawkular
|
59
|
+
Content-Type:
|
60
|
+
- application/json
|
61
|
+
Host:
|
62
|
+
- localhost:8080
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 200
|
66
|
+
message: OK
|
67
|
+
headers:
|
68
|
+
Connection:
|
69
|
+
- keep-alive
|
70
|
+
X-Powered-By:
|
71
|
+
- Undertow/1
|
72
|
+
Server:
|
73
|
+
- WildFly/10
|
74
|
+
Content-Type:
|
75
|
+
- application/json
|
76
|
+
Content-Length:
|
77
|
+
- '133'
|
78
|
+
Date:
|
79
|
+
- Thu, 13 Oct 2016 03:30:52 GMT
|
80
|
+
body:
|
81
|
+
encoding: UTF-8
|
82
|
+
string: '{"MetricsService":"STARTED","Implementation-Version":"0.20.1.Final","Built-From-Git-SHA1":"f23946235446d3425db31d262b47b4f950ddabb3"}'
|
83
|
+
http_version:
|
84
|
+
recorded_at: Thu, 13 Oct 2016 03:30:52 GMT
|
44
85
|
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
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
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"id":"<%= id %>","dataRetention":123,"tags":{"some":"value"}}'
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
Pragma:
|
38
38
|
- no-cache
|
39
39
|
Location:
|
40
|
-
- http://localhost:8080/hawkular/metrics/
|
40
|
+
- http://localhost:8080/hawkular/metrics/strings/<%= id %>
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
43
43
|
Connection:
|
44
44
|
- keep-alive
|
45
45
|
Content-Length:
|
@@ -48,10 +48,10 @@ http_interactions:
|
|
48
48
|
encoding: UTF-8
|
49
49
|
string: ''
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
52
52
|
- request:
|
53
53
|
method: get
|
54
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/
|
54
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/strings/<%= id %>
|
55
55
|
body:
|
56
56
|
encoding: US-ASCII
|
57
57
|
string: ''
|
@@ -84,16 +84,16 @@ http_interactions:
|
|
84
84
|
Pragma:
|
85
85
|
- no-cache
|
86
86
|
Date:
|
87
|
-
-
|
87
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
88
88
|
Connection:
|
89
89
|
- keep-alive
|
90
90
|
Content-Type:
|
91
91
|
- application/json
|
92
92
|
Content-Length:
|
93
|
-
- '
|
93
|
+
- '192'
|
94
94
|
body:
|
95
95
|
encoding: UTF-8
|
96
|
-
string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"
|
96
|
+
string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"string","tenantId":"<%= vcr_test_tenant %>"}'
|
97
97
|
http_version:
|
98
|
-
recorded_at:
|
98
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
99
99
|
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
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
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"id":"<%= id %>","dataRetention":90,"tags":{"tag":"value"}}'
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
Pragma:
|
38
38
|
- no-cache
|
39
39
|
Location:
|
40
|
-
- http://localhost:8080/hawkular/metrics/
|
40
|
+
- http://localhost:8080/hawkular/metrics/strings/<%= id %>
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
43
43
|
Connection:
|
44
44
|
- keep-alive
|
45
45
|
Content-Length:
|
@@ -48,10 +48,10 @@ http_interactions:
|
|
48
48
|
encoding: UTF-8
|
49
49
|
string: ''
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
52
52
|
- request:
|
53
53
|
method: get
|
54
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/
|
54
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/strings/<%= id %>
|
55
55
|
body:
|
56
56
|
encoding: US-ASCII
|
57
57
|
string: ''
|
@@ -84,16 +84,16 @@ http_interactions:
|
|
84
84
|
Pragma:
|
85
85
|
- no-cache
|
86
86
|
Date:
|
87
|
-
-
|
87
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
88
88
|
Connection:
|
89
89
|
- keep-alive
|
90
90
|
Content-Type:
|
91
91
|
- application/json
|
92
92
|
Content-Length:
|
93
|
-
- '
|
93
|
+
- '190'
|
94
94
|
body:
|
95
95
|
encoding: UTF-8
|
96
|
-
string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"
|
96
|
+
string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"string","tenantId":"<%= vcr_test_tenant %>"}'
|
97
97
|
http_version:
|
98
|
-
recorded_at:
|
98
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
99
99
|
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
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
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"id":"<%= id %>"}'
|
@@ -37,9 +37,9 @@ http_interactions:
|
|
37
37
|
Pragma:
|
38
38
|
- no-cache
|
39
39
|
Location:
|
40
|
-
- http://localhost:8080/hawkular/metrics/
|
40
|
+
- http://localhost:8080/hawkular/metrics/strings/<%= id %>
|
41
41
|
Date:
|
42
|
-
-
|
42
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
43
43
|
Connection:
|
44
44
|
- keep-alive
|
45
45
|
Content-Length:
|
@@ -48,13 +48,13 @@ http_interactions:
|
|
48
48
|
encoding: UTF-8
|
49
49
|
string: ''
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
52
52
|
- request:
|
53
53
|
method: post
|
54
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/
|
54
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/strings/<%= id %>/raw
|
55
55
|
body:
|
56
56
|
encoding: UTF-8
|
57
|
-
string: '[{"value":
|
57
|
+
string: '[{"value":"Value1","timestamp":<%= now30 %>},{"value":"Value2","timestamp":<%= now20 %>},{"value":"Value3","timestamp":<%= now10 %>}]'
|
58
58
|
headers:
|
59
59
|
Accept:
|
60
60
|
- application/json
|
@@ -67,7 +67,7 @@ http_interactions:
|
|
67
67
|
Content-Type:
|
68
68
|
- application/json
|
69
69
|
Content-Length:
|
70
|
-
- '
|
70
|
+
- '136'
|
71
71
|
Host:
|
72
72
|
- localhost:8080
|
73
73
|
response:
|
@@ -90,15 +90,15 @@ http_interactions:
|
|
90
90
|
Content-Length:
|
91
91
|
- '0'
|
92
92
|
Date:
|
93
|
-
-
|
93
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
94
94
|
body:
|
95
95
|
encoding: UTF-8
|
96
96
|
string: ''
|
97
97
|
http_version:
|
98
|
-
recorded_at:
|
98
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
99
99
|
- request:
|
100
100
|
method: get
|
101
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/
|
101
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/strings/<%= id %>/raw/
|
102
102
|
body:
|
103
103
|
encoding: US-ASCII
|
104
104
|
string: ''
|
@@ -131,24 +131,24 @@ http_interactions:
|
|
131
131
|
Pragma:
|
132
132
|
- no-cache
|
133
133
|
Date:
|
134
|
-
-
|
134
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
135
135
|
Connection:
|
136
136
|
- keep-alive
|
137
137
|
Content-Type:
|
138
138
|
- application/json
|
139
139
|
Content-Length:
|
140
|
-
- '
|
140
|
+
- '136'
|
141
141
|
body:
|
142
142
|
encoding: UTF-8
|
143
|
-
string: '[{"timestamp":<%= now10 %>,"value":
|
143
|
+
string: '[{"timestamp":<%= now10 %>,"value":"Value3"},{"timestamp":<%= now20 %>,"value":"Value2"},{"timestamp":<%= now30 %>,"value":"Value1"}]'
|
144
144
|
http_version:
|
145
|
-
recorded_at:
|
145
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
146
146
|
- request:
|
147
147
|
method: post
|
148
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/
|
148
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/strings/<%= id %>/raw
|
149
149
|
body:
|
150
150
|
encoding: UTF-8
|
151
|
-
string: '[{"value":
|
151
|
+
string: '[{"value":"Now","timestamp":1476328206185}]'
|
152
152
|
headers:
|
153
153
|
Accept:
|
154
154
|
- application/json
|
@@ -161,7 +161,7 @@ http_interactions:
|
|
161
161
|
Content-Type:
|
162
162
|
- application/json
|
163
163
|
Content-Length:
|
164
|
-
- '
|
164
|
+
- '43'
|
165
165
|
Host:
|
166
166
|
- localhost:8080
|
167
167
|
response:
|
@@ -184,15 +184,15 @@ http_interactions:
|
|
184
184
|
Content-Length:
|
185
185
|
- '0'
|
186
186
|
Date:
|
187
|
-
-
|
187
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
188
188
|
body:
|
189
189
|
encoding: UTF-8
|
190
190
|
string: ''
|
191
191
|
http_version:
|
192
|
-
recorded_at:
|
192
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
193
193
|
- request:
|
194
194
|
method: get
|
195
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/
|
195
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/strings/<%= id %>/raw/
|
196
196
|
body:
|
197
197
|
encoding: US-ASCII
|
198
198
|
string: ''
|
@@ -225,21 +225,21 @@ http_interactions:
|
|
225
225
|
Pragma:
|
226
226
|
- no-cache
|
227
227
|
Date:
|
228
|
-
-
|
228
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
229
229
|
Connection:
|
230
230
|
- keep-alive
|
231
231
|
Content-Type:
|
232
232
|
- application/json
|
233
233
|
Content-Length:
|
234
|
-
- '
|
234
|
+
- '178'
|
235
235
|
body:
|
236
236
|
encoding: UTF-8
|
237
|
-
string: '[{"timestamp":
|
237
|
+
string: '[{"timestamp":1476328206185,"value":"Now"},{"timestamp":<%= now10 %>,"value":"Value3"},{"timestamp":<%= now20 %>,"value":"Value2"},{"timestamp":<%= now30 %>,"value":"Value1"}]'
|
238
238
|
http_version:
|
239
|
-
recorded_at:
|
239
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
240
240
|
- request:
|
241
241
|
method: get
|
242
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/
|
242
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/strings/<%= id %>/raw/?end=<%= ends %>&start=<%= starts %>
|
243
243
|
body:
|
244
244
|
encoding: US-ASCII
|
245
245
|
string: ''
|
@@ -272,10 +272,10 @@ http_interactions:
|
|
272
272
|
Pragma:
|
273
273
|
- no-cache
|
274
274
|
Date:
|
275
|
-
-
|
275
|
+
- Thu, 13 Oct 2016 03:10:06 GMT
|
276
276
|
body:
|
277
277
|
encoding: UTF-8
|
278
278
|
string: ''
|
279
279
|
http_version:
|
280
|
-
recorded_at:
|
280
|
+
recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
|
281
281
|
recorded_with: VCR 3.0.3
|