miasma 0.2.18 → 0.2.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/lib/miasma.rb +6 -5
  4. data/lib/miasma/models/orchestration/stack.rb +6 -0
  5. data/lib/miasma/types/api.rb +15 -0
  6. data/lib/miasma/types/model.rb +3 -0
  7. data/lib/miasma/utils/lazy.rb +1 -1
  8. data/lib/miasma/version.rb +1 -1
  9. metadata +2 -35
  10. data/test/specs/cassettes/aws_buckets_all.yml +0 -45
  11. data/test/specs/cassettes/aws_load_balancer_balancer_after_destroy.yml +0 -85
  12. data/test/specs/cassettes/aws_load_balancer_balancer_before_create.yml +0 -271
  13. data/test/specs/cassettes/aws_load_balancer_balancer_direct_fetch.yml +0 -89
  14. data/test/specs/cassettes/aws_load_balancer_balancers_all.yml +0 -45
  15. data/test/specs/cassettes/aws_server_after_destroy.yml +0 -155
  16. data/test/specs/cassettes/aws_server_before_create.yml +0 -470
  17. data/test/specs/cassettes/aws_servers_all.yml +0 -44
  18. data/test/specs/cassettes/aws_servers_create.yml +0 -824
  19. data/test/specs/cassettes/aws_stack_create.yml +0 -603
  20. data/test/specs/cassettes/aws_stacks_after_destroy.yml +0 -148
  21. data/test/specs/cassettes/aws_stacks_all.yml +0 -99
  22. data/test/specs/cassettes/aws_stacks_before_create.yml +0 -300
  23. data/test/specs/cassettes/aws_stacks_direct_fetch.yml +0 -108
  24. data/test/specs/cassettes/aws_storage_bucket.yml +0 -429
  25. data/test/specs/cassettes/open_stack_server_after_destroy.yml +0 -83
  26. data/test/specs/cassettes/open_stack_server_before_create.yml +0 -138
  27. data/test/specs/cassettes/open_stack_servers_all.yml +0 -34
  28. data/test/specs/cassettes/open_stack_servers_create.yml +0 -296
  29. data/test/specs/cassettes/open_stack_stack_create.yml +0 -338
  30. data/test/specs/cassettes/open_stack_stacks_after_destroy.yml +0 -73
  31. data/test/specs/cassettes/open_stack_stacks_all.yml +0 -34
  32. data/test/specs/cassettes/open_stack_stacks_before_create.yml +0 -227
  33. data/test/specs/cassettes/open_stack_stacks_direct_fetch.yml +0 -39
  34. data/test/specs/cassettes/rackspace_identity_seed.yml +0 -38
  35. data/test/specs/cassettes/rackspace_server_after_destroy.yml +0 -88
  36. data/test/specs/cassettes/rackspace_server_before_create.yml +0 -143
  37. data/test/specs/cassettes/rackspace_servers_create.yml +0 -313
  38. data/test/specs/cassettes/rackspace_stack_create.yml +0 -289
  39. data/test/specs/cassettes/rackspace_stacks_after_destroy.yml +0 -79
  40. data/test/specs/cassettes/rackspace_stacks_all.yml +0 -81
  41. data/test/specs/cassettes/rackspace_stacks_before_create.yml +0 -211
  42. data/test/specs/cassettes/rackspace_stacks_direct_fetch.yml +0 -38
@@ -1,211 +0,0 @@
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:48:28 GMT
25
- Content-Type:
26
- - application/json
27
- Transfer-Encoding:
28
- - chunked
29
- Connection:
30
- - keep-alive
31
- X-Newrelic-App-Data:
32
- - PxQGUF9aDwETVlhSBQgFVUYdFGQHBDcQUQxLA1tMXV1dORYzVBJHNQFUZAQUFVFQVThOFlhaUggXER5jLTU3SxJOCEwIFAQcA1INUgNZH09VGhUAU1YAAwUHUlVVU1QCUgUUbg==
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:48:27 GMT
46
- - request:
47
- method: post
48
- uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks
49
- body:
50
- encoding: UTF-8
51
- string: '{"disable_rollback":"false","parameters":{},"stack_name":"miasma-test-stack","template":"{\"heat_template_version\":\"2013-05-23\",\"resources\":{\"MiasmaSubNet\":{\"properties\":{\"cidr\":\"192.168.233.0/24\",\"label\":\"miasma
52
- auto test network\"},\"type\":\"Rackspace::Cloud::Network\"}}}"}'
53
- headers:
54
- User-Agent:
55
- - miasma/v0.2.1
56
- X-Auth-Token:
57
- - 015c96cbf67f48298525376a555ce24d
58
- Content-Type:
59
- - application/json
60
- Host:
61
- - hkg.orchestration.api.rackspacecloud.com
62
- response:
63
- status:
64
- code: 201
65
- message: Created
66
- headers:
67
- Server:
68
- - nginx/1.2.1
69
- Date:
70
- - Mon, 24 Nov 2014 13:47:29 GMT
71
- Content-Type:
72
- - application/json
73
- Content-Length:
74
- - '217'
75
- Connection:
76
- - keep-alive
77
- Location:
78
- - https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack/c3c2ad32-e697-4b27-9a4f-2d239d634bb4
79
- Via:
80
- - 1.0 Repose (Repose/6.0.2)
81
- body:
82
- encoding: UTF-8
83
- string: '{"stack": {"id": "c3c2ad32-e697-4b27-9a4f-2d239d634bb4", "links": [{"href":
84
- "https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack/c3c2ad32-e697-4b27-9a4f-2d239d634bb4",
85
- "rel": "self"}]}}'
86
- http_version:
87
- recorded_at: Mon, 24 Nov 2014 13:48:30 GMT
88
- - request:
89
- method: get
90
- uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack/c3c2ad32-e697-4b27-9a4f-2d239d634bb4
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:47:16 GMT
110
- Content-Type:
111
- - application/json; charset=UTF-8
112
- Content-Length:
113
- - '719'
114
- Connection:
115
- - keep-alive
116
- Via:
117
- - 1.0 Repose (Repose/6.0.2)
118
- body:
119
- encoding: UTF-8
120
- string: '{"stack": {"disable_rollback": false, "description": "No description",
121
- "parent": null, "stack_status_reason": "Stack CREATE started", "stack_name":
122
- "miasma-test-stack", "stack_owner": null, "creation_time": "2014-11-24T13:47:29Z",
123
- "links": [{"href": "https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack/c3c2ad32-e697-4b27-9a4f-2d239d634bb4",
124
- "rel": "self"}], "capabilities": [], "notification_topics": [], "updated_time":
125
- null, "timeout_mins": null, "stack_status": "CREATE_IN_PROGRESS", "parameters":
126
- {"OS::stack_id": "c3c2ad32-e697-4b27-9a4f-2d239d634bb4", "OS::stack_name":
127
- "miasma-test-stack"}, "id": "c3c2ad32-e697-4b27-9a4f-2d239d634bb4", "template_description":
128
- "No description"}}'
129
- http_version:
130
- recorded_at: Mon, 24 Nov 2014 13:48:33 GMT
131
- - request:
132
- method: get
133
- uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack/c3c2ad32-e697-4b27-9a4f-2d239d634bb4
134
- body:
135
- encoding: US-ASCII
136
- string: ''
137
- headers:
138
- User-Agent:
139
- - miasma/v0.2.1
140
- X-Auth-Token:
141
- - 015c96cbf67f48298525376a555ce24d
142
- Host:
143
- - hkg.orchestration.api.rackspacecloud.com
144
- response:
145
- status:
146
- code: 200
147
- message: OK
148
- headers:
149
- Server:
150
- - nginx/1.2.1
151
- Date:
152
- - Mon, 24 Nov 2014 13:48:33 GMT
153
- Content-Type:
154
- - application/json; charset=UTF-8
155
- Content-Length:
156
- - '746'
157
- Connection:
158
- - keep-alive
159
- Via:
160
- - 1.0 Repose (Repose/6.0.2)
161
- body:
162
- encoding: UTF-8
163
- string: '{"stack": {"parent": null, "disable_rollback": false, "description":
164
- "No description", "links": [{"href": "https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack/c3c2ad32-e697-4b27-9a4f-2d239d634bb4",
165
- "rel": "self"}], "stack_status_reason": "Stack CREATE completed successfully",
166
- "stack_name": "miasma-test-stack", "outputs": [], "stack_owner": null, "creation_time":
167
- "2014-11-24T13:47:29Z", "capabilities": [], "notification_topics": [], "updated_time":
168
- null, "timeout_mins": null, "stack_status": "CREATE_COMPLETE", "parameters":
169
- {"OS::stack_id": "c3c2ad32-e697-4b27-9a4f-2d239d634bb4", "OS::stack_name":
170
- "miasma-test-stack"}, "id": "c3c2ad32-e697-4b27-9a4f-2d239d634bb4", "template_description":
171
- "No description"}}'
172
- http_version:
173
- recorded_at: Mon, 24 Nov 2014 13:49:34 GMT
174
- - request:
175
- method: get
176
- uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks/miasma-test-stack/c3c2ad32-e697-4b27-9a4f-2d239d634bb4/template
177
- body:
178
- encoding: US-ASCII
179
- string: ''
180
- headers:
181
- User-Agent:
182
- - miasma/v0.2.1
183
- X-Auth-Token:
184
- - 015c96cbf67f48298525376a555ce24d
185
- Host:
186
- - hkg.orchestration.api.rackspacecloud.com
187
- response:
188
- status:
189
- code: 200
190
- message: OK
191
- headers:
192
- Server:
193
- - nginx/1.2.1
194
- Date:
195
- - Mon, 24 Nov 2014 13:48:18 GMT
196
- Content-Type:
197
- - application/json; charset=UTF-8
198
- Content-Length:
199
- - '190'
200
- Connection:
201
- - keep-alive
202
- Via:
203
- - 1.0 Repose (Repose/6.0.2)
204
- body:
205
- encoding: UTF-8
206
- string: '{"heat_template_version": "2013-05-23", "resources": {"MiasmaSubNet":
207
- {"type": "Rackspace::Cloud::Network", "properties": {"cidr": "192.168.233.0/24",
208
- "label": "miasma auto test network"}}}}'
209
- http_version:
210
- recorded_at: Mon, 24 Nov 2014 13:49:35 GMT
211
- recorded_with: VCR 2.9.3
@@ -1,38 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://hkg.orchestration.api.rackspacecloud.com/v1/891853/stacks
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: 200
19
- message: OK
20
- headers:
21
- Server:
22
- - nginx/1.2.1
23
- Date:
24
- - Mon, 24 Nov 2014 13:49:27 GMT
25
- Content-Type:
26
- - application/json; charset=UTF-8
27
- Content-Length:
28
- - '14'
29
- Connection:
30
- - keep-alive
31
- Via:
32
- - 1.0 Repose (Repose/6.0.2)
33
- body:
34
- encoding: UTF-8
35
- string: '{"stacks": []}'
36
- http_version:
37
- recorded_at: Mon, 24 Nov 2014 13:50:44 GMT
38
- recorded_with: VCR 2.9.3