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,88 @@
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=add&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr&Version=2010-11-15&Signature=1pr9CCVAt6dzAZAfOJnJqeNvOfzpyRZ8bbicbHva%2B%2BQ%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:02:48 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>YS8H4FITJBD1JC34F3FK</requestId><username>vcr_user</username><secretkey>04d7642e-e1c9-4505-8429-ee8f7bbeca3c</secretkey><accesskey>47d95fb3-0be7-4dba-80fc-5e6c93a3a728</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&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=nwaWtt4r1uicUNAcS1KYOWuwv94o0HiTcFfMoh3jM6o%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:02:48 GMT
52
+ connection:
53
+ - keep-alive
54
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>WOVII2WYT5SDRJG93HL7</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=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
+ - Tue, 19 Apr 2011 00:02:48 GMT
79
+ connection:
80
+ - keep-alive
81
+ body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>LKO27H9LPTZW8PJVWVQC</requestId><return>true</return></DeregisterUserResponse>
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/Admin/?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=ModifyUserRole&Operation=remove&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=Ugaaj1Z%2FEHCZLAu5qOtN5Ui5TvT2tF2LFl%2FFYtNjZ9Q%3D
6
87
  body:
7
88
  headers:
8
89
  accept:
@@ -21,8 +102,8 @@
21
102
  content-length:
22
103
  - "184"
23
104
  date:
24
- - Tue, 15 Mar 2011 05:07:32 GMT
105
+ - Tue, 19 Apr 2011 00:02:49 GMT
25
106
  connection:
26
107
  - keep-alive
27
- body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>DPZFTX21RQ0UERB-B4OS</requestId><return>true</return></ModifyUserRoleResponse>
108
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>Q-B7IY3UJEEB1IPUHXOU</requestId><return>true</return></ModifyUserRoleResponse>
28
109
  http_version: "1.1"
@@ -2,7 +2,88 @@
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=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
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:03:50 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>GIZPXV55B3MYNJHW-T-M</requestId><username>vcr_user</username><secretkey>27ae8c88-461d-4f12-9fae-93b5565ab63c</secretkey><accesskey>ce9f04a9-a1c2-4bcf-a63f-ee8d6a675557</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=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=SpZpNjE%2FU%2F4WE8bj34u34Ooc0ObM0R%2FJOfWcU228g8s%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:03:50 GMT
52
+ connection:
53
+ - keep-alive
54
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>VM9-YYI1WG5RUDV07YIH</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=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
+ - Tue, 19 Apr 2011 00:03:50 GMT
79
+ connection:
80
+ - keep-alive
81
+ body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>MTF9ZA-YTH4B0NHKU0MX</requestId><return>true</return></DeregisterUserResponse>
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/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
87
  body:
7
88
  headers:
8
89
  accept:
@@ -21,8 +102,8 @@
21
102
  content-length:
22
103
  - "184"
23
104
  date:
24
- - Tue, 15 Mar 2011 05:08:35 GMT
105
+ - Tue, 19 Apr 2011 00:03:50 GMT
25
106
  connection:
26
107
  - keep-alive
27
- body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>SBKEJQ9XB7AU1H859OZV</requestId><return>true</return></ModifyUserRoleResponse>
108
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>13TKEYXC8NPY51SZXEE0</requestId><return>true</return></ModifyUserRoleResponse>
28
109
  http_version: "1.1"
@@ -2,7 +2,88 @@
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=add&Project=vcr_project&Role=netadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr&Version=2010-11-15&Signature=%2FS%2BG3qLo52kfwFMbcH5fKVAjId98%2BAlxUPfP54JGVFk%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:04:14 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>TYNXFZBIMIUHSNKL8EJX</requestId><username>vcr_user</username><secretkey>905e69a4-156e-4afd-bc7f-c86fd44df4f8</secretkey><accesskey>4fbe1bda-4320-4d54-a09e-a1d3a8da2626</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:04:15 GMT
52
+ connection:
53
+ - keep-alive
54
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>AKPZJBPEGVZE4125ZL4J</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=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
+ - Tue, 19 Apr 2011 00:04:15 GMT
79
+ connection:
80
+ - keep-alive
81
+ body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>2HWDLYVNMET9QZQ05HSX</requestId><return>true</return></DeregisterUserResponse>
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/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
87
  body:
7
88
  headers:
8
89
  accept:
@@ -21,8 +102,8 @@
21
102
  content-length:
22
103
  - "184"
23
104
  date:
24
- - Tue, 15 Mar 2011 05:11:49 GMT
105
+ - Tue, 19 Apr 2011 00:04:15 GMT
25
106
  connection:
26
107
  - keep-alive
27
- body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>BWORTYN9M6IKYPKBJLRD</requestId><return>true</return></ModifyUserRoleResponse>
108
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>6VMH4LQM4R1JYZ1LX1G0</requestId><return>true</return></ModifyUserRoleResponse>
28
109
  http_version: "1.1"
@@ -2,7 +2,88 @@
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&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr&Version=2010-11-15&Signature=QdOWdzDrVopzVzs60BmzBnoZBPQpnhyaAqj01L8BMi8%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:13:31 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>AN99099O5CJLGHS7NAY1</requestId><username>vcr_user</username><secretkey>c1844139-5783-4969-ab85-3c2584f9635d</secretkey><accesskey>204239ff-a234-41a5-abca-95cb34bbf7d8</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&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=nwaWtt4r1uicUNAcS1KYOWuwv94o0HiTcFfMoh3jM6o%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:13:31 GMT
52
+ connection:
53
+ - keep-alive
54
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>5T1UBJYSA8JGS2CZPX84</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&Role=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=Ugaaj1Z%2FEHCZLAu5qOtN5Ui5TvT2tF2LFl%2FFYtNjZ9Q%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
+ - Tue, 19 Apr 2011 00:13:31 GMT
79
+ connection:
80
+ - keep-alive
81
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>8WOCNF2O9WPRZX4NGL71</requestId><return>true</return></ModifyUserRoleResponse>
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/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
87
  body:
7
88
  headers:
8
89
  accept:
@@ -21,8 +102,8 @@
21
102
  content-length:
22
103
  - "184"
23
104
  date:
24
- - Tue, 15 Mar 2011 05:17:57 GMT
105
+ - Tue, 19 Apr 2011 00:13:32 GMT
25
106
  connection:
26
107
  - keep-alive
27
- body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>BSSS5JWQBFI1IFRGU5P-</requestId><return>true</return></ModifyUserRoleResponse>
108
+ body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>CVT6AQD069NIE-OXJR5O</requestId><return>true</return></DeregisterUserResponse>
28
109
  http_version: "1.1"
@@ -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:15:28 GMT
25
+ connection:
26
+ - keep-alive
27
+ body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>EZ3ILT5X1HS-KJSQKA1A</requestId><username>vcr_user</username><secretkey>f0d1fd84-c194-4288-af4e-b58df8c2efde</secretkey><accesskey>e65d5fdc-7817-4114-897d-26f6b09a4df1</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=sysadmin&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=SpZpNjE%2FU%2F4WE8bj34u34Ooc0ObM0R%2FJOfWcU228g8s%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:15:29 GMT
52
+ connection:
53
+ - keep-alive
54
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>JY457LJ2GZR-TB5SFPTV</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:09:41 GMT
78
+ - Tue, 19 Apr 2011 00:15:29 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>HLF4S58Z50BLSCH3DJ1J</requestId><return>true</return></ModifyUserRoleResponse>
81
+ body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>1YU5GWFLBOEDF3MVJNKN</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:11 GMT
105
+ - Tue, 19 Apr 2011 00:15:29 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>OSENEN7OO4I6AJ661FEO</requestId><return>true</return></ModifyUserRoleResponse>
108
+ body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>9MJQMG1AMJX45XWGBI-U</requestId><return>true</return></DeregisterUserResponse>
55
109
  http_version: "1.1"