nephophobia 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. data/lib/nephophobia.rb +1 -0
  2. data/lib/nephophobia/client.rb +8 -0
  3. data/lib/nephophobia/compute.rb +11 -15
  4. data/lib/nephophobia/credential.rb +80 -0
  5. data/lib/nephophobia/image.rb +6 -7
  6. data/lib/nephophobia/project.rb +3 -3
  7. data/lib/nephophobia/user.rb +0 -17
  8. data/lib/nephophobia/version.rb +1 -1
  9. data/test/cassettes/compute_all.yml +58 -4
  10. data/test/cassettes/compute_all_with_filter.yml +57 -3
  11. data/test/cassettes/compute_create.yml +31 -4
  12. data/test/cassettes/compute_create_with_optional_params.yml +31 -4
  13. data/test/cassettes/compute_destroy.yml +59 -3
  14. data/test/cassettes/compute_find.yml +81 -0
  15. data/test/cassettes/compute_reboot.yml +57 -3
  16. data/test/cassettes/credential_all.yml +98 -0
  17. data/test/cassettes/credential_all_without_keys.yml +28 -0
  18. data/test/cassettes/credential_create.yml +71 -0
  19. data/test/cassettes/credential_destroy.yml +71 -0
  20. data/test/cassettes/image_all.yml +4 -4
  21. data/test/cassettes/image_all_with_filter.yml +27 -0
  22. data/test/cassettes/image_find.yml +31 -4
  23. data/test/cassettes/project_add_member.yml +84 -3
  24. data/test/cassettes/project_all.yml +4 -114
  25. data/test/cassettes/project_all_with_user_name.yml +190 -0
  26. data/test/cassettes/project_create.yml +85 -4
  27. data/test/cassettes/project_destroy.yml +84 -3
  28. data/test/cassettes/project_find.yml +4 -4
  29. data/test/cassettes/project_find_with_invalid_project_name.yml +3 -3
  30. data/test/cassettes/project_member.yml +136 -0
  31. data/test/cassettes/project_members.yml +58 -4
  32. data/test/cassettes/project_members_with_invalid_project_name.yml +3 -3
  33. data/test/cassettes/project_remove_member.yml +84 -3
  34. data/test/cassettes/role_all.yml +112 -4
  35. data/test/cassettes/role_all_with_project_name.yml +111 -3
  36. data/test/cassettes/role_all_without_roles.yml +109 -0
  37. data/test/cassettes/role_create.yml +84 -3
  38. data/test/cassettes/role_create_with_project_name.yml +84 -3
  39. data/test/cassettes/role_create_with_project_name_and_role_name.yml +84 -3
  40. data/test/cassettes/role_destroy.yml +84 -3
  41. data/test/cassettes/role_destroy_with_project_name.yml +60 -6
  42. data/test/cassettes/role_destroy_with_project_name_and_role_name.yml +60 -6
  43. data/test/cassettes/user_create.yml +31 -4
  44. data/test/cassettes/user_destroy.yml +30 -3
  45. data/test/cassettes/user_find.yml +58 -4
  46. data/test/cassettes/user_find_with_invalid_user_name.yml +3 -3
  47. data/test/cassettes/user_register.yml +67 -13
  48. data/test/cassettes/{user_register_assert.yml → user_register_asserts.yml} +10 -10
  49. data/test/lib/hashify_test.rb +3 -3
  50. data/test/lib/nephophobia/compute_test.rb +85 -69
  51. data/test/lib/nephophobia/credential_test.rb +91 -0
  52. data/test/lib/nephophobia/image_test.rb +29 -29
  53. data/test/lib/nephophobia/project_test.rb +115 -51
  54. data/test/lib/nephophobia/role_test.rb +151 -42
  55. data/test/lib/nephophobia/user_test.rb +48 -28
  56. data/test/test_helper.rb +9 -8
  57. metadata +21 -22
  58. data/test/cassettes/compute_all_with_string_into_int_error.yml +0 -28
  59. data/test/cassettes/image_all_with_string_into_int_error.yml +0 -28
  60. data/test/cassettes/project_all_with_string_into_int_error.yml +0 -55
  61. data/test/cassettes/project_all_with_with_user_name.yml +0 -136
  62. data/test/cassettes/project_members_with_no_members.yml +0 -28
  63. data/test/cassettes/project_members_with_string_into_int_error.yml +0 -28
  64. data/test/cassettes/role_all_with_no_roles.yml +0 -28
  65. data/test/cassettes/role_all_with_string_into_int_error.yml +0 -28
  66. data/test/cassettes/user_credentials.yml +0 -30
@@ -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=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
5
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=RunInstances&DisplayDescription=test%20description&DisplayName=testserver1&ImageId=ami-00000002&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=DKp3ljDjgQ6LJi9UWxYAvpbSaQwerjQzVclz1qU9FsQ%3D
6
6
  body:
7
7
  headers:
8
8
  accept:
@@ -19,10 +19,37 @@
19
19
  content-type:
20
20
  - text/xml
21
21
  content-length:
22
- - "812"
22
+ - "816"
23
23
  date:
24
- - Tue, 15 Mar 2011 07:07:03 GMT
24
+ - Wed, 20 Apr 2011 00:15:32 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>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>
27
+ body: <?xml version="1.0" ?><RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>50H78NVPDGNXPQUFG20X</requestId><ownerId>sandbox</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><reservationId>r-3n76t96x</reservationId><instancesSet><item><displayDescription>test description</displayDescription><displayName>testserver1</displayName><keyName/><instanceId>i-000000ea</instanceId><instanceState><code>0</code><name>scheduling</name></instanceState><publicDnsName/><imageId>ami-00000002</imageId><productCodesSet/><privateDnsName/><dnsName/><launchTime>2011-04-20T00:15:32Z</launchTime><placement><availabilityZone>unknown zone</availabilityZone></placement><amiLaunchIndex>0</amiLaunchIndex><instanceType>m1.small</instanceType></item></instancesSet></RunInstancesResponse>
28
+ http_version: "1.1"
29
+ - !ruby/struct:VCR::HTTPInteraction
30
+ request: !ruby/struct:VCR::Request
31
+ method: :get
32
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=TerminateInstances&InstanceId.1=i-000000ea&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=5YhMC1teh60bvxQTJX45kkq2cGQK2h1KNhiUGrHVrEc%3D
33
+ body:
34
+ headers:
35
+ accept:
36
+ - application/xml
37
+ connection:
38
+ - keep-alive
39
+ keep-alive:
40
+ - 30
41
+ response: !ruby/struct:VCR::Response
42
+ status: !ruby/struct:VCR::ResponseStatus
43
+ code: 200
44
+ message: OK
45
+ headers:
46
+ content-type:
47
+ - text/xml
48
+ content-length:
49
+ - "192"
50
+ date:
51
+ - Wed, 20 Apr 2011 00:15:32 GMT
52
+ connection:
53
+ - keep-alive
54
+ body: <?xml version="1.0" ?><TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>1NAA3KPRDG5R1MF9U4RA</requestId><return>true</return></TerminateInstancesResponse>
28
55
  http_version: "1.1"
@@ -2,7 +2,63 @@
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=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
5
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=TerminateInstances&InstanceId.1=i-000000e7&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=R5i0G4EnwvrxKEvkRfjFqgWqdnGDF8%2FqBHA6CnNKFgE%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
+ - "195"
23
+ date:
24
+ - Wed, 20 Apr 2011 00:18:49 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: |-
28
+ <?xml version="1.0"?>
29
+ <Response><Errors><Error><Code>InstanceNotFound</Code><Message>Instance i-000000e7 not found</Message></Error></Errors><RequestID>OE5UV88T3U9TFY1FDWH5</RequestID></Response>
30
+ http_version: "1.1"
31
+ - !ruby/struct:VCR::HTTPInteraction
32
+ request: !ruby/struct:VCR::Request
33
+ method: :get
34
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=RunInstances&ImageId=ami-00000002&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=dvPNbClu44bc4nKLl6ikjJ98zeok9OZmuXEZVhi4XJE%3D
35
+ body:
36
+ headers:
37
+ accept:
38
+ - application/xml
39
+ connection:
40
+ - keep-alive
41
+ keep-alive:
42
+ - 30
43
+ response: !ruby/struct:VCR::Response
44
+ status: !ruby/struct:VCR::ResponseStatus
45
+ code: 200
46
+ message: OK
47
+ headers:
48
+ content-type:
49
+ - text/xml
50
+ content-length:
51
+ - "779"
52
+ date:
53
+ - Wed, 20 Apr 2011 00:19:57 GMT
54
+ connection:
55
+ - keep-alive
56
+ body: <?xml version="1.0" ?><RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>2O51U9ZJH0JQA9ZM-TW3</requestId><ownerId>sandbox</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><reservationId>r-z02bbq58</reservationId><instancesSet><item><displayDescription/><displayName>Server 236</displayName><keyName/><instanceId>i-000000ec</instanceId><instanceState><code>0</code><name>scheduling</name></instanceState><publicDnsName/><imageId>ami-00000002</imageId><productCodesSet/><privateDnsName/><dnsName/><launchTime>2011-04-20T00:19:57Z</launchTime><placement><availabilityZone>unknown zone</availabilityZone></placement><amiLaunchIndex>0</amiLaunchIndex><instanceType>m1.small</instanceType></item></instancesSet></RunInstancesResponse>
57
+ http_version: "1.1"
58
+ - !ruby/struct:VCR::HTTPInteraction
59
+ request: !ruby/struct:VCR::Request
60
+ method: :get
61
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=TerminateInstances&InstanceId.1=i-000000ec&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=cI%2BFK2EyEZqnN%2F2AtDSjyUG2Vn8M3yPQmQJVYpkh7xM%3D
6
62
  body:
7
63
  headers:
8
64
  accept:
@@ -21,8 +77,8 @@
21
77
  content-length:
22
78
  - "192"
23
79
  date:
24
- - Tue, 15 Mar 2011 07:17:32 GMT
80
+ - Wed, 20 Apr 2011 00:19:58 GMT
25
81
  connection:
26
82
  - keep-alive
27
- body: <?xml version="1.0" ?><TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>ZRGV11L69TETMPHA7UBY</requestId><return>true</return></TerminateInstancesResponse>
83
+ body: <?xml version="1.0" ?><TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>5FO41EHXKKUMVVYF-U1U</requestId><return>true</return></TerminateInstancesResponse>
28
84
  http_version: "1.1"
@@ -26,3 +26,84 @@
26
26
  - keep-alive
27
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"
29
+ - !ruby/struct:VCR::HTTPInteraction
30
+ request: !ruby/struct:VCR::Request
31
+ method: :get
32
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=RunInstances&ImageId=ami-00000002&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=dvPNbClu44bc4nKLl6ikjJ98zeok9OZmuXEZVhi4XJE%3D
33
+ body:
34
+ headers:
35
+ accept:
36
+ - application/xml
37
+ connection:
38
+ - keep-alive
39
+ keep-alive:
40
+ - 30
41
+ response: !ruby/struct:VCR::Response
42
+ status: !ruby/struct:VCR::ResponseStatus
43
+ code: 200
44
+ message: OK
45
+ headers:
46
+ content-type:
47
+ - text/xml
48
+ content-length:
49
+ - "779"
50
+ date:
51
+ - Wed, 20 Apr 2011 00:21:41 GMT
52
+ connection:
53
+ - keep-alive
54
+ body: <?xml version="1.0" ?><RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>C1C4JTM9HQLHY-07F0LK</requestId><ownerId>sandbox</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><reservationId>r-628v5if0</reservationId><instancesSet><item><displayDescription/><displayName>Server 237</displayName><keyName/><instanceId>i-000000ed</instanceId><instanceState><code>0</code><name>scheduling</name></instanceState><publicDnsName/><imageId>ami-00000002</imageId><productCodesSet/><privateDnsName/><dnsName/><launchTime>2011-04-20T00:21:41Z</launchTime><placement><availabilityZone>unknown zone</availabilityZone></placement><amiLaunchIndex>0</amiLaunchIndex><instanceType>m1.small</instanceType></item></instancesSet></RunInstancesResponse>
55
+ http_version: "1.1"
56
+ - !ruby/struct:VCR::HTTPInteraction
57
+ request: !ruby/struct:VCR::Request
58
+ method: :get
59
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=DescribeInstances&InstanceId.1=i-000000ed&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=jrjFZCXmyowXw%2B2k7h8wH3qyk0BQVU8n%2B2TWNK3HV6g%3D
60
+ body:
61
+ headers:
62
+ accept:
63
+ - application/xml
64
+ connection:
65
+ - keep-alive
66
+ keep-alive:
67
+ - 30
68
+ response: !ruby/struct:VCR::Response
69
+ status: !ruby/struct:VCR::ResponseStatus
70
+ code: 200
71
+ message: OK
72
+ headers:
73
+ content-type:
74
+ - text/xml
75
+ content-length:
76
+ - "835"
77
+ date:
78
+ - Wed, 20 Apr 2011 00:21:41 GMT
79
+ connection:
80
+ - keep-alive
81
+ body: <?xml version="1.0" ?><DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>D865OBZP32T1956VCWOL</requestId><reservationSet><item><ownerId>sandbox</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><reservationId>r-628v5if0</reservationId><instancesSet><item><displayDescription/><displayName>Server 237</displayName><keyName/><instanceId>i-000000ed</instanceId><instanceState><code>0</code><name>scheduling</name></instanceState><publicDnsName/><imageId>ami-00000002</imageId><productCodesSet/><privateDnsName/><dnsName/><launchTime>2011-04-20T00:21:41Z</launchTime><placement><availabilityZone>unknown zone</availabilityZone></placement><amiLaunchIndex>0</amiLaunchIndex><instanceType>m1.small</instanceType></item></instancesSet></item></reservationSet></DescribeInstancesResponse>
82
+ http_version: "1.1"
83
+ - !ruby/struct:VCR::HTTPInteraction
84
+ request: !ruby/struct:VCR::Request
85
+ method: :get
86
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=TerminateInstances&InstanceId.1=i-000000ed&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=B7PsAumCf9ZOpZGOyh8OS8YyKaaAqmsj7xjmDgdt%2FRY%3D
87
+ body:
88
+ headers:
89
+ accept:
90
+ - application/xml
91
+ connection:
92
+ - keep-alive
93
+ keep-alive:
94
+ - 30
95
+ response: !ruby/struct:VCR::Response
96
+ status: !ruby/struct:VCR::ResponseStatus
97
+ code: 200
98
+ message: OK
99
+ headers:
100
+ content-type:
101
+ - text/xml
102
+ content-length:
103
+ - "192"
104
+ date:
105
+ - Wed, 20 Apr 2011 00:21:42 GMT
106
+ connection:
107
+ - keep-alive
108
+ body: <?xml version="1.0" ?><TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>PSPM06NVDVP6D0YG68JI</requestId><return>true</return></TerminateInstancesResponse>
109
+ http_version: "1.1"
@@ -2,7 +2,34 @@
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=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
5
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=RunInstances&ImageId=ami-00000002&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=dvPNbClu44bc4nKLl6ikjJ98zeok9OZmuXEZVhi4XJE%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: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "779"
23
+ date:
24
+ - Wed, 20 Apr 2011 00:51:25 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>AMUV50O-1WLT6WQ3WYMV</requestId><ownerId>sandbox</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><reservationId>r-44vkyv9b</reservationId><instancesSet><item><displayDescription/><displayName>Server 239</displayName><keyName/><instanceId>i-000000ef</instanceId><instanceState><code>0</code><name>scheduling</name></instanceState><publicDnsName/><imageId>ami-00000002</imageId><productCodesSet/><privateDnsName/><dnsName/><launchTime>2011-04-20T00:51:24Z</launchTime><placement><availabilityZone>unknown zone</availabilityZone></placement><amiLaunchIndex>0</amiLaunchIndex><instanceType>m1.small</instanceType></item></instancesSet></RunInstancesResponse>
28
+ http_version: "1.1"
29
+ - !ruby/struct:VCR::HTTPInteraction
30
+ request: !ruby/struct:VCR::Request
31
+ method: :get
32
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=RebootInstances&InstanceId.1=i-000000ef&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=A5hBJbTymtZtydfWvyyFEHSXEBsxnVpsQ3h7sDEyOws%3D
6
33
  body:
7
34
  headers:
8
35
  accept:
@@ -21,8 +48,35 @@
21
48
  content-length:
22
49
  - "186"
23
50
  date:
24
- - Tue, 15 Mar 2011 07:14:26 GMT
51
+ - Wed, 20 Apr 2011 00:51:25 GMT
52
+ connection:
53
+ - keep-alive
54
+ body: <?xml version="1.0" ?><RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>CBMB-SENVERMR7YP74L8</requestId><return>true</return></RebootInstancesResponse>
55
+ http_version: "1.1"
56
+ - !ruby/struct:VCR::HTTPInteraction
57
+ request: !ruby/struct:VCR::Request
58
+ method: :get
59
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=TerminateInstances&InstanceId.1=i-000000ef&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=4IXs3jezqTAmF51ZWFmlF9v0XggRSTIBNpMeTGb24F0%3D
60
+ body:
61
+ headers:
62
+ accept:
63
+ - application/xml
64
+ connection:
65
+ - keep-alive
66
+ keep-alive:
67
+ - 30
68
+ response: !ruby/struct:VCR::Response
69
+ status: !ruby/struct:VCR::ResponseStatus
70
+ code: 200
71
+ message: OK
72
+ headers:
73
+ content-type:
74
+ - text/xml
75
+ content-length:
76
+ - "192"
77
+ date:
78
+ - Wed, 20 Apr 2011 00:51:26 GMT
25
79
  connection:
26
80
  - keep-alive
27
- body: <?xml version="1.0" ?><RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>TAXCQTEEWL235YLPR0RW</requestId><return>true</return></RebootInstancesResponse>
81
+ body: <?xml version="1.0" ?><TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>PMMN9KERMIQ6TSEFAUPD</requestId><return>true</return></TerminateInstancesResponse>
28
82
  http_version: "1.1"
@@ -0,0 +1,98 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=CreateKeyPair&KeyName=vcr_keypair&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=nsSTE0iCZRsW69%2By%2FwApLn%2F%2FvihYu9O8PhdH8TeMPuk%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: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "1185"
23
+ date:
24
+ - Mon, 18 Apr 2011 20:55:53 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: |-
28
+ <?xml version="1.0" ?><CreateKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>WPW1IN8N9ZREMGDOCN0B</requestId><keyMaterial>-----BEGIN RSA PRIVATE KEY-----
29
+ MIICXQIBAAKBgQDN3uZ4zD+GICDeKLraQng+Lbht9S5IdCWUXwuXgM449U/d3I1C
30
+ Vjo3yvwXBcqSELmnjnSFAUIYMy0xLhNbAgu7x0DL1ghR7Kt50aonjWn8YsQVlXKS
31
+ BTvXNx6UTeJHM1pc50j8su6Se5VElYdgUvQLS8HFtseGFfszzNpuiscvowIDAQAB
32
+ AoGAKLoQ9BLL+le+yNRb6rO9n+dhlfcsGc9IY+rNm0IzCdeV3jk0hMwUJld0uYU+
33
+ xtiiMcCf0nQmRC1TomgQEi/8a+WvufPrlCoVQC+wFevi211hPOPLhlQwhw2Mu2TG
34
+ SSYHQaiwGN7RCN+1yhDP7Q3GDQvO6nIKLVWEuFdrOlCVwWkCQQDoHa7Z8DpD1PDq
35
+ bGpg3YdCWoPyYI4ekBbqjSfSu9M1VmXC3i8NXu+z3IncolXoDSPSkk8Y4Bn6TB90
36
+ /ZJY6ZRdAkEA4w3fzO5ykwfkpFaRFTvP5FClEN3if1Nx1D5Q8iSKD70qESF1JjRl
37
+ 7f62NVm9MvD1TEjzIfMLhPIoV7aZQueT/wJBAJuEt9BhukgUdk460ZORGb0FdH6C
38
+ 3vXvSMtiRBpXqg2Ek63au9/TifsSenQPeEt/8k51pPVfwUgIlNMHynQ0HCkCQHlI
39
+ TPaLnDn7ql86Om9MLsU3aqSy0SzQJuqHivd9Gx5DHjheVdRdguD5AN1InS6b1Xu1
40
+ L+I/kDSooXIRAJbjWoMCQQCxcdWLY9kJ3uA07INjPcubMS9n1uVXP7GOxq2qnbie
41
+ LqGubhK2TyX0p4i9Wez4bU1lEssiko/0UlSHUaT7YDC4
42
+ -----END RSA PRIVATE KEY-----
43
+ </keyMaterial><keyName>vcr_keypair</keyName><keyFingerprint>bd:b8:23:25:7b:e4:44:08:c7:7b:ba:7a:64:53:6e:e4</keyFingerprint></CreateKeyPairResponse>
44
+ http_version: "1.1"
45
+ - !ruby/struct:VCR::HTTPInteraction
46
+ request: !ruby/struct:VCR::Request
47
+ method: :get
48
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=DescribeKeyPairs&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=EzXyh5M6TYzlvRYb9Wj1%2B91VPk7F7gjLDiOB1YJBcxE%3D
49
+ body:
50
+ headers:
51
+ accept:
52
+ - application/xml
53
+ connection:
54
+ - keep-alive
55
+ keep-alive:
56
+ - 30
57
+ response: !ruby/struct:VCR::Response
58
+ status: !ruby/struct:VCR::ResponseStatus
59
+ code: 200
60
+ message: OK
61
+ headers:
62
+ content-type:
63
+ - text/xml
64
+ content-length:
65
+ - "307"
66
+ date:
67
+ - Mon, 18 Apr 2011 20:55:54 GMT
68
+ connection:
69
+ - keep-alive
70
+ body: <?xml version="1.0" ?><DescribeKeyPairsResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>MHQ67OQYIXIVLDIET6C8</requestId><keySet><item><keyName>vcr_keypair</keyName><keyFingerprint>bd:b8:23:25:7b:e4:44:08:c7:7b:ba:7a:64:53:6e:e4</keyFingerprint></item></keySet></DescribeKeyPairsResponse>
71
+ http_version: "1.1"
72
+ - !ruby/struct:VCR::HTTPInteraction
73
+ request: !ruby/struct:VCR::Request
74
+ method: :get
75
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=DeleteKeyPair&KeyName=vcr_keypair&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=xw%2B0gbB6VccXI3wTHxxUIbJp%2BIrft7eXt7fZIFvVpW0%3D
76
+ body:
77
+ headers:
78
+ accept:
79
+ - application/xml
80
+ connection:
81
+ - keep-alive
82
+ keep-alive:
83
+ - 30
84
+ response: !ruby/struct:VCR::Response
85
+ status: !ruby/struct:VCR::ResponseStatus
86
+ code: 200
87
+ message: OK
88
+ headers:
89
+ content-type:
90
+ - text/xml
91
+ content-length:
92
+ - "182"
93
+ date:
94
+ - Mon, 18 Apr 2011 20:55:54 GMT
95
+ connection:
96
+ - keep-alive
97
+ body: <?xml version="1.0" ?><DeleteKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>ENCNQK2Y3RH-LK6UFM19</requestId><return>true</return></DeleteKeyPairResponse>
98
+ http_version: "1.1"
@@ -0,0 +1,28 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=DescribeKeyPairs&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=EzXyh5M6TYzlvRYb9Wj1%2B91VPk7F7gjLDiOB1YJBcxE%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: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "176"
23
+ date:
24
+ - Mon, 18 Apr 2011 19:00:15 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><DescribeKeyPairsResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>24ENVUUIYCS9FFZR9C2V</requestId><keySet/></DescribeKeyPairsResponse>
28
+ http_version: "1.1"
@@ -0,0 +1,71 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=CreateKeyPair&KeyName=vcr_keypair&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=nsSTE0iCZRsW69%2By%2FwApLn%2F%2FvihYu9O8PhdH8TeMPuk%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: 200
17
+ message: OK
18
+ headers:
19
+ content-type:
20
+ - text/xml
21
+ content-length:
22
+ - "1185"
23
+ date:
24
+ - Mon, 18 Apr 2011 20:56:32 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: |-
28
+ <?xml version="1.0" ?><CreateKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>B99NA47ORTOGG404UWUN</requestId><keyMaterial>-----BEGIN RSA PRIVATE KEY-----
29
+ MIICXAIBAAKBgQDP0jDq0BjEkPYMV27sbph/yabIP6UkuVLvA/xp3BCB3zE7VZnB
30
+ Px4NDwySozqJ93BydwkkcEs6kok6IgPenVUYix90QgLKSaNH44ywCL/aHe0jpePJ
31
+ S1nDsUqw3JyNTbywr7ipO4Ca6h672WNYqTNbtKO7edus5LNp+uwSggU9gwIDAQAB
32
+ AoGAe9RYhXGdcHKXyV7Hn2V+xJXZJPSXaDxs6DJN0p3n0Bq3cQ1eYkFDnLBc43sT
33
+ RGYFwI6hCe9HRA1Qay0ddSX2L2jGHuAUh7A6rZPBRGV4k1hF7mNx1OMWkcZaHHhW
34
+ P8SVFhB74GfrSbJpuYUyFsiSyog2Fn3PcZ74uhZ0fLw0aKECQQDm6A12Ibaa4kzv
35
+ 3uFd6RM2JttIREBhZgVTYEgmAA/Va9efNmTzYLxf97LqTutTz40oRtXJ+D7jJ/38
36
+ MzLrA7sLAkEA5mfjyTizrQ9f5Mdi+oYO0Njy75qhBQs4cObWXGnM/43j7G0670VD
37
+ +KwW+7jD9Mmzi5yJCuh7ODeD3PTgXzxSaQJAdkqPCuO+jp48V+5QejG7O9SwJdeB
38
+ O+Rt+garL3x8oBM9RT0yflQibO+SYuLHQApmACo5v9xDK1ADl74K6cbhfQJBALWb
39
+ w88Ss4VAbhx9EMZZLoptxqcX4b2BB57uRJ6ZAm2YoMP1oROCLD5xHriQ/VwQNEZi
40
+ Px7q+lzoXTanicdnW6kCQAtVne9G7Ur052QJhHdn2GzSo/RDfS8PVYu/cZP1QCl7
41
+ bUPBKecyVkWsgRLvOsAXvwYzX0wXvr2zD5bk9MItflc=
42
+ -----END RSA PRIVATE KEY-----
43
+ </keyMaterial><keyName>vcr_keypair</keyName><keyFingerprint>70:a6:d6:d9:b9:2e:a4:a4:d8:d7:45:55:48:69:69:b3</keyFingerprint></CreateKeyPairResponse>
44
+ http_version: "1.1"
45
+ - !ruby/struct:VCR::HTTPInteraction
46
+ request: !ruby/struct:VCR::Request
47
+ method: :get
48
+ uri: http://10.3.170.32:8773/services/Cloud?AWSAccessKeyId=beeb1bd0-c920-4352-b078-5f297a0899a0%3Asandbox&Action=DeleteKeyPair&KeyName=vcr_keypair&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=xw%2B0gbB6VccXI3wTHxxUIbJp%2BIrft7eXt7fZIFvVpW0%3D
49
+ body:
50
+ headers:
51
+ accept:
52
+ - application/xml
53
+ connection:
54
+ - keep-alive
55
+ keep-alive:
56
+ - 30
57
+ response: !ruby/struct:VCR::Response
58
+ status: !ruby/struct:VCR::ResponseStatus
59
+ code: 200
60
+ message: OK
61
+ headers:
62
+ content-type:
63
+ - text/xml
64
+ content-length:
65
+ - "182"
66
+ date:
67
+ - Mon, 18 Apr 2011 20:56:32 GMT
68
+ connection:
69
+ - keep-alive
70
+ body: <?xml version="1.0" ?><DeleteKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>BZ18R7KF1LZCP77Z02YN</requestId><return>true</return></DeleteKeyPairResponse>
71
+ http_version: "1.1"