hawkular-client 0.2.2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +3 -0
  3. data/.yardopts +1 -0
  4. data/CHANGES.rdoc +17 -4
  5. data/README.rdoc +15 -6
  6. data/api_breaking_changes.rdoc +79 -0
  7. data/hawkularclient.gemspec +6 -5
  8. data/lib/{alerts → hawkular/alerts}/alerts_api.rb +168 -7
  9. data/lib/{hawkular.rb → hawkular/base_client.rb} +7 -44
  10. data/lib/hawkular/hawkular_client.rb +60 -0
  11. data/lib/hawkular/hawkular_client_utils.rb +40 -0
  12. data/lib/{inventory → hawkular/inventory}/inventory_api.rb +167 -142
  13. data/lib/{metrics → hawkular/metrics}/metric_api.rb +1 -0
  14. data/lib/{metrics → hawkular/metrics}/metrics_client.rb +4 -4
  15. data/lib/{metrics → hawkular/metrics}/tenant_api.rb +0 -0
  16. data/lib/{metrics → hawkular/metrics}/types.rb +0 -0
  17. data/lib/{operations → hawkular/operations}/operations_api.rb +11 -8
  18. data/lib/{tokens → hawkular/tokens}/tokens_api.rb +1 -1
  19. data/lib/{version.rb → hawkular/version.rb} +1 -1
  20. data/spec/integration/alerts_spec.rb +200 -0
  21. data/spec/integration/hawkular_client_spec.rb +228 -0
  22. data/spec/integration/inventory_spec.rb +246 -160
  23. data/spec/integration/metric_spec.rb +52 -59
  24. data/spec/integration/operations_spec.rb +53 -29
  25. data/spec/spec_helper.rb +109 -8
  26. data/spec/unit/base_spec.rb +9 -0
  27. data/spec/unit/canonical_path_spec.rb +2 -2
  28. data/spec/vcr/vcr_setup.rb +6 -0
  29. data/spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml +50 -0
  30. data/spec/vcr_cassettes/Alert/Groups/Should_operate_a_complex_group_trigger.yml +1726 -0
  31. data/spec/vcr_cassettes/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +190 -0
  32. data/spec/vcr_cassettes/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +30 -42
  33. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +287 -0
  34. data/spec/vcr_cassettes/{Inventory/Should_list_URLs.yml → HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml} +35 -33
  35. data/spec/vcr_cassettes/{Inventory/Should_list_types_with_bad_feed.yml → HawkularClient/and_Inventory_client/Should_both_list_types_with_bad_feed.yml} +16 -19
  36. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +245 -0
  37. data/spec/vcr_cassettes/{Inventory/Should_list_feeds.yml → HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml} +20 -20
  38. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +249 -0
  39. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_retrieve_tags_for_Availability.yml +155 -0
  40. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_return_Availability_using_Hash_parameter.yml +155 -0
  41. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_return_the_version.yml +89 -0
  42. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_work_the_same_way_when_pushing_metric_data_to_non-existing_counter.yml +114 -0
  43. data/spec/vcr_cassettes/{Inventory/Should_list_WildFlys_with_props.yml → HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml} +28 -50
  44. data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +44 -0
  45. data/spec/vcr_cassettes/Inventory/Helpers/create_url.yml +48 -0
  46. data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +4446 -0
  47. data/spec/vcr_cassettes/Inventory/Helpers/get_feeds.yml +54 -0
  48. data/spec/vcr_cassettes/Inventory/Templates/Client_should_listen_on_various_inventory_events.json +47 -0
  49. data/spec/vcr_cassettes/Inventory/{Should_create_a_resourcetype.yml → Templates/Client_should_listen_on_various_inventory_events.yml} +47 -61
  50. data/spec/vcr_cassettes/Inventory/Templates/Helpers/generate_some_events_for_websocket.yml +542 -0
  51. data/spec/vcr_cassettes/Inventory/{Should_List_datasources_with_no_props.yml → Templates/Should_List_datasources_with_no_props.yml} +26 -85
  52. data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_feed.yml +54 -0
  53. data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_feed_again.yml +164 -0
  54. data/spec/vcr_cassettes/Inventory/{Should_create_a_nested_resource_and_metric_on_it.yml → Templates/Should_create_a_nested_resource_and_metric_on_it.yml} +93 -74
  55. data/spec/vcr_cassettes/Inventory/{Should_create_a_resource_.yml → Templates/Should_create_a_resource.yml} +103 -76
  56. data/spec/vcr_cassettes/Inventory/{Should_create_a_resource_with_metric.yml → Templates/Should_create_a_resource_with_metric.yml} +91 -197
  57. data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_resourcetype.yml +154 -0
  58. data/spec/vcr_cassettes/Inventory/Templates/Should_create_and_delete_feed.yml +145 -0
  59. data/spec/vcr_cassettes/Inventory/{Should_create_and_get_a_resource.yml → Templates/Should_create_and_get_a_resource.yml} +35 -20
  60. data/spec/vcr_cassettes/Inventory/Templates/Should_list_URLs.yml +65 -0
  61. data/spec/vcr_cassettes/Inventory/Templates/Should_list_WildFlys.yml +61 -0
  62. data/spec/vcr_cassettes/Inventory/{Should_list_WildFlys.yml → Templates/Should_list_WildFlys_with_props.yml} +36 -33
  63. data/spec/vcr_cassettes/Inventory/Templates/Should_list_all_the_resource_types.yml +126 -0
  64. data/spec/vcr_cassettes/Inventory/{Should_list_children_of_WildFly.yml → Templates/Should_list_children_of_WildFly.yml} +66 -112
  65. data/spec/vcr_cassettes/Inventory/{Should_list_children_of_nested_resource.yml → Templates/Should_list_children_of_nested_resource.yml} +13 -13
  66. data/spec/vcr_cassettes/Inventory/Templates/Should_list_feeds.yml +54 -0
  67. data/spec/vcr_cassettes/Inventory/Templates/Should_list_heap_metrics_for_WildFlys.yml +712 -0
  68. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_for_WildFlys.yml +278 -0
  69. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_metric_type.yml +530 -0
  70. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_resource_type.yml +278 -0
  71. data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource.yml +185 -0
  72. data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource_type.yml +126 -0
  73. data/spec/vcr_cassettes/Inventory/Templates/Should_list_recursive_children_of_WildFly.yml +2369 -0
  74. data/spec/vcr_cassettes/Inventory/Templates/Should_list_relationships_of_WildFly.yml +415 -0
  75. data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_bad_feed.yml +51 -0
  76. data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_feed.yml +124 -0
  77. data/spec/vcr_cassettes/Inventory/{Should_not_find_an_unknown_resource.yml → Templates/Should_not_find_an_unknown_resource.yml} +14 -13
  78. data/spec/vcr_cassettes/Inventory/{Should_return_config_data_of_given_nested_resource.yml → Templates/Should_return_config_data_of_given_nested_resource.yml} +4 -4
  79. data/spec/vcr_cassettes/Inventory/{Should_return_config_data_of_given_resource.yml → Templates/Should_return_config_data_of_given_resource.yml} +4 -4
  80. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +50 -0
  81. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +50 -0
  82. data/spec/vcr_cassettes/Operation/Helpers/get_feed.yml +54 -0
  83. data/spec/vcr_cassettes/Operation/Helpers/get_tenant.yml +50 -0
  84. data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +26 -0
  85. data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +26 -0
  86. data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +26 -0
  87. data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +40 -0
  88. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
  89. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +26 -0
  90. data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +26 -0
  91. data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +26 -0
  92. data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +26 -0
  93. data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
  94. data/spec/vcr_cassettes/Operation/Operation/should_not_be_possible_to_perform_on_closed_client.json +12 -0
  95. data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json +9 -0
  96. metadata +171 -72
  97. data/lib/hawkular_all.rb +0 -9
  98. data/spec/vcr_cassettes/Inventory/Should_create_a_feed.yml +0 -107
  99. data/spec/vcr_cassettes/Inventory/Should_create_a_feed_again.yml +0 -211
  100. data/spec/vcr_cassettes/Inventory/Should_create_and_delete_feed.yml +0 -201
  101. data/spec/vcr_cassettes/Inventory/Should_list_all_the_resource_types.yml +0 -177
  102. data/spec/vcr_cassettes/Inventory/Should_list_heap_metrics_for_WildFlys.yml +0 -775
  103. data/spec/vcr_cassettes/Inventory/Should_list_metrics_for_WildFlys.yml +0 -333
  104. data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_metric_type.yml +0 -613
  105. data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_resource_type.yml +0 -333
  106. data/spec/vcr_cassettes/Inventory/Should_list_recursive_children_of_WildFly.yml +0 -2064
  107. data/spec/vcr_cassettes/Inventory/Should_list_relationships_of_WildFly.yml +0 -460
  108. data/spec/vcr_cassettes/Inventory/Should_list_types_with_feed.yml +0 -175
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
5
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/Datasource/resources
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -11,61 +11,10 @@ http_interactions:
11
11
  - application/json
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
- User-Agent:
15
- - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
16
- Content-Type:
17
- - application/json
18
- response:
19
- status:
20
- code: 200
21
- message: OK
22
- headers:
23
- Expires:
24
- - '0'
25
- Cache-Control:
26
- - no-cache, no-store, must-revalidate
27
- X-Powered-By:
28
- - Undertow/1
29
- Server:
30
- - WildFly/10
31
- Pragma:
32
- - no-cache
33
- Date:
34
- - Thu, 18 Feb 2016 22:30:15 GMT
35
- Connection:
36
- - keep-alive
37
14
  Content-Type:
38
15
  - application/json
39
- Content-Length:
40
- - '105'
41
- body:
42
- encoding: ASCII-8BIT
43
- string: |-
44
- {
45
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
46
- "id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
47
- }
48
- http_version:
49
- recorded_at: Thu, 18 Feb 2016 22:30:15 GMT
50
- - request:
51
- method: get
52
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resourceTypes/Datasource/resources
53
- body:
54
- encoding: US-ASCII
55
- string: ''
56
- headers:
57
- Accept:
58
- - application/json
59
- Accept-Encoding:
60
- - gzip, deflate
61
16
  User-Agent:
62
- - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
63
- Hawkular-Tenant:
64
- - 28026b36-8fe4-4332-84c8-524e173a68bf
65
- Tenantid:
66
- - 28026b36-8fe4-4332-84c8-524e173a68bf
67
- Content-Type:
68
- - application/json
17
+ - Ruby
69
18
  response:
70
19
  status:
71
20
  code: 200
@@ -82,7 +31,7 @@ http_interactions:
82
31
  Pragma:
83
32
  - no-cache
84
33
  Date:
85
- - Thu, 18 Feb 2016 22:30:16 GMT
34
+ - Thu, 05 May 2016 11:18:41 GMT
86
35
  X-Total-Count:
87
36
  - '2'
88
37
  Connection:
@@ -90,26 +39,26 @@ http_interactions:
90
39
  Content-Type:
91
40
  - application/json
92
41
  Content-Length:
93
- - '863'
42
+ - '871'
94
43
  Link:
95
- - <http://localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resourceTypes/Datasource/resources>;
44
+ - <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/Datasource/resources>;
96
45
  rel="current"
97
46
  body:
98
47
  encoding: ASCII-8BIT
99
48
  string: |-
100
49
  [ {
101
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS",
50
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS",
102
51
  "type" : {
103
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Datasource",
52
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Datasource",
104
53
  "name" : "Datasource",
105
54
  "id" : "Datasource"
106
55
  },
107
56
  "name" : "ExampleDS",
108
57
  "id" : "Local~/subsystem=datasources/data-source=ExampleDS"
109
58
  }, {
110
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem=datasources%2Fdata-source=KeycloakDS",
59
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DKeycloakDS",
111
60
  "type" : {
112
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Datasource",
61
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Datasource",
113
62
  "name" : "Datasource",
114
63
  "id" : "Datasource"
115
64
  },
@@ -117,10 +66,10 @@ http_interactions:
117
66
  "id" : "Local~/subsystem=datasources/data-source=KeycloakDS"
118
67
  } ]
119
68
  http_version:
120
- recorded_at: Thu, 18 Feb 2016 22:30:16 GMT
69
+ recorded_at: Thu, 05 May 2016 11:18:41 GMT
121
70
  - request:
122
71
  method: get
123
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/data?dataType=configuration
72
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/data?dataType=configuration
124
73
  body:
125
74
  encoding: US-ASCII
126
75
  string: ''
@@ -129,14 +78,10 @@ http_interactions:
129
78
  - application/json
130
79
  Accept-Encoding:
131
80
  - gzip, deflate
132
- User-Agent:
133
- - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
134
- Hawkular-Tenant:
135
- - 28026b36-8fe4-4332-84c8-524e173a68bf
136
- Tenantid:
137
- - 28026b36-8fe4-4332-84c8-524e173a68bf
138
81
  Content-Type:
139
82
  - application/json
83
+ User-Agent:
84
+ - Ruby
140
85
  response:
141
86
  status:
142
87
  code: 404
@@ -153,30 +98,30 @@ http_interactions:
153
98
  Pragma:
154
99
  - no-cache
155
100
  Date:
156
- - Thu, 18 Feb 2016 22:30:16 GMT
101
+ - Thu, 05 May 2016 11:18:41 GMT
157
102
  Connection:
158
103
  - keep-alive
159
104
  Content-Type:
160
105
  - application/json
161
106
  Content-Length:
162
- - '500'
107
+ - '508'
163
108
  body:
164
109
  encoding: ASCII-8BIT
165
110
  string: |-
166
111
  {
167
- "errorMsg" : "No DataEntity found on any of the following paths: [[CanonicalPaths[/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/d;configuration]]]",
112
+ "errorMsg" : "No DataEntity found on any of the following paths: [[CanonicalPaths[/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/d;configuration]]]",
168
113
  "details" : {
169
114
  "entityType" : "DataEntity",
170
115
  "path" : [ [ {
171
- "paths" : [ "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/d;configuration" ]
116
+ "paths" : [ "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/d;configuration" ]
172
117
  } ] ]
173
118
  }
174
119
  }
175
120
  http_version:
176
- recorded_at: Thu, 18 Feb 2016 22:30:16 GMT
121
+ recorded_at: Thu, 05 May 2016 11:18:41 GMT
177
122
  - request:
178
123
  method: get
179
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~%2Fsubsystem=datasources%2Fdata-source=KeycloakDS/data?dataType=configuration
124
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~%2Fsubsystem=datasources%2Fdata-source=KeycloakDS/data?dataType=configuration
180
125
  body:
181
126
  encoding: US-ASCII
182
127
  string: ''
@@ -185,14 +130,10 @@ http_interactions:
185
130
  - application/json
186
131
  Accept-Encoding:
187
132
  - gzip, deflate
188
- User-Agent:
189
- - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
190
- Hawkular-Tenant:
191
- - 28026b36-8fe4-4332-84c8-524e173a68bf
192
- Tenantid:
193
- - 28026b36-8fe4-4332-84c8-524e173a68bf
194
133
  Content-Type:
195
134
  - application/json
135
+ User-Agent:
136
+ - Ruby
196
137
  response:
197
138
  status:
198
139
  code: 404
@@ -209,25 +150,25 @@ http_interactions:
209
150
  Pragma:
210
151
  - no-cache
211
152
  Date:
212
- - Thu, 18 Feb 2016 22:30:16 GMT
153
+ - Thu, 05 May 2016 11:18:41 GMT
213
154
  Connection:
214
155
  - keep-alive
215
156
  Content-Type:
216
157
  - application/json
217
158
  Content-Length:
218
- - '502'
159
+ - '510'
219
160
  body:
220
161
  encoding: ASCII-8BIT
221
162
  string: |-
222
163
  {
223
- "errorMsg" : "No DataEntity found on any of the following paths: [[CanonicalPaths[/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~%2Fsubsystem=datasources%2Fdata-source=KeycloakDS/d;configuration]]]",
164
+ "errorMsg" : "No DataEntity found on any of the following paths: [[CanonicalPaths[/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DKeycloakDS/d;configuration]]]",
224
165
  "details" : {
225
166
  "entityType" : "DataEntity",
226
167
  "path" : [ [ {
227
- "paths" : [ "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~%2Fsubsystem=datasources%2Fdata-source=KeycloakDS/d;configuration" ]
168
+ "paths" : [ "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DKeycloakDS/d;configuration" ]
228
169
  } ] ]
229
170
  }
230
171
  }
231
172
  http_version:
232
- recorded_at: Thu, 18 Feb 2016 22:30:16 GMT
173
+ recorded_at: Thu, 05 May 2016 11:18:41 GMT
233
174
  recorded_with: VCR 3.0.1
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"properties":{},"id":"feed_1123sdncisud6237ui23hjbdscuzsad","name":null,"outgoing":{},"incoming":{}}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Type:
15
+ - application/json
16
+ Content-Length:
17
+ - '101'
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Expires:
26
+ - '0'
27
+ Cache-Control:
28
+ - no-cache, no-store, must-revalidate
29
+ X-Powered-By:
30
+ - Undertow/1
31
+ Server:
32
+ - WildFly/10
33
+ Pragma:
34
+ - no-cache
35
+ Location:
36
+ - http://localhost:8080/hawkular/inventory/feeds/feed_1123sdncisud6237ui23hjbdscuzsad
37
+ Date:
38
+ - Thu, 05 May 2016 11:18:45 GMT
39
+ Connection:
40
+ - keep-alive
41
+ Content-Type:
42
+ - application/json
43
+ Content-Length:
44
+ - '144'
45
+ body:
46
+ encoding: ASCII-8BIT
47
+ string: |-
48
+ {
49
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_1123sdncisud6237ui23hjbdscuzsad",
50
+ "id" : "feed_1123sdncisud6237ui23hjbdscuzsad"
51
+ }
52
+ http_version:
53
+ recorded_at: Thu, 05 May 2016 11:18:45 GMT
54
+ recorded_with: VCR 3.0.1
@@ -0,0 +1,164 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"properties":{},"id":"feed_1123sdncisud6237ui2378789vvgX","name":null,"outgoing":{},"incoming":{}}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Type:
15
+ - application/json
16
+ Content-Length:
17
+ - '99'
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 201
23
+ message: Created
24
+ headers:
25
+ Expires:
26
+ - '0'
27
+ Cache-Control:
28
+ - no-cache, no-store, must-revalidate
29
+ X-Powered-By:
30
+ - Undertow/1
31
+ Server:
32
+ - WildFly/10
33
+ Pragma:
34
+ - no-cache
35
+ Location:
36
+ - http://localhost:8080/hawkular/inventory/feeds/feed_1123sdncisud6237ui2378789vvgX
37
+ Date:
38
+ - Thu, 05 May 2016 11:18:45 GMT
39
+ Connection:
40
+ - keep-alive
41
+ Content-Type:
42
+ - application/json
43
+ Content-Length:
44
+ - '140'
45
+ body:
46
+ encoding: ASCII-8BIT
47
+ string: |-
48
+ {
49
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_1123sdncisud6237ui2378789vvgX",
50
+ "id" : "feed_1123sdncisud6237ui2378789vvgX"
51
+ }
52
+ http_version:
53
+ recorded_at: Thu, 05 May 2016 11:18:45 GMT
54
+ - request:
55
+ method: post
56
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{"properties":{},"id":"feed_1123sdncisud6237ui2378789vvgX","name":null,"outgoing":{},"incoming":{}}'
60
+ headers:
61
+ Accept:
62
+ - application/json
63
+ Accept-Encoding:
64
+ - gzip, deflate
65
+ Content-Type:
66
+ - application/json
67
+ Content-Length:
68
+ - '99'
69
+ User-Agent:
70
+ - Ruby
71
+ response:
72
+ status:
73
+ code: 409
74
+ message: Conflict
75
+ headers:
76
+ Expires:
77
+ - '0'
78
+ Cache-Control:
79
+ - no-cache, no-store, must-revalidate
80
+ X-Powered-By:
81
+ - Undertow/1
82
+ Server:
83
+ - WildFly/10
84
+ Pragma:
85
+ - no-cache
86
+ Date:
87
+ - Thu, 05 May 2016 11:18:45 GMT
88
+ Connection:
89
+ - keep-alive
90
+ Content-Type:
91
+ - application/json
92
+ Content-Length:
93
+ - '847'
94
+ body:
95
+ encoding: ASCII-8BIT
96
+ string: |-
97
+ {
98
+ "errorMsg" : "Feed with id 'Feed[path='/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_1123sdncisud6237ui2378789vvgX']' has been already registered. Entity with id 'feed_1123sdncisud6237ui2378789vvgX' already exists at some of the positions: [[Types[Tenant], Ids[28026b36-8fe4-4332-84c8-524e173a68bf], Related[, rel='contains', role=SOURCE], Types[Feed], Ids[feed_1123sdncisud6237ui2378789vvgX]]]",
99
+ "details" : {
100
+ "entityId" : "feed_1123sdncisud6237ui2378789vvgX",
101
+ "paths" : [ [ {
102
+ "types" : [ "org.hawkular.inventory.api.model.Tenant" ]
103
+ }, {
104
+ "ids" : [ "28026b36-8fe4-4332-84c8-524e173a68bf" ]
105
+ }, {
106
+ "relationshipName" : "contains",
107
+ "entityRole" : "SOURCE"
108
+ }, {
109
+ "types" : [ "org.hawkular.inventory.api.model.Feed" ]
110
+ }, {
111
+ "ids" : [ "feed_1123sdncisud6237ui2378789vvgX" ]
112
+ } ] ]
113
+ }
114
+ }
115
+ http_version:
116
+ recorded_at: Thu, 05 May 2016 11:18:45 GMT
117
+ - request:
118
+ method: get
119
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_1123sdncisud6237ui2378789vvgX
120
+ body:
121
+ encoding: US-ASCII
122
+ string: ''
123
+ headers:
124
+ Accept:
125
+ - application/json
126
+ Accept-Encoding:
127
+ - gzip, deflate
128
+ Content-Type:
129
+ - application/json
130
+ User-Agent:
131
+ - Ruby
132
+ response:
133
+ status:
134
+ code: 200
135
+ message: OK
136
+ headers:
137
+ Expires:
138
+ - '0'
139
+ Cache-Control:
140
+ - no-cache, no-store, must-revalidate
141
+ X-Powered-By:
142
+ - Undertow/1
143
+ Server:
144
+ - WildFly/10
145
+ Pragma:
146
+ - no-cache
147
+ Date:
148
+ - Thu, 05 May 2016 11:18:45 GMT
149
+ Connection:
150
+ - keep-alive
151
+ Content-Type:
152
+ - application/json
153
+ Content-Length:
154
+ - '140'
155
+ body:
156
+ encoding: ASCII-8BIT
157
+ string: |-
158
+ {
159
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_1123sdncisud6237ui2378789vvgX",
160
+ "id" : "feed_1123sdncisud6237ui2378789vvgX"
161
+ }
162
+ http_version:
163
+ recorded_at: Thu, 05 May 2016 11:18:45 GMT
164
+ recorded_with: VCR 3.0.1
@@ -33,7 +33,7 @@ http_interactions:
33
33
  Pragma:
34
34
  - no-cache
35
35
  Date:
36
- - Thu, 21 Apr 2016 14:01:18 GMT
36
+ - Thu, 05 May 2016 11:18:47 GMT
37
37
  Connection:
38
38
  - keep-alive
39
39
  Content-Type:
@@ -62,7 +62,7 @@ http_interactions:
62
62
  }
63
63
  }
64
64
  http_version:
65
- recorded_at: Thu, 21 Apr 2016 14:01:18 GMT
65
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
66
66
  - request:
67
67
  method: get
68
68
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist
@@ -94,7 +94,7 @@ http_interactions:
94
94
  Pragma:
95
95
  - no-cache
96
96
  Date:
97
- - Thu, 21 Apr 2016 14:01:18 GMT
97
+ - Thu, 05 May 2016 11:18:47 GMT
98
98
  Connection:
99
99
  - keep-alive
100
100
  Content-Type:
@@ -109,7 +109,7 @@ http_interactions:
109
109
  "id" : "feed_may_exist"
110
110
  }
111
111
  http_version:
112
- recorded_at: Thu, 21 Apr 2016 14:01:18 GMT
112
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
113
113
  - request:
114
114
  method: post
115
115
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resourceTypes
@@ -129,8 +129,8 @@ http_interactions:
129
129
  - Ruby
130
130
  response:
131
131
  status:
132
- code: 409
133
- message: Conflict
132
+ code: 201
133
+ message: Created
134
134
  headers:
135
135
  Expires:
136
136
  - '0'
@@ -142,23 +142,26 @@ http_interactions:
142
142
  - WildFly/10
143
143
  Pragma:
144
144
  - no-cache
145
+ Location:
146
+ - http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/resourceTypes/rt-123-1
145
147
  Date:
146
- - Thu, 21 Apr 2016 14:01:18 GMT
148
+ - Thu, 05 May 2016 11:18:47 GMT
147
149
  Connection:
148
150
  - keep-alive
149
151
  Content-Type:
150
152
  - application/json
151
153
  Content-Length:
152
- - '107'
154
+ - '133'
153
155
  body:
154
156
  encoding: ASCII-8BIT
155
157
  string: |-
156
158
  {
157
- "errorMsg" : "Entity with id 'null' already exists at some of the positions: null",
158
- "details" : { }
159
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/rt;rt-123-1",
160
+ "name" : "ResourceType",
161
+ "id" : "rt-123-1"
159
162
  }
160
163
  http_version:
161
- recorded_at: Thu, 21 Apr 2016 14:01:18 GMT
164
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
162
165
  - request:
163
166
  method: get
164
167
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resourceTypes/rt-123-1
@@ -190,7 +193,7 @@ http_interactions:
190
193
  Pragma:
191
194
  - no-cache
192
195
  Date:
193
- - Thu, 21 Apr 2016 14:01:18 GMT
196
+ - Thu, 05 May 2016 11:18:47 GMT
194
197
  Connection:
195
198
  - keep-alive
196
199
  Content-Type:
@@ -206,7 +209,7 @@ http_interactions:
206
209
  "id" : "rt-123-1"
207
210
  }
208
211
  http_version:
209
- recorded_at: Thu, 21 Apr 2016 14:01:18 GMT
212
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
210
213
  - request:
211
214
  method: post
212
215
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources
@@ -226,8 +229,8 @@ http_interactions:
226
229
  - Ruby
227
230
  response:
228
231
  status:
229
- code: 409
230
- message: Conflict
232
+ code: 201
233
+ message: Created
231
234
  headers:
232
235
  Expires:
233
236
  - '0'
@@ -239,23 +242,31 @@ http_interactions:
239
242
  - WildFly/10
240
243
  Pragma:
241
244
  - no-cache
245
+ Location:
246
+ - http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a
242
247
  Date:
243
- - Thu, 21 Apr 2016 14:01:18 GMT
248
+ - Thu, 05 May 2016 11:18:47 GMT
244
249
  Connection:
245
250
  - keep-alive
246
251
  Content-Type:
247
252
  - application/json
248
253
  Content-Length:
249
- - '107'
254
+ - '275'
250
255
  body:
251
256
  encoding: ASCII-8BIT
252
257
  string: |-
253
258
  {
254
- "errorMsg" : "Entity with id 'null' already exists at some of the positions: null",
255
- "details" : { }
259
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/r;r124-a",
260
+ "type" : {
261
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/rt;rt-123-1",
262
+ "name" : "ResourceType",
263
+ "id" : "rt-123-1"
264
+ },
265
+ "name" : "Res-a",
266
+ "id" : "r124-a"
256
267
  }
257
268
  http_version:
258
- recorded_at: Thu, 21 Apr 2016 14:01:18 GMT
269
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
259
270
  - request:
260
271
  method: get
261
272
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a
@@ -287,7 +298,7 @@ http_interactions:
287
298
  Pragma:
288
299
  - no-cache
289
300
  Date:
290
- - Thu, 21 Apr 2016 14:01:18 GMT
301
+ - Thu, 05 May 2016 11:18:47 GMT
291
302
  Connection:
292
303
  - keep-alive
293
304
  Content-Type:
@@ -308,7 +319,7 @@ http_interactions:
308
319
  "id" : "r124-a"
309
320
  }
310
321
  http_version:
311
- recorded_at: Thu, 21 Apr 2016 14:01:18 GMT
322
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
312
323
  - request:
313
324
  method: post
314
325
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a
@@ -328,8 +339,8 @@ http_interactions:
328
339
  - Ruby
329
340
  response:
330
341
  status:
331
- code: 409
332
- message: Conflict
342
+ code: 201
343
+ message: Created
333
344
  headers:
334
345
  Expires:
335
346
  - '0'
@@ -341,23 +352,31 @@ http_interactions:
341
352
  - WildFly/10
342
353
  Pragma:
343
354
  - no-cache
355
+ Location:
356
+ - http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a/r124-b
344
357
  Date:
345
- - Thu, 21 Apr 2016 14:01:18 GMT
358
+ - Thu, 05 May 2016 11:18:47 GMT
346
359
  Connection:
347
360
  - keep-alive
348
361
  Content-Type:
349
362
  - application/json
350
363
  Content-Length:
351
- - '107'
364
+ - '284'
352
365
  body:
353
366
  encoding: ASCII-8BIT
354
367
  string: |-
355
368
  {
356
- "errorMsg" : "Entity with id 'null' already exists at some of the positions: null",
357
- "details" : { }
369
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/r;r124-a/r;r124-b",
370
+ "type" : {
371
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/rt;rt-123-1",
372
+ "name" : "ResourceType",
373
+ "id" : "rt-123-1"
374
+ },
375
+ "name" : "Res-a",
376
+ "id" : "r124-b"
358
377
  }
359
378
  http_version:
360
- recorded_at: Thu, 21 Apr 2016 14:01:18 GMT
379
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
361
380
  - request:
362
381
  method: get
363
382
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a/r124-b
@@ -389,7 +408,7 @@ http_interactions:
389
408
  Pragma:
390
409
  - no-cache
391
410
  Date:
392
- - Thu, 21 Apr 2016 14:01:18 GMT
411
+ - Thu, 05 May 2016 11:18:47 GMT
393
412
  Connection:
394
413
  - keep-alive
395
414
  Content-Type:
@@ -410,7 +429,7 @@ http_interactions:
410
429
  "id" : "r124-b"
411
430
  }
412
431
  http_version:
413
- recorded_at: Thu, 21 Apr 2016 14:01:18 GMT
432
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
414
433
  - request:
415
434
  method: post
416
435
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/metricTypes
@@ -430,8 +449,8 @@ http_interactions:
430
449
  - Ruby
431
450
  response:
432
451
  status:
433
- code: 409
434
- message: Conflict
452
+ code: 201
453
+ message: Created
435
454
  headers:
436
455
  Expires:
437
456
  - '0'
@@ -443,23 +462,28 @@ http_interactions:
443
462
  - WildFly/10
444
463
  Pragma:
445
464
  - no-cache
465
+ Location:
466
+ - http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/metricTypes/mt-124-a
446
467
  Date:
447
- - Thu, 21 Apr 2016 14:01:19 GMT
468
+ - Thu, 05 May 2016 11:18:47 GMT
448
469
  Connection:
449
470
  - keep-alive
450
471
  Content-Type:
451
472
  - application/json
452
473
  Content-Length:
453
- - '107'
474
+ - '174'
454
475
  body:
455
476
  encoding: ASCII-8BIT
456
477
  string: |-
457
478
  {
458
- "errorMsg" : "Entity with id 'null' already exists at some of the positions: null",
459
- "details" : { }
479
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/mt;mt-124-a",
480
+ "unit" : "NONE",
481
+ "type" : "GAUGE",
482
+ "collectionInterval" : 60,
483
+ "id" : "mt-124-a"
460
484
  }
461
485
  http_version:
462
- recorded_at: Thu, 21 Apr 2016 14:01:19 GMT
486
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
463
487
  - request:
464
488
  method: get
465
489
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/metricTypes/mt-124-a
@@ -491,7 +515,7 @@ http_interactions:
491
515
  Pragma:
492
516
  - no-cache
493
517
  Date:
494
- - Thu, 21 Apr 2016 14:01:19 GMT
518
+ - Thu, 05 May 2016 11:18:47 GMT
495
519
  Connection:
496
520
  - keep-alive
497
521
  Content-Type:
@@ -509,7 +533,7 @@ http_interactions:
509
533
  "id" : "mt-124-a"
510
534
  }
511
535
  http_version:
512
- recorded_at: Thu, 21 Apr 2016 14:01:19 GMT
536
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
513
537
  - request:
514
538
  method: post
515
539
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/metrics
@@ -529,8 +553,8 @@ http_interactions:
529
553
  - Ruby
530
554
  response:
531
555
  status:
532
- code: 409
533
- message: Conflict
556
+ code: 201
557
+ message: Created
534
558
  headers:
535
559
  Expires:
536
560
  - '0'
@@ -542,23 +566,33 @@ http_interactions:
542
566
  - WildFly/10
543
567
  Pragma:
544
568
  - no-cache
569
+ Location:
570
+ - http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/metrics/m-124-a
545
571
  Date:
546
- - Thu, 21 Apr 2016 14:01:19 GMT
572
+ - Thu, 05 May 2016 11:18:47 GMT
547
573
  Connection:
548
574
  - keep-alive
549
575
  Content-Type:
550
576
  - application/json
551
577
  Content-Length:
552
- - '107'
578
+ - '342'
553
579
  body:
554
580
  encoding: ASCII-8BIT
555
581
  string: |-
556
582
  {
557
- "errorMsg" : "Entity with id 'null' already exists at some of the positions: null",
558
- "details" : { }
583
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/m;m-124-a",
584
+ "type" : {
585
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/mt;mt-124-a",
586
+ "unit" : "NONE",
587
+ "type" : "GAUGE",
588
+ "collectionInterval" : 60,
589
+ "id" : "mt-124-a"
590
+ },
591
+ "name" : "MetricUnderNestedResource",
592
+ "id" : "m-124-a"
559
593
  }
560
594
  http_version:
561
- recorded_at: Thu, 21 Apr 2016 14:01:19 GMT
595
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
562
596
  - request:
563
597
  method: get
564
598
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/metrics/m-124-a
@@ -590,7 +624,7 @@ http_interactions:
590
624
  Pragma:
591
625
  - no-cache
592
626
  Date:
593
- - Thu, 21 Apr 2016 14:01:19 GMT
627
+ - Thu, 05 May 2016 11:18:47 GMT
594
628
  Connection:
595
629
  - keep-alive
596
630
  Content-Type:
@@ -613,7 +647,7 @@ http_interactions:
613
647
  "id" : "m-124-a"
614
648
  }
615
649
  http_version:
616
- recorded_at: Thu, 21 Apr 2016 14:01:19 GMT
650
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
617
651
  - request:
618
652
  method: post
619
653
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a/r124-b/metrics
@@ -633,8 +667,8 @@ http_interactions:
633
667
  - Ruby
634
668
  response:
635
669
  status:
636
- code: 409
637
- message: Conflict
670
+ code: 204
671
+ message: No Content
638
672
  headers:
639
673
  Expires:
640
674
  - '0'
@@ -647,30 +681,15 @@ http_interactions:
647
681
  Pragma:
648
682
  - no-cache
649
683
  Date:
650
- - Thu, 21 Apr 2016 14:01:19 GMT
651
- Connection:
652
- - keep-alive
653
- Content-Type:
654
- - application/json
655
- Content-Length:
656
- - '381'
684
+ - Thu, 05 May 2016 11:18:47 GMT
657
685
  body:
658
- encoding: ASCII-8BIT
659
- string: |-
660
- {
661
- "errorMsg" : "Relation with id 'incorporates' already exists at some of the positions: [[CanonicalPaths[/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/r;r124-a/r;r124-b]]]",
662
- "details" : {
663
- "relationshipNameOrId" : "incorporates",
664
- "paths" : [ [ {
665
- "paths" : [ "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;feed_may_exist/r;r124-a/r;r124-b" ]
666
- } ] ]
667
- }
668
- }
686
+ encoding: UTF-8
687
+ string: ''
669
688
  http_version:
670
- recorded_at: Thu, 21 Apr 2016 14:01:19 GMT
689
+ recorded_at: Thu, 05 May 2016 11:18:47 GMT
671
690
  - request:
672
691
  method: get
673
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a/r124-b/metrics
692
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a/r124-b/metrics?sort=id
674
693
  body:
675
694
  encoding: US-ASCII
676
695
  string: ''
@@ -699,7 +718,7 @@ http_interactions:
699
718
  Pragma:
700
719
  - no-cache
701
720
  Date:
702
- - Thu, 21 Apr 2016 14:01:19 GMT
721
+ - Thu, 05 May 2016 11:18:48 GMT
703
722
  X-Total-Count:
704
723
  - '1'
705
724
  Connection:
@@ -709,7 +728,7 @@ http_interactions:
709
728
  Content-Length:
710
729
  - '346'
711
730
  Link:
712
- - <http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a/r124-b/metrics>;
731
+ - <http://localhost:8080/hawkular/inventory/feeds/feed_may_exist/resources/r124-a/r124-b/metrics?sort=id>;
713
732
  rel="current"
714
733
  body:
715
734
  encoding: ASCII-8BIT
@@ -727,5 +746,5 @@ http_interactions:
727
746
  "id" : "m-124-a"
728
747
  } ]
729
748
  http_version:
730
- recorded_at: Thu, 21 Apr 2016 14:01:19 GMT
749
+ recorded_at: Thu, 05 May 2016 11:18:48 GMT
731
750
  recorded_with: VCR 3.0.1