deltacloud-client 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. data/README.md +73 -0
  2. data/Rakefile +88 -5
  3. data/lib/deltacloud/client.rb +79 -0
  4. data/lib/deltacloud/client/base_error.rb +80 -0
  5. data/lib/deltacloud/client/connection.rb +139 -0
  6. data/lib/deltacloud/client/helpers/model_helper.rb +69 -0
  7. data/lib/deltacloud/client/helpers/property_helper.rb +103 -0
  8. data/lib/deltacloud/client/helpers/xml_helper.rb +33 -0
  9. data/lib/deltacloud/client/methods.rb +33 -0
  10. data/lib/deltacloud/client/methods/address.rb +67 -0
  11. data/lib/deltacloud/client/methods/api.rb +96 -0
  12. data/lib/deltacloud/client/methods/backward_compatiblity.rb +72 -0
  13. data/lib/deltacloud/client/methods/blob.rb +91 -0
  14. data/lib/deltacloud/client/methods/bucket.rb +55 -0
  15. data/lib/deltacloud/client/methods/common.rb +46 -0
  16. data/lib/deltacloud/client/methods/driver.rb +53 -0
  17. data/lib/deltacloud/client/methods/firewall.rb +67 -0
  18. data/lib/deltacloud/client/methods/hardware_profile.rb +41 -0
  19. data/lib/deltacloud/client/methods/image.rb +61 -0
  20. data/lib/deltacloud/client/methods/instance.rb +141 -0
  21. data/lib/deltacloud/client/methods/instance_state.rb +41 -0
  22. data/lib/deltacloud/client/methods/key.rb +58 -0
  23. data/lib/deltacloud/client/methods/load_balancer.rb +96 -0
  24. data/lib/deltacloud/client/methods/metric.rb +54 -0
  25. data/lib/deltacloud/client/methods/realm.rb +42 -0
  26. data/lib/deltacloud/client/methods/storage_snapshot.rb +61 -0
  27. data/lib/deltacloud/client/methods/storage_volume.rb +94 -0
  28. data/lib/deltacloud/client/models.rb +32 -0
  29. data/lib/deltacloud/client/models/address.rb +57 -0
  30. data/lib/deltacloud/client/models/base.rb +153 -0
  31. data/lib/deltacloud/client/models/blob.rb +56 -0
  32. data/lib/deltacloud/client/models/bucket.rb +65 -0
  33. data/lib/deltacloud/client/models/driver.rb +87 -0
  34. data/lib/deltacloud/client/models/firewall.rb +64 -0
  35. data/lib/deltacloud/client/models/hardware_profile.rb +68 -0
  36. data/lib/deltacloud/client/models/image.rb +60 -0
  37. data/lib/deltacloud/client/models/instance.rb +142 -0
  38. data/lib/deltacloud/client/models/instance_address.rb +40 -0
  39. data/lib/{instance_state.rb → deltacloud/client/models/instance_state.rb} +11 -3
  40. data/lib/deltacloud/client/models/key.rb +52 -0
  41. data/lib/deltacloud/client/models/load_balancer.rb +55 -0
  42. data/lib/deltacloud/client/models/metric.rb +72 -0
  43. data/lib/deltacloud/client/models/realm.rb +29 -0
  44. data/lib/deltacloud/client/models/storage_snapshot.rb +54 -0
  45. data/lib/deltacloud/client/models/storage_volume.rb +96 -0
  46. data/lib/deltacloud/core_ext.rb +19 -0
  47. data/lib/deltacloud/core_ext/element.rb +32 -0
  48. data/lib/deltacloud/core_ext/fixnum.rb +30 -0
  49. data/lib/deltacloud/core_ext/nil.rb +22 -0
  50. data/lib/{string.rb → deltacloud/core_ext/string.rb} +16 -26
  51. data/lib/deltacloud/error_response.rb +93 -0
  52. data/tests/client/client_test.rb +51 -0
  53. data/tests/client/connection_test.rb +77 -0
  54. data/tests/core_ext/element_test.rb +40 -0
  55. data/tests/core_ext/fixnum_test.rb +35 -0
  56. data/tests/core_ext/nil.rb +27 -0
  57. data/tests/core_ext/string_test.rb +47 -0
  58. data/tests/fixtures/instances_cleanup.yml +681 -0
  59. data/tests/fixtures/test_0001_connects_to_Deltacloud_API.yml +60 -0
  60. data/tests/fixtures/test_0001_support_cpu.yml +444 -0
  61. data/tests/fixtures/test_0001_support_original_body.yml +116 -0
  62. data/tests/fixtures/test_0001_supports_addresses.yml +178 -0
  63. data/tests/fixtures/test_0001_supports_api_host.yml +60 -0
  64. data/tests/fixtures/test_0001_supports_attached_.yml +282 -0
  65. data/tests/fixtures/test_0001_supports_blobs.yml +475 -0
  66. data/tests/fixtures/test_0001_supports_bucket.yml +200 -0
  67. data/tests/fixtures/test_0001_supports_buckets.yml +160 -0
  68. data/tests/fixtures/test_0001_supports_drivers.yml +202 -0
  69. data/tests/fixtures/test_0001_supports_firewalls.yml +399 -0
  70. data/tests/fixtures/test_0001_supports_hardware_profiles.yml +262 -0
  71. data/tests/fixtures/test_0001_supports_images.yml +224 -0
  72. data/tests/fixtures/test_0001_supports_instance_states.yml +156 -0
  73. data/tests/fixtures/test_0001_supports_instances.yml +486 -0
  74. data/tests/fixtures/test_0001_supports_keys.yml +198 -0
  75. data/tests/fixtures/test_0001_supports_path.yml +60 -0
  76. data/tests/fixtures/test_0001_supports_realms.yml +152 -0
  77. data/tests/fixtures/test_0001_supports_storage_snapshots.yml +164 -0
  78. data/tests/fixtures/test_0001_supports_storage_volumes.yml +176 -0
  79. data/tests/fixtures/test_0001_supports_to_get_providers.yml +410 -0
  80. data/tests/fixtures/test_0002_support_blob.yml +148 -0
  81. data/tests/fixtures/test_0002_support_instance_state.yml +204 -0
  82. data/tests/fixtures/test_0002_support_memory.yml +444 -0
  83. data/tests/fixtures/test_0002_support_on_Provider.yml +130 -0
  84. data/tests/fixtures/test_0002_supports_api_port.yml +60 -0
  85. data/tests/fixtures/test_0002_supports_api_uri.yml +60 -0
  86. data/tests/fixtures/test_0002_supports_driver.yml +219 -0
  87. data/tests/fixtures/test_0002_supports_extract_xml_body_using_faraday_connection.yml +117 -0
  88. data/tests/fixtures/test_0002_supports_filtering_addresses_by_id_param.yml +156 -0
  89. data/tests/fixtures/test_0002_supports_filtering_buckets_by_id_param.yml +156 -0
  90. data/tests/fixtures/test_0002_supports_filtering_firewalls_by_id_param.yml +207 -0
  91. data/tests/fixtures/test_0002_supports_filtering_hardware_profiles_by_id_param.yml +158 -0
  92. data/tests/fixtures/test_0002_supports_filtering_images_by_id_param.yml +165 -0
  93. data/tests/fixtures/test_0002_supports_filtering_instances_by_id_param.yml +164 -0
  94. data/tests/fixtures/test_0002_supports_filtering_keys_by_id_param.yml +178 -0
  95. data/tests/fixtures/test_0002_supports_filtering_realms_by_id.yml +104 -0
  96. data/tests/fixtures/test_0002_supports_filtering_storage_snapshots_by_id_param.yml +155 -0
  97. data/tests/fixtures/test_0002_supports_filtering_storage_volumes_by_id_param.yml +157 -0
  98. data/tests/fixtures/test_0002_supports_hardware_profiles.yml +262 -0
  99. data/tests/fixtures/test_0002_supports_is_compatible_.yml +116 -0
  100. data/tests/fixtures/test_0002_supports_snapshot_.yml +202 -0
  101. data/tests/fixtures/test_0002_supports_version.yml +60 -0
  102. data/tests/fixtures/test_0003_caches_the_API_entrypoint.yml +60 -0
  103. data/tests/fixtures/test_0003_support_address.yml +197 -0
  104. data/tests/fixtures/test_0003_support_bucket.yml +198 -0
  105. data/tests/fixtures/test_0003_support_create_blob.yml +105 -0
  106. data/tests/fixtures/test_0003_support_create_blob_and_destroy_blob.yml +138 -0
  107. data/tests/fixtures/test_0003_support_firewall.yml +768 -0
  108. data/tests/fixtures/test_0003_support_hardware_profile.yml +199 -0
  109. data/tests/fixtures/test_0003_support_image.yml +207 -0
  110. data/tests/fixtures/test_0003_support_instance.yml +206 -0
  111. data/tests/fixtures/test_0003_support_key.yml +220 -0
  112. data/tests/fixtures/test_0003_support_realm.yml +195 -0
  113. data/tests/fixtures/test_0003_support_storage.yml +444 -0
  114. data/tests/fixtures/test_0003_support_storage_snapshot.yml +196 -0
  115. data/tests/fixtures/test_0003_support_storage_volume.yml +197 -0
  116. data/tests/fixtures/test_0003_support_to_change_driver_with_Client.yml +72 -0
  117. data/tests/fixtures/test_0003_supports_connect.yml +60 -0
  118. data/tests/fixtures/test_0003_supports_extract_xml_body_using_nokogiri_document.yml +117 -0
  119. data/tests/fixtures/test_0003_supports_instance.yml +396 -0
  120. data/tests/fixtures/test_0003_supports_is_compatible_.yml +116 -0
  121. data/tests/fixtures/test_0003_supports_lunch_image.yml +367 -0
  122. data/tests/fixtures/test_0003_supports_providers.yml +102 -0
  123. data/tests/fixtures/test_0003_supports_version.yml +60 -0
  124. data/tests/fixtures/test_0004_support_architecture.yml +444 -0
  125. data/tests/fixtures/test_0004_support_create_address.yml +197 -0
  126. data/tests/fixtures/test_0004_support_create_blob_and_destroy_blob_with_meta_params.yml +139 -0
  127. data/tests/fixtures/test_0004_support_create_bucket.yml +180 -0
  128. data/tests/fixtures/test_0004_support_create_bucket_and_destroy_bucket.yml +180 -0
  129. data/tests/fixtures/test_0004_support_create_firewall_and_destroy_firewall.yml +496 -0
  130. data/tests/fixtures/test_0004_support_create_image_and_destroy_image.yml +1527 -0
  131. data/tests/fixtures/test_0004_support_create_instance.yml +115 -0
  132. data/tests/fixtures/test_0004_support_create_key_and_destroy_key.yml +206 -0
  133. data/tests/fixtures/test_0004_support_create_volume.yml +105 -0
  134. data/tests/fixtures/test_0004_support_create_volume_and_destroy_volume.yml +181 -0
  135. data/tests/fixtures/test_0004_support_to_test_of_valid_DC_connection.yml +60 -0
  136. data/tests/fixtures/test_0004_supports_current_driver.yml +60 -0
  137. data/tests/fixtures/test_0004_supports_extract_xml_body_using_nokogiri_element.yml +117 -0
  138. data/tests/fixtures/test_0004_supports_lunch_image.yml +312 -0
  139. data/tests/fixtures/test_0004_supports_valid_credentials_.yml +215 -0
  140. data/tests/fixtures/test_0004_supports_with_config.yml +129 -0
  141. data/tests/fixtures/test_0005_support_attach_storage_volume.yml +102 -0
  142. data/tests/fixtures/test_0005_support_attach_storage_volume_and_detach_storage_volume.yml +142 -0
  143. data/tests/fixtures/test_0005_support_create_instance_with_hwp_id.yml +115 -0
  144. data/tests/fixtures/test_0005_support_opaque_.yml +152 -0
  145. data/tests/fixtures/test_0005_supports_current_provider.yml +134 -0
  146. data/tests/fixtures/test_0005_supports_id.yml +116 -0
  147. data/tests/fixtures/test_0005_supports_switching_drivers_per_instance.yml +129 -0
  148. data/tests/fixtures/test_0005_supports_use_driver.yml +60 -0
  149. data/tests/fixtures/test_0006_support_create_instance_with_realm_id.yml +115 -0
  150. data/tests/fixtures/test_0006_supports_discovered_.yml +60 -0
  151. data/tests/fixtures/test_0006_supports_supported_collections.yml +60 -0
  152. data/tests/fixtures/test_0006_supports_switching_providers_per_instance.yml +208 -0
  153. data/tests/fixtures/test_0007_support_create_instance_with_name.yml +115 -0
  154. data/tests/fixtures/test_0007_support_switching_provider_without_credentials.yml +208 -0
  155. data/tests/fixtures/test_0007_supports_support_.yml +60 -0
  156. data/tests/fixtures/test_0007_supports_valid_credentials_on_class.yml +370 -0
  157. data/tests/fixtures/test_0008_support_stop_instance.yml +166 -0
  158. data/tests/fixtures/test_0008_supports_must_support_.yml +60 -0
  159. data/tests/fixtures/test_0009_support_start_instance.yml +217 -0
  160. data/tests/fixtures/test_0009_supports_features.yml +60 -0
  161. data/tests/fixtures/test_0010_support_reboot_instance.yml +166 -0
  162. data/tests/fixtures/test_0010_supports_feature_.yml +60 -0
  163. data/tests/helpers/model_test.rb +33 -0
  164. data/tests/helpers/xml_test.rb +56 -0
  165. data/tests/methods/address_test.rb +64 -0
  166. data/tests/methods/api_test.rb +97 -0
  167. data/tests/methods/backward_compatibility_test.rb +87 -0
  168. data/tests/methods/blob_test.rb +64 -0
  169. data/tests/methods/bucket_test.rb +62 -0
  170. data/tests/methods/driver_test.rb +48 -0
  171. data/tests/methods/firewall_test.rb +84 -0
  172. data/tests/methods/hardware_profile_test.rb +53 -0
  173. data/tests/methods/image_test.rb +64 -0
  174. data/tests/methods/instance_state_test.rb +43 -0
  175. data/tests/methods/instance_test.rb +126 -0
  176. data/tests/methods/key_test.rb +63 -0
  177. data/tests/methods/realm_test.rb +50 -0
  178. data/tests/methods/storage_snapshot_test.rb +53 -0
  179. data/tests/methods/storage_volume_test.rb +81 -0
  180. data/tests/models/blob_test.rb +40 -0
  181. data/tests/models/bucket_test.rb +37 -0
  182. data/tests/models/driver_test.rb +42 -0
  183. data/tests/models/hardware_profile_test.rb +80 -0
  184. data/tests/models/image_test.rb +65 -0
  185. data/tests/models/storage_volume_test.rb +52 -0
  186. data/tests/test_helper.rb +59 -11
  187. metadata +392 -41
  188. data/lib/base_object.rb +0 -386
  189. data/lib/client_bucket_methods.rb +0 -69
  190. data/lib/deltacloud.rb +0 -486
  191. data/lib/documentation.rb +0 -59
  192. data/lib/errors.rb +0 -140
  193. data/lib/hwp_properties.rb +0 -61
  194. data/tests/buckets_test.rb +0 -141
  195. data/tests/client_test.rb +0 -59
  196. data/tests/content_negotiation_test.rb +0 -127
  197. data/tests/errors_test.rb +0 -57
  198. data/tests/hardware_profiles_test.rb +0 -75
  199. data/tests/images_test.rb +0 -102
  200. data/tests/instance_states_test.rb +0 -66
  201. data/tests/instances_test.rb +0 -203
  202. data/tests/keys_test.rb +0 -81
  203. data/tests/realms_test.rb +0 -64
  204. data/tests/storage_snapshot_test.rb +0 -76
  205. data/tests/storage_volume_test.rb +0 -86
@@ -0,0 +1,176 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:3001/api
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/xml
12
+ Authorization:
13
+ - Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
14
+ User-Agent:
15
+ - Faraday v0.8.6
16
+ response:
17
+ status:
18
+ code: 200
19
+ message:
20
+ headers:
21
+ content-type:
22
+ - application/xml
23
+ server:
24
+ - Apache-Deltacloud/1.1.1
25
+ x-deltacloud-driver:
26
+ - mock
27
+ content-length:
28
+ - '1368'
29
+ x-content-type-options:
30
+ - nosniff
31
+ etag:
32
+ - e43d25244dc2b8ce1da6fa91131507ee
33
+ cache-control:
34
+ - max-age=0, private, must-revalidate
35
+ date:
36
+ - Wed, 06 Mar 2013 08:56:19 GMT
37
+ connection:
38
+ - close
39
+ body:
40
+ encoding: US-ASCII
41
+ string: ! "<api driver='mock' version='1.1.1'>\n <link href='http://localhost:3001/api/instance_states'
42
+ rel='instance_states'>\n </link>\n <link href='http://localhost:3001/api/storage_volumes'
43
+ rel='storage_volumes'>\n </link>\n <link href='http://localhost:3001/api/metrics'
44
+ rel='metrics'>\n </link>\n <link href='http://localhost:3001/api/hardware_profiles'
45
+ rel='hardware_profiles'>\n </link>\n <link href='http://localhost:3001/api/instances'
46
+ rel='instances'>\n <feature name='metrics' rel='create'>\n <param
47
+ name='metrics' />\n </feature>\n <feature name='realm_filter' rel='index'>\n
48
+ \ <param name='realm_id' />\n </feature>\n <feature name='user_name'
49
+ rel='create'>\n <param name='name' />\n </feature>\n <feature name='authentication_key'
50
+ rel='create'>\n <param name='keyname' />\n </feature>\n </link>\n
51
+ \ <link href='http://localhost:3001/api/realms' rel='realms'>\n </link>\n
52
+ \ <link href='http://localhost:3001/api/storage_snapshots' rel='storage_snapshots'>\n
53
+ \ </link>\n <link href='http://localhost:3001/api/images' rel='images'>\n
54
+ \ </link>\n <link href='http://localhost:3001/api/addresses' rel='addresses'>\n
55
+ \ </link>\n <link href='http://localhost:3001/api/drivers' rel='drivers'>\n
56
+ \ </link>\n <link href='http://localhost:3001/api/buckets' rel='buckets'>\n
57
+ \ </link>\n <link href='http://localhost:3001/api/keys' rel='keys'>\n </link>\n</api>\n"
58
+ http_version:
59
+ recorded_at: Wed, 06 Mar 2013 08:56:19 GMT
60
+ - request:
61
+ method: get
62
+ uri: http://localhost:3001/api/storage_volumes
63
+ body:
64
+ encoding: US-ASCII
65
+ string: ''
66
+ headers:
67
+ Accept:
68
+ - application/xml
69
+ Authorization:
70
+ - Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
71
+ User-Agent:
72
+ - Faraday v0.8.6
73
+ response:
74
+ status:
75
+ code: 200
76
+ message:
77
+ headers:
78
+ content-type:
79
+ - application/xml
80
+ x-backend-runtime:
81
+ - '0.002794027328491211'
82
+ server:
83
+ - Apache-Deltacloud/1.1.1
84
+ x-deltacloud-driver:
85
+ - mock
86
+ content-length:
87
+ - '1285'
88
+ x-content-type-options:
89
+ - nosniff
90
+ etag:
91
+ - 3e473ad9ed7a3ed2b3d22f364cb65629
92
+ cache-control:
93
+ - max-age=0, private, must-revalidate
94
+ date:
95
+ - Wed, 06 Mar 2013 08:56:19 GMT
96
+ connection:
97
+ - close
98
+ body:
99
+ encoding: US-ASCII
100
+ string: ! "<?xml version='1.0' encoding='utf-8' ?>\n<storage_volumes>\n <storage_volume
101
+ href='http://localhost:3001/api/storage_volumes/vol3' id='vol3'>\n <created>Thu
102
+ Jul 30 14:35:11 UTC 2009</created>\n <capacity unit='GB'>1</capacity>\n
103
+ \ <name>vol3</name>\n <device>/dev/sda1</device>\n <realm href='http://localhost:3001/api/realms/us'
104
+ id='us'></realm>\n <realm_id>us</realm_id>\n <state>IN-USE</state>\n
105
+ \ <mount>\n <instance href='http://localhost:3001/api/instances/inst1'
106
+ id='inst1'></instance>\n <device name='/dev/sda1'></device>\n </mount>\n
107
+ \ </storage_volume>\n <storage_volume href='http://localhost:3001/api/storage_volumes/vol1'
108
+ id='vol1'>\n <created>Thu Jul 30 14:35:11 UTC 2009</created>\n <capacity
109
+ unit='GB'>1</capacity>\n <name>vol1</name>\n <realm href='http://localhost:3001/api/realms/us'
110
+ id='us'></realm>\n <realm_id>us</realm_id>\n <state>AVAILABLE</state>\n
111
+ \ </storage_volume>\n <storage_volume href='http://localhost:3001/api/storage_volumes/vol2'
112
+ id='vol2'>\n <created>Thu Jul 30 14:35:11 UTC 2009</created>\n <capacity
113
+ unit='GB'>1</capacity>\n <name>vol2</name>\n <realm href='http://localhost:3001/api/realms/us'
114
+ id='us'></realm>\n <realm_id>us</realm_id>\n <state>AVAILABLE</state>\n
115
+ \ </storage_volume>\n</storage_volumes>\n"
116
+ http_version:
117
+ recorded_at: Wed, 06 Mar 2013 08:56:19 GMT
118
+ - request:
119
+ method: get
120
+ uri: http://localhost:3001/api/storage_volumes
121
+ body:
122
+ encoding: US-ASCII
123
+ string: ''
124
+ headers:
125
+ Accept:
126
+ - application/xml
127
+ Authorization:
128
+ - Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
129
+ User-Agent:
130
+ - Faraday v0.8.6
131
+ response:
132
+ status:
133
+ code: 200
134
+ message:
135
+ headers:
136
+ content-type:
137
+ - application/xml
138
+ x-backend-runtime:
139
+ - '0.0017066001892089844'
140
+ server:
141
+ - Apache-Deltacloud/1.1.1
142
+ x-deltacloud-driver:
143
+ - mock
144
+ content-length:
145
+ - '1285'
146
+ x-content-type-options:
147
+ - nosniff
148
+ etag:
149
+ - 3e473ad9ed7a3ed2b3d22f364cb65629
150
+ cache-control:
151
+ - max-age=0, private, must-revalidate
152
+ date:
153
+ - Wed, 06 Mar 2013 08:56:19 GMT
154
+ connection:
155
+ - close
156
+ body:
157
+ encoding: US-ASCII
158
+ string: ! "<?xml version='1.0' encoding='utf-8' ?>\n<storage_volumes>\n <storage_volume
159
+ href='http://localhost:3001/api/storage_volumes/vol3' id='vol3'>\n <created>Thu
160
+ Jul 30 14:35:11 UTC 2009</created>\n <capacity unit='GB'>1</capacity>\n
161
+ \ <name>vol3</name>\n <device>/dev/sda1</device>\n <realm href='http://localhost:3001/api/realms/us'
162
+ id='us'></realm>\n <realm_id>us</realm_id>\n <state>IN-USE</state>\n
163
+ \ <mount>\n <instance href='http://localhost:3001/api/instances/inst1'
164
+ id='inst1'></instance>\n <device name='/dev/sda1'></device>\n </mount>\n
165
+ \ </storage_volume>\n <storage_volume href='http://localhost:3001/api/storage_volumes/vol1'
166
+ id='vol1'>\n <created>Thu Jul 30 14:35:11 UTC 2009</created>\n <capacity
167
+ unit='GB'>1</capacity>\n <name>vol1</name>\n <realm href='http://localhost:3001/api/realms/us'
168
+ id='us'></realm>\n <realm_id>us</realm_id>\n <state>AVAILABLE</state>\n
169
+ \ </storage_volume>\n <storage_volume href='http://localhost:3001/api/storage_volumes/vol2'
170
+ id='vol2'>\n <created>Thu Jul 30 14:35:11 UTC 2009</created>\n <capacity
171
+ unit='GB'>1</capacity>\n <name>vol2</name>\n <realm href='http://localhost:3001/api/realms/us'
172
+ id='us'></realm>\n <realm_id>us</realm_id>\n <state>AVAILABLE</state>\n
173
+ \ </storage_volume>\n</storage_volumes>\n"
174
+ http_version:
175
+ recorded_at: Wed, 06 Mar 2013 08:56:19 GMT
176
+ recorded_with: VCR 2.4.0
@@ -0,0 +1,410 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:3001/api
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/xml
12
+ Authorization:
13
+ - Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
14
+ User-Agent:
15
+ - Faraday v0.8.6
16
+ response:
17
+ status:
18
+ code: 200
19
+ message:
20
+ headers:
21
+ content-type:
22
+ - application/xml
23
+ server:
24
+ - Apache-Deltacloud/1.1.1
25
+ x-deltacloud-driver:
26
+ - mock
27
+ content-length:
28
+ - '1368'
29
+ x-content-type-options:
30
+ - nosniff
31
+ etag:
32
+ - e43d25244dc2b8ce1da6fa91131507ee
33
+ cache-control:
34
+ - max-age=0, private, must-revalidate
35
+ date:
36
+ - Wed, 06 Mar 2013 15:37:26 GMT
37
+ connection:
38
+ - close
39
+ body:
40
+ encoding: US-ASCII
41
+ string: ! "<api driver='mock' version='1.1.1'>\n <link href='http://localhost:3001/api/instance_states'
42
+ rel='instance_states'>\n </link>\n <link href='http://localhost:3001/api/storage_volumes'
43
+ rel='storage_volumes'>\n </link>\n <link href='http://localhost:3001/api/metrics'
44
+ rel='metrics'>\n </link>\n <link href='http://localhost:3001/api/hardware_profiles'
45
+ rel='hardware_profiles'>\n </link>\n <link href='http://localhost:3001/api/instances'
46
+ rel='instances'>\n <feature name='metrics' rel='create'>\n <param
47
+ name='metrics' />\n </feature>\n <feature name='realm_filter' rel='index'>\n
48
+ \ <param name='realm_id' />\n </feature>\n <feature name='user_name'
49
+ rel='create'>\n <param name='name' />\n </feature>\n <feature name='authentication_key'
50
+ rel='create'>\n <param name='keyname' />\n </feature>\n </link>\n
51
+ \ <link href='http://localhost:3001/api/realms' rel='realms'>\n </link>\n
52
+ \ <link href='http://localhost:3001/api/storage_snapshots' rel='storage_snapshots'>\n
53
+ \ </link>\n <link href='http://localhost:3001/api/images' rel='images'>\n
54
+ \ </link>\n <link href='http://localhost:3001/api/addresses' rel='addresses'>\n
55
+ \ </link>\n <link href='http://localhost:3001/api/drivers' rel='drivers'>\n
56
+ \ </link>\n <link href='http://localhost:3001/api/buckets' rel='buckets'>\n
57
+ \ </link>\n <link href='http://localhost:3001/api/keys' rel='keys'>\n </link>\n</api>\n"
58
+ http_version:
59
+ recorded_at: Wed, 06 Mar 2013 15:37:26 GMT
60
+ - request:
61
+ method: get
62
+ uri: http://localhost:3001/api/drivers/ec2
63
+ body:
64
+ encoding: US-ASCII
65
+ string: ''
66
+ headers:
67
+ Accept:
68
+ - application/xml
69
+ Authorization:
70
+ - Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
71
+ User-Agent:
72
+ - Faraday v0.8.6
73
+ response:
74
+ status:
75
+ code: 200
76
+ message:
77
+ headers:
78
+ content-type:
79
+ - application/xml
80
+ server:
81
+ - Apache-Deltacloud/1.1.1
82
+ x-deltacloud-driver:
83
+ - mock
84
+ content-length:
85
+ - '2820'
86
+ x-content-type-options:
87
+ - nosniff
88
+ etag:
89
+ - e46ed1894e2830dc783dca7a7d242352
90
+ cache-control:
91
+ - max-age=0, private, must-revalidate
92
+ date:
93
+ - Wed, 06 Mar 2013 15:37:26 GMT
94
+ connection:
95
+ - close
96
+ body:
97
+ encoding: US-ASCII
98
+ string: ! "<driver href='http://localhost:3001/api/drivers/ec2' id='ec2'>\n
99
+ \ <name>EC2</name>\n <provider id='us-west-1'>\n <entrypoint kind='s3'><![CDATA[s3-us-west-1.amazonaws.com]]></entrypoint>\n
100
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-west-1.amazonaws.com]]></entrypoint>\n
101
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-west-1.amazonaws.com]]></entrypoint>\n
102
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-west-1.amazonaws.com]]></entrypoint>\n
103
+ \ </provider>\n <provider id='us-west-2'>\n <entrypoint kind='s3'><![CDATA[s3-us-west-2.amazonaws.com]]></entrypoint>\n
104
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-west-2.amazonaws.com]]></entrypoint>\n
105
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-west-2.amazonaws.com]]></entrypoint>\n
106
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-west-2.amazonaws.com]]></entrypoint>\n
107
+ \ </provider>\n <provider id='ap-southeast-1'>\n <entrypoint kind='s3'><![CDATA[s3-ap-southeast-1.amazonaws.com]]></entrypoint>\n
108
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.ap-southeast-1.amazonaws.com]]></entrypoint>\n
109
+ \ <entrypoint kind='ec2'><![CDATA[ec2.ap-southeast-1.amazonaws.com]]></entrypoint>\n
110
+ \ <entrypoint kind='mon'><![CDATA[monitoring.ap-southeast-1.amazonaws.com]]></entrypoint>\n
111
+ \ </provider>\n <provider id='ap-northeast-1'>\n <entrypoint kind='s3'><![CDATA[s3-ap-northeast-1.amazonaws.com]]></entrypoint>\n
112
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.ap-northeast-1.amazonaws.com]]></entrypoint>\n
113
+ \ <entrypoint kind='ec2'><![CDATA[ec2.ap-northeast-1.amazonaws.com]]></entrypoint>\n
114
+ \ <entrypoint kind='mon'><![CDATA[monitoring.ap-northeast-1.amazonaws.com]]></entrypoint>\n
115
+ \ </provider>\n <provider id='eu-west-1'>\n <entrypoint kind='s3'><![CDATA[s3-eu-west-1.amazonaws.com]]></entrypoint>\n
116
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.eu-west-1.amazonaws.com]]></entrypoint>\n
117
+ \ <entrypoint kind='ec2'><![CDATA[ec2.eu-west-1.amazonaws.com]]></entrypoint>\n
118
+ \ <entrypoint kind='mon'><![CDATA[monitoring.eu-west-1.amazonaws.com]]></entrypoint>\n
119
+ \ </provider>\n <provider id='us-east-1'>\n <entrypoint kind='s3'><![CDATA[s3.amazonaws.com]]></entrypoint>\n
120
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-east-1.amazonaws.com]]></entrypoint>\n
121
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-east-1.amazonaws.com]]></entrypoint>\n
122
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-east-1.amazonaws.com]]></entrypoint>\n
123
+ \ </provider>\n <provider id='sa-east-1'>\n <entrypoint kind='s3'><![CDATA[s3-sa-east-1.amazonaws.com]]></entrypoint>\n
124
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.sa-east-1.amazonaws.com]]></entrypoint>\n
125
+ \ <entrypoint kind='ec2'><![CDATA[ec2.sa-east-1.amazonaws.com]]></entrypoint>\n
126
+ \ <entrypoint kind='mon'><![CDATA[monitoring.sa-east-1.amazonaws.com]]></entrypoint>\n
127
+ \ </provider>\n</driver>\n"
128
+ http_version:
129
+ recorded_at: Wed, 06 Mar 2013 15:37:27 GMT
130
+ - request:
131
+ method: get
132
+ uri: http://localhost:3001/api/drivers/ec2
133
+ body:
134
+ encoding: US-ASCII
135
+ string: ''
136
+ headers:
137
+ Accept:
138
+ - application/xml
139
+ Authorization:
140
+ - Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
141
+ User-Agent:
142
+ - Faraday v0.8.6
143
+ response:
144
+ status:
145
+ code: 200
146
+ message:
147
+ headers:
148
+ content-type:
149
+ - application/xml
150
+ server:
151
+ - Apache-Deltacloud/1.1.1
152
+ x-deltacloud-driver:
153
+ - mock
154
+ content-length:
155
+ - '2820'
156
+ x-content-type-options:
157
+ - nosniff
158
+ etag:
159
+ - e46ed1894e2830dc783dca7a7d242352
160
+ cache-control:
161
+ - max-age=0, private, must-revalidate
162
+ date:
163
+ - Wed, 06 Mar 2013 15:37:27 GMT
164
+ connection:
165
+ - close
166
+ body:
167
+ encoding: US-ASCII
168
+ string: ! "<driver href='http://localhost:3001/api/drivers/ec2' id='ec2'>\n
169
+ \ <name>EC2</name>\n <provider id='us-west-1'>\n <entrypoint kind='s3'><![CDATA[s3-us-west-1.amazonaws.com]]></entrypoint>\n
170
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-west-1.amazonaws.com]]></entrypoint>\n
171
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-west-1.amazonaws.com]]></entrypoint>\n
172
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-west-1.amazonaws.com]]></entrypoint>\n
173
+ \ </provider>\n <provider id='us-west-2'>\n <entrypoint kind='s3'><![CDATA[s3-us-west-2.amazonaws.com]]></entrypoint>\n
174
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-west-2.amazonaws.com]]></entrypoint>\n
175
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-west-2.amazonaws.com]]></entrypoint>\n
176
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-west-2.amazonaws.com]]></entrypoint>\n
177
+ \ </provider>\n <provider id='ap-southeast-1'>\n <entrypoint kind='s3'><![CDATA[s3-ap-southeast-1.amazonaws.com]]></entrypoint>\n
178
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.ap-southeast-1.amazonaws.com]]></entrypoint>\n
179
+ \ <entrypoint kind='ec2'><![CDATA[ec2.ap-southeast-1.amazonaws.com]]></entrypoint>\n
180
+ \ <entrypoint kind='mon'><![CDATA[monitoring.ap-southeast-1.amazonaws.com]]></entrypoint>\n
181
+ \ </provider>\n <provider id='ap-northeast-1'>\n <entrypoint kind='s3'><![CDATA[s3-ap-northeast-1.amazonaws.com]]></entrypoint>\n
182
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.ap-northeast-1.amazonaws.com]]></entrypoint>\n
183
+ \ <entrypoint kind='ec2'><![CDATA[ec2.ap-northeast-1.amazonaws.com]]></entrypoint>\n
184
+ \ <entrypoint kind='mon'><![CDATA[monitoring.ap-northeast-1.amazonaws.com]]></entrypoint>\n
185
+ \ </provider>\n <provider id='eu-west-1'>\n <entrypoint kind='s3'><![CDATA[s3-eu-west-1.amazonaws.com]]></entrypoint>\n
186
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.eu-west-1.amazonaws.com]]></entrypoint>\n
187
+ \ <entrypoint kind='ec2'><![CDATA[ec2.eu-west-1.amazonaws.com]]></entrypoint>\n
188
+ \ <entrypoint kind='mon'><![CDATA[monitoring.eu-west-1.amazonaws.com]]></entrypoint>\n
189
+ \ </provider>\n <provider id='us-east-1'>\n <entrypoint kind='s3'><![CDATA[s3.amazonaws.com]]></entrypoint>\n
190
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-east-1.amazonaws.com]]></entrypoint>\n
191
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-east-1.amazonaws.com]]></entrypoint>\n
192
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-east-1.amazonaws.com]]></entrypoint>\n
193
+ \ </provider>\n <provider id='sa-east-1'>\n <entrypoint kind='s3'><![CDATA[s3-sa-east-1.amazonaws.com]]></entrypoint>\n
194
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.sa-east-1.amazonaws.com]]></entrypoint>\n
195
+ \ <entrypoint kind='ec2'><![CDATA[ec2.sa-east-1.amazonaws.com]]></entrypoint>\n
196
+ \ <entrypoint kind='mon'><![CDATA[monitoring.sa-east-1.amazonaws.com]]></entrypoint>\n
197
+ \ </provider>\n</driver>\n"
198
+ http_version:
199
+ recorded_at: Wed, 06 Mar 2013 15:37:27 GMT
200
+ - request:
201
+ method: get
202
+ uri: http://localhost:3001/api/drivers/ec2
203
+ body:
204
+ encoding: US-ASCII
205
+ string: ''
206
+ headers:
207
+ Accept:
208
+ - application/xml
209
+ Authorization:
210
+ - Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
211
+ User-Agent:
212
+ - Faraday v0.8.6
213
+ response:
214
+ status:
215
+ code: 200
216
+ message:
217
+ headers:
218
+ content-type:
219
+ - application/xml
220
+ server:
221
+ - Apache-Deltacloud/1.1.1
222
+ x-deltacloud-driver:
223
+ - mock
224
+ content-length:
225
+ - '2820'
226
+ x-content-type-options:
227
+ - nosniff
228
+ etag:
229
+ - e46ed1894e2830dc783dca7a7d242352
230
+ cache-control:
231
+ - max-age=0, private, must-revalidate
232
+ date:
233
+ - Wed, 06 Mar 2013 15:38:18 GMT
234
+ connection:
235
+ - close
236
+ body:
237
+ encoding: US-ASCII
238
+ string: ! "<driver href='http://localhost:3001/api/drivers/ec2' id='ec2'>\n
239
+ \ <name>EC2</name>\n <provider id='us-west-1'>\n <entrypoint kind='s3'><![CDATA[s3-us-west-1.amazonaws.com]]></entrypoint>\n
240
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-west-1.amazonaws.com]]></entrypoint>\n
241
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-west-1.amazonaws.com]]></entrypoint>\n
242
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-west-1.amazonaws.com]]></entrypoint>\n
243
+ \ </provider>\n <provider id='us-west-2'>\n <entrypoint kind='s3'><![CDATA[s3-us-west-2.amazonaws.com]]></entrypoint>\n
244
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-west-2.amazonaws.com]]></entrypoint>\n
245
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-west-2.amazonaws.com]]></entrypoint>\n
246
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-west-2.amazonaws.com]]></entrypoint>\n
247
+ \ </provider>\n <provider id='ap-southeast-1'>\n <entrypoint kind='s3'><![CDATA[s3-ap-southeast-1.amazonaws.com]]></entrypoint>\n
248
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.ap-southeast-1.amazonaws.com]]></entrypoint>\n
249
+ \ <entrypoint kind='ec2'><![CDATA[ec2.ap-southeast-1.amazonaws.com]]></entrypoint>\n
250
+ \ <entrypoint kind='mon'><![CDATA[monitoring.ap-southeast-1.amazonaws.com]]></entrypoint>\n
251
+ \ </provider>\n <provider id='ap-northeast-1'>\n <entrypoint kind='s3'><![CDATA[s3-ap-northeast-1.amazonaws.com]]></entrypoint>\n
252
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.ap-northeast-1.amazonaws.com]]></entrypoint>\n
253
+ \ <entrypoint kind='ec2'><![CDATA[ec2.ap-northeast-1.amazonaws.com]]></entrypoint>\n
254
+ \ <entrypoint kind='mon'><![CDATA[monitoring.ap-northeast-1.amazonaws.com]]></entrypoint>\n
255
+ \ </provider>\n <provider id='eu-west-1'>\n <entrypoint kind='s3'><![CDATA[s3-eu-west-1.amazonaws.com]]></entrypoint>\n
256
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.eu-west-1.amazonaws.com]]></entrypoint>\n
257
+ \ <entrypoint kind='ec2'><![CDATA[ec2.eu-west-1.amazonaws.com]]></entrypoint>\n
258
+ \ <entrypoint kind='mon'><![CDATA[monitoring.eu-west-1.amazonaws.com]]></entrypoint>\n
259
+ \ </provider>\n <provider id='us-east-1'>\n <entrypoint kind='s3'><![CDATA[s3.amazonaws.com]]></entrypoint>\n
260
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-east-1.amazonaws.com]]></entrypoint>\n
261
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-east-1.amazonaws.com]]></entrypoint>\n
262
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-east-1.amazonaws.com]]></entrypoint>\n
263
+ \ </provider>\n <provider id='sa-east-1'>\n <entrypoint kind='s3'><![CDATA[s3-sa-east-1.amazonaws.com]]></entrypoint>\n
264
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.sa-east-1.amazonaws.com]]></entrypoint>\n
265
+ \ <entrypoint kind='ec2'><![CDATA[ec2.sa-east-1.amazonaws.com]]></entrypoint>\n
266
+ \ <entrypoint kind='mon'><![CDATA[monitoring.sa-east-1.amazonaws.com]]></entrypoint>\n
267
+ \ </provider>\n</driver>\n"
268
+ http_version:
269
+ recorded_at: Wed, 06 Mar 2013 15:38:18 GMT
270
+ - request:
271
+ method: get
272
+ uri: http://localhost:3001/api/drivers/ec2
273
+ body:
274
+ encoding: US-ASCII
275
+ string: ''
276
+ headers:
277
+ Accept:
278
+ - application/xml
279
+ Authorization:
280
+ - Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
281
+ User-Agent:
282
+ - Faraday v0.8.6
283
+ response:
284
+ status:
285
+ code: 200
286
+ message:
287
+ headers:
288
+ content-type:
289
+ - application/xml
290
+ server:
291
+ - Apache-Deltacloud/1.1.1
292
+ x-deltacloud-driver:
293
+ - mock
294
+ content-length:
295
+ - '2820'
296
+ x-content-type-options:
297
+ - nosniff
298
+ etag:
299
+ - e46ed1894e2830dc783dca7a7d242352
300
+ cache-control:
301
+ - max-age=0, private, must-revalidate
302
+ date:
303
+ - Wed, 06 Mar 2013 15:38:18 GMT
304
+ connection:
305
+ - close
306
+ body:
307
+ encoding: US-ASCII
308
+ string: ! "<driver href='http://localhost:3001/api/drivers/ec2' id='ec2'>\n
309
+ \ <name>EC2</name>\n <provider id='us-west-1'>\n <entrypoint kind='s3'><![CDATA[s3-us-west-1.amazonaws.com]]></entrypoint>\n
310
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-west-1.amazonaws.com]]></entrypoint>\n
311
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-west-1.amazonaws.com]]></entrypoint>\n
312
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-west-1.amazonaws.com]]></entrypoint>\n
313
+ \ </provider>\n <provider id='us-west-2'>\n <entrypoint kind='s3'><![CDATA[s3-us-west-2.amazonaws.com]]></entrypoint>\n
314
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-west-2.amazonaws.com]]></entrypoint>\n
315
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-west-2.amazonaws.com]]></entrypoint>\n
316
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-west-2.amazonaws.com]]></entrypoint>\n
317
+ \ </provider>\n <provider id='ap-southeast-1'>\n <entrypoint kind='s3'><![CDATA[s3-ap-southeast-1.amazonaws.com]]></entrypoint>\n
318
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.ap-southeast-1.amazonaws.com]]></entrypoint>\n
319
+ \ <entrypoint kind='ec2'><![CDATA[ec2.ap-southeast-1.amazonaws.com]]></entrypoint>\n
320
+ \ <entrypoint kind='mon'><![CDATA[monitoring.ap-southeast-1.amazonaws.com]]></entrypoint>\n
321
+ \ </provider>\n <provider id='ap-northeast-1'>\n <entrypoint kind='s3'><![CDATA[s3-ap-northeast-1.amazonaws.com]]></entrypoint>\n
322
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.ap-northeast-1.amazonaws.com]]></entrypoint>\n
323
+ \ <entrypoint kind='ec2'><![CDATA[ec2.ap-northeast-1.amazonaws.com]]></entrypoint>\n
324
+ \ <entrypoint kind='mon'><![CDATA[monitoring.ap-northeast-1.amazonaws.com]]></entrypoint>\n
325
+ \ </provider>\n <provider id='eu-west-1'>\n <entrypoint kind='s3'><![CDATA[s3-eu-west-1.amazonaws.com]]></entrypoint>\n
326
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.eu-west-1.amazonaws.com]]></entrypoint>\n
327
+ \ <entrypoint kind='ec2'><![CDATA[ec2.eu-west-1.amazonaws.com]]></entrypoint>\n
328
+ \ <entrypoint kind='mon'><![CDATA[monitoring.eu-west-1.amazonaws.com]]></entrypoint>\n
329
+ \ </provider>\n <provider id='us-east-1'>\n <entrypoint kind='s3'><![CDATA[s3.amazonaws.com]]></entrypoint>\n
330
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-east-1.amazonaws.com]]></entrypoint>\n
331
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-east-1.amazonaws.com]]></entrypoint>\n
332
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-east-1.amazonaws.com]]></entrypoint>\n
333
+ \ </provider>\n <provider id='sa-east-1'>\n <entrypoint kind='s3'><![CDATA[s3-sa-east-1.amazonaws.com]]></entrypoint>\n
334
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.sa-east-1.amazonaws.com]]></entrypoint>\n
335
+ \ <entrypoint kind='ec2'><![CDATA[ec2.sa-east-1.amazonaws.com]]></entrypoint>\n
336
+ \ <entrypoint kind='mon'><![CDATA[monitoring.sa-east-1.amazonaws.com]]></entrypoint>\n
337
+ \ </provider>\n</driver>\n"
338
+ http_version:
339
+ recorded_at: Wed, 06 Mar 2013 15:38:18 GMT
340
+ - request:
341
+ method: get
342
+ uri: http://localhost:3001/api/drivers/ec2
343
+ body:
344
+ encoding: US-ASCII
345
+ string: ''
346
+ headers:
347
+ Accept:
348
+ - application/xml
349
+ Authorization:
350
+ - Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
351
+ User-Agent:
352
+ - Faraday v0.8.6
353
+ response:
354
+ status:
355
+ code: 200
356
+ message:
357
+ headers:
358
+ content-type:
359
+ - application/xml
360
+ server:
361
+ - Apache-Deltacloud/1.1.1
362
+ x-deltacloud-driver:
363
+ - mock
364
+ content-length:
365
+ - '2820'
366
+ x-content-type-options:
367
+ - nosniff
368
+ etag:
369
+ - e46ed1894e2830dc783dca7a7d242352
370
+ cache-control:
371
+ - max-age=0, private, must-revalidate
372
+ date:
373
+ - Wed, 06 Mar 2013 15:38:38 GMT
374
+ connection:
375
+ - close
376
+ body:
377
+ encoding: US-ASCII
378
+ string: ! "<driver href='http://localhost:3001/api/drivers/ec2' id='ec2'>\n
379
+ \ <name>EC2</name>\n <provider id='us-west-1'>\n <entrypoint kind='s3'><![CDATA[s3-us-west-1.amazonaws.com]]></entrypoint>\n
380
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-west-1.amazonaws.com]]></entrypoint>\n
381
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-west-1.amazonaws.com]]></entrypoint>\n
382
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-west-1.amazonaws.com]]></entrypoint>\n
383
+ \ </provider>\n <provider id='us-west-2'>\n <entrypoint kind='s3'><![CDATA[s3-us-west-2.amazonaws.com]]></entrypoint>\n
384
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-west-2.amazonaws.com]]></entrypoint>\n
385
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-west-2.amazonaws.com]]></entrypoint>\n
386
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-west-2.amazonaws.com]]></entrypoint>\n
387
+ \ </provider>\n <provider id='ap-southeast-1'>\n <entrypoint kind='s3'><![CDATA[s3-ap-southeast-1.amazonaws.com]]></entrypoint>\n
388
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.ap-southeast-1.amazonaws.com]]></entrypoint>\n
389
+ \ <entrypoint kind='ec2'><![CDATA[ec2.ap-southeast-1.amazonaws.com]]></entrypoint>\n
390
+ \ <entrypoint kind='mon'><![CDATA[monitoring.ap-southeast-1.amazonaws.com]]></entrypoint>\n
391
+ \ </provider>\n <provider id='ap-northeast-1'>\n <entrypoint kind='s3'><![CDATA[s3-ap-northeast-1.amazonaws.com]]></entrypoint>\n
392
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.ap-northeast-1.amazonaws.com]]></entrypoint>\n
393
+ \ <entrypoint kind='ec2'><![CDATA[ec2.ap-northeast-1.amazonaws.com]]></entrypoint>\n
394
+ \ <entrypoint kind='mon'><![CDATA[monitoring.ap-northeast-1.amazonaws.com]]></entrypoint>\n
395
+ \ </provider>\n <provider id='eu-west-1'>\n <entrypoint kind='s3'><![CDATA[s3-eu-west-1.amazonaws.com]]></entrypoint>\n
396
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.eu-west-1.amazonaws.com]]></entrypoint>\n
397
+ \ <entrypoint kind='ec2'><![CDATA[ec2.eu-west-1.amazonaws.com]]></entrypoint>\n
398
+ \ <entrypoint kind='mon'><![CDATA[monitoring.eu-west-1.amazonaws.com]]></entrypoint>\n
399
+ \ </provider>\n <provider id='us-east-1'>\n <entrypoint kind='s3'><![CDATA[s3.amazonaws.com]]></entrypoint>\n
400
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-east-1.amazonaws.com]]></entrypoint>\n
401
+ \ <entrypoint kind='ec2'><![CDATA[ec2.us-east-1.amazonaws.com]]></entrypoint>\n
402
+ \ <entrypoint kind='mon'><![CDATA[monitoring.us-east-1.amazonaws.com]]></entrypoint>\n
403
+ \ </provider>\n <provider id='sa-east-1'>\n <entrypoint kind='s3'><![CDATA[s3-sa-east-1.amazonaws.com]]></entrypoint>\n
404
+ \ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.sa-east-1.amazonaws.com]]></entrypoint>\n
405
+ \ <entrypoint kind='ec2'><![CDATA[ec2.sa-east-1.amazonaws.com]]></entrypoint>\n
406
+ \ <entrypoint kind='mon'><![CDATA[monitoring.sa-east-1.amazonaws.com]]></entrypoint>\n
407
+ \ </provider>\n</driver>\n"
408
+ http_version:
409
+ recorded_at: Wed, 06 Mar 2013 15:38:38 GMT
410
+ recorded_with: VCR 2.4.0