hawkular-client 0.2.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/.yardopts +1 -0
- data/CHANGES.rdoc +17 -4
- data/README.rdoc +15 -6
- data/api_breaking_changes.rdoc +79 -0
- data/hawkularclient.gemspec +6 -5
- data/lib/{alerts → hawkular/alerts}/alerts_api.rb +168 -7
- data/lib/{hawkular.rb → hawkular/base_client.rb} +7 -44
- data/lib/hawkular/hawkular_client.rb +60 -0
- data/lib/hawkular/hawkular_client_utils.rb +40 -0
- data/lib/{inventory → hawkular/inventory}/inventory_api.rb +167 -142
- data/lib/{metrics → hawkular/metrics}/metric_api.rb +1 -0
- data/lib/{metrics → hawkular/metrics}/metrics_client.rb +4 -4
- data/lib/{metrics → hawkular/metrics}/tenant_api.rb +0 -0
- data/lib/{metrics → hawkular/metrics}/types.rb +0 -0
- data/lib/{operations → hawkular/operations}/operations_api.rb +11 -8
- data/lib/{tokens → hawkular/tokens}/tokens_api.rb +1 -1
- data/lib/{version.rb → hawkular/version.rb} +1 -1
- data/spec/integration/alerts_spec.rb +200 -0
- data/spec/integration/hawkular_client_spec.rb +228 -0
- data/spec/integration/inventory_spec.rb +246 -160
- data/spec/integration/metric_spec.rb +52 -59
- data/spec/integration/operations_spec.rb +53 -29
- data/spec/spec_helper.rb +109 -8
- data/spec/unit/base_spec.rb +9 -0
- data/spec/unit/canonical_path_spec.rb +2 -2
- data/spec/vcr/vcr_setup.rb +6 -0
- data/spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml +50 -0
- data/spec/vcr_cassettes/Alert/Groups/Should_operate_a_complex_group_trigger.yml +1726 -0
- data/spec/vcr_cassettes/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +190 -0
- data/spec/vcr_cassettes/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +30 -42
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +287 -0
- data/spec/vcr_cassettes/{Inventory/Should_list_URLs.yml → HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml} +35 -33
- 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
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +245 -0
- data/spec/vcr_cassettes/{Inventory/Should_list_feeds.yml → HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml} +20 -20
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +249 -0
- data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_retrieve_tags_for_Availability.yml +155 -0
- data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_return_Availability_using_Hash_parameter.yml +155 -0
- data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_return_the_version.yml +89 -0
- 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
- data/spec/vcr_cassettes/{Inventory/Should_list_WildFlys_with_props.yml → HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml} +28 -50
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +44 -0
- data/spec/vcr_cassettes/Inventory/Helpers/create_url.yml +48 -0
- data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +4446 -0
- data/spec/vcr_cassettes/Inventory/Helpers/get_feeds.yml +54 -0
- data/spec/vcr_cassettes/Inventory/Templates/Client_should_listen_on_various_inventory_events.json +47 -0
- data/spec/vcr_cassettes/Inventory/{Should_create_a_resourcetype.yml → Templates/Client_should_listen_on_various_inventory_events.yml} +47 -61
- data/spec/vcr_cassettes/Inventory/Templates/Helpers/generate_some_events_for_websocket.yml +542 -0
- data/spec/vcr_cassettes/Inventory/{Should_List_datasources_with_no_props.yml → Templates/Should_List_datasources_with_no_props.yml} +26 -85
- data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_feed.yml +54 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_feed_again.yml +164 -0
- 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
- data/spec/vcr_cassettes/Inventory/{Should_create_a_resource_.yml → Templates/Should_create_a_resource.yml} +103 -76
- data/spec/vcr_cassettes/Inventory/{Should_create_a_resource_with_metric.yml → Templates/Should_create_a_resource_with_metric.yml} +91 -197
- data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_resourcetype.yml +154 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_create_and_delete_feed.yml +145 -0
- data/spec/vcr_cassettes/Inventory/{Should_create_and_get_a_resource.yml → Templates/Should_create_and_get_a_resource.yml} +35 -20
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_URLs.yml +65 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_WildFlys.yml +61 -0
- data/spec/vcr_cassettes/Inventory/{Should_list_WildFlys.yml → Templates/Should_list_WildFlys_with_props.yml} +36 -33
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_all_the_resource_types.yml +126 -0
- data/spec/vcr_cassettes/Inventory/{Should_list_children_of_WildFly.yml → Templates/Should_list_children_of_WildFly.yml} +66 -112
- data/spec/vcr_cassettes/Inventory/{Should_list_children_of_nested_resource.yml → Templates/Should_list_children_of_nested_resource.yml} +13 -13
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_feeds.yml +54 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_heap_metrics_for_WildFlys.yml +712 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_for_WildFlys.yml +278 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_metric_type.yml +530 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_resource_type.yml +278 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource.yml +185 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource_type.yml +126 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_recursive_children_of_WildFly.yml +2369 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_relationships_of_WildFly.yml +415 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_bad_feed.yml +51 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_feed.yml +124 -0
- data/spec/vcr_cassettes/Inventory/{Should_not_find_an_unknown_resource.yml → Templates/Should_not_find_an_unknown_resource.yml} +14 -13
- 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
- data/spec/vcr_cassettes/Inventory/{Should_return_config_data_of_given_resource.yml → Templates/Should_return_config_data_of_given_resource.yml} +4 -4
- data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +50 -0
- data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +50 -0
- data/spec/vcr_cassettes/Operation/Helpers/get_feed.yml +54 -0
- data/spec/vcr_cassettes/Operation/Helpers/get_tenant.yml +50 -0
- data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +40 -0
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/should_not_be_possible_to_perform_on_closed_client.json +12 -0
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json +9 -0
- metadata +171 -72
- data/lib/hawkular_all.rb +0 -9
- data/spec/vcr_cassettes/Inventory/Should_create_a_feed.yml +0 -107
- data/spec/vcr_cassettes/Inventory/Should_create_a_feed_again.yml +0 -211
- data/spec/vcr_cassettes/Inventory/Should_create_and_delete_feed.yml +0 -201
- data/spec/vcr_cassettes/Inventory/Should_list_all_the_resource_types.yml +0 -177
- data/spec/vcr_cassettes/Inventory/Should_list_heap_metrics_for_WildFlys.yml +0 -775
- data/spec/vcr_cassettes/Inventory/Should_list_metrics_for_WildFlys.yml +0 -333
- data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_metric_type.yml +0 -613
- data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_resource_type.yml +0 -333
- data/spec/vcr_cassettes/Inventory/Should_list_recursive_children_of_WildFly.yml +0 -2064
- data/spec/vcr_cassettes/Inventory/Should_list_relationships_of_WildFly.yml +0 -460
- data/spec/vcr_cassettes/Inventory/Should_list_types_with_feed.yml +0 -175
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
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, 05 May 2016 11:18:36 GMT
|
35
|
+
X-Total-Count:
|
36
|
+
- '1'
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
Content-Type:
|
40
|
+
- application/json
|
41
|
+
Content-Length:
|
42
|
+
- '148'
|
43
|
+
Link:
|
44
|
+
- <http://localhost:8080/hawkular/inventory/feeds>; rel="current"
|
45
|
+
body:
|
46
|
+
encoding: ASCII-8BIT
|
47
|
+
string: |-
|
48
|
+
[ {
|
49
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;5958668a-b073-4098-b265-587b45c659ee",
|
50
|
+
"id" : "5958668a-b073-4098-b265-587b45c659ee"
|
51
|
+
} ]
|
52
|
+
http_version:
|
53
|
+
recorded_at: Thu, 05 May 2016 11:18:36 GMT
|
54
|
+
recorded_with: VCR 3.0.1
|
data/spec/vcr_cassettes/Inventory/Templates/Client_should_listen_on_various_inventory_events.json
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
[
|
2
|
+
[
|
3
|
+
{
|
4
|
+
"operation": "read",
|
5
|
+
"type": "text",
|
6
|
+
"data": "{\n \"path\" : \"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/r;<%= uuid_prefix %>-r126\",\n \"type\" : {\n \"path\" : \"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123\",\n \"name\" : \"ResourceType\",\n \"id\" : \"<%= uuid_prefix %>-rt-123\"\n },\n \"properties\" : {\n \"version\" : 1.0\n },\n \"name\" : \"My Resource 1\",\n \"id\" : \"<%= uuid_prefix %>-r126\"\n}"
|
7
|
+
},
|
8
|
+
{
|
9
|
+
"operation": "read",
|
10
|
+
"type": "text",
|
11
|
+
"data": "{\n \"path\" : \"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/r;<%= uuid_prefix %>-r127\",\n \"type\" : {\n \"path\" : \"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123\",\n \"name\" : \"ResourceType\",\n \"id\" : \"<%= uuid_prefix %>-rt-123\"\n },\n \"properties\" : {\n \"version\" : 1.1\n },\n \"name\" : \"My Resource 2\",\n \"id\" : \"<%= uuid_prefix %>-r127\"\n}"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"operation": "close"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
[
|
18
|
+
{
|
19
|
+
"operation": "read",
|
20
|
+
"type": "text",
|
21
|
+
"data": "{\n \"path\" : \"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed\",\n \"id\" : \"<%= uuid_prefix %>-feed\"\n}"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"operation": "close"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
[
|
28
|
+
{
|
29
|
+
"operation": "read",
|
30
|
+
"type": "text",
|
31
|
+
"data": "{\n \"path\" : \"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123\",\n \"name\" : \"ResourceType\",\n \"id\" : \"<%= uuid_prefix %>-rt-123\"\n}"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"operation": "close"
|
35
|
+
}
|
36
|
+
],
|
37
|
+
[
|
38
|
+
{
|
39
|
+
"operation": "read",
|
40
|
+
"type": "text",
|
41
|
+
"data": "{\n \"path\" : \"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed\",\n \"id\" : \"<%= uuid_prefix %>-feed\"\n}"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"operation": "close"
|
45
|
+
}
|
46
|
+
]
|
47
|
+
]
|
@@ -1,11 +1,11 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
|
-
method:
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/
|
4
|
+
method: get
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
|
6
6
|
body:
|
7
|
-
encoding:
|
8
|
-
string: '
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- application/json
|
@@ -13,17 +13,13 @@ http_interactions:
|
|
13
13
|
- gzip, deflate
|
14
14
|
Content-Type:
|
15
15
|
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '35'
|
18
16
|
User-Agent:
|
19
17
|
- Ruby
|
20
18
|
response:
|
21
19
|
status:
|
22
|
-
code:
|
23
|
-
message:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
24
22
|
headers:
|
25
|
-
Content-Encoding:
|
26
|
-
- gzip
|
27
23
|
Expires:
|
28
24
|
- '0'
|
29
25
|
Cache-Control:
|
@@ -35,30 +31,25 @@ http_interactions:
|
|
35
31
|
Pragma:
|
36
32
|
- no-cache
|
37
33
|
Date:
|
38
|
-
-
|
34
|
+
- Thu, 05 May 2016 11:18:48 GMT
|
39
35
|
Connection:
|
40
36
|
- keep-alive
|
41
37
|
Content-Type:
|
42
38
|
- application/json
|
43
39
|
Content-Length:
|
44
|
-
- '
|
40
|
+
- '105'
|
45
41
|
body:
|
46
42
|
encoding: ASCII-8BIT
|
47
|
-
string:
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
TDFeyyGk6bxtUKZzrEmtMg+mVKbX7KxbZ1gSpbN6erVy7K54rQirpatrXuL4
|
53
|
-
9eVt9jDRfd0Eg2Xvf75tlmWOZ5hS1PpSGqRbXRvKNuaUWsrnKivRLQa0laT6
|
54
|
-
dDL9qszI7tXhYh0UZPP+URIRsPpTm3LRBqRhQcUplkGX3YHMqnfeyYbRg8k1
|
55
|
-
SH5zEIaRQV2w5plUaJMcSO0zHIPONDbb0KFzfrj9K5YB/neoC6KHXsjsbdfb
|
56
|
-
fQOfEN7S6wIAAA==
|
43
|
+
string: |-
|
44
|
+
{
|
45
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
|
46
|
+
"id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
|
47
|
+
}
|
57
48
|
http_version:
|
58
|
-
recorded_at:
|
49
|
+
recorded_at: Thu, 05 May 2016 11:18:48 GMT
|
59
50
|
- request:
|
60
51
|
method: get
|
61
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/
|
52
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
|
62
53
|
body:
|
63
54
|
encoding: US-ASCII
|
64
55
|
string: ''
|
@@ -76,8 +67,6 @@ http_interactions:
|
|
76
67
|
code: 200
|
77
68
|
message: OK
|
78
69
|
headers:
|
79
|
-
Content-Encoding:
|
80
|
-
- gzip
|
81
70
|
Expires:
|
82
71
|
- '0'
|
83
72
|
Cache-Control:
|
@@ -89,27 +78,28 @@ http_interactions:
|
|
89
78
|
Pragma:
|
90
79
|
- no-cache
|
91
80
|
Date:
|
92
|
-
-
|
81
|
+
- Thu, 05 May 2016 11:18:48 GMT
|
93
82
|
Connection:
|
94
83
|
- keep-alive
|
95
84
|
Content-Type:
|
96
85
|
- application/json
|
97
86
|
Content-Length:
|
98
|
-
- '
|
87
|
+
- '105'
|
99
88
|
body:
|
100
89
|
encoding: ASCII-8BIT
|
101
|
-
string:
|
102
|
-
|
103
|
-
|
104
|
-
|
90
|
+
string: |-
|
91
|
+
{
|
92
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
|
93
|
+
"id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
|
94
|
+
}
|
105
95
|
http_version:
|
106
|
-
recorded_at:
|
96
|
+
recorded_at: Thu, 05 May 2016 11:18:48 GMT
|
107
97
|
- request:
|
108
|
-
method:
|
109
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/
|
98
|
+
method: get
|
99
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
|
110
100
|
body:
|
111
|
-
encoding:
|
112
|
-
string: '
|
101
|
+
encoding: US-ASCII
|
102
|
+
string: ''
|
113
103
|
headers:
|
114
104
|
Accept:
|
115
105
|
- application/json
|
@@ -117,17 +107,13 @@ http_interactions:
|
|
117
107
|
- gzip, deflate
|
118
108
|
Content-Type:
|
119
109
|
- application/json
|
120
|
-
Content-Length:
|
121
|
-
- '37'
|
122
110
|
User-Agent:
|
123
111
|
- Ruby
|
124
112
|
response:
|
125
113
|
status:
|
126
|
-
code:
|
127
|
-
message:
|
114
|
+
code: 200
|
115
|
+
message: OK
|
128
116
|
headers:
|
129
|
-
Content-Encoding:
|
130
|
-
- gzip
|
131
117
|
Expires:
|
132
118
|
- '0'
|
133
119
|
Cache-Control:
|
@@ -139,24 +125,25 @@ http_interactions:
|
|
139
125
|
Pragma:
|
140
126
|
- no-cache
|
141
127
|
Date:
|
142
|
-
-
|
128
|
+
- Thu, 05 May 2016 11:18:48 GMT
|
143
129
|
Connection:
|
144
130
|
- keep-alive
|
145
131
|
Content-Type:
|
146
132
|
- application/json
|
147
133
|
Content-Length:
|
148
|
-
- '
|
134
|
+
- '105'
|
149
135
|
body:
|
150
136
|
encoding: ASCII-8BIT
|
151
|
-
string:
|
152
|
-
|
153
|
-
|
154
|
-
|
137
|
+
string: |-
|
138
|
+
{
|
139
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
|
140
|
+
"id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
|
141
|
+
}
|
155
142
|
http_version:
|
156
|
-
recorded_at:
|
143
|
+
recorded_at: Thu, 05 May 2016 11:18:48 GMT
|
157
144
|
- request:
|
158
145
|
method: get
|
159
|
-
uri: http://jdoe:password@localhost:8080/hawkular/inventory/
|
146
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
|
160
147
|
body:
|
161
148
|
encoding: US-ASCII
|
162
149
|
string: ''
|
@@ -174,8 +161,6 @@ http_interactions:
|
|
174
161
|
code: 200
|
175
162
|
message: OK
|
176
163
|
headers:
|
177
|
-
Content-Encoding:
|
178
|
-
- gzip
|
179
164
|
Expires:
|
180
165
|
- '0'
|
181
166
|
Cache-Control:
|
@@ -187,19 +172,20 @@ http_interactions:
|
|
187
172
|
Pragma:
|
188
173
|
- no-cache
|
189
174
|
Date:
|
190
|
-
-
|
175
|
+
- Thu, 05 May 2016 11:18:48 GMT
|
191
176
|
Connection:
|
192
177
|
- keep-alive
|
193
178
|
Content-Type:
|
194
179
|
- application/json
|
195
180
|
Content-Length:
|
196
|
-
- '
|
181
|
+
- '105'
|
197
182
|
body:
|
198
183
|
encoding: ASCII-8BIT
|
199
|
-
string:
|
200
|
-
|
201
|
-
|
202
|
-
|
184
|
+
string: |-
|
185
|
+
{
|
186
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
|
187
|
+
"id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
|
188
|
+
}
|
203
189
|
http_version:
|
204
|
-
recorded_at:
|
205
|
-
recorded_with: VCR 3.0.
|
190
|
+
recorded_at: Thu, 05 May 2016 11:18:48 GMT
|
191
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,542 @@
|
|
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":"<%= uuid_prefix %>-feed","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
|
+
- '106'
|
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/<%= uuid_prefix %>-feed
|
37
|
+
Date:
|
38
|
+
- Thu, 05 May 2016 11:18:48 GMT
|
39
|
+
Connection:
|
40
|
+
- keep-alive
|
41
|
+
Content-Type:
|
42
|
+
- application/json
|
43
|
+
Content-Length:
|
44
|
+
- '154'
|
45
|
+
body:
|
46
|
+
encoding: ASCII-8BIT
|
47
|
+
string: |-
|
48
|
+
{
|
49
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed",
|
50
|
+
"id" : "<%= uuid_prefix %>-feed"
|
51
|
+
}
|
52
|
+
http_version:
|
53
|
+
recorded_at: Thu, 05 May 2016 11:18:48 GMT
|
54
|
+
- request:
|
55
|
+
method: post
|
56
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed/resourceTypes
|
57
|
+
body:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"properties":{},"id":"<%= uuid_prefix %>-rt-123","name":"ResourceType","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
|
+
- '118'
|
69
|
+
User-Agent:
|
70
|
+
- Ruby
|
71
|
+
response:
|
72
|
+
status:
|
73
|
+
code: 201
|
74
|
+
message: Created
|
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
|
+
Location:
|
87
|
+
- http://localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed/resourceTypes/<%= uuid_prefix %>-rt-123
|
88
|
+
Date:
|
89
|
+
- Thu, 05 May 2016 11:18:48 GMT
|
90
|
+
Connection:
|
91
|
+
- keep-alive
|
92
|
+
Content-Type:
|
93
|
+
- application/json
|
94
|
+
Content-Length:
|
95
|
+
- '230'
|
96
|
+
body:
|
97
|
+
encoding: ASCII-8BIT
|
98
|
+
string: |-
|
99
|
+
{
|
100
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123",
|
101
|
+
"name" : "ResourceType",
|
102
|
+
"id" : "<%= uuid_prefix %>-rt-123"
|
103
|
+
}
|
104
|
+
http_version:
|
105
|
+
recorded_at: Thu, 05 May 2016 11:18:48 GMT
|
106
|
+
- request:
|
107
|
+
method: get
|
108
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed/resourceTypes/<%= uuid_prefix %>-rt-123
|
109
|
+
body:
|
110
|
+
encoding: US-ASCII
|
111
|
+
string: ''
|
112
|
+
headers:
|
113
|
+
Accept:
|
114
|
+
- application/json
|
115
|
+
Accept-Encoding:
|
116
|
+
- gzip, deflate
|
117
|
+
Content-Type:
|
118
|
+
- application/json
|
119
|
+
User-Agent:
|
120
|
+
- Ruby
|
121
|
+
response:
|
122
|
+
status:
|
123
|
+
code: 200
|
124
|
+
message: OK
|
125
|
+
headers:
|
126
|
+
Expires:
|
127
|
+
- '0'
|
128
|
+
Cache-Control:
|
129
|
+
- no-cache, no-store, must-revalidate
|
130
|
+
X-Powered-By:
|
131
|
+
- Undertow/1
|
132
|
+
Server:
|
133
|
+
- WildFly/10
|
134
|
+
Pragma:
|
135
|
+
- no-cache
|
136
|
+
Date:
|
137
|
+
- Thu, 05 May 2016 11:18:48 GMT
|
138
|
+
Connection:
|
139
|
+
- keep-alive
|
140
|
+
Content-Type:
|
141
|
+
- application/json
|
142
|
+
Content-Length:
|
143
|
+
- '230'
|
144
|
+
body:
|
145
|
+
encoding: ASCII-8BIT
|
146
|
+
string: |-
|
147
|
+
{
|
148
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123",
|
149
|
+
"name" : "ResourceType",
|
150
|
+
"id" : "<%= uuid_prefix %>-rt-123"
|
151
|
+
}
|
152
|
+
http_version:
|
153
|
+
recorded_at: Thu, 05 May 2016 11:18:48 GMT
|
154
|
+
- request:
|
155
|
+
method: post
|
156
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed/resources
|
157
|
+
body:
|
158
|
+
encoding: UTF-8
|
159
|
+
string: '{"properties":{"version":1.0},"id":"<%= uuid_prefix %>-r126","name":"My
|
160
|
+
Resource 1","outgoing":{},"incoming":{},"resourceTypePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123"}'
|
161
|
+
headers:
|
162
|
+
Accept:
|
163
|
+
- application/json
|
164
|
+
Accept-Encoding:
|
165
|
+
- gzip, deflate
|
166
|
+
Content-Type:
|
167
|
+
- application/json
|
168
|
+
Content-Length:
|
169
|
+
- '282'
|
170
|
+
User-Agent:
|
171
|
+
- Ruby
|
172
|
+
response:
|
173
|
+
status:
|
174
|
+
code: 201
|
175
|
+
message: Created
|
176
|
+
headers:
|
177
|
+
Expires:
|
178
|
+
- '0'
|
179
|
+
Cache-Control:
|
180
|
+
- no-cache, no-store, must-revalidate
|
181
|
+
X-Powered-By:
|
182
|
+
- Undertow/1
|
183
|
+
Server:
|
184
|
+
- WildFly/10
|
185
|
+
Pragma:
|
186
|
+
- no-cache
|
187
|
+
Location:
|
188
|
+
- http://localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed/resources/<%= uuid_prefix %>-r126
|
189
|
+
Date:
|
190
|
+
- Thu, 05 May 2016 11:18:48 GMT
|
191
|
+
Connection:
|
192
|
+
- keep-alive
|
193
|
+
Content-Type:
|
194
|
+
- application/json
|
195
|
+
Content-Length:
|
196
|
+
- '521'
|
197
|
+
body:
|
198
|
+
encoding: ASCII-8BIT
|
199
|
+
string: |-
|
200
|
+
{
|
201
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/r;<%= uuid_prefix %>-r126",
|
202
|
+
"type" : {
|
203
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123",
|
204
|
+
"name" : "ResourceType",
|
205
|
+
"id" : "<%= uuid_prefix %>-rt-123"
|
206
|
+
},
|
207
|
+
"properties" : {
|
208
|
+
"version" : 1.0
|
209
|
+
},
|
210
|
+
"name" : "My Resource 1",
|
211
|
+
"id" : "<%= uuid_prefix %>-r126"
|
212
|
+
}
|
213
|
+
http_version:
|
214
|
+
recorded_at: Thu, 05 May 2016 11:18:48 GMT
|
215
|
+
- request:
|
216
|
+
method: get
|
217
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed/resources/<%= uuid_prefix %>-r126
|
218
|
+
body:
|
219
|
+
encoding: US-ASCII
|
220
|
+
string: ''
|
221
|
+
headers:
|
222
|
+
Accept:
|
223
|
+
- application/json
|
224
|
+
Accept-Encoding:
|
225
|
+
- gzip, deflate
|
226
|
+
Content-Type:
|
227
|
+
- application/json
|
228
|
+
User-Agent:
|
229
|
+
- Ruby
|
230
|
+
response:
|
231
|
+
status:
|
232
|
+
code: 200
|
233
|
+
message: OK
|
234
|
+
headers:
|
235
|
+
Expires:
|
236
|
+
- '0'
|
237
|
+
Cache-Control:
|
238
|
+
- no-cache, no-store, must-revalidate
|
239
|
+
X-Powered-By:
|
240
|
+
- Undertow/1
|
241
|
+
Server:
|
242
|
+
- WildFly/10
|
243
|
+
Pragma:
|
244
|
+
- no-cache
|
245
|
+
Date:
|
246
|
+
- Thu, 05 May 2016 11:18:49 GMT
|
247
|
+
Connection:
|
248
|
+
- keep-alive
|
249
|
+
Content-Type:
|
250
|
+
- application/json
|
251
|
+
Content-Length:
|
252
|
+
- '521'
|
253
|
+
body:
|
254
|
+
encoding: ASCII-8BIT
|
255
|
+
string: |-
|
256
|
+
{
|
257
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/r;<%= uuid_prefix %>-r126",
|
258
|
+
"type" : {
|
259
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123",
|
260
|
+
"name" : "ResourceType",
|
261
|
+
"id" : "<%= uuid_prefix %>-rt-123"
|
262
|
+
},
|
263
|
+
"properties" : {
|
264
|
+
"version" : 1.0
|
265
|
+
},
|
266
|
+
"name" : "My Resource 1",
|
267
|
+
"id" : "<%= uuid_prefix %>-r126"
|
268
|
+
}
|
269
|
+
http_version:
|
270
|
+
recorded_at: Thu, 05 May 2016 11:18:49 GMT
|
271
|
+
- request:
|
272
|
+
method: post
|
273
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed/resources
|
274
|
+
body:
|
275
|
+
encoding: UTF-8
|
276
|
+
string: '{"properties":{"version":1.1},"id":"<%= uuid_prefix %>-r127","name":"My
|
277
|
+
Resource 2","outgoing":{},"incoming":{},"resourceTypePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123"}'
|
278
|
+
headers:
|
279
|
+
Accept:
|
280
|
+
- application/json
|
281
|
+
Accept-Encoding:
|
282
|
+
- gzip, deflate
|
283
|
+
Content-Type:
|
284
|
+
- application/json
|
285
|
+
Content-Length:
|
286
|
+
- '282'
|
287
|
+
User-Agent:
|
288
|
+
- Ruby
|
289
|
+
response:
|
290
|
+
status:
|
291
|
+
code: 201
|
292
|
+
message: Created
|
293
|
+
headers:
|
294
|
+
Expires:
|
295
|
+
- '0'
|
296
|
+
Cache-Control:
|
297
|
+
- no-cache, no-store, must-revalidate
|
298
|
+
X-Powered-By:
|
299
|
+
- Undertow/1
|
300
|
+
Server:
|
301
|
+
- WildFly/10
|
302
|
+
Pragma:
|
303
|
+
- no-cache
|
304
|
+
Location:
|
305
|
+
- http://localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed/resources/<%= uuid_prefix %>-r127
|
306
|
+
Date:
|
307
|
+
- Thu, 05 May 2016 11:18:49 GMT
|
308
|
+
Connection:
|
309
|
+
- keep-alive
|
310
|
+
Content-Type:
|
311
|
+
- application/json
|
312
|
+
Content-Length:
|
313
|
+
- '521'
|
314
|
+
body:
|
315
|
+
encoding: ASCII-8BIT
|
316
|
+
string: |-
|
317
|
+
{
|
318
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/r;<%= uuid_prefix %>-r127",
|
319
|
+
"type" : {
|
320
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123",
|
321
|
+
"name" : "ResourceType",
|
322
|
+
"id" : "<%= uuid_prefix %>-rt-123"
|
323
|
+
},
|
324
|
+
"properties" : {
|
325
|
+
"version" : 1.1
|
326
|
+
},
|
327
|
+
"name" : "My Resource 2",
|
328
|
+
"id" : "<%= uuid_prefix %>-r127"
|
329
|
+
}
|
330
|
+
http_version:
|
331
|
+
recorded_at: Thu, 05 May 2016 11:18:49 GMT
|
332
|
+
- request:
|
333
|
+
method: get
|
334
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed/resources/<%= uuid_prefix %>-r127
|
335
|
+
body:
|
336
|
+
encoding: US-ASCII
|
337
|
+
string: ''
|
338
|
+
headers:
|
339
|
+
Accept:
|
340
|
+
- application/json
|
341
|
+
Accept-Encoding:
|
342
|
+
- gzip, deflate
|
343
|
+
Content-Type:
|
344
|
+
- application/json
|
345
|
+
User-Agent:
|
346
|
+
- Ruby
|
347
|
+
response:
|
348
|
+
status:
|
349
|
+
code: 200
|
350
|
+
message: OK
|
351
|
+
headers:
|
352
|
+
Expires:
|
353
|
+
- '0'
|
354
|
+
Cache-Control:
|
355
|
+
- no-cache, no-store, must-revalidate
|
356
|
+
X-Powered-By:
|
357
|
+
- Undertow/1
|
358
|
+
Server:
|
359
|
+
- WildFly/10
|
360
|
+
Pragma:
|
361
|
+
- no-cache
|
362
|
+
Date:
|
363
|
+
- Thu, 05 May 2016 11:18:49 GMT
|
364
|
+
Connection:
|
365
|
+
- keep-alive
|
366
|
+
Content-Type:
|
367
|
+
- application/json
|
368
|
+
Content-Length:
|
369
|
+
- '521'
|
370
|
+
body:
|
371
|
+
encoding: ASCII-8BIT
|
372
|
+
string: |-
|
373
|
+
{
|
374
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/r;<%= uuid_prefix %>-r127",
|
375
|
+
"type" : {
|
376
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123",
|
377
|
+
"name" : "ResourceType",
|
378
|
+
"id" : "<%= uuid_prefix %>-rt-123"
|
379
|
+
},
|
380
|
+
"properties" : {
|
381
|
+
"version" : 1.1
|
382
|
+
},
|
383
|
+
"name" : "My Resource 2",
|
384
|
+
"id" : "<%= uuid_prefix %>-r127"
|
385
|
+
}
|
386
|
+
http_version:
|
387
|
+
recorded_at: Thu, 05 May 2016 11:18:49 GMT
|
388
|
+
- request:
|
389
|
+
method: post
|
390
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed/resources
|
391
|
+
body:
|
392
|
+
encoding: UTF-8
|
393
|
+
string: '{"properties":{"version":1.2},"id":"<%= uuid_prefix %>-r128","name":"My
|
394
|
+
Resource 3","outgoing":{},"incoming":{},"resourceTypePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123"}'
|
395
|
+
headers:
|
396
|
+
Accept:
|
397
|
+
- application/json
|
398
|
+
Accept-Encoding:
|
399
|
+
- gzip, deflate
|
400
|
+
Content-Type:
|
401
|
+
- application/json
|
402
|
+
Content-Length:
|
403
|
+
- '282'
|
404
|
+
User-Agent:
|
405
|
+
- Ruby
|
406
|
+
response:
|
407
|
+
status:
|
408
|
+
code: 201
|
409
|
+
message: Created
|
410
|
+
headers:
|
411
|
+
Expires:
|
412
|
+
- '0'
|
413
|
+
Cache-Control:
|
414
|
+
- no-cache, no-store, must-revalidate
|
415
|
+
X-Powered-By:
|
416
|
+
- Undertow/1
|
417
|
+
Server:
|
418
|
+
- WildFly/10
|
419
|
+
Pragma:
|
420
|
+
- no-cache
|
421
|
+
Location:
|
422
|
+
- http://localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed/resources/<%= uuid_prefix %>-r128
|
423
|
+
Date:
|
424
|
+
- Thu, 05 May 2016 11:18:49 GMT
|
425
|
+
Connection:
|
426
|
+
- keep-alive
|
427
|
+
Content-Type:
|
428
|
+
- application/json
|
429
|
+
Content-Length:
|
430
|
+
- '521'
|
431
|
+
body:
|
432
|
+
encoding: ASCII-8BIT
|
433
|
+
string: |-
|
434
|
+
{
|
435
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/r;<%= uuid_prefix %>-r128",
|
436
|
+
"type" : {
|
437
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123",
|
438
|
+
"name" : "ResourceType",
|
439
|
+
"id" : "<%= uuid_prefix %>-rt-123"
|
440
|
+
},
|
441
|
+
"properties" : {
|
442
|
+
"version" : 1.2
|
443
|
+
},
|
444
|
+
"name" : "My Resource 3",
|
445
|
+
"id" : "<%= uuid_prefix %>-r128"
|
446
|
+
}
|
447
|
+
http_version:
|
448
|
+
recorded_at: Thu, 05 May 2016 11:18:49 GMT
|
449
|
+
- request:
|
450
|
+
method: get
|
451
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed/resources/<%= uuid_prefix %>-r128
|
452
|
+
body:
|
453
|
+
encoding: US-ASCII
|
454
|
+
string: ''
|
455
|
+
headers:
|
456
|
+
Accept:
|
457
|
+
- application/json
|
458
|
+
Accept-Encoding:
|
459
|
+
- gzip, deflate
|
460
|
+
Content-Type:
|
461
|
+
- application/json
|
462
|
+
User-Agent:
|
463
|
+
- Ruby
|
464
|
+
response:
|
465
|
+
status:
|
466
|
+
code: 200
|
467
|
+
message: OK
|
468
|
+
headers:
|
469
|
+
Expires:
|
470
|
+
- '0'
|
471
|
+
Cache-Control:
|
472
|
+
- no-cache, no-store, must-revalidate
|
473
|
+
X-Powered-By:
|
474
|
+
- Undertow/1
|
475
|
+
Server:
|
476
|
+
- WildFly/10
|
477
|
+
Pragma:
|
478
|
+
- no-cache
|
479
|
+
Date:
|
480
|
+
- Thu, 05 May 2016 11:18:49 GMT
|
481
|
+
Connection:
|
482
|
+
- keep-alive
|
483
|
+
Content-Type:
|
484
|
+
- application/json
|
485
|
+
Content-Length:
|
486
|
+
- '521'
|
487
|
+
body:
|
488
|
+
encoding: ASCII-8BIT
|
489
|
+
string: |-
|
490
|
+
{
|
491
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/r;<%= uuid_prefix %>-r128",
|
492
|
+
"type" : {
|
493
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= uuid_prefix %>-feed/rt;<%= uuid_prefix %>-rt-123",
|
494
|
+
"name" : "ResourceType",
|
495
|
+
"id" : "<%= uuid_prefix %>-rt-123"
|
496
|
+
},
|
497
|
+
"properties" : {
|
498
|
+
"version" : 1.2
|
499
|
+
},
|
500
|
+
"name" : "My Resource 3",
|
501
|
+
"id" : "<%= uuid_prefix %>-r128"
|
502
|
+
}
|
503
|
+
http_version:
|
504
|
+
recorded_at: Thu, 05 May 2016 11:18:49 GMT
|
505
|
+
- request:
|
506
|
+
method: delete
|
507
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= uuid_prefix %>-feed
|
508
|
+
body:
|
509
|
+
encoding: US-ASCII
|
510
|
+
string: ''
|
511
|
+
headers:
|
512
|
+
Accept:
|
513
|
+
- application/json
|
514
|
+
Accept-Encoding:
|
515
|
+
- gzip, deflate
|
516
|
+
Content-Type:
|
517
|
+
- application/json
|
518
|
+
User-Agent:
|
519
|
+
- Ruby
|
520
|
+
response:
|
521
|
+
status:
|
522
|
+
code: 204
|
523
|
+
message: No Content
|
524
|
+
headers:
|
525
|
+
Expires:
|
526
|
+
- '0'
|
527
|
+
Cache-Control:
|
528
|
+
- no-cache, no-store, must-revalidate
|
529
|
+
X-Powered-By:
|
530
|
+
- Undertow/1
|
531
|
+
Server:
|
532
|
+
- WildFly/10
|
533
|
+
Pragma:
|
534
|
+
- no-cache
|
535
|
+
Date:
|
536
|
+
- Thu, 05 May 2016 11:18:49 GMT
|
537
|
+
body:
|
538
|
+
encoding: UTF-8
|
539
|
+
string: ''
|
540
|
+
http_version:
|
541
|
+
recorded_at: Thu, 05 May 2016 11:18:49 GMT
|
542
|
+
recorded_with: VCR 3.0.1
|