nephophobia 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/nephophobia/project.rb +5 -2
- data/lib/nephophobia/role.rb +1 -1
- data/lib/nephophobia/version.rb +1 -1
- data/test/cassettes/compute_all.yml +4 -4
- data/test/cassettes/compute_all_with_filter.yml +3 -3
- data/test/cassettes/compute_all_with_string_into_int_error.yml +1 -1
- data/test/cassettes/compute_create.yml +4 -4
- data/test/cassettes/compute_create_with_optional_params.yml +4 -4
- data/test/cassettes/compute_destroy.yml +3 -3
- data/test/cassettes/compute_find.yml +4 -4
- data/test/cassettes/compute_reboot.yml +3 -3
- data/test/cassettes/image_all.yml +4 -4
- data/test/cassettes/image_all_with_filter.yml +4 -4
- data/test/cassettes/image_all_with_string_into_int_error.yml +1 -1
- data/test/cassettes/image_find.yml +4 -4
- data/test/cassettes/project_add_member.yml +3 -3
- data/test/cassettes/project_all.yml +3 -3
- data/test/cassettes/project_create.yml +4 -4
- data/test/cassettes/project_destroy.yml +3 -3
- data/test/cassettes/project_find.yml +4 -4
- data/test/cassettes/{project_find_with_invalid_username.yml → project_find_with_invalid_project_name.yml} +0 -0
- data/test/cassettes/project_members.yml +4 -4
- data/test/cassettes/project_members_with_invalid_project_name.yml +30 -0
- data/test/cassettes/project_members_with_no_members.yml +28 -0
- data/test/cassettes/project_members_with_string_into_int_error.yml +28 -0
- data/test/cassettes/project_remove_member.yml +3 -3
- data/test/cassettes/role_all.yml +3 -3
- data/test/cassettes/role_all_with_no_roles.yml +3 -3
- data/test/cassettes/role_all_with_string_into_int_error.yml +1 -1
- data/test/cassettes/role_create.yml +3 -3
- data/test/cassettes/role_create_with_project_name.yml +3 -3
- data/test/cassettes/role_create_with_project_name_and_role_name.yml +3 -3
- data/test/cassettes/role_destroy.yml +3 -3
- data/test/cassettes/role_destroy_with_project_name.yml +27 -0
- data/test/cassettes/role_destroy_with_project_name_and_role_name.yml +27 -0
- data/test/cassettes/user_create.yml +4 -4
- data/test/cassettes/user_credentials.yml +8 -6
- data/test/cassettes/user_destroy.yml +3 -3
- data/test/cassettes/user_find.yml +4 -4
- data/test/cassettes/user_find_with_invalid_user_name.yml +2 -31
- data/test/lib/hashify_test.rb +2 -2
- data/test/lib/nephophobia/compute_test.rb +33 -27
- data/test/lib/nephophobia/image_test.rb +14 -8
- data/test/lib/nephophobia/project_test.rb +31 -19
- data/test/lib/nephophobia/role_test.rb +7 -5
- data/test/lib/nephophobia/user_test.rb +6 -8
- data/test/test_helper.rb +17 -15
- metadata +10 -8
- data/test/cassettes/compute_start.yml +0 -30
- data/test/cassettes/compute_stop.yml +0 -30
data/Gemfile.lock
CHANGED
data/lib/nephophobia/project.rb
CHANGED
@@ -40,7 +40,8 @@ module Nephophobia
|
|
40
40
|
def all
|
41
41
|
response = @client.action "DescribeProjects", {}
|
42
42
|
|
43
|
-
|
43
|
+
item = response.body['DescribeProjectsResponse']['projectSet']['item']
|
44
|
+
Nephophobia.coerce(item).collect do |data|
|
44
45
|
ProjectData.new data
|
45
46
|
end
|
46
47
|
end
|
@@ -95,9 +96,11 @@ module Nephophobia
|
|
95
96
|
def members project_name
|
96
97
|
response = @client.action "DescribeProjectMembers", "Name" => project_name
|
97
98
|
|
98
|
-
response.body['DescribeProjectMembersResponse']['members']['item']
|
99
|
+
item = response.body['DescribeProjectMembersResponse']['members']['item']
|
100
|
+
Nephophobia.coerce(item).collect do |data|
|
99
101
|
MemberData.new data
|
100
102
|
end
|
103
|
+
rescue Hugs::Errors::BadRequest
|
101
104
|
end
|
102
105
|
|
103
106
|
##
|
data/lib/nephophobia/role.rb
CHANGED
@@ -24,7 +24,7 @@ module Nephophobia
|
|
24
24
|
# +project_name+: An Optional String representing a nova role name.
|
25
25
|
|
26
26
|
def create user_name, project_name = nil, role_name = nil
|
27
|
-
modify_role user_name, "add", project_name
|
27
|
+
modify_role user_name, "add", project_name, role_name
|
28
28
|
end
|
29
29
|
|
30
30
|
##
|
data/lib/nephophobia/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=
|
5
|
+
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9dd4add8-ca15-42fd-8874-9a3d294ba459%3Avcr_project&Action=DescribeInstances&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=nID%2FklL49GvkGCWyNYv6YoqAv8QNrZqKjUph8lwzLJc%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -19,10 +19,10 @@
|
|
19
19
|
content-type:
|
20
20
|
- text/xml
|
21
21
|
content-length:
|
22
|
-
- "
|
22
|
+
- "1496"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Tue, 15 Mar 2011 07:07:42 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>Z5X9BMPM9DDECG6UQ5X3</requestId><reservationSet><item><ownerId>vcr_project</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><reservationId>r-x90t5kkp</reservationId><instancesSet><item><displayDescription/><displayName>Server 1189</displayName><keyName/><instanceId>i-000004a5</instanceId><instanceState><code>0</code><name>networking</name></instanceState><publicDnsName/><imageId>ami-usc3oydl</imageId><productCodesSet/><privateDnsName/><dnsName/><launchTime>2011-03-15 07:05:27</launchTime><placement><availabilityZone>nova</availabilityZone></placement><amiLaunchIndex>0</amiLaunchIndex><instanceType>m1.small</instanceType></item></instancesSet></item><item><ownerId>vcr_project</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><reservationId>r-jdnji9e6</reservationId><instancesSet><item><displayDescription>test description</displayDescription><displayName>testserver1</displayName><keyName/><instanceId>i-000004a6</instanceId><instanceState><code>0</code><name>networking</name></instanceState><publicDnsName/><imageId>ami-usc3oydl</imageId><productCodesSet/><privateDnsName/><dnsName/><launchTime>2011-03-15 07:07:03</launchTime><placement><availabilityZone>nova</availabilityZone></placement><amiLaunchIndex>0</amiLaunchIndex><instanceType>m1.small</instanceType></item></instancesSet></item></reservationSet></DescribeInstancesResponse>
|
28
28
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=
|
5
|
+
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9dd4add8-ca15-42fd-8874-9a3d294ba459%3Avcr_project&Action=DescribeInstances&Filter.1.Name=instance-type&Filter.1.Value.1=m1.small&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=y6HWMUnV8uqUtrKHiflQWCROJo%2FojgY3qIhTIHBUElQ%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -21,10 +21,10 @@
|
|
21
21
|
content-length:
|
22
22
|
- "223"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Tue, 15 Mar 2011 07:08:12 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
27
|
body: |-
|
28
28
|
<?xml version="1.0"?>
|
29
|
-
<Response><Errors><Error><Code>UnknownError</Code><Message>An unknown error has occurred. Please try your request again.</Message></Error></Errors><RequestID>
|
29
|
+
<Response><Errors><Error><Code>UnknownError</Code><Message>An unknown error has occurred. Please try your request again.</Message></Error></Errors><RequestID>HBD56VDFYVODQ8BNFFX4</RequestID></Response>
|
30
30
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=
|
5
|
+
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9dd4add8-ca15-42fd-8874-9a3d294ba459%3Avcr_project&Action=DescribeInstances&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=nID%2FklL49GvkGCWyNYv6YoqAv8QNrZqKjUph8lwzLJc%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=
|
5
|
+
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9dd4add8-ca15-42fd-8874-9a3d294ba459%3Avcr_project&Action=RunInstances&ImageId=ami-usc3oydl&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=4VK3USWpbkefKe%2FlaZET%2BqouqDKTXlit%2BzBolkJyI9o%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -19,10 +19,10 @@
|
|
19
19
|
content-type:
|
20
20
|
- text/xml
|
21
21
|
content-length:
|
22
|
-
- "
|
22
|
+
- "776"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Tue, 15 Mar 2011 07:05:27 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>Z5BQ34TEO12SU5KVZVGY</requestId><ownerId>vcr_project</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><reservationId>r-x90t5kkp</reservationId><instancesSet><item><displayDescription/><displayName>Server 1189</displayName><keyName/><instanceId>i-000004a5</instanceId><instanceState><code/><name>scheduling</name></instanceState><publicDnsName/><imageId>ami-usc3oydl</imageId><productCodesSet/><privateDnsName/><dnsName/><launchTime>2011-03-15 07:05:27</launchTime><placement><availabilityZone>unknown zone</availabilityZone></placement><amiLaunchIndex>0</amiLaunchIndex><instanceType>m1.small</instanceType></item></instancesSet></RunInstancesResponse>
|
28
28
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=
|
5
|
+
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9dd4add8-ca15-42fd-8874-9a3d294ba459%3Avcr_project&Action=RunInstances&DisplayDescription=test%20description&DisplayName=testserver1&ImageId=ami-usc3oydl&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=dj5m7c0iAQFZoHvUudSMazM%2FAg59XX1FuL7BMhRAjIE%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -19,10 +19,10 @@
|
|
19
19
|
content-type:
|
20
20
|
- text/xml
|
21
21
|
content-length:
|
22
|
-
- "
|
22
|
+
- "812"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Tue, 15 Mar 2011 07:07:03 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>Y8DX71Q5GHQA0IMYQOBQ</requestId><ownerId>vcr_project</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><reservationId>r-jdnji9e6</reservationId><instancesSet><item><displayDescription>test description</displayDescription><displayName>testserver1</displayName><keyName/><instanceId>i-000004a6</instanceId><instanceState><code/><name>scheduling</name></instanceState><publicDnsName/><imageId>ami-usc3oydl</imageId><productCodesSet/><privateDnsName/><dnsName/><launchTime>2011-03-15 07:07:03</launchTime><placement><availabilityZone>unknown zone</availabilityZone></placement><amiLaunchIndex>0</amiLaunchIndex><instanceType>m1.small</instanceType></item></instancesSet></RunInstancesResponse>
|
28
28
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=
|
5
|
+
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9dd4add8-ca15-42fd-8874-9a3d294ba459%3Avcr_project&Action=TerminateInstances&InstanceId.1=i-000004a5&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=0y1KiRdYtEeVfOTb58qS2h2lqW0pWxo%2FRZp1WR1rbYc%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -21,8 +21,8 @@
|
|
21
21
|
content-length:
|
22
22
|
- "192"
|
23
23
|
date:
|
24
|
-
- Tue,
|
24
|
+
- Tue, 15 Mar 2011 07:17:32 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>ZRGV11L69TETMPHA7UBY</requestId><return>true</return></TerminateInstancesResponse>
|
28
28
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=
|
5
|
+
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9dd4add8-ca15-42fd-8874-9a3d294ba459%3Avcr_project&Action=DescribeInstances&InstanceId.1=i-000004a5&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=mCLNn5T4y9i45dlgJS25XrAW2rBupwjGVEstJusKYxg%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -19,10 +19,10 @@
|
|
19
19
|
content-type:
|
20
20
|
- text/xml
|
21
21
|
content-length:
|
22
|
-
- "
|
22
|
+
- "831"
|
23
23
|
date:
|
24
|
-
- Tue,
|
24
|
+
- Tue, 15 Mar 2011 07:09:51 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>SODBE4BHSR3R434BVD8F</requestId><reservationSet><item><ownerId>vcr_project</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><reservationId>r-x90t5kkp</reservationId><instancesSet><item><displayDescription/><displayName>Server 1189</displayName><keyName/><instanceId>i-000004a5</instanceId><instanceState><code>0</code><name>networking</name></instanceState><publicDnsName/><imageId>ami-usc3oydl</imageId><productCodesSet/><privateDnsName/><dnsName/><launchTime>2011-03-15 07:05:27</launchTime><placement><availabilityZone>nova</availabilityZone></placement><amiLaunchIndex>0</amiLaunchIndex><instanceType>m1.small</instanceType></item></instancesSet></item></reservationSet></DescribeInstancesResponse>
|
28
28
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=
|
5
|
+
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=9dd4add8-ca15-42fd-8874-9a3d294ba459%3Avcr_project&Action=RebootInstances&InstanceId.1=i-000004a5&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=4BsmNAV24RY8dL%2FJRyXq37Y25MMQk4GbuH718ZVSRyY%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -21,8 +21,8 @@
|
|
21
21
|
content-length:
|
22
22
|
- "186"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Tue, 15 Mar 2011 07:14:26 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>TAXCQTEEWL235YLPR0RW</requestId><return>true</return></RebootInstancesResponse>
|
28
28
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=
|
5
|
+
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=57c971e9-0225-4fa4-8969-60b880e9f827%3Avcr_project&Action=DescribeImages&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=qtUaSW3athjQ0kAeB%2FhT%2FOzI35ft95Jyx3JnCIdmwVg%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -19,10 +19,10 @@
|
|
19
19
|
content-type:
|
20
20
|
- text/xml
|
21
21
|
content-length:
|
22
|
-
- "
|
22
|
+
- "4185"
|
23
23
|
date:
|
24
|
-
- Tue,
|
24
|
+
- Tue, 15 Mar 2011 04:50:01 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>4HYHU-199JG35U9ROWAO</requestId><imagesSet><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-d0f0o14c</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-d0f0o14c</id><imageType>kernel</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>true</isPublic><imageId>ami-usc3oydl</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>production-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml</imageLocation><kernelId>ami-41fp8j0l</kernelId><ramdiskId>ami-a7l0kmss</ramdiskId><type>machine</type><id>ami-usc3oydl</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>true</isPublic><imageId>ami-a7l0kmss</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>production-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml</imageLocation><ramdiskId>true</ramdiskId><type>ramdisk</type><id>ami-a7l0kmss</id><imageType>ramdisk</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-l1u1pqfm</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml</imageLocation><kernelId>ami-d0f0o14c</kernelId><ramdiskId>ami-2znurxml</ramdiskId><type>machine</type><id>ami-l1u1pqfm</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>non-production</imageOwnerId><isPublic>false</isPublic><imageId>ami-jj2v00sp</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ubuntu-10.04/lucid-server-uec-amd64.img.manifest.xml</imageLocation><kernelId>ami-x404ppjb</kernelId><type>machine</type><id>ami-jj2v00sp</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-c8bi23jj</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>kevin-test/CentOS5-5.5-base.qcow2.manifest.xml</imageLocation><type>machine</type><id>ami-c8bi23jj</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>true</isPublic><imageId>ami-41fp8j0l</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>production-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-41fp8j0l</id><imageType>kernel</imageType></item><item><displayName></displayName><imageOwnerId>non-production</imageOwnerId><isPublic>false</isPublic><imageId>ami-x404ppjb</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ubuntu-10.04/lucid-server-uec-amd64-vmlinuz-virtual.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-x404ppjb</id><imageType>kernel</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-2znurxml</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml</imageLocation><ramdiskId>true</ramdiskId><type>ramdisk</type><id>ami-2znurxml</id><imageType>ramdisk</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-u2v0c4xs</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>kevin-test-1/CentOS5-5.5-VM-base.manifest.xml</imageLocation><type>machine</type><id>ami-u2v0c4xs</id><imageType>machine</imageType></item></imagesSet></DescribeImagesResponse>
|
28
28
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=
|
5
|
+
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=57c971e9-0225-4fa4-8969-60b880e9f827%3Avcr_project&Action=DescribeImages&ExecutableBy.1=self&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=Hpg9mlwtDNH9rYZ2PcBOkMMbbYl7IGtdRKm4BbEVTCs%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -19,10 +19,10 @@
|
|
19
19
|
content-type:
|
20
20
|
- text/xml
|
21
21
|
content-length:
|
22
|
-
- "
|
22
|
+
- "4185"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Tue, 15 Mar 2011 04:47:50 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>QOI9ZC9OKPO74FX9TC7K</requestId><imagesSet><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-d0f0o14c</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-d0f0o14c</id><imageType>kernel</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>true</isPublic><imageId>ami-usc3oydl</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>production-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml</imageLocation><kernelId>ami-41fp8j0l</kernelId><ramdiskId>ami-a7l0kmss</ramdiskId><type>machine</type><id>ami-usc3oydl</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>true</isPublic><imageId>ami-a7l0kmss</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>production-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml</imageLocation><ramdiskId>true</ramdiskId><type>ramdisk</type><id>ami-a7l0kmss</id><imageType>ramdisk</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-l1u1pqfm</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml</imageLocation><kernelId>ami-d0f0o14c</kernelId><ramdiskId>ami-2znurxml</ramdiskId><type>machine</type><id>ami-l1u1pqfm</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>non-production</imageOwnerId><isPublic>false</isPublic><imageId>ami-jj2v00sp</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ubuntu-10.04/lucid-server-uec-amd64.img.manifest.xml</imageLocation><kernelId>ami-x404ppjb</kernelId><type>machine</type><id>ami-jj2v00sp</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-c8bi23jj</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>kevin-test/CentOS5-5.5-base.qcow2.manifest.xml</imageLocation><type>machine</type><id>ami-c8bi23jj</id><imageType>machine</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>true</isPublic><imageId>ami-41fp8j0l</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>production-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-41fp8j0l</id><imageType>kernel</imageType></item><item><displayName></displayName><imageOwnerId>non-production</imageOwnerId><isPublic>false</isPublic><imageId>ami-x404ppjb</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ubuntu-10.04/lucid-server-uec-amd64-vmlinuz-virtual.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-x404ppjb</id><imageType>kernel</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-2znurxml</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml</imageLocation><ramdiskId>true</ramdiskId><type>ramdisk</type><id>ami-2znurxml</id><imageType>ramdisk</imageType></item><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-u2v0c4xs</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>kevin-test-1/CentOS5-5.5-VM-base.manifest.xml</imageLocation><type>machine</type><id>ami-u2v0c4xs</id><imageType>machine</imageType></item></imagesSet></DescribeImagesResponse>
|
28
28
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=
|
5
|
+
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=57c971e9-0225-4fa4-8969-60b880e9f827%3Avcr_project&Action=DescribeImages&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=qtUaSW3athjQ0kAeB%2FhT%2FOzI35ft95Jyx3JnCIdmwVg%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=
|
5
|
+
uri: http://10.1.170.32:8773/services/Cloud?AWSAccessKeyId=57c971e9-0225-4fa4-8969-60b880e9f827%3Avcr_project&Action=DescribeImages&ImageId.1=ami-d0f0o14c&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=r6WhUJvsU%2BAuWCwQkLG%2FgmIv18g5LtZfuK%2FWQxNZzf0%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -19,10 +19,10 @@
|
|
19
19
|
content-type:
|
20
20
|
- text/xml
|
21
21
|
content-length:
|
22
|
-
- "
|
22
|
+
- "587"
|
23
23
|
date:
|
24
|
-
- Tue,
|
24
|
+
- Tue, 15 Mar 2011 04:48:27 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>BEJO4LXYYVSYGMDFIC9C</requestId><imagesSet><item><displayName></displayName><imageOwnerId>production</imageOwnerId><isPublic>false</isPublic><imageId>ami-d0f0o14c</imageId><imageState>available</imageState><architecture>x86_64</architecture><imageLocation>ttylinx-bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml</imageLocation><kernelId>true</kernelId><type>kernel</type><id>ami-d0f0o14c</id><imageType>kernel</imageType></item></imagesSet></DescribeImagesResponse>
|
28
28
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=ModifyProjectMember&Operation=add&Project=
|
5
|
+
uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=ModifyProjectMember&Operation=add&Project=vcr_secondary_project&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr&Version=2010-11-15&Signature=sxi0RDWukO%2BOTY41mGyVsRooaIZ2HBLAOaEt%2Fvy2kFQ%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -21,8 +21,8 @@
|
|
21
21
|
content-length:
|
22
22
|
- "194"
|
23
23
|
date:
|
24
|
-
- Tue,
|
24
|
+
- Tue, 15 Mar 2011 05:34:00 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>0Q8RINM5N6DV2VOROFO0</requestId><return>true</return></ModifyProjectMemberResponse>
|
28
28
|
http_version: "1.1"
|
@@ -19,10 +19,10 @@
|
|
19
19
|
content-type:
|
20
20
|
- text/xml
|
21
21
|
content-length:
|
22
|
-
- "
|
22
|
+
- "852"
|
23
23
|
date:
|
24
|
-
- Tue,
|
24
|
+
- Tue, 15 Mar 2011 05:25:05 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><DescribeProjectsResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><DescribeProjectsResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>14AT8GET5S8HT3MARR1N</requestId><projectSet><item><projectname>production</projectname><projectManagerId>kbringard</projectManagerId><description>production</description></item><item><projectname>non-production</projectname><projectManagerId>root</projectManagerId><description>non-production</description></item><item><projectname>jtran</projectname><projectManagerId>jtran</projectManagerId><description>jtran</description></item><item><projectname>foobar_project</projectname><projectManagerId>foobar_user</projectManagerId><description>foobar_project</description></item><item><projectname>vcr_project</projectname><projectManagerId>vcr</projectManagerId><description>vcr_project</description></item></projectSet></DescribeProjectsResponse>
|
28
28
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=RegisterProject&ManagerUser=
|
5
|
+
uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=RegisterProject&ManagerUser=vcr&Name=vcr_project&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=EWSy0yRlFf1F0%2FgAdSldHFLZ7nmz6l%2FkZtLT0hAWB7A%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -19,10 +19,10 @@
|
|
19
19
|
content-type:
|
20
20
|
- text/xml
|
21
21
|
content-length:
|
22
|
-
- "
|
22
|
+
- "281"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Tue, 15 Mar 2011 05:27:47 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><RegisterProjectResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><RegisterProjectResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>63DRI9QQTDMH9YTJ6XN6</requestId><projectname>vcr_project</projectname><projectManagerId>vcr</projectManagerId><description>vcr_project</description></RegisterProjectResponse>
|
28
28
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DeregisterProject&Name=
|
5
|
+
uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DeregisterProject&Name=vcr_project&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=TbJIOoJ5oE8cB8DJbImN4J0w7D4JS14CyRvWCLvtX5Y%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -21,8 +21,8 @@
|
|
21
21
|
content-length:
|
22
22
|
- "190"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Tue, 15 Mar 2011 05:28:02 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><DeregisterProjectResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><DeregisterProjectResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>7XL9QDBXPV-3SB54Y-2E</requestId><return>true</return></DeregisterProjectResponse>
|
28
28
|
http_version: "1.1"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DescribeProject&Name=
|
5
|
+
uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DescribeProject&Name=vcr_project&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=L24fnQiQKXO1BScZOwWxL6hIVu2OWWGF0tCGg6OKJ0M%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -19,10 +19,10 @@
|
|
19
19
|
content-type:
|
20
20
|
- text/xml
|
21
21
|
content-length:
|
22
|
-
- "
|
22
|
+
- "281"
|
23
23
|
date:
|
24
|
-
- Tue,
|
24
|
+
- Tue, 15 Mar 2011 05:29:36 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><DescribeProjectResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><DescribeProjectResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>WQOSHW5352JR1Y4NBV1U</requestId><projectname>vcr_project</projectname><projectManagerId>vcr</projectManagerId><description>vcr_project</description></DescribeProjectResponse>
|
28
28
|
http_version: "1.1"
|
File without changes
|
@@ -2,7 +2,7 @@
|
|
2
2
|
- !ruby/struct:VCR::HTTPInteraction
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
|
-
uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DescribeProjectMembers&Name=
|
5
|
+
uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DescribeProjectMembers&Name=vcr_project&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=gHOqFyMbBRExsof4ZYyb1qT%2BE%2BV5v8vThS5g%2FpsTWTA%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -19,10 +19,10 @@
|
|
19
19
|
content-type:
|
20
20
|
- text/xml
|
21
21
|
content-length:
|
22
|
-
- "
|
22
|
+
- "279"
|
23
23
|
date:
|
24
|
-
- Tue,
|
24
|
+
- Tue, 15 Mar 2011 05:48:27 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><DescribeProjectMembersResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId
|
27
|
+
body: <?xml version="1.0" ?><DescribeProjectMembersResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>-F0TGZY-4PWD1CS4QBH6</requestId><members><item><member>vcr</member></item><item><member>vcr_secondary_user</member></item></members></DescribeProjectMembersResponse>
|
28
28
|
http_version: "1.1"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DescribeProjectMembers&Name=invalid_project_name&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=W0KJaDghV1W3%2B%2FHRY%2BXcKU866Ndo5TpeZOtdbE%2BvEfM%3D
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
accept:
|
9
|
+
- application/xml
|
10
|
+
connection:
|
11
|
+
- keep-alive
|
12
|
+
keep-alive:
|
13
|
+
- 30
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
16
|
+
code: 400
|
17
|
+
message: Bad Request
|
18
|
+
headers:
|
19
|
+
content-type:
|
20
|
+
- text/xml
|
21
|
+
content-length:
|
22
|
+
- "197"
|
23
|
+
date:
|
24
|
+
- Tue, 15 Mar 2011 06:03:29 GMT
|
25
|
+
connection:
|
26
|
+
- keep-alive
|
27
|
+
body: |-
|
28
|
+
<?xml version="1.0"?>
|
29
|
+
<Response><Errors><Error><Code>NotFound</Code><Message>No project with id invalid_project_name</Message></Error></Errors><RequestID>CK5F-TIT8VDOXQ5-PHS3</RequestID></Response>
|
30
|
+
http_version: "1.1"
|