miasma 0.2.16 → 0.2.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/lib/miasma/models/storage.rb +2 -2
  4. data/lib/miasma/types/api.rb +32 -25
  5. data/lib/miasma/version.rb +1 -1
  6. data/miasma.gemspec +1 -1
  7. data/test/spec.rb +20 -0
  8. data/test/specs/cassettes/aws_buckets_all.yml +45 -0
  9. data/test/specs/cassettes/aws_load_balancer_balancer_after_destroy.yml +85 -0
  10. data/test/specs/cassettes/aws_load_balancer_balancer_before_create.yml +271 -0
  11. data/test/specs/cassettes/aws_load_balancer_balancer_direct_fetch.yml +89 -0
  12. data/test/specs/cassettes/aws_load_balancer_balancers_all.yml +45 -0
  13. data/test/specs/cassettes/aws_server_after_destroy.yml +155 -0
  14. data/test/specs/cassettes/aws_server_before_create.yml +470 -0
  15. data/test/specs/cassettes/aws_servers_all.yml +44 -0
  16. data/test/specs/cassettes/aws_servers_create.yml +824 -0
  17. data/test/specs/cassettes/aws_stack_create.yml +603 -0
  18. data/test/specs/cassettes/aws_stacks_after_destroy.yml +148 -0
  19. data/test/specs/cassettes/aws_stacks_all.yml +99 -0
  20. data/test/specs/cassettes/aws_stacks_before_create.yml +300 -0
  21. data/test/specs/cassettes/aws_stacks_direct_fetch.yml +108 -0
  22. data/test/specs/cassettes/aws_storage_bucket.yml +429 -0
  23. data/test/specs/cassettes/open_stack_server_after_destroy.yml +83 -0
  24. data/test/specs/cassettes/open_stack_server_before_create.yml +138 -0
  25. data/test/specs/cassettes/open_stack_servers_all.yml +34 -0
  26. data/test/specs/cassettes/open_stack_servers_create.yml +296 -0
  27. data/test/specs/cassettes/open_stack_stack_create.yml +338 -0
  28. data/test/specs/cassettes/open_stack_stacks_after_destroy.yml +73 -0
  29. data/test/specs/cassettes/open_stack_stacks_all.yml +34 -0
  30. data/test/specs/cassettes/open_stack_stacks_before_create.yml +227 -0
  31. data/test/specs/cassettes/open_stack_stacks_direct_fetch.yml +39 -0
  32. data/test/specs/cassettes/rackspace_identity_seed.yml +38 -0
  33. data/test/specs/cassettes/rackspace_server_after_destroy.yml +88 -0
  34. data/test/specs/cassettes/rackspace_server_before_create.yml +143 -0
  35. data/test/specs/cassettes/rackspace_servers_create.yml +313 -0
  36. data/test/specs/cassettes/rackspace_stack_create.yml +289 -0
  37. data/test/specs/cassettes/rackspace_stacks_after_destroy.yml +79 -0
  38. data/test/specs/cassettes/rackspace_stacks_all.yml +81 -0
  39. data/test/specs/cassettes/rackspace_stacks_before_create.yml +211 -0
  40. data/test/specs/cassettes/rackspace_stacks_direct_fetch.yml +38 -0
  41. data/test/specs/miasma_spec.rb +33 -0
  42. data/test/specs/models/compute_abstract.rb +118 -0
  43. data/test/specs/models/load_balancer_abstract.rb +88 -0
  44. data/test/specs/models/orchestration_abstract.rb +123 -0
  45. data/test/specs/models/storage_abstract.rb +120 -0
  46. data/test/specs/utils/animal_strings_spec.rb +15 -0
  47. data/test/specs/utils/memoization_spec.rb +83 -0
  48. data/test/specs/utils/smash_spec.rb +107 -0
  49. metadata +44 -2
@@ -0,0 +1,289 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"disable_rollback":"false","parameters":{},"stack_name":"miasma-test-stack-2","template":"{\"heat_template_version\":\"2013-05-23\",\"resources\":{\"MiasmaSubNet\":{\"properties\":{\"cidr\":\"192.168.233.0/24\",\"label\":\"miasma
9
+ auto test network\"},\"type\":\"Rackspace::Cloud::Network\"}}}"}'
10
+ headers:
11
+ User-Agent:
12
+ - miasma/v0.2.1
13
+ X-Auth-Token:
14
+ - 015c96cbf67f48298525376a555ce24d
15
+ Content-Type:
16
+ - application/json
17
+ Host:
18
+ - hkg.orchestration.api.rackspacecloud.com
19
+ response:
20
+ status:
21
+ code: 201
22
+ message: Created
23
+ headers:
24
+ Server:
25
+ - nginx/1.2.1
26
+ Date:
27
+ - Mon, 24 Nov 2014 13:50:47 GMT
28
+ Content-Type:
29
+ - application/json
30
+ Content-Length:
31
+ - '219'
32
+ Connection:
33
+ - keep-alive
34
+ Location:
35
+ - https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack-2/79d781bc-dd0c-4e0b-901c-86727b83db2c
36
+ Via:
37
+ - 1.0 Repose (Repose/6.0.2)
38
+ body:
39
+ encoding: UTF-8
40
+ string: '{"stack": {"id": "79d781bc-dd0c-4e0b-901c-86727b83db2c", "links": [{"href":
41
+ "https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack-2/79d781bc-dd0c-4e0b-901c-86727b83db2c",
42
+ "rel": "self"}]}}'
43
+ http_version:
44
+ recorded_at: Mon, 24 Nov 2014 13:51:48 GMT
45
+ - request:
46
+ method: get
47
+ uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack-2/79d781bc-dd0c-4e0b-901c-86727b83db2c
48
+ body:
49
+ encoding: US-ASCII
50
+ string: ''
51
+ headers:
52
+ User-Agent:
53
+ - miasma/v0.2.1
54
+ X-Auth-Token:
55
+ - 015c96cbf67f48298525376a555ce24d
56
+ Host:
57
+ - hkg.orchestration.api.rackspacecloud.com
58
+ response:
59
+ status:
60
+ code: 200
61
+ message: OK
62
+ headers:
63
+ Server:
64
+ - nginx/1.2.1
65
+ Date:
66
+ - Mon, 24 Nov 2014 13:50:32 GMT
67
+ Content-Type:
68
+ - application/json; charset=UTF-8
69
+ Content-Length:
70
+ - '725'
71
+ Connection:
72
+ - keep-alive
73
+ Via:
74
+ - 1.0 Repose (Repose/6.0.2)
75
+ body:
76
+ encoding: UTF-8
77
+ string: '{"stack": {"disable_rollback": false, "description": "No description",
78
+ "parent": null, "stack_status_reason": "Stack CREATE started", "stack_name":
79
+ "miasma-test-stack-2", "stack_owner": null, "creation_time": "2014-11-24T13:50:47Z",
80
+ "links": [{"href": "https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack-2/79d781bc-dd0c-4e0b-901c-86727b83db2c",
81
+ "rel": "self"}], "capabilities": [], "notification_topics": [], "updated_time":
82
+ null, "timeout_mins": null, "stack_status": "CREATE_IN_PROGRESS", "parameters":
83
+ {"OS::stack_id": "79d781bc-dd0c-4e0b-901c-86727b83db2c", "OS::stack_name":
84
+ "miasma-test-stack-2"}, "id": "79d781bc-dd0c-4e0b-901c-86727b83db2c", "template_description":
85
+ "No description"}}'
86
+ http_version:
87
+ recorded_at: Mon, 24 Nov 2014 13:51:49 GMT
88
+ - request:
89
+ method: get
90
+ uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks
91
+ body:
92
+ encoding: US-ASCII
93
+ string: ''
94
+ headers:
95
+ User-Agent:
96
+ - miasma/v0.2.1
97
+ X-Auth-Token:
98
+ - 015c96cbf67f48298525376a555ce24d
99
+ Host:
100
+ - hkg.orchestration.api.rackspacecloud.com
101
+ response:
102
+ status:
103
+ code: 200
104
+ message: OK
105
+ headers:
106
+ Server:
107
+ - nginx/1.2.1
108
+ Date:
109
+ - Mon, 24 Nov 2014 13:50:49 GMT
110
+ Content-Type:
111
+ - application/json; charset=UTF-8
112
+ Content-Length:
113
+ - '477'
114
+ Connection:
115
+ - keep-alive
116
+ Via:
117
+ - 1.0 Repose (Repose/6.0.2)
118
+ body:
119
+ encoding: UTF-8
120
+ string: '{"stacks": [{"parent": null, "description": "No description", "links":
121
+ [{"href": "https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack-2/79d781bc-dd0c-4e0b-901c-86727b83db2c",
122
+ "rel": "self"}], "stack_status_reason": "Stack CREATE started", "stack_name":
123
+ "miasma-test-stack-2", "creation_time": "2014-11-24T13:50:47Z", "updated_time":
124
+ null, "stack_owner": null, "stack_status": "CREATE_IN_PROGRESS", "id": "79d781bc-dd0c-4e0b-901c-86727b83db2c"}]}'
125
+ http_version:
126
+ recorded_at: Mon, 24 Nov 2014 13:51:50 GMT
127
+ - request:
128
+ method: get
129
+ uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack-2/79d781bc-dd0c-4e0b-901c-86727b83db2c
130
+ body:
131
+ encoding: US-ASCII
132
+ string: ''
133
+ headers:
134
+ User-Agent:
135
+ - miasma/v0.2.1
136
+ X-Auth-Token:
137
+ - 015c96cbf67f48298525376a555ce24d
138
+ Host:
139
+ - hkg.orchestration.api.rackspacecloud.com
140
+ response:
141
+ status:
142
+ code: 200
143
+ message: OK
144
+ headers:
145
+ Server:
146
+ - nginx/1.2.1
147
+ Date:
148
+ - Mon, 24 Nov 2014 13:51:33 GMT
149
+ Content-Type:
150
+ - application/json; charset=UTF-8
151
+ Content-Length:
152
+ - '752'
153
+ Connection:
154
+ - keep-alive
155
+ Via:
156
+ - 1.0 Repose (Repose/6.0.2)
157
+ body:
158
+ encoding: UTF-8
159
+ string: '{"stack": {"parent": null, "disable_rollback": false, "description":
160
+ "No description", "links": [{"href": "https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack-2/79d781bc-dd0c-4e0b-901c-86727b83db2c",
161
+ "rel": "self"}], "stack_status_reason": "Stack CREATE completed successfully",
162
+ "stack_name": "miasma-test-stack-2", "outputs": [], "stack_owner": null, "creation_time":
163
+ "2014-11-24T13:50:47Z", "capabilities": [], "notification_topics": [], "updated_time":
164
+ null, "timeout_mins": null, "stack_status": "CREATE_COMPLETE", "parameters":
165
+ {"OS::stack_id": "79d781bc-dd0c-4e0b-901c-86727b83db2c", "OS::stack_name":
166
+ "miasma-test-stack-2"}, "id": "79d781bc-dd0c-4e0b-901c-86727b83db2c", "template_description":
167
+ "No description"}}'
168
+ http_version:
169
+ recorded_at: Mon, 24 Nov 2014 13:52:51 GMT
170
+ - request:
171
+ method: delete
172
+ uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack-2/79d781bc-dd0c-4e0b-901c-86727b83db2c
173
+ body:
174
+ encoding: US-ASCII
175
+ string: ''
176
+ headers:
177
+ User-Agent:
178
+ - miasma/v0.2.1
179
+ X-Auth-Token:
180
+ - 015c96cbf67f48298525376a555ce24d
181
+ Host:
182
+ - hkg.orchestration.api.rackspacecloud.com
183
+ response:
184
+ status:
185
+ code: 204
186
+ message: No Content
187
+ headers:
188
+ Server:
189
+ - nginx/1.2.1
190
+ Date:
191
+ - Mon, 24 Nov 2014 13:51:51 GMT
192
+ Content-Type:
193
+ - text/html; charset=UTF-8
194
+ Connection:
195
+ - keep-alive
196
+ Via:
197
+ - 1.0 Repose (Repose/6.0.2)
198
+ body:
199
+ encoding: UTF-8
200
+ string: ''
201
+ http_version:
202
+ recorded_at: Mon, 24 Nov 2014 13:52:52 GMT
203
+ - request:
204
+ method: get
205
+ uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack-2/79d781bc-dd0c-4e0b-901c-86727b83db2c
206
+ body:
207
+ encoding: US-ASCII
208
+ string: ''
209
+ headers:
210
+ User-Agent:
211
+ - miasma/v0.2.1
212
+ X-Auth-Token:
213
+ - 015c96cbf67f48298525376a555ce24d
214
+ Host:
215
+ - hkg.orchestration.api.rackspacecloud.com
216
+ response:
217
+ status:
218
+ code: 200
219
+ message: OK
220
+ headers:
221
+ Server:
222
+ - nginx/1.2.1
223
+ Date:
224
+ - Mon, 24 Nov 2014 13:51:35 GMT
225
+ Content-Type:
226
+ - application/json; charset=UTF-8
227
+ Content-Length:
228
+ - '725'
229
+ Connection:
230
+ - keep-alive
231
+ Via:
232
+ - 1.0 Repose (Repose/6.0.2)
233
+ body:
234
+ encoding: UTF-8
235
+ string: '{"stack": {"disable_rollback": false, "description": "No description",
236
+ "parent": null, "stack_status_reason": "Stack DELETE started", "stack_name":
237
+ "miasma-test-stack-2", "stack_owner": null, "creation_time": "2014-11-24T13:50:47Z",
238
+ "links": [{"href": "https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack-2/79d781bc-dd0c-4e0b-901c-86727b83db2c",
239
+ "rel": "self"}], "capabilities": [], "notification_topics": [], "updated_time":
240
+ null, "timeout_mins": null, "stack_status": "DELETE_IN_PROGRESS", "parameters":
241
+ {"OS::stack_id": "79d781bc-dd0c-4e0b-901c-86727b83db2c", "OS::stack_name":
242
+ "miasma-test-stack-2"}, "id": "79d781bc-dd0c-4e0b-901c-86727b83db2c", "template_description":
243
+ "No description"}}'
244
+ http_version:
245
+ recorded_at: Mon, 24 Nov 2014 13:52:53 GMT
246
+ - request:
247
+ method: get
248
+ uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack-2/79d781bc-dd0c-4e0b-901c-86727b83db2c
249
+ body:
250
+ encoding: US-ASCII
251
+ string: ''
252
+ headers:
253
+ User-Agent:
254
+ - miasma/v0.2.1
255
+ X-Auth-Token:
256
+ - 015c96cbf67f48298525376a555ce24d
257
+ Host:
258
+ - hkg.orchestration.api.rackspacecloud.com
259
+ response:
260
+ status:
261
+ code: 200
262
+ message: OK
263
+ headers:
264
+ Server:
265
+ - nginx/1.2.1
266
+ Date:
267
+ - Mon, 24 Nov 2014 13:52:53 GMT
268
+ Content-Type:
269
+ - application/json; charset=UTF-8
270
+ Content-Length:
271
+ - '737'
272
+ Connection:
273
+ - keep-alive
274
+ Via:
275
+ - 1.0 Repose (Repose/6.0.2)
276
+ body:
277
+ encoding: UTF-8
278
+ string: '{"stack": {"disable_rollback": false, "description": "No description",
279
+ "parent": null, "stack_status_reason": "Stack DELETE completed successfully",
280
+ "stack_name": "miasma-test-stack-2", "stack_owner": null, "creation_time":
281
+ "2014-11-24T13:50:47Z", "links": [{"href": "https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack-2/79d781bc-dd0c-4e0b-901c-86727b83db2c",
282
+ "rel": "self"}], "capabilities": [], "notification_topics": [], "updated_time":
283
+ null, "timeout_mins": null, "stack_status": "DELETE_COMPLETE", "parameters":
284
+ {"OS::stack_id": "79d781bc-dd0c-4e0b-901c-86727b83db2c", "OS::stack_name":
285
+ "miasma-test-stack-2"}, "id": "79d781bc-dd0c-4e0b-901c-86727b83db2c", "template_description":
286
+ "No description"}}'
287
+ http_version:
288
+ recorded_at: Mon, 24 Nov 2014 13:53:54 GMT
289
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,79 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack/c3c2ad32-e697-4b27-9a4f-2d239d634bb4
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - miasma/v0.2.1
12
+ X-Auth-Token:
13
+ - 015c96cbf67f48298525376a555ce24d
14
+ Host:
15
+ - hkg.orchestration.api.rackspacecloud.com
16
+ response:
17
+ status:
18
+ code: 204
19
+ message: No Content
20
+ headers:
21
+ Server:
22
+ - nginx/1.2.1
23
+ Date:
24
+ - Mon, 24 Nov 2014 13:48:35 GMT
25
+ Content-Type:
26
+ - text/html; charset=UTF-8
27
+ Connection:
28
+ - keep-alive
29
+ Via:
30
+ - 1.0 Repose (Repose/6.0.2)
31
+ body:
32
+ encoding: UTF-8
33
+ string: ''
34
+ http_version:
35
+ recorded_at: Mon, 24 Nov 2014 13:49:36 GMT
36
+ - request:
37
+ method: get
38
+ uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack/c3c2ad32-e697-4b27-9a4f-2d239d634bb4
39
+ body:
40
+ encoding: US-ASCII
41
+ string: ''
42
+ headers:
43
+ User-Agent:
44
+ - miasma/v0.2.1
45
+ X-Auth-Token:
46
+ - 015c96cbf67f48298525376a555ce24d
47
+ Host:
48
+ - hkg.orchestration.api.rackspacecloud.com
49
+ response:
50
+ status:
51
+ code: 200
52
+ message: OK
53
+ headers:
54
+ Server:
55
+ - nginx/1.2.1
56
+ Date:
57
+ - Mon, 24 Nov 2014 13:48:20 GMT
58
+ Content-Type:
59
+ - application/json; charset=UTF-8
60
+ Content-Length:
61
+ - '719'
62
+ Connection:
63
+ - keep-alive
64
+ Via:
65
+ - 1.0 Repose (Repose/6.0.2)
66
+ body:
67
+ encoding: UTF-8
68
+ string: '{"stack": {"disable_rollback": false, "description": "No description",
69
+ "parent": null, "stack_status_reason": "Stack DELETE started", "stack_name":
70
+ "miasma-test-stack", "stack_owner": null, "creation_time": "2014-11-24T13:47:29Z",
71
+ "links": [{"href": "https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack/c3c2ad32-e697-4b27-9a4f-2d239d634bb4",
72
+ "rel": "self"}], "capabilities": [], "notification_topics": [], "updated_time":
73
+ null, "timeout_mins": null, "stack_status": "DELETE_IN_PROGRESS", "parameters":
74
+ {"OS::stack_id": "c3c2ad32-e697-4b27-9a4f-2d239d634bb4", "OS::stack_name":
75
+ "miasma-test-stack"}, "id": "c3c2ad32-e697-4b27-9a4f-2d239d634bb4", "template_description":
76
+ "No description"}}'
77
+ http_version:
78
+ recorded_at: Mon, 24 Nov 2014 13:49:37 GMT
79
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,81 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://identity.api.rackspacecloud.com/v2.0/tokens
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"auth":{"RAX-KSKEY:apiKeyCredentials":{"apiKey":"8d41a2fa696746218586f321b7b804fe","username":"miasma-test"}}}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Host:
13
+ - identity.api.rackspacecloud.com
14
+ User-Agent:
15
+ - RubyHTTPGem/0.6.3
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Mon, 24 Nov 2014 13:57:11 GMT
25
+ Content-Type:
26
+ - application/json
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ X-Newrelic-App-Data:
32
+ - PxQGUF9aDwETVlhSBQgFVUYdFGQHBDcQUQxLA1tMXV1dORYzVBJHNQFUZAQUFVFQVThOFlhaUggXER5jLTU3SxJOCEwIFAQcA1AKWQRTH09VGhUFBFVeAgMFVQNRCQ4HBVQPET8=
33
+ Vary:
34
+ - Accept, Accept-Encoding, X-Auth-Token
35
+ Front-End-Https:
36
+ - 'on'
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"access":{"token":{"id":"015c96cbf67f48298525376a555ce24d","expires":"2014-11-24T18:39:00.738Z","tenant":{"id":"891853","name":"891853"},"RAX-AUTH:authenticatedBy":["APIKEY"]},"serviceCatalog":[{"name":"cloudFilesCDN","endpoints":[{"region":"IAD","tenantId":"MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","publicURL":"https:\/\/cdn5.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36"},{"region":"SYD","tenantId":"MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","publicURL":"https:\/\/cdn4.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36"},{"region":"DFW","tenantId":"MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","publicURL":"https:\/\/cdn1.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36"},{"region":"HKG","tenantId":"MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","publicURL":"https:\/\/cdn6.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36"},{"region":"ORD","tenantId":"MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","publicURL":"https:\/\/cdn2.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36"}],"type":"rax:object-cdn"},{"name":"cloudFiles","endpoints":[{"region":"IAD","tenantId":"MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","publicURL":"https:\/\/storage101.iad3.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","internalURL":"https:\/\/snet-storage101.iad3.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36"},{"region":"SYD","tenantId":"MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","publicURL":"https:\/\/storage101.syd2.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","internalURL":"https:\/\/snet-storage101.syd2.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36"},{"region":"DFW","tenantId":"MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","publicURL":"https:\/\/storage101.dfw1.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","internalURL":"https:\/\/snet-storage101.dfw1.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36"},{"region":"ORD","tenantId":"MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","publicURL":"https:\/\/storage101.ord1.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","internalURL":"https:\/\/snet-storage101.ord1.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36"},{"region":"HKG","tenantId":"MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","publicURL":"https:\/\/storage101.hkg1.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","internalURL":"https:\/\/snet-storage101.hkg1.clouddrive.com\/v1\/MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36"}],"type":"object-store"},{"name":"cloudBlockStorage","endpoints":[{"region":"DFW","tenantId":"891853","publicURL":"https:\/\/dfw.blockstorage.api.rackspacecloud.com\/v1\/891853"},{"region":"ORD","tenantId":"891853","publicURL":"https:\/\/ord.blockstorage.api.rackspacecloud.com\/v1\/891853"},{"region":"SYD","tenantId":"891853","publicURL":"https:\/\/syd.blockstorage.api.rackspacecloud.com\/v1\/891853"},{"region":"IAD","tenantId":"891853","publicURL":"https:\/\/iad.blockstorage.api.rackspacecloud.com\/v1\/891853"},{"region":"HKG","tenantId":"891853","publicURL":"https:\/\/hkg.blockstorage.api.rackspacecloud.com\/v1\/891853"}],"type":"volume"},{"name":"cloudImages","endpoints":[{"region":"IAD","tenantId":"891853","publicURL":"https:\/\/iad.images.api.rackspacecloud.com\/v2"},{"region":"ORD","tenantId":"891853","publicURL":"https:\/\/ord.images.api.rackspacecloud.com\/v2"},{"region":"HKG","tenantId":"891853","publicURL":"https:\/\/hkg.images.api.rackspacecloud.com\/v2"},{"region":"DFW","tenantId":"891853","publicURL":"https:\/\/dfw.images.api.rackspacecloud.com\/v2"},{"region":"SYD","tenantId":"891853","publicURL":"https:\/\/syd.images.api.rackspacecloud.com\/v2"}],"type":"image"},{"name":"cloudQueues","endpoints":[{"region":"HKG","tenantId":"891853","publicURL":"https:\/\/hkg.queues.api.rackspacecloud.com\/v1\/891853","internalURL":"https:\/\/snet-hkg.queues.api.rackspacecloud.com\/v1\/891853"},{"region":"ORD","tenantId":"891853","publicURL":"https:\/\/ord.queues.api.rackspacecloud.com\/v1\/891853","internalURL":"https:\/\/snet-ord.queues.api.rackspacecloud.com\/v1\/891853"},{"region":"SYD","tenantId":"891853","publicURL":"https:\/\/syd.queues.api.rackspacecloud.com\/v1\/891853","internalURL":"https:\/\/snet-syd.queues.api.rackspacecloud.com\/v1\/891853"},{"region":"DFW","tenantId":"891853","publicURL":"https:\/\/dfw.queues.api.rackspacecloud.com\/v1\/891853","internalURL":"https:\/\/snet-dfw.queues.api.rackspacecloud.com\/v1\/891853"},{"region":"IAD","tenantId":"891853","publicURL":"https:\/\/iad.queues.api.rackspacecloud.com\/v1\/891853","internalURL":"https:\/\/snet-iad.queues.api.rackspacecloud.com\/v1\/891853"}],"type":"rax:queues"},{"name":"cloudBigData","endpoints":[{"region":"IAD","tenantId":"891853","publicURL":"https:\/\/iad.bigdata.api.rackspacecloud.com\/v1.0\/891853"},{"region":"DFW","tenantId":"891853","publicURL":"https:\/\/dfw.bigdata.api.rackspacecloud.com\/v1.0\/891853"},{"region":"ORD","tenantId":"891853","publicURL":"https:\/\/ord.bigdata.api.rackspacecloud.com\/v1.0\/891853"}],"type":"rax:bigdata"},{"name":"cloudOrchestration","endpoints":[{"region":"HKG","tenantId":"891853","publicURL":"https:\/\/hkg.orchestration.api.rackspacecloud.com\/v1\/891853"},{"region":"DFW","tenantId":"891853","publicURL":"https:\/\/dfw.orchestration.api.rackspacecloud.com\/v1\/891853"},{"region":"ORD","tenantId":"891853","publicURL":"https:\/\/ord.orchestration.api.rackspacecloud.com\/v1\/891853"},{"region":"IAD","tenantId":"891853","publicURL":"https:\/\/iad.orchestration.api.rackspacecloud.com\/v1\/891853"},{"region":"SYD","tenantId":"891853","publicURL":"https:\/\/syd.orchestration.api.rackspacecloud.com\/v1\/891853"}],"type":"orchestration"},{"name":"cloudServersOpenStack","endpoints":[{"region":"IAD","tenantId":"891853","publicURL":"https:\/\/iad.servers.api.rackspacecloud.com\/v2\/891853","versionInfo":"https:\/\/iad.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/iad.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"DFW","tenantId":"891853","publicURL":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2\/891853","versionInfo":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/dfw.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"SYD","tenantId":"891853","publicURL":"https:\/\/syd.servers.api.rackspacecloud.com\/v2\/891853","versionInfo":"https:\/\/syd.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/syd.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"HKG","tenantId":"891853","publicURL":"https:\/\/hkg.servers.api.rackspacecloud.com\/v2\/891853","versionInfo":"https:\/\/hkg.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/hkg.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"ORD","tenantId":"891853","publicURL":"https:\/\/ord.servers.api.rackspacecloud.com\/v2\/891853","versionInfo":"https:\/\/ord.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/ord.servers.api.rackspacecloud.com\/","versionId":"2"}],"type":"compute"},{"name":"autoscale","endpoints":[{"region":"ORD","tenantId":"891853","publicURL":"https:\/\/ord.autoscale.api.rackspacecloud.com\/v1.0\/891853"},{"region":"DFW","tenantId":"891853","publicURL":"https:\/\/dfw.autoscale.api.rackspacecloud.com\/v1.0\/891853"},{"region":"HKG","tenantId":"891853","publicURL":"https:\/\/hkg.autoscale.api.rackspacecloud.com\/v1.0\/891853"},{"region":"IAD","tenantId":"891853","publicURL":"https:\/\/iad.autoscale.api.rackspacecloud.com\/v1.0\/891853"},{"region":"SYD","tenantId":"891853","publicURL":"https:\/\/syd.autoscale.api.rackspacecloud.com\/v1.0\/891853"}],"type":"rax:autoscale"},{"name":"cloudDatabases","endpoints":[{"region":"DFW","tenantId":"891853","publicURL":"https:\/\/dfw.databases.api.rackspacecloud.com\/v1.0\/891853"},{"region":"ORD","tenantId":"891853","publicURL":"https:\/\/ord.databases.api.rackspacecloud.com\/v1.0\/891853"},{"region":"IAD","tenantId":"891853","publicURL":"https:\/\/iad.databases.api.rackspacecloud.com\/v1.0\/891853"},{"region":"HKG","tenantId":"891853","publicURL":"https:\/\/hkg.databases.api.rackspacecloud.com\/v1.0\/891853"},{"region":"SYD","tenantId":"891853","publicURL":"https:\/\/syd.databases.api.rackspacecloud.com\/v1.0\/891853"}],"type":"rax:database"},{"name":"cloudBackup","endpoints":[{"region":"IAD","tenantId":"891853","publicURL":"https:\/\/iad.backup.api.rackspacecloud.com\/v1.0\/891853"},{"region":"HKG","tenantId":"891853","publicURL":"https:\/\/hkg.backup.api.rackspacecloud.com\/v1.0\/891853"},{"region":"SYD","tenantId":"891853","publicURL":"https:\/\/syd.backup.api.rackspacecloud.com\/v1.0\/891853"},{"region":"DFW","tenantId":"891853","publicURL":"https:\/\/dfw.backup.api.rackspacecloud.com\/v1.0\/891853"},{"region":"ORD","tenantId":"891853","publicURL":"https:\/\/ord.backup.api.rackspacecloud.com\/v1.0\/891853"}],"type":"rax:backup"},{"name":"cloudMetrics","endpoints":[{"region":"IAD","tenantId":"891853","publicURL":"https:\/\/global.metrics.api.rackspacecloud.com\/v2.0\/891853"}],"type":"rax:cloudmetrics"},{"name":"cloudLoadBalancers","endpoints":[{"region":"IAD","tenantId":"891853","publicURL":"https:\/\/iad.loadbalancers.api.rackspacecloud.com\/v1.0\/891853"},{"region":"ORD","tenantId":"891853","publicURL":"https:\/\/ord.loadbalancers.api.rackspacecloud.com\/v1.0\/891853"},{"region":"HKG","tenantId":"891853","publicURL":"https:\/\/hkg.loadbalancers.api.rackspacecloud.com\/v1.0\/891853"},{"region":"DFW","tenantId":"891853","publicURL":"https:\/\/dfw.loadbalancers.api.rackspacecloud.com\/v1.0\/891853"},{"region":"SYD","tenantId":"891853","publicURL":"https:\/\/syd.loadbalancers.api.rackspacecloud.com\/v1.0\/891853"}],"type":"rax:load-balancer"},{"name":"cloudNetworks","endpoints":[{"region":"ORD","tenantId":"891853","publicURL":"https:\/\/ord.networks.api.rackspacecloud.com\/v2.0"}],"type":"network"},{"name":"cloudFeeds","endpoints":[{"region":"HKG","tenantId":"891853","publicURL":"https:\/\/hkg.feeds.api.rackspacecloud.com\/891853","internalURL":"https:\/\/atom.prod.hkg1.us.ci.rackspace.net\/891853"},{"region":"SYD","tenantId":"891853","publicURL":"https:\/\/syd.feeds.api.rackspacecloud.com\/891853","internalURL":"https:\/\/atom.prod.syd2.us.ci.rackspace.net\/891853"},{"region":"IAD","tenantId":"891853","publicURL":"https:\/\/iad.feeds.api.rackspacecloud.com\/891853","internalURL":"https:\/\/atom.prod.iad3.us.ci.rackspace.net\/891853"},{"region":"DFW","tenantId":"891853","publicURL":"https:\/\/dfw.feeds.api.rackspacecloud.com\/891853","internalURL":"https:\/\/atom.prod.dfw1.us.ci.rackspace.net\/891853"},{"region":"ORD","tenantId":"891853","publicURL":"https:\/\/ord.feeds.api.rackspacecloud.com\/891853","internalURL":"https:\/\/atom.prod.ord1.us.ci.rackspace.net\/891853"}],"type":"rax:feeds"},{"name":"cloudMonitoring","endpoints":[{"tenantId":"891853","publicURL":"https:\/\/monitoring.api.rackspacecloud.com\/v1.0\/891853"}],"type":"rax:monitor"},{"name":"cloudDNS","endpoints":[{"tenantId":"891853","publicURL":"https:\/\/dns.api.rackspacecloud.com\/v1.0\/891853"}],"type":"rax:dns"}],"user":{"id":"56c76a224ef344e2854701cc7c675cc3","roles":[{"id":"10000258","description":"Full
40
+ Access Admin Role for Account User","name":"admin"},{"tenantId":"891853","id":"6","description":"A
41
+ Role that allows a user access to keystone Service methods","name":"compute:default"},{"tenantId":"MossoCloudFS_812ab800-37a5-437b-9e11-679c4b538f36","id":"5","description":"A
42
+ Role that allows a user access to keystone Service methods","name":"object-store:default"},{"id":"2","description":"Default
43
+ Role.","name":"identity:default"}],"name":"miasma-test","RAX-AUTH:defaultRegion":"IAD"}}}'
44
+ http_version:
45
+ recorded_at: Mon, 24 Nov 2014 13:57:10 GMT
46
+ - request:
47
+ method: get
48
+ uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks
49
+ body:
50
+ encoding: US-ASCII
51
+ string: ''
52
+ headers:
53
+ User-Agent:
54
+ - miasma/v0.2.1
55
+ X-Auth-Token:
56
+ - 015c96cbf67f48298525376a555ce24d
57
+ Host:
58
+ - hkg.orchestration.api.rackspacecloud.com
59
+ response:
60
+ status:
61
+ code: 200
62
+ message: OK
63
+ headers:
64
+ Server:
65
+ - nginx/1.2.1
66
+ Date:
67
+ - Mon, 24 Nov 2014 13:55:53 GMT
68
+ Content-Type:
69
+ - application/json; charset=UTF-8
70
+ Content-Length:
71
+ - '14'
72
+ Connection:
73
+ - keep-alive
74
+ Via:
75
+ - 1.0 Repose (Repose/6.0.2)
76
+ body:
77
+ encoding: UTF-8
78
+ string: '{"stacks": []}'
79
+ http_version:
80
+ recorded_at: Mon, 24 Nov 2014 13:57:11 GMT
81
+ recorded_with: VCR 2.9.3