blob: b8332b23e30f200c0d00a1868d98f3ed76560507 [file] [log] [blame]
---
http_interactions:
- request:
method: get
uri: http://localhost:3001/api
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 200
message:
headers:
content-type:
- application/xml
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '1368'
x-content-type-options:
- nosniff
etag:
- e43d25244dc2b8ce1da6fa91131507ee
cache-control:
- max-age=0, private, must-revalidate
date:
- Wed, 06 Mar 2013 08:56:16 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! "<api driver='mock' version='1.1.1'>\n <link href='http://localhost:3001/api/instance_states'
rel='instance_states'>\n </link>\n <link href='http://localhost:3001/api/storage_volumes'
rel='storage_volumes'>\n </link>\n <link href='http://localhost:3001/api/metrics'
rel='metrics'>\n </link>\n <link href='http://localhost:3001/api/hardware_profiles'
rel='hardware_profiles'>\n </link>\n <link href='http://localhost:3001/api/instances'
rel='instances'>\n <feature name='metrics' rel='create'>\n <param
name='metrics' />\n </feature>\n <feature name='realm_filter' rel='index'>\n
\ <param name='realm_id' />\n </feature>\n <feature name='user_name'
rel='create'>\n <param name='name' />\n </feature>\n <feature name='authentication_key'
rel='create'>\n <param name='keyname' />\n </feature>\n </link>\n
\ <link href='http://localhost:3001/api/realms' rel='realms'>\n </link>\n
\ <link href='http://localhost:3001/api/storage_snapshots' rel='storage_snapshots'>\n
\ </link>\n <link href='http://localhost:3001/api/images' rel='images'>\n
\ </link>\n <link href='http://localhost:3001/api/addresses' rel='addresses'>\n
\ </link>\n <link href='http://localhost:3001/api/drivers' rel='drivers'>\n
\ </link>\n <link href='http://localhost:3001/api/buckets' rel='buckets'>\n
\ </link>\n <link href='http://localhost:3001/api/keys' rel='keys'>\n </link>\n</api>\n"
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:16 GMT
- request:
method: get
uri: http://localhost:3001/api/buckets/bucket1
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 200
message:
headers:
content-type:
- application/xml
x-backend-runtime:
- '0.0054171085357666016'
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '407'
x-content-type-options:
- nosniff
etag:
- d1130db2fb1a271d67e7d69ac1bd604e
cache-control:
- max-age=0, private, must-revalidate
date:
- Wed, 06 Mar 2013 08:56:16 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! "<?xml version='1.0' encoding='utf-8' ?>\n<bucket href='http://localhost:3001/api/buckets/bucket1'
id='bucket1'>\n <name>bucket1</name>\n <size>3</size>\n <blob href='http://localhost:3001/api/buckets/bucket1/blob1'
id='blob1'></blob>\n <blob href='http://localhost:3001/api/buckets/bucket1/blob3'
id='blob3'></blob>\n <blob href='http://localhost:3001/api/buckets/bucket1/blob2'
id='blob2'></blob>\n</bucket>\n"
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:16 GMT
- request:
method: get
uri: http://localhost:3001/api/buckets/bucket1/blob1
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 200
message:
headers:
content-type:
- application/xml
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '485'
x-content-type-options:
- nosniff
etag:
- 6ffb9a8c697a593bc98fed727e98f855
cache-control:
- max-age=0, private, must-revalidate
date:
- Wed, 06 Mar 2013 08:56:16 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! "<?xml version='1.0' encoding='utf-8' ?>\n<blob href='http://localhost:3001/api/buckets/bucket1/blob1'
id='blob1'>\n <bucket>bucket1</bucket>\n <content_length>17</content_length>\n
\ <content_type>text/plain</content_type>\n <last_modified>2010-09-23 17:44:54
+0200</last_modified>\n <user_metadata>\n <entry key='SOMENEWKEY'><![CDATA[NEWVALUE]]></entry>\n
\ </user_metadata>\n <content href='http://localhost:3001/api/buckets/bucket1/blob1/content'
rel='blob_content'></content>\n</blob>\n"
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:16 GMT
- request:
method: get
uri: http://localhost:3001/api/buckets/bucket1/blob3
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 200
message:
headers:
content-type:
- application/xml
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '428'
x-content-type-options:
- nosniff
etag:
- f5c6bcf8a055f57b9f69ac36ef07626f
cache-control:
- max-age=0, private, must-revalidate
date:
- Wed, 06 Mar 2013 08:56:16 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! "<?xml version='1.0' encoding='utf-8' ?>\n<blob href='http://localhost:3001/api/buckets/bucket1/blob3'
id='blob3'>\n <bucket>bucket1</bucket>\n <content_length>17</content_length>\n
\ <content_type>text/plain</content_type>\n <last_modified>2010-08-14 03:14:31
+0200</last_modified>\n <user_metadata>\n </user_metadata>\n <content href='http://localhost:3001/api/buckets/bucket1/blob3/content'
rel='blob_content'></content>\n</blob>\n"
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:16 GMT
- request:
method: get
uri: http://localhost:3001/api/buckets/bucket1/blob2
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 200
message:
headers:
content-type:
- application/xml
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '476'
x-content-type-options:
- nosniff
etag:
- c4aec8663f7a6df184a8253d5d13142a
cache-control:
- max-age=0, private, must-revalidate
date:
- Wed, 06 Mar 2013 08:56:16 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! "<?xml version='1.0' encoding='utf-8' ?>\n<blob href='http://localhost:3001/api/buckets/bucket1/blob2'
id='blob2'>\n <bucket>bucket1</bucket>\n <content_length>56</content_length>\n
\ <content_type>text/html</content_type>\n <last_modified>2010-09-23 17:55:05
+0200</last_modified>\n <user_metadata>\n <entry key='VERSION'><![CDATA[1.2]]></entry>\n
\ </user_metadata>\n <content href='http://localhost:3001/api/buckets/bucket1/blob2/content'
rel='blob_content'></content>\n</blob>\n"
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:16 GMT
- request:
method: get
uri: http://localhost:3001/api/buckets/bucket1
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 200
message:
headers:
content-type:
- application/xml
x-backend-runtime:
- '0.0033838748931884766'
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '407'
x-content-type-options:
- nosniff
etag:
- d1130db2fb1a271d67e7d69ac1bd604e
cache-control:
- max-age=0, private, must-revalidate
date:
- Wed, 06 Mar 2013 08:56:16 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! "<?xml version='1.0' encoding='utf-8' ?>\n<bucket href='http://localhost:3001/api/buckets/bucket1'
id='bucket1'>\n <name>bucket1</name>\n <size>3</size>\n <blob href='http://localhost:3001/api/buckets/bucket1/blob1'
id='blob1'></blob>\n <blob href='http://localhost:3001/api/buckets/bucket1/blob3'
id='blob3'></blob>\n <blob href='http://localhost:3001/api/buckets/bucket1/blob2'
id='blob2'></blob>\n</bucket>\n"
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:16 GMT
- request:
method: get
uri: http://localhost:3001/api/buckets/bucket1/blob1
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 200
message:
headers:
content-type:
- application/xml
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '485'
x-content-type-options:
- nosniff
etag:
- 6ffb9a8c697a593bc98fed727e98f855
cache-control:
- max-age=0, private, must-revalidate
date:
- Wed, 06 Mar 2013 08:56:16 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! "<?xml version='1.0' encoding='utf-8' ?>\n<blob href='http://localhost:3001/api/buckets/bucket1/blob1'
id='blob1'>\n <bucket>bucket1</bucket>\n <content_length>17</content_length>\n
\ <content_type>text/plain</content_type>\n <last_modified>2010-09-23 17:44:54
+0200</last_modified>\n <user_metadata>\n <entry key='SOMENEWKEY'><![CDATA[NEWVALUE]]></entry>\n
\ </user_metadata>\n <content href='http://localhost:3001/api/buckets/bucket1/blob1/content'
rel='blob_content'></content>\n</blob>\n"
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:16 GMT
- request:
method: get
uri: http://localhost:3001/api/buckets/bucket1/blob3
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 200
message:
headers:
content-type:
- application/xml
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '428'
x-content-type-options:
- nosniff
etag:
- f5c6bcf8a055f57b9f69ac36ef07626f
cache-control:
- max-age=0, private, must-revalidate
date:
- Wed, 06 Mar 2013 08:56:16 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! "<?xml version='1.0' encoding='utf-8' ?>\n<blob href='http://localhost:3001/api/buckets/bucket1/blob3'
id='blob3'>\n <bucket>bucket1</bucket>\n <content_length>17</content_length>\n
\ <content_type>text/plain</content_type>\n <last_modified>2010-08-14 03:14:31
+0200</last_modified>\n <user_metadata>\n </user_metadata>\n <content href='http://localhost:3001/api/buckets/bucket1/blob3/content'
rel='blob_content'></content>\n</blob>\n"
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:16 GMT
- request:
method: get
uri: http://localhost:3001/api/buckets/bucket1/blob2
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 200
message:
headers:
content-type:
- application/xml
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '476'
x-content-type-options:
- nosniff
etag:
- c4aec8663f7a6df184a8253d5d13142a
cache-control:
- max-age=0, private, must-revalidate
date:
- Wed, 06 Mar 2013 08:56:16 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! "<?xml version='1.0' encoding='utf-8' ?>\n<blob href='http://localhost:3001/api/buckets/bucket1/blob2'
id='blob2'>\n <bucket>bucket1</bucket>\n <content_length>56</content_length>\n
\ <content_type>text/html</content_type>\n <last_modified>2010-09-23 17:55:05
+0200</last_modified>\n <user_metadata>\n <entry key='VERSION'><![CDATA[1.2]]></entry>\n
\ </user_metadata>\n <content href='http://localhost:3001/api/buckets/bucket1/blob2/content'
rel='blob_content'></content>\n</blob>\n"
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:16 GMT
- request:
method: get
uri: http://localhost:3001/api/buckets/bucket1
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 200
message:
headers:
content-type:
- application/xml
x-backend-runtime:
- '0.0020835399627685547'
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '407'
x-content-type-options:
- nosniff
etag:
- c3d2ba8fdf26ef08f573e94239a15b9e
cache-control:
- max-age=0, private, must-revalidate
date:
- Wed, 06 Mar 2013 15:56:31 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! "<?xml version='1.0' encoding='utf-8' ?>\n<bucket href='http://localhost:3001/api/buckets/bucket1'
id='bucket1'>\n <name>bucket1</name>\n <size>4</size>\n <blob href='http://localhost:3001/api/buckets/bucket1/blob1'
id='blob1'></blob>\n <blob href='http://localhost:3001/api/buckets/bucket1/blob3'
id='blob3'></blob>\n <blob href='http://localhost:3001/api/buckets/bucket1/blob2'
id='blob2'></blob>\n</bucket>\n"
http_version:
recorded_at: Wed, 06 Mar 2013 15:56:31 GMT
recorded_with: VCR 2.4.0