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,61 @@
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=ModifyUserRole&Operation=remove&Project=foobar_project&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=foobar_user&Version=2010-11-15&Signature=krwMoJQAXUQeyriglebwYMGHCABT8hb0GYINFGMSpqY%3D
5
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=RegisterUser&Name=vcr_user&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=nthXQq43tPrgjgiuaeCImXCS3kfDdv47YuT6tzxZ6wg%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
+ - "313"
23
+ date:
24
+ - Tue, 19 Apr 2011 00:17:08 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>K4828H7DUYUN8A9ETWJM</requestId><username>vcr_user</username><secretkey>a9689f0e-5328-4c65-819c-785b5d09fc8a</secretkey><accesskey>02c02fab-4bc3-4ee8-909c-ca01f504fec7</accesskey><file/></RegisterUserResponse>
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/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=ModifyUserRole&Operation=add&Project=sandbox&Role=netadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=3ZCD8flgSPSMRir4JOkoYS6ZuFpbevpyMn%2F6wnOnvdE%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
+ - "184"
50
+ date:
51
+ - Tue, 19 Apr 2011 00:17:08 GMT
52
+ connection:
53
+ - keep-alive
54
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>X09AI5FI0TO7QV5K-C2-</requestId><return>true</return></ModifyUserRoleResponse>
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/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=ModifyUserRole&Operation=remove&Project=sandbox&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=9NDSbN2e7rJYiFuVicbaY%2F0VUk01loPiU4GkO8%2BUGto%3D
6
60
  body:
7
61
  headers:
8
62
  accept:
@@ -21,15 +75,15 @@
21
75
  content-length:
22
76
  - "184"
23
77
  date:
24
- - Thu, 10 Mar 2011 07:10:17 GMT
78
+ - Tue, 19 Apr 2011 00:17:09 GMT
25
79
  connection:
26
80
  - keep-alive
27
- body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>JL3LKW1H1A1DO7KBVD15</requestId><return>true</return></ModifyUserRoleResponse>
81
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>JXFZ5AX1SHLDGDKS2KOQ</requestId><return>true</return></ModifyUserRoleResponse>
28
82
  http_version: "1.1"
29
83
  - !ruby/struct:VCR::HTTPInteraction
30
84
  request: !ruby/struct:VCR::Request
31
85
  method: :get
32
- uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=ModifyUserRole&Operation=remove&Project=vcr_project&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr&Version=2010-11-15&Signature=2mMGaOyof1Hdyv5CmdYWbFN7Z0uyxVohgn5kFAMqZQ0%3D
86
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=DeregisterUser&Name=vcr_user&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=aa2vpTcy0i2JfYcxUgDitUVqb3aPgH1FzgCcbQc2D5E%3D
33
87
  body:
34
88
  headers:
35
89
  accept:
@@ -48,8 +102,8 @@
48
102
  content-length:
49
103
  - "184"
50
104
  date:
51
- - Tue, 15 Mar 2011 05:18:20 GMT
105
+ - Tue, 19 Apr 2011 00:17:09 GMT
52
106
  connection:
53
107
  - keep-alive
54
- body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>R7G-5-D5U8BJT5FVVN6T</requestId><return>true</return></ModifyUserRoleResponse>
108
+ body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>B68WKCTQX2H1QFI89682</requestId><return>true</return></DeregisterUserResponse>
55
109
  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=RegisterUser&Name=vcr&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=YEFCRpUelsvn%2BfIkQXASpKbVzaHsOtGF4qGGUU9zoVM%3D
5
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=RegisterUser&Name=vcr_user&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=nthXQq43tPrgjgiuaeCImXCS3kfDdv47YuT6tzxZ6wg%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
- - "308"
22
+ - "313"
23
23
  date:
24
- - Tue, 15 Mar 2011 06:13:07 GMT
24
+ - Mon, 18 Apr 2011 22:52:53 GMT
25
25
  connection:
26
26
  - keep-alive
27
- body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>DKYR4F9Z3ZYG0W30UAGK</requestId><username>vcr</username><secretkey>a0d9ff15-2b76-416c-b6fb-03f63c4b8413</secretkey><accesskey>285db1a2-4c3b-4f35-a36f-1e5495fa94f2</accesskey><file/></RegisterUserResponse>
27
+ body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>ESJH2C7SZU3ZKASQF-MM</requestId><username>vcr_user</username><secretkey>19257978-0584-46da-af88-ae3f9a23895b</secretkey><accesskey>831ded0a-5dfa-4f66-b2b1-b69e8bbb448c</accesskey><file/></RegisterUserResponse>
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/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=DeregisterUser&Name=vcr_user&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=aa2vpTcy0i2JfYcxUgDitUVqb3aPgH1FzgCcbQc2D5E%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
+ - "184"
50
+ date:
51
+ - Mon, 18 Apr 2011 22:52:53 GMT
52
+ connection:
53
+ - keep-alive
54
+ body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>KS0V0UZWC0QE6ZKR703C</requestId><return>true</return></DeregisterUserResponse>
28
55
  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/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DeregisterUser&Name=vcr&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=WrWo6oc%2FZvRQsdf8SXCxlq1lmijmRfe8py68ZtZRGiA%3D
5
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=RegisterUser&Name=vcr_user&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=nthXQq43tPrgjgiuaeCImXCS3kfDdv47YuT6tzxZ6wg%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
+ - "313"
23
+ date:
24
+ - Mon, 18 Apr 2011 22:53:40 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>UNI2KGM7LXOUZIXV67PQ</requestId><username>vcr_user</username><secretkey>bcba99a9-c701-4ee8-bfe4-d6ef6ff2ba14</secretkey><accesskey>2854d530-ddf2-4c88-8ce0-5ac476f759e8</accesskey><file/></RegisterUserResponse>
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/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=DeregisterUser&Name=vcr_user&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=aa2vpTcy0i2JfYcxUgDitUVqb3aPgH1FzgCcbQc2D5E%3D
6
33
  body:
7
34
  headers:
8
35
  accept:
@@ -21,8 +48,8 @@
21
48
  content-length:
22
49
  - "184"
23
50
  date:
24
- - Tue, 15 Mar 2011 06:15:50 GMT
51
+ - Mon, 18 Apr 2011 22:53:40 GMT
25
52
  connection:
26
53
  - keep-alive
27
- body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>HEYKNOAWV59YZQZMANT8</requestId><return>true</return></DeregisterUserResponse>
54
+ body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>6-8PQOR01HAGKCLS0X3U</requestId><return>true</return></DeregisterUserResponse>
28
55
  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=DescribeUser&Name=vcr&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=m%2FqxB2OLz8sipjXCa93WzLYCd%2BKTYv%2B9EPlnUNPQpA4%3D
5
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=RegisterUser&Name=vcr_user&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=nthXQq43tPrgjgiuaeCImXCS3kfDdv47YuT6tzxZ6wg%3D
6
6
  body:
7
7
  headers:
8
8
  accept:
@@ -19,10 +19,64 @@
19
19
  content-type:
20
20
  - text/xml
21
21
  content-length:
22
- - "308"
22
+ - "313"
23
23
  date:
24
- - Tue, 15 Mar 2011 06:14:14 GMT
24
+ - Mon, 18 Apr 2011 22:58:04 GMT
25
25
  connection:
26
26
  - keep-alive
27
- body: <?xml version="1.0" ?><DescribeUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>QPR24WJDQF3FGODJQC9A</requestId><username>vcr</username><secretkey>a0d9ff15-2b76-416c-b6fb-03f63c4b8413</secretkey><accesskey>285db1a2-4c3b-4f35-a36f-1e5495fa94f2</accesskey><file/></DescribeUserResponse>
27
+ body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>B9XZ65Z8MJLV32J2BUP8</requestId><username>vcr_user</username><secretkey>8419a43b-50d6-46b0-94d8-72d930c22bc8</secretkey><accesskey>dd31a057-2276-4261-b67b-7dcf969f593e</accesskey><file/></RegisterUserResponse>
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/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=DescribeUser&Name=vcr_user&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=k9UF0F%2FnnB9rUpJwW0NaSJelQRaqIV29yfvi%2FBWQ8kc%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
+ - "313"
50
+ date:
51
+ - Mon, 18 Apr 2011 22:58:05 GMT
52
+ connection:
53
+ - keep-alive
54
+ body: <?xml version="1.0" ?><DescribeUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>E4X7TED-6ZFQ8FNBP918</requestId><username>vcr_user</username><secretkey>8419a43b-50d6-46b0-94d8-72d930c22bc8</secretkey><accesskey>dd31a057-2276-4261-b67b-7dcf969f593e</accesskey><file/></DescribeUserResponse>
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/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=DeregisterUser&Name=vcr_user&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=aa2vpTcy0i2JfYcxUgDitUVqb3aPgH1FzgCcbQc2D5E%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
+ - "184"
77
+ date:
78
+ - Mon, 18 Apr 2011 22:58:05 GMT
79
+ connection:
80
+ - keep-alive
81
+ body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>82MH0H6W2AXWDHY9DPUP</requestId><return>true</return></DeregisterUserResponse>
28
82
  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=DescribeUser&Name=invalid_user_name&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=5K4TfIF6QONc2CZjSsZHsgixj61JYDO4c1B1TndWe9A%3D
5
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=DescribeUser&Name=invalid_user_name&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=Bmnub9I3Q0vIRkNMdguJV1urWPKgBptH%2FP03QwgMwyk%3D
6
6
  body:
7
7
  headers:
8
8
  accept:
@@ -21,10 +21,10 @@
21
21
  content-length:
22
22
  - "190"
23
23
  date:
24
- - Tue, 15 Mar 2011 06:15:34 GMT
24
+ - Mon, 18 Apr 2011 23:01:30 GMT
25
25
  connection:
26
26
  - keep-alive
27
27
  body: |-
28
28
  <?xml version="1.0"?>
29
- <Response><Errors><Error><Code>NotFound</Code><Message>No user for id invalid_user_name</Message></Error></Errors><RequestID>BX7MM3QZDRBAAPYYI0WM</RequestID></Response>
29
+ <Response><Errors><Error><Code>NotFound</Code><Message>No user for id invalid_user_name</Message></Error></Errors><RequestID>IN7NL6AYPJ72GJ2L322-</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/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
5
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=RegisterUser&Name=vcr_user&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=nthXQq43tPrgjgiuaeCImXCS3kfDdv47YuT6tzxZ6wg%3D
6
6
  body:
7
7
  headers:
8
8
  accept:
@@ -19,17 +19,44 @@
19
19
  content-type:
20
20
  - text/xml
21
21
  content-length:
22
- - "246"
22
+ - "313"
23
23
  date:
24
- - Tue, 15 Mar 2011 15:43:23 GMT
24
+ - Mon, 18 Apr 2011 23:10:48 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>PF9RQ7CQ5-9XNELUEORV</requestId><members><item><member>vcr_secondary_user</member></item></members></DescribeProjectMembersResponse>
27
+ body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>OG90036AOAHF32-MF9E7</requestId><username>vcr_user</username><secretkey>18d07853-b56a-4a67-a131-3f39043254e9</secretkey><accesskey>c2214fcf-bf30-4c17-8970-488b96344caa</accesskey><file/></RegisterUserResponse>
28
28
  http_version: "1.1"
29
29
  - !ruby/struct:VCR::HTTPInteraction
30
30
  request: !ruby/struct:VCR::Request
31
31
  method: :get
32
- uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=ModifyUserRole&Operation=add&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr&Version=2010-11-15&Signature=1pr9CCVAt6dzAZAfOJnJqeNvOfzpyRZ8bbicbHva%2B%2BQ%3D
32
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=DescribeProjectMembers&Name=sandbox&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=TNzeGrVLbfQ8DFlrUFUA7poSyY69GIrLZd%2FZX3RDfno%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
+ - "376"
50
+ date:
51
+ - Mon, 18 Apr 2011 23:10:48 GMT
52
+ connection:
53
+ - keep-alive
54
+ body: <?xml version="1.0" ?><DescribeProjectMembersResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>VEFIU8XXKN66KVJDD4A-</requestId><members><item><member>root</member></item><item><member>jk520u</member></item><item><member>jd265j</member></item><item><member>kb718q</member></item><item><member>pe623x</member></item></members></DescribeProjectMembersResponse>
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/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=ModifyUserRole&Operation=add&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=nwaWtt4r1uicUNAcS1KYOWuwv94o0HiTcFfMoh3jM6o%3D
33
60
  body:
34
61
  headers:
35
62
  accept:
@@ -48,15 +75,15 @@
48
75
  content-length:
49
76
  - "184"
50
77
  date:
51
- - Tue, 15 Mar 2011 15:43:23 GMT
78
+ - Mon, 18 Apr 2011 23:10:49 GMT
52
79
  connection:
53
80
  - keep-alive
54
- body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>RT0LZ6L8IGGE1Y6MBK3E</requestId><return>true</return></ModifyUserRoleResponse>
81
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>JFV25BUF0LYDPDCZOHG2</requestId><return>true</return></ModifyUserRoleResponse>
55
82
  http_version: "1.1"
56
83
  - !ruby/struct:VCR::HTTPInteraction
57
84
  request: !ruby/struct:VCR::Request
58
85
  method: :get
59
- uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=ModifyUserRole&Operation=add&Project=vcr_project&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr&Version=2010-11-15&Signature=GTVgObXtEYZbqocvTtCTVfe0V6MH6cqXMGxLcp1CypU%3D
86
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=ModifyUserRole&Operation=add&Project=sandbox&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=SpZpNjE%2FU%2F4WE8bj34u34Ooc0ObM0R%2FJOfWcU228g8s%3D
60
87
  body:
61
88
  headers:
62
89
  accept:
@@ -75,15 +102,15 @@
75
102
  content-length:
76
103
  - "184"
77
104
  date:
78
- - Tue, 15 Mar 2011 15:43:24 GMT
105
+ - Mon, 18 Apr 2011 23:10:49 GMT
79
106
  connection:
80
107
  - keep-alive
81
- body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>JU8BSHT2-9EZE62GTX0E</requestId><return>true</return></ModifyUserRoleResponse>
108
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>PFL3J5Z0TQUO3COG733Z</requestId><return>true</return></ModifyUserRoleResponse>
82
109
  http_version: "1.1"
83
110
  - !ruby/struct:VCR::HTTPInteraction
84
111
  request: !ruby/struct:VCR::Request
85
112
  method: :get
86
- uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=ModifyProjectMember&Operation=add&Project=vcr_project&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr&Version=2010-11-15&Signature=kUeSgymY2fgmy5Hac0u67%2FwqzFB7TZQAl%2BcIrYIZT3I%3D
113
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=ModifyProjectMember&Operation=add&Project=sandbox&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=IrvE46vanO2TpR4KZT%2FTyvmyERyATesOdA9iY8Wxlmo%3D
87
114
  body:
88
115
  headers:
89
116
  accept:
@@ -102,8 +129,35 @@
102
129
  content-length:
103
130
  - "194"
104
131
  date:
105
- - Tue, 15 Mar 2011 15:43:24 GMT
132
+ - Mon, 18 Apr 2011 23:10:49 GMT
133
+ connection:
134
+ - keep-alive
135
+ body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>L8UXNC2P810RA-P1Z-KJ</requestId><return>true</return></ModifyProjectMemberResponse>
136
+ http_version: "1.1"
137
+ - !ruby/struct:VCR::HTTPInteraction
138
+ request: !ruby/struct:VCR::Request
139
+ method: :get
140
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=DeregisterUser&Name=vcr_user&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=aa2vpTcy0i2JfYcxUgDitUVqb3aPgH1FzgCcbQc2D5E%3D
141
+ body:
142
+ headers:
143
+ accept:
144
+ - application/xml
145
+ connection:
146
+ - keep-alive
147
+ keep-alive:
148
+ - 30
149
+ response: !ruby/struct:VCR::Response
150
+ status: !ruby/struct:VCR::ResponseStatus
151
+ code: 200
152
+ message: OK
153
+ headers:
154
+ content-type:
155
+ - text/xml
156
+ content-length:
157
+ - "184"
158
+ date:
159
+ - Mon, 18 Apr 2011 23:10:51 GMT
106
160
  connection:
107
161
  - keep-alive
108
- body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>OQS0QUX81FJ-YTVEXLGF</requestId><return>true</return></ModifyProjectMemberResponse>
162
+ body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>HTMVVLNLJMWJCRV82NJY</requestId><return>true</return></DeregisterUserResponse>
109
163
  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=DescribeUserRoles&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr&Version=2010-11-15&Signature=4cL%2F8Xee6tVO2FdaLCDFqwMjUtcI7ZEGQ3jrObIDnME%3D
5
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=DescribeUserRoles&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=XwheiYoIglQYt3%2BRvx8MckigXMm8omhhgpwvpJh9f7g%3D
6
6
  body:
7
7
  headers:
8
8
  accept:
@@ -21,15 +21,15 @@
21
21
  content-length:
22
22
  - "218"
23
23
  date:
24
- - Tue, 15 Mar 2011 18:54:31 GMT
24
+ - Mon, 18 Apr 2011 23:10:50 GMT
25
25
  connection:
26
26
  - keep-alive
27
- body: <?xml version="1.0" ?><DescribeUserRolesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>20VUX7J0JXV5YAVXGB1K</requestId><roles><item><role>sysadmin</role></item></roles></DescribeUserRolesResponse>
27
+ body: <?xml version="1.0" ?><DescribeUserRolesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>W4RZ02Y3V95IREHB3UR3</requestId><roles><item><role>sysadmin</role></item></roles></DescribeUserRolesResponse>
28
28
  http_version: "1.1"
29
29
  - !ruby/struct:VCR::HTTPInteraction
30
30
  request: !ruby/struct:VCR::Request
31
31
  method: :get
32
- uri: http://10.1.170.32:8773/services/Admin/?AWSAccessKeyId=1d7a687b-0065-44d6-9611-5bf6c6c72424%3Aproduction&Action=DescribeUserRoles&Project=vcr_project&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr&Version=2010-11-15&Signature=%2BcyU1%2FtdIwdsSv93sPpEuIiqp98z9JrrgBUXFRG1%2BxU%3D
32
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=DescribeUserRoles&Project=sandbox&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=vnaYLhtJUGql3OrZXEngRuoYHKVjiN%2FV5sEY56vEooM%3D
33
33
  body:
34
34
  headers:
35
35
  accept:
@@ -48,15 +48,15 @@
48
48
  content-length:
49
49
  - "218"
50
50
  date:
51
- - Tue, 15 Mar 2011 18:54:31 GMT
51
+ - Mon, 18 Apr 2011 23:10:50 GMT
52
52
  connection:
53
53
  - keep-alive
54
- body: <?xml version="1.0" ?><DescribeUserRolesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>VQNU38MYFNW4Q4NM0JCT</requestId><roles><item><role>sysadmin</role></item></roles></DescribeUserRolesResponse>
54
+ body: <?xml version="1.0" ?><DescribeUserRolesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>QXUV-VPEMBWZ9FI8L5KM</requestId><roles><item><role>sysadmin</role></item></roles></DescribeUserRolesResponse>
55
55
  http_version: "1.1"
56
56
  - !ruby/struct:VCR::HTTPInteraction
57
57
  request: !ruby/struct:VCR::Request
58
58
  method: :get
59
- 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
59
+ uri: http://10.3.170.32:8773/services/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=DescribeProjectMembers&Name=sandbox&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=TNzeGrVLbfQ8DFlrUFUA7poSyY69GIrLZd%2FZX3RDfno%3D
60
60
  body:
61
61
  headers:
62
62
  accept:
@@ -73,10 +73,10 @@
73
73
  content-type:
74
74
  - text/xml
75
75
  content-length:
76
- - "279"
76
+ - "414"
77
77
  date:
78
- - Tue, 15 Mar 2011 18:54:31 GMT
78
+ - Mon, 18 Apr 2011 23:10:50 GMT
79
79
  connection:
80
80
  - keep-alive
81
- body: <?xml version="1.0" ?><DescribeProjectMembersResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>QDZIK8UQTQJPPZX8J6Q7</requestId><members><item><member>vcr</member></item><item><member>vcr_secondary_user</member></item></members></DescribeProjectMembersResponse>
81
+ body: <?xml version="1.0" ?><DescribeProjectMembersResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>XH25DDUVLFK-MAU9SZ2F</requestId><members><item><member>root</member></item><item><member>jk520u</member></item><item><member>jd265j</member></item><item><member>kb718q</member></item><item><member>pe623x</member></item><item><member>vcr_user</member></item></members></DescribeProjectMembersResponse>
82
82
  http_version: "1.1"