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.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +19 -2
  3. data/.travis/wait_for_services.rb +23 -0
  4. data/CHANGES.rdoc +11 -0
  5. data/docker-compose.yml +15 -0
  6. data/lib/hawkular/alerts/alerts_api.rb +24 -0
  7. data/lib/hawkular/base_client.rb +7 -0
  8. data/lib/hawkular/inventory/entities.rb +3 -0
  9. data/lib/hawkular/metrics/metric_api.rb +38 -3
  10. data/lib/hawkular/metrics/metrics_client.rb +3 -0
  11. data/lib/hawkular/metrics/tenant_api.rb +2 -2
  12. data/lib/hawkular/version.rb +1 -1
  13. data/spec/integration/alert-resources/alerts-test-data.json +40 -0
  14. data/spec/integration/alert-resources/events-test-data.json +78 -0
  15. data/spec/integration/alert-resources/triggers-test-data.json +66 -0
  16. data/spec/integration/alerts_spec.rb +192 -83
  17. data/spec/integration/hello-world-definitions.json +1 -2
  18. data/spec/integration/inventory_spec.rb +18 -5
  19. data/spec/integration/metric_spec.rb +201 -40
  20. data/spec/integration/operations_spec.rb +45 -1
  21. data/spec/spec_helper.rb +25 -6
  22. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_acknowledge_an_alert.yml +205 -0
  23. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_fetch_single_alert.yml +108 -0
  24. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts.yml +59 -0
  25. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts_for_trigger.yml +58 -0
  26. data/spec/vcr_cassettes/Alert/Alerts/{Should_list_alerts_for_unknown_trigger.yml → Templates/Should_list_alerts_for_unknown_trigger.yml} +13 -9
  27. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_open_alerts.yml +59 -0
  28. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_resolve_an_alert.yml +207 -0
  29. data/spec/vcr_cassettes/Alert/Alerts/Templates/setup.yml +255 -0
  30. data/spec/vcr_cassettes/Alert/Alerts/Templates/setup_cleanup.yml +302 -0
  31. data/spec/vcr_cassettes/Alert/EndToEnd/Templates/Should_create_and_fire_a_trigger.yml +527 -0
  32. 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
  33. 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
  34. data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events.yml +91 -0
  35. data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events_using_criteria.yml +60 -0
  36. data/spec/vcr_cassettes/Alert/Events/{Should_not_list_events_using_criteria.yml → Templates/Should_not_list_events_using_criteria.yml} +14 -13
  37. data/spec/vcr_cassettes/Alert/Events/Templates/setup.yml +615 -0
  38. data/spec/vcr_cassettes/Alert/Events/Templates/setup_cleanup.yml +567 -0
  39. data/spec/vcr_cassettes/Alert/Groups/{Should_operate_a_complex_group_trigger.yml → Templates/Should_operate_a_complex_group_trigger.yml} +508 -352
  40. data/spec/vcr_cassettes/{Alerts → Alert/Templates}/Should_return_the_version.yml +10 -8
  41. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers.yml +55 -0
  42. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_ID.yml +56 -0
  43. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tag.yml +56 -0
  44. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tags.yml +56 -0
  45. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_bulk_load_triggers.yml +243 -0
  46. 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
  47. 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
  48. 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
  49. 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
  50. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_metric_Trigger.yml +50 -0
  51. data/spec/vcr_cassettes/Alert/Triggers/{Should_get_the_action_definitions.yml → Templates/Should_get_the_action_definitions.yml} +46 -73
  52. 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
  53. 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
  54. data/spec/vcr_cassettes/Alert/Triggers/Templates/setup.yml +52 -0
  55. 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
  56. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +29 -25
  57. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +3 -3
  58. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +5 -5
  59. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +4 -4
  60. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +4 -4
  61. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +4 -4
  62. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +4 -4
  63. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +6 -6
  64. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +8 -8
  65. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/setup_client.yml +44 -0
  66. 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
  67. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +47 -6
  68. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +12 -12
  69. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/setup_client.yml +44 -0
  70. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +17 -17
  71. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +23 -23
  72. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +19 -19
  73. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +12 -12
  74. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/setup_client.yml +44 -0
  75. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +19 -19
  76. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +12 -12
  77. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +5 -5
  78. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +151 -5
  79. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +152 -6
  80. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/setup_client.yml +44 -0
  81. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_rate_stats_for_mixed_metric.yml +33 -33
  82. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +31 -32
  83. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +108 -20
  84. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +26 -26
  85. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +27 -27
  86. 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
  87. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/No_Tenant/Should_fail.yml +43 -4
  88. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Status/Should_return_the_version.yml +44 -3
  89. 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
  90. 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
  91. 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
  92. 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
  93. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/setup_client.yml +44 -0
  94. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tags_Metrics/setup_client.yml +44 -0
  95. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +10 -6
  96. 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
  97. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/setup_client.yml +44 -0
  98. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +80 -33
  99. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_XA_datasource_should_be_doable.json +23 -0
  100. data/spec/vcr_cassettes/Operation/NonSecure/Operation/{Add_datasource_should_be_doable.json → Add_non-XA_datasource_should_be_doable.json} +0 -0
  101. metadata +111 -156
  102. data/spec/vcr_cassettes/Alert/Alerts/Should_acknowledge_an_alert.yml +0 -183
  103. data/spec/vcr_cassettes/Alert/Alerts/Should_fetch_single_alert.yml +0 -69
  104. data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts.yml +0 -85
  105. data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts_for_trigger.yml +0 -142
  106. data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert.yml +0 -181
  107. data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert2.yml +0 -49
  108. data/spec/vcr_cassettes/Alert/EndToEnd/Should_create_and_fire_a_trigger.yml +0 -1187
  109. data/spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml +0 -50
  110. data/spec/vcr_cassettes/Alert/Events/Should_list_events.yml +0 -101
  111. data/spec/vcr_cassettes/Alert/Events/Should_list_events_using_criteria.yml +0 -79
  112. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers.yml +0 -62
  113. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_ID.yml +0 -55
  114. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tag.yml +0 -68
  115. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tags.yml +0 -68
  116. data/spec/vcr_cassettes/Alert/Triggers/Should_bulk_load_triggers.yml +0 -225
  117. data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action.yml +0 -134
  118. data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action_for_webhooks.yml +0 -220
  119. data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_Trigger_with_conditions.yml +0 -138
  120. data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_metric_Trigger.yml +0 -50
  121. data/spec/vcr_cassettes/Alert/Triggers/Should_not_create_an_action_for_unknown_properties.yml +0 -134
  122. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
  123. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
  124. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
  125. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
  126. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
  127. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
  128. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
  129. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
  130. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -326
  131. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
  132. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +0 -50
  133. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +0 -48
  134. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -99
  135. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -99
  136. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
  137. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
  138. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
  139. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
  140. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
  141. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
  142. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +0 -328
  143. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
  144. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -144
  145. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -99
  146. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -99
  147. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -281
  148. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -144
  149. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +0 -97
  150. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
  151. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -326
  152. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
  153. 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
  154. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +0 -50
  155. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +0 -48
  156. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -99
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/
5
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -35,15 +35,15 @@ http_interactions:
35
35
  Pragma:
36
36
  - no-cache
37
37
  Date:
38
- - Tue, 30 Aug 2016 19:10:38 GMT
38
+ - Thu, 13 Oct 2016 03:22:16 GMT
39
39
  body:
40
40
  encoding: UTF-8
41
41
  string: ''
42
42
  http_version:
43
- recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
43
+ recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
44
44
  - request:
45
45
  method: get
46
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
46
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/raw/
47
47
  body:
48
48
  encoding: US-ASCII
49
49
  string: ''
@@ -76,15 +76,15 @@ http_interactions:
76
76
  Pragma:
77
77
  - no-cache
78
78
  Date:
79
- - Tue, 30 Aug 2016 19:10:38 GMT
79
+ - Thu, 13 Oct 2016 03:22:16 GMT
80
80
  body:
81
81
  encoding: UTF-8
82
82
  string: ''
83
83
  http_version:
84
- recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
84
+ recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
85
85
  - request:
86
86
  method: get
87
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/data/
87
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/raw/
88
88
  body:
89
89
  encoding: US-ASCII
90
90
  string: ''
@@ -117,18 +117,18 @@ http_interactions:
117
117
  Pragma:
118
118
  - no-cache
119
119
  Date:
120
- - Tue, 30 Aug 2016 19:10:38 GMT
120
+ - Thu, 13 Oct 2016 03:22:16 GMT
121
121
  body:
122
122
  encoding: UTF-8
123
123
  string: ''
124
124
  http_version:
125
- recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
125
+ recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
126
126
  - request:
127
127
  method: post
128
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data
128
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
129
129
  body:
130
130
  encoding: UTF-8
131
- string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":1472584238893}]}],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":1472584238893}]}],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":1472584238893}]}]}'
131
+ string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":1476328936034}]}],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":1476328936034}]}],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":1476328936034}]}],"strings":[]}'
132
132
  headers:
133
133
  Accept:
134
134
  - application/json
@@ -141,7 +141,7 @@ http_interactions:
141
141
  Content-Type:
142
142
  - application/json
143
143
  Content-Length:
144
- - '330'
144
+ - '343'
145
145
  Host:
146
146
  - localhost:8080
147
147
  response:
@@ -164,15 +164,15 @@ http_interactions:
164
164
  Content-Length:
165
165
  - '0'
166
166
  Date:
167
- - Tue, 30 Aug 2016 19:10:38 GMT
167
+ - Thu, 13 Oct 2016 03:22:16 GMT
168
168
  body:
169
169
  encoding: UTF-8
170
170
  string: ''
171
171
  http_version:
172
- recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
172
+ recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
173
173
  - request:
174
174
  method: get
175
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/
175
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
176
176
  body:
177
177
  encoding: US-ASCII
178
178
  string: ''
@@ -205,7 +205,7 @@ http_interactions:
205
205
  Pragma:
206
206
  - no-cache
207
207
  Date:
208
- - Tue, 30 Aug 2016 19:10:38 GMT
208
+ - Thu, 13 Oct 2016 03:22:16 GMT
209
209
  Connection:
210
210
  - keep-alive
211
211
  Content-Type:
@@ -214,12 +214,12 @@ http_interactions:
214
214
  - '39'
215
215
  body:
216
216
  encoding: UTF-8
217
- string: '[{"timestamp":1472584238893,"value":1}]'
217
+ string: '[{"timestamp":1476328936034,"value":1}]'
218
218
  http_version:
219
- recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
219
+ recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
220
220
  - request:
221
221
  method: get
222
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
222
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/raw/
223
223
  body:
224
224
  encoding: US-ASCII
225
225
  string: ''
@@ -252,7 +252,7 @@ http_interactions:
252
252
  Pragma:
253
253
  - no-cache
254
254
  Date:
255
- - Tue, 30 Aug 2016 19:10:38 GMT
255
+ - Thu, 13 Oct 2016 03:22:16 GMT
256
256
  Connection:
257
257
  - keep-alive
258
258
  Content-Type:
@@ -261,12 +261,12 @@ http_interactions:
261
261
  - '41'
262
262
  body:
263
263
  encoding: UTF-8
264
- string: '[{"timestamp":1472584238893,"value":1.1}]'
264
+ string: '[{"timestamp":1476328936034,"value":1.1}]'
265
265
  http_version:
266
- recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
266
+ recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
267
267
  - request:
268
268
  method: get
269
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/data/
269
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/raw/
270
270
  body:
271
271
  encoding: US-ASCII
272
272
  string: ''
@@ -299,7 +299,7 @@ http_interactions:
299
299
  Pragma:
300
300
  - no-cache
301
301
  Date:
302
- - Tue, 30 Aug 2016 19:10:38 GMT
302
+ - Thu, 13 Oct 2016 03:22:16 GMT
303
303
  Connection:
304
304
  - keep-alive
305
305
  Content-Type:
@@ -308,15 +308,15 @@ http_interactions:
308
308
  - '44'
309
309
  body:
310
310
  encoding: UTF-8
311
- string: '[{"timestamp":1472584238893,"value":"down"}]'
311
+ string: '[{"timestamp":1476328936034,"value":"down"}]'
312
312
  http_version:
313
- recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
313
+ recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
314
314
  - request:
315
315
  method: post
316
316
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/stats/query
317
317
  body:
318
318
  encoding: UTF-8
319
- string: '{"metrics":{"gauge":["<%= id %>"],"counter":["<%= id %>"],"availability":["<%= id %>"]},"start":1472584238893,"end":1472584238894,"bucketDuration":"1ms"}'
319
+ string: '{"metrics":{"gauge":["<%= id %>"],"counter":["<%= id %>"],"availability":["<%= id %>"]},"start":1476328936034,"end":1476328936035,"bucketDuration":"1ms"}'
320
320
  headers:
321
321
  Accept:
322
322
  - application/json
@@ -348,17 +348,16 @@ http_interactions:
348
348
  Pragma:
349
349
  - no-cache
350
350
  Date:
351
- - Tue, 30 Aug 2016 19:10:38 GMT
351
+ - Thu, 13 Oct 2016 03:22:16 GMT
352
352
  Connection:
353
353
  - keep-alive
354
354
  Content-Type:
355
355
  - application/json
356
356
  Content-Length:
357
- - '742'
357
+ - '711'
358
358
  body:
359
359
  encoding: UTF-8
360
- string: '{"gauge":{"<%= id %>":[{"start":1472584238893,"end":1472584238894,"min":1.1,"avg":1.1,"median":1.1,"max":1.1,"sum":1.1,"samples":1,"empty":false}]},"counter":{"<%= id %>":[{"start":1472584238893,"end":1472584238894,"min":1.0,"avg":1.0,"median":1.0,"max":1.0,"sum":1.0,"samples":1,"empty":false}]},"availability":{"<%= id %>":[{"start":1472584238893,"end":1472584238894,"durationMap":{"AvailabilityType{code=1,
361
- text=down}":1},"lastNotUptime":1472584238894,"uptimeRatio":0.0,"notUpCount":1,"downtimeDuration":1,"lastDowntime":1472584238894,"downtimeCount":1,"adminDuration":0,"downDuration":1,"unknownDuration":0,"upDuration":0,"notUpDuration":1,"empty":false}]}}'
360
+ string: '{"gauge":{"<%= id %>":[{"start":1476328936034,"end":1476328936035,"min":1.1,"avg":1.1,"median":1.1,"max":1.1,"sum":1.1,"samples":1,"empty":false}]},"counter":{"<%= id %>":[{"start":1476328936034,"end":1476328936035,"min":1.0,"avg":1.0,"median":1.0,"max":1.0,"sum":1.0,"samples":1,"empty":false}]},"availability":{"<%= id %>":[{"start":1476328936034,"end":1476328936035,"durationMap":{"down":1},"lastNotUptime":1476328936035,"uptimeRatio":0.0,"notUpCount":1,"downtimeDuration":1,"lastDowntime":1476328936035,"downtimeCount":1,"adminDuration":0,"notUpDuration":1,"downDuration":1,"upDuration":0,"unknownDuration":0,"empty":false}]}}'
362
361
  http_version:
363
- recorded_at: Tue, 30 Aug 2016 19:10:38 GMT
362
+ recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
364
363
  recorded_with: VCR 3.0.3
@@ -1,5 +1,46 @@
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
+ Hawkular-Tenant:
17
+ - <%= vcr_test_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
+ - '136'
37
+ Date:
38
+ - Thu, 13 Oct 2016 12:21:05 GMT
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"MetricsService":"STARTED","Implementation-Version":"0.21.0-SNAPSHOT","Built-From-Git-SHA1":"76bbbc218644d08636888a40f7f1b62c83343443"}'
42
+ http_version:
43
+ recorded_at: Thu, 13 Oct 2016 12:21:05 GMT
3
44
  - request:
4
45
  method: post
5
46
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/raw/query
@@ -37,12 +78,12 @@ http_interactions:
37
78
  Pragma:
38
79
  - no-cache
39
80
  Date:
40
- - Mon, 15 Aug 2016 15:20:37 GMT
81
+ - Thu, 13 Oct 2016 12:21:05 GMT
41
82
  body:
42
83
  encoding: UTF-8
43
84
  string: ''
44
85
  http_version:
45
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
86
+ recorded_at: Thu, 13 Oct 2016 12:21:05 GMT
46
87
  - request:
47
88
  method: post
48
89
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/raw/query
@@ -80,12 +121,12 @@ http_interactions:
80
121
  Pragma:
81
122
  - no-cache
82
123
  Date:
83
- - Mon, 15 Aug 2016 15:20:37 GMT
124
+ - Thu, 13 Oct 2016 12:21:05 GMT
84
125
  body:
85
126
  encoding: UTF-8
86
127
  string: ''
87
128
  http_version:
88
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
129
+ recorded_at: Thu, 13 Oct 2016 12:21:05 GMT
89
130
  - request:
90
131
  method: post
91
132
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/raw/query
@@ -123,18 +164,18 @@ http_interactions:
123
164
  Pragma:
124
165
  - no-cache
125
166
  Date:
126
- - Mon, 15 Aug 2016 15:20:37 GMT
167
+ - Thu, 13 Oct 2016 12:21:05 GMT
127
168
  body:
128
169
  encoding: UTF-8
129
170
  string: ''
130
171
  http_version:
131
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
172
+ recorded_at: Thu, 13 Oct 2016 12:21:05 GMT
132
173
  - request:
133
174
  method: post
134
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data
175
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
135
176
  body:
136
177
  encoding: UTF-8
137
- string: '{"gauges":[{"id":"<%= id1 %>","data":[{"value":1.1,"timestamp":1471274437372}]},{"id":"<%= id2 %>","data":[{"value":2.2,"timestamp":1471274437372}]},{"id":"<%= id3 %>","data":[{"value":3.3,"timestamp":1471274437372}]}],"counters":[{"id":"<%= id1 %>","data":[{"value":1,"timestamp":1471274437372}]},{"id":"<%= id2 %>","data":[{"value":2,"timestamp":1471274437372}]},{"id":"<%= id3 %>","data":[{"value":3,"timestamp":1471274437372}]}],"availabilities":[{"id":"<%= id1 %>","data":[{"value":"up","timestamp":1471274437372}]},{"id":"<%= id2 %>","data":[{"value":"down","timestamp":1471274437372}]},{"id":"<%= id3 %>","data":[{"value":"up","timestamp":1471274437372}]}]}'
178
+ string: '{"gauges":[{"id":"<%= id1 %>","data":[{"value":1.1,"timestamp":1476361265753}]},{"id":"<%= id2 %>","data":[{"value":2.2,"timestamp":1476361265753}]},{"id":"<%= id3 %>","data":[{"value":3.3,"timestamp":1476361265753}]}],"counters":[{"id":"<%= id1 %>","data":[{"value":1,"timestamp":1476361265753}]},{"id":"<%= id2 %>","data":[{"value":2,"timestamp":1476361265753}]},{"id":"<%= id3 %>","data":[{"value":3,"timestamp":1476361265753}]}],"availabilities":[{"id":"<%= id1 %>","data":[{"value":"up","timestamp":1476361265753}]},{"id":"<%= id2 %>","data":[{"value":"down","timestamp":1476361265753}]},{"id":"<%= id3 %>","data":[{"value":"up","timestamp":1476361265753}]},{"id":"<%= id4 %>","data":[{"value":"up","timestamp":10000},{"value":"down","timestamp":100000},{"value":"admin","timestamp":1000000}]}],"strings":[]}'
138
179
  headers:
139
180
  Accept:
140
181
  - application/json
@@ -147,7 +188,7 @@ http_interactions:
147
188
  Content-Type:
148
189
  - application/json
149
190
  Content-Length:
150
- - '898'
191
+ - '1073'
151
192
  Host:
152
193
  - localhost:8080
153
194
  response:
@@ -170,12 +211,12 @@ http_interactions:
170
211
  Content-Length:
171
212
  - '0'
172
213
  Date:
173
- - Mon, 15 Aug 2016 15:20:37 GMT
214
+ - Thu, 13 Oct 2016 12:21:05 GMT
174
215
  body:
175
216
  encoding: UTF-8
176
217
  string: ''
177
218
  http_version:
178
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
219
+ recorded_at: Thu, 13 Oct 2016 12:21:05 GMT
179
220
  - request:
180
221
  method: post
181
222
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/raw/query
@@ -213,7 +254,7 @@ http_interactions:
213
254
  Pragma:
214
255
  - no-cache
215
256
  Date:
216
- - Mon, 15 Aug 2016 15:20:37 GMT
257
+ - Thu, 13 Oct 2016 12:21:05 GMT
217
258
  Connection:
218
259
  - keep-alive
219
260
  Content-Type:
@@ -222,9 +263,9 @@ http_interactions:
222
263
  - '280'
223
264
  body:
224
265
  encoding: UTF-8
225
- string: '[{"id":"<%= id1 %>","data":[{"timestamp":1471274437372,"value":1}]},{"id":"<%= id2 %>","data":[{"timestamp":1471274437372,"value":2}]},{"id":"<%= id3 %>","data":[{"timestamp":1471274437372,"value":3}]}]'
266
+ string: '[{"id":"<%= id1 %>","data":[{"timestamp":1476361265753,"value":1}]},{"id":"<%= id2 %>","data":[{"timestamp":1476361265753,"value":2}]},{"id":"<%= id3 %>","data":[{"timestamp":1476361265753,"value":3}]}]'
226
267
  http_version:
227
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
268
+ recorded_at: Thu, 13 Oct 2016 12:21:05 GMT
228
269
  - request:
229
270
  method: post
230
271
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/raw/query
@@ -262,7 +303,7 @@ http_interactions:
262
303
  Pragma:
263
304
  - no-cache
264
305
  Date:
265
- - Mon, 15 Aug 2016 15:20:37 GMT
306
+ - Thu, 13 Oct 2016 12:21:06 GMT
266
307
  Connection:
267
308
  - keep-alive
268
309
  Content-Type:
@@ -271,9 +312,9 @@ http_interactions:
271
312
  - '286'
272
313
  body:
273
314
  encoding: UTF-8
274
- string: '[{"id":"<%= id1 %>","data":[{"timestamp":1471274437372,"value":1.1}]},{"id":"<%= id2 %>","data":[{"timestamp":1471274437372,"value":2.2}]},{"id":"<%= id3 %>","data":[{"timestamp":1471274437372,"value":3.3}]}]'
315
+ string: '[{"id":"<%= id1 %>","data":[{"timestamp":1476361265753,"value":1.1}]},{"id":"<%= id2 %>","data":[{"timestamp":1476361265753,"value":2.2}]},{"id":"<%= id3 %>","data":[{"timestamp":1476361265753,"value":3.3}]}]'
275
316
  http_version:
276
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
317
+ recorded_at: Thu, 13 Oct 2016 12:21:06 GMT
277
318
  - request:
278
319
  method: post
279
320
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/raw/query
@@ -311,7 +352,7 @@ http_interactions:
311
352
  Pragma:
312
353
  - no-cache
313
354
  Date:
314
- - Mon, 15 Aug 2016 15:20:37 GMT
355
+ - Thu, 13 Oct 2016 12:21:06 GMT
315
356
  Connection:
316
357
  - keep-alive
317
358
  Content-Type:
@@ -320,7 +361,54 @@ http_interactions:
320
361
  - '291'
321
362
  body:
322
363
  encoding: UTF-8
323
- string: '[{"id":"<%= id1 %>","data":[{"timestamp":1471274437372,"value":"up"}]},{"id":"<%= id2 %>","data":[{"timestamp":1471274437372,"value":"down"}]},{"id":"<%= id3 %>","data":[{"timestamp":1471274437372,"value":"up"}]}]'
364
+ string: '[{"id":"<%= id1 %>","data":[{"timestamp":1476361265753,"value":"up"}]},{"id":"<%= id2 %>","data":[{"timestamp":1476361265753,"value":"down"}]},{"id":"<%= id3 %>","data":[{"timestamp":1476361265753,"value":"up"}]}]'
365
+ http_version:
366
+ recorded_at: Thu, 13 Oct 2016 12:21:06 GMT
367
+ - request:
368
+ method: get
369
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id4 %>/raw/?distinct=true&end=2000000&order=ASC&start=100
370
+ body:
371
+ encoding: US-ASCII
372
+ string: ''
373
+ headers:
374
+ Accept:
375
+ - application/json
376
+ Accept-Encoding:
377
+ - identity
378
+ User-Agent:
379
+ - hawkular-client-ruby
380
+ Hawkular-Tenant:
381
+ - <%= vcr_test_tenant %>
382
+ Content-Type:
383
+ - application/json
384
+ Host:
385
+ - localhost:8080
386
+ response:
387
+ status:
388
+ code: 200
389
+ message: OK
390
+ headers:
391
+ Expires:
392
+ - '0'
393
+ Cache-Control:
394
+ - no-cache, no-store, must-revalidate
395
+ X-Powered-By:
396
+ - Undertow/1
397
+ Server:
398
+ - WildFly/10
399
+ Pragma:
400
+ - no-cache
401
+ Date:
402
+ - Thu, 13 Oct 2016 12:21:06 GMT
403
+ Connection:
404
+ - keep-alive
405
+ Content-Type:
406
+ - application/json
407
+ Content-Length:
408
+ - '108'
409
+ body:
410
+ encoding: UTF-8
411
+ string: '[{"timestamp":10000,"value":"up"},{"timestamp":100000,"value":"down"},{"timestamp":1000000,"value":"admin"}]'
324
412
  http_version:
325
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
413
+ recorded_at: Thu, 13 Oct 2016 12:21:06 GMT
326
414
  recorded_with: VCR 3.0.3
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/
5
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -35,15 +35,15 @@ http_interactions:
35
35
  Pragma:
36
36
  - no-cache
37
37
  Date:
38
- - Mon, 15 Aug 2016 15:20:37 GMT
38
+ - Thu, 13 Oct 2016 03:21:52 GMT
39
39
  body:
40
40
  encoding: UTF-8
41
41
  string: ''
42
42
  http_version:
43
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
43
+ recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
44
44
  - request:
45
45
  method: get
46
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
46
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/raw/
47
47
  body:
48
48
  encoding: US-ASCII
49
49
  string: ''
@@ -76,15 +76,15 @@ http_interactions:
76
76
  Pragma:
77
77
  - no-cache
78
78
  Date:
79
- - Mon, 15 Aug 2016 15:20:37 GMT
79
+ - Thu, 13 Oct 2016 03:21:52 GMT
80
80
  body:
81
81
  encoding: UTF-8
82
82
  string: ''
83
83
  http_version:
84
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
84
+ recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
85
85
  - request:
86
86
  method: get
87
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/data/
87
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/raw/
88
88
  body:
89
89
  encoding: US-ASCII
90
90
  string: ''
@@ -117,18 +117,18 @@ http_interactions:
117
117
  Pragma:
118
118
  - no-cache
119
119
  Date:
120
- - Mon, 15 Aug 2016 15:20:37 GMT
120
+ - Thu, 13 Oct 2016 03:21:52 GMT
121
121
  body:
122
122
  encoding: UTF-8
123
123
  string: ''
124
124
  http_version:
125
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
125
+ recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
126
126
  - request:
127
127
  method: post
128
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data
128
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
129
129
  body:
130
130
  encoding: UTF-8
131
- string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":1471274437464}]}],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":1471274437465}]}],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":1471274437465}]}]}'
131
+ string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":1476328912275}]}],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":1476328912275}]}],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":1476328912275}]}],"strings":[]}'
132
132
  headers:
133
133
  Accept:
134
134
  - application/json
@@ -141,7 +141,7 @@ http_interactions:
141
141
  Content-Type:
142
142
  - application/json
143
143
  Content-Length:
144
- - '330'
144
+ - '343'
145
145
  Host:
146
146
  - localhost:8080
147
147
  response:
@@ -164,15 +164,15 @@ http_interactions:
164
164
  Content-Length:
165
165
  - '0'
166
166
  Date:
167
- - Mon, 15 Aug 2016 15:20:37 GMT
167
+ - Thu, 13 Oct 2016 03:21:52 GMT
168
168
  body:
169
169
  encoding: UTF-8
170
170
  string: ''
171
171
  http_version:
172
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
172
+ recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
173
173
  - request:
174
174
  method: get
175
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/
175
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
176
176
  body:
177
177
  encoding: US-ASCII
178
178
  string: ''
@@ -205,7 +205,7 @@ http_interactions:
205
205
  Pragma:
206
206
  - no-cache
207
207
  Date:
208
- - Mon, 15 Aug 2016 15:20:37 GMT
208
+ - Thu, 13 Oct 2016 03:21:52 GMT
209
209
  Connection:
210
210
  - keep-alive
211
211
  Content-Type:
@@ -214,12 +214,12 @@ http_interactions:
214
214
  - '39'
215
215
  body:
216
216
  encoding: UTF-8
217
- string: '[{"timestamp":1471274437465,"value":1}]'
217
+ string: '[{"timestamp":1476328912275,"value":1}]'
218
218
  http_version:
219
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
219
+ recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
220
220
  - request:
221
221
  method: get
222
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/data/
222
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/raw/
223
223
  body:
224
224
  encoding: US-ASCII
225
225
  string: ''
@@ -252,7 +252,7 @@ http_interactions:
252
252
  Pragma:
253
253
  - no-cache
254
254
  Date:
255
- - Mon, 15 Aug 2016 15:20:37 GMT
255
+ - Thu, 13 Oct 2016 03:21:52 GMT
256
256
  Connection:
257
257
  - keep-alive
258
258
  Content-Type:
@@ -261,12 +261,12 @@ http_interactions:
261
261
  - '41'
262
262
  body:
263
263
  encoding: UTF-8
264
- string: '[{"timestamp":1471274437464,"value":1.1}]'
264
+ string: '[{"timestamp":1476328912275,"value":1.1}]'
265
265
  http_version:
266
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
266
+ recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
267
267
  - request:
268
268
  method: get
269
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/data/
269
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/raw/
270
270
  body:
271
271
  encoding: US-ASCII
272
272
  string: ''
@@ -299,7 +299,7 @@ http_interactions:
299
299
  Pragma:
300
300
  - no-cache
301
301
  Date:
302
- - Mon, 15 Aug 2016 15:20:37 GMT
302
+ - Thu, 13 Oct 2016 03:21:52 GMT
303
303
  Connection:
304
304
  - keep-alive
305
305
  Content-Type:
@@ -308,7 +308,7 @@ http_interactions:
308
308
  - '44'
309
309
  body:
310
310
  encoding: UTF-8
311
- string: '[{"timestamp":1471274437465,"value":"down"}]'
311
+ string: '[{"timestamp":1476328912275,"value":"down"}]'
312
312
  http_version:
313
- recorded_at: Mon, 15 Aug 2016 15:20:37 GMT
313
+ recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
314
314
  recorded_with: VCR 3.0.3