blob: f122d5a5fa5be6df0985bf9cb0126d00ac7579b6 [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:17 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:17 GMT
- request:
method: get
uri: http://localhost:3001/api/drivers/ec2
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:
- '2820'
x-content-type-options:
- nosniff
etag:
- e46ed1894e2830dc783dca7a7d242352
cache-control:
- max-age=0, private, must-revalidate
date:
- Wed, 06 Mar 2013 08:56:17 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! "<driver href='http://localhost:3001/api/drivers/ec2' id='ec2'>\n
\ <name>EC2</name>\n <provider id='us-west-1'>\n <entrypoint kind='s3'><![CDATA[s3-us-west-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-west-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='ec2'><![CDATA[ec2.us-west-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='mon'><![CDATA[monitoring.us-west-1.amazonaws.com]]></entrypoint>\n
\ </provider>\n <provider id='us-west-2'>\n <entrypoint kind='s3'><![CDATA[s3-us-west-2.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-west-2.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='ec2'><![CDATA[ec2.us-west-2.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='mon'><![CDATA[monitoring.us-west-2.amazonaws.com]]></entrypoint>\n
\ </provider>\n <provider id='ap-southeast-1'>\n <entrypoint kind='s3'><![CDATA[s3-ap-southeast-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.ap-southeast-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='ec2'><![CDATA[ec2.ap-southeast-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='mon'><![CDATA[monitoring.ap-southeast-1.amazonaws.com]]></entrypoint>\n
\ </provider>\n <provider id='ap-northeast-1'>\n <entrypoint kind='s3'><![CDATA[s3-ap-northeast-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.ap-northeast-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='ec2'><![CDATA[ec2.ap-northeast-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='mon'><![CDATA[monitoring.ap-northeast-1.amazonaws.com]]></entrypoint>\n
\ </provider>\n <provider id='eu-west-1'>\n <entrypoint kind='s3'><![CDATA[s3-eu-west-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.eu-west-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='ec2'><![CDATA[ec2.eu-west-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='mon'><![CDATA[monitoring.eu-west-1.amazonaws.com]]></entrypoint>\n
\ </provider>\n <provider id='us-east-1'>\n <entrypoint kind='s3'><![CDATA[s3.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.us-east-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='ec2'><![CDATA[ec2.us-east-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='mon'><![CDATA[monitoring.us-east-1.amazonaws.com]]></entrypoint>\n
\ </provider>\n <provider id='sa-east-1'>\n <entrypoint kind='s3'><![CDATA[s3-sa-east-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='elb'><![CDATA[elasticloadbalancing.sa-east-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='ec2'><![CDATA[ec2.sa-east-1.amazonaws.com]]></entrypoint>\n
\ <entrypoint kind='mon'><![CDATA[monitoring.sa-east-1.amazonaws.com]]></entrypoint>\n
\ </provider>\n</driver>\n"
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:17 GMT
- request:
method: get
uri: http://localhost:3001/api/drivers/
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 404
message:
headers:
content-type:
- text/html;charset=utf-8
x-cascade:
- pass
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '448'
x-xss-protection:
- 1; mode=block
x-content-type-options:
- nosniff
x-frame-options:
- SAMEORIGIN
date:
- Wed, 06 Mar 2013 08:56:17 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! "<!DOCTYPE html>\n<html>\n<head>\n <style type=\"text/css\">\n body
{ text-align:center;font-family:helvetica,arial;font-size:22px;\n color:#888;margin:20px}\n
\ #c {margin:0 auto;width:500px;text-align:left}\n </style>\n</head>\n<body>\n
\ <h2>Sinatra doesn&rsquo;t know this ditty.</h2>\n <img src='http://localhost:3001/api/__sinatra__/404.png'>\n
\ <div id=\"c\">\n Try this:\n <pre>get '/drivers/' do\n \"Hello World\"\nend</pre>\n
\ </div>\n</body>\n</html>\n"
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:17 GMT
- request:
method: get
uri: http://localhost:3001/api/drivers/foo
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 404
message:
headers:
content-type:
- text/html;charset=utf-8
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '0'
x-xss-protection:
- 1; mode=block
x-content-type-options:
- nosniff
x-frame-options:
- SAMEORIGIN
date:
- Wed, 06 Mar 2013 08:56:17 GMT
connection:
- close
body:
encoding: US-ASCII
string: ''
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:17 GMT
recorded_with: VCR 2.4.0