| --- |
| 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:19 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:19 GMT |
| - request: |
| method: get |
| uri: http://localhost:3001/api/storage_snapshots?id=snap1 |
| 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.0009429454803466797' |
| server: |
| - Apache-Deltacloud/1.1.1 |
| x-deltacloud-driver: |
| - mock |
| content-length: |
| - '369' |
| x-content-type-options: |
| - nosniff |
| etag: |
| - 660ce0a308d333fd4971e02b01839878 |
| cache-control: |
| - max-age=0, private, must-revalidate |
| date: |
| - Wed, 06 Mar 2013 08:56:19 GMT |
| connection: |
| - close |
| body: |
| encoding: US-ASCII |
| string: ! "<?xml version='1.0' encoding='utf-8' ?>\n<storage_snapshots>\n <storage_snapshot |
| href='http://localhost:3001/api/storage_snapshots/snap1' id='snap1'>\n <name>snap1</name>\n |
| \ <created>Wed Jul 29 18:15:24 UTC 2009</created>\n <storage_volume href='http://localhost:3001/api/storage_volumes/vol1' |
| id='vol1'></storage_volume>\n </storage_snapshot>\n</storage_snapshots>\n" |
| http_version: |
| recorded_at: Wed, 06 Mar 2013 08:56:19 GMT |
| - request: |
| method: get |
| uri: http://localhost:3001/api/storage_snapshots?id=unknown |
| 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.0005507469177246094' |
| server: |
| - Apache-Deltacloud/1.1.1 |
| x-deltacloud-driver: |
| - mock |
| content-length: |
| - '81' |
| x-content-type-options: |
| - nosniff |
| etag: |
| - 02d75d472b481145bcc36b841e69e89b |
| cache-control: |
| - max-age=0, private, must-revalidate |
| date: |
| - Wed, 06 Mar 2013 08:56:19 GMT |
| connection: |
| - close |
| body: |
| encoding: US-ASCII |
| string: ! '<?xml version=''1.0'' encoding=''utf-8'' ?> |
| |
| <storage_snapshots> |
| |
| </storage_snapshots> |
| |
| ' |
| http_version: |
| recorded_at: Wed, 06 Mar 2013 08:56:19 GMT |
| recorded_with: VCR 2.4.0 |