blob: 9ad30425d7bd4ca88999e93f461966a0904f2f96 [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:18 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:18 GMT
- request:
method: post
uri: http://localhost:3001/api/keys?name=foo
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 201
message:
headers:
content-type:
- application/xml
location:
- http://localhost:3001/api/keys/foo
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
content-length:
- '2088'
x-content-type-options:
- nosniff
etag:
- 6d5458828ac010455334267012f297e5
cache-control:
- max-age=0, private, must-revalidate
date:
- Wed, 06 Mar 2013 08:56:18 GMT
connection:
- close
body:
encoding: US-ASCII
string: ! '<?xml version=''1.0'' encoding=''utf-8'' ?>
<key href=''http://localhost:3001/api/keys/foo'' id=''foo'' type=''key''>
<name>foo</name>
<actions>
<link href=''http://localhost:3001/api/keys/foo'' method=''delete'' rel=''destroy''
/>
</actions>
<fingerprint>9c:00:79:b5:09:d3:b4:91:5e:55:bc:c9:a3:1e:cf:2c:fb:90:41:16</fingerprint>
<pem>
<![CDATA[-----BEGIN RSA PRIVATE KEY-----
NJi9mExMZRDmhFHxZNMU594Bk7xXJ/shbMeREIkoVUU7ZK91q2sF8KULjKtEuqW=AN9VUb9cHQC
ceDknXvs0pnP82ICwV8oAsgT13qADPDVJ=KgCdoOrlHnFkIwx=B46vKSiw5vXORxKYV4eiBXrAv
WgxNoCbqGGSOEPy6vseFCQ45BZFI=UrnjEH2yC7comrvwt/bmElH3fZjkQDkyJ1aHQR54bvH+s8
nr11xBhOD+xFz/icuf+UPKkw8vqiTNqyEg/4sHGI26krl3IzeKUcxBglI19pdEt4GoL7iQWCBLu
J2eQJNGhE6iNFRMi9XXPaT0RwIwy704RJxFnc4hfwEQA1S2vTkVlI0FwII9=JFac2L1JHLikrA=
8dcOZwCPo9v81vj4ru93rHk8=idIBJlUUMoP6PLEeyjdUpQGr+oQpjXCFQnj/0q6L7N3eN8jKhQ
V9lTsr+dtUM4W2hOdrpapAsjglTYZ++6vueRCcjazZW5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amrQh0jo27ekidQ
08mQLLoEdX07AGUJf3WwtmHOwYHyTxBSLoycepX8ZfmCp5sxSZSZ3T/X248MP0533WNW-----END
RSA PRIVATE KEY-----]]>
</pem>
<state></state>
</key>
'
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:18 GMT
- request:
method: delete
uri: http://localhost:3001/api/keys/foo
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/xml
Authorization:
- Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk
User-Agent:
- Faraday v0.8.6
response:
status:
code: 204
message:
headers:
server:
- Apache-Deltacloud/1.1.1
x-deltacloud-driver:
- mock
x-content-type-options:
- nosniff
date:
- Wed, 06 Mar 2013 08:56:18 GMT
connection:
- close
body:
encoding: US-ASCII
string: ''
http_version:
recorded_at: Wed, 06 Mar 2013 08:56:18 GMT
recorded_with: VCR 2.4.0