nephophobia 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -0
- data/lib/nephophobia/client.rb +3 -3
- data/lib/nephophobia/compute.rb +70 -2
- data/lib/nephophobia/credential.rb +0 -19
- data/lib/nephophobia/project.rb +3 -0
- data/lib/nephophobia/role.rb +3 -0
- data/lib/nephophobia/user.rb +20 -0
- data/lib/nephophobia/version.rb +1 -1
- data/nephophobia.gemspec +2 -2
- data/test/cassettes/compute_allocate_address.yml +55 -0
- data/test/cassettes/compute_allocate_address_when_not_available.yml +30 -0
- data/test/cassettes/compute_associate_address.yml +136 -0
- data/test/cassettes/compute_disassociate_address.yml +163 -0
- data/test/cassettes/compute_release_address.yml +55 -0
- data/test/cassettes/project_add_member.yml +12 -12
- data/test/cassettes/project_all.yml +3 -3
- data/test/cassettes/project_all_with_user_name.yml +22 -22
- data/test/cassettes/project_create.yml +12 -12
- data/test/cassettes/project_destroy.yml +12 -12
- data/test/cassettes/project_find.yml +3 -3
- data/test/cassettes/project_find_with_invalid_project_name.yml +3 -3
- data/test/cassettes/project_member.yml +16 -16
- data/test/cassettes/project_members.yml +10 -10
- data/test/cassettes/project_members_with_invalid_project_name.yml +3 -3
- data/test/cassettes/project_remove_member.yml +12 -12
- data/test/cassettes/role_all.yml +15 -15
- data/test/cassettes/role_all_with_project_name.yml +15 -15
- data/test/cassettes/role_all_without_roles.yml +12 -12
- data/test/cassettes/role_create.yml +12 -12
- data/test/cassettes/role_create_with_project_name.yml +12 -12
- data/test/cassettes/role_create_with_project_name_and_role_name.yml +12 -12
- data/test/cassettes/role_destroy.yml +12 -12
- data/test/cassettes/role_destroy_with_project_name.yml +12 -12
- data/test/cassettes/role_destroy_with_project_name_and_role_name.yml +12 -12
- data/test/cassettes/user_create.yml +6 -6
- data/test/cassettes/user_credentials.yml +190 -0
- data/test/cassettes/user_destroy.yml +6 -6
- data/test/cassettes/user_find.yml +9 -9
- data/test/cassettes/user_find_with_invalid_user_name.yml +3 -3
- data/test/cassettes/user_register.yml +19 -19
- data/test/cassettes/user_register_asserts.yml +10 -10
- data/test/lib/nephophobia/compute_test.rb +104 -9
- data/test/lib/nephophobia/credential_test.rb +4 -17
- data/test/lib/nephophobia/user_test.rb +31 -0
- data/test/test_helper.rb +11 -0
- metadata +16 -4
data/test/cassettes/role_all.yml
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.3.170.32:8773/services/Admin
|
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=6AjzqntOVWOXKISXoh%2BEAq9jrsgrH%2BKnfpTSBzx%2B%2F6A%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -21,15 +21,15 @@
|
|
21
21
|
content-length:
|
22
22
|
- "313"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Fri, 27 May 2011 17:46:16 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>
|
27
|
+
body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>P8-6I2T-OOV1RDKOD8YL</requestId><username>vcr_user</username><secretkey>1dc20d0c-e8e8-41ad-b76c-a25cc2106102</secretkey><accesskey>0b30eb80-1b17-4b30-a110-98738564facc</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.3.170.32:8773/services/Admin
|
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=iXoqvg1IfdbUoT8KwFMtAxMG%2FEw36EmiQRE6gzh27vU%3D
|
33
33
|
body:
|
34
34
|
headers:
|
35
35
|
accept:
|
@@ -48,15 +48,15 @@
|
|
48
48
|
content-length:
|
49
49
|
- "184"
|
50
50
|
date:
|
51
|
-
-
|
51
|
+
- Fri, 27 May 2011 17:46:17 GMT
|
52
52
|
connection:
|
53
53
|
- keep-alive
|
54
|
-
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
54
|
+
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>1NZ7U6SUOSWI4E8NPJX4</requestId><return>true</return></ModifyUserRoleResponse>
|
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.3.170.32:8773/services/Admin
|
59
|
+
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=sUHSI6oFYi%2Fa7Rg7Y57YrIgdqCu0UNBx2GjkoEkaaq0%3D
|
60
60
|
body:
|
61
61
|
headers:
|
62
62
|
accept:
|
@@ -75,15 +75,15 @@
|
|
75
75
|
content-length:
|
76
76
|
- "218"
|
77
77
|
date:
|
78
|
-
-
|
78
|
+
- Fri, 27 May 2011 17:46:17 GMT
|
79
79
|
connection:
|
80
80
|
- keep-alive
|
81
|
-
body: <?xml version="1.0" ?><DescribeUserRolesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
81
|
+
body: <?xml version="1.0" ?><DescribeUserRolesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>LTD41IIBJ9CTIQSR04--</requestId><roles><item><role>sysadmin</role></item></roles></DescribeUserRolesResponse>
|
82
82
|
http_version: "1.1"
|
83
83
|
- !ruby/struct:VCR::HTTPInteraction
|
84
84
|
request: !ruby/struct:VCR::Request
|
85
85
|
method: :get
|
86
|
-
uri: http://10.3.170.32:8773/services/Admin
|
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=xE0f9t0Pixm0FkSRS%2B9oaao1FoM7o682i0gYkIlfwSU%3D
|
87
87
|
body:
|
88
88
|
headers:
|
89
89
|
accept:
|
@@ -102,15 +102,15 @@
|
|
102
102
|
content-length:
|
103
103
|
- "184"
|
104
104
|
date:
|
105
|
-
-
|
105
|
+
- Fri, 27 May 2011 17:46:17 GMT
|
106
106
|
connection:
|
107
107
|
- keep-alive
|
108
|
-
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
108
|
+
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>FX4QOBXOCR-0NXWPEV6H</requestId><return>true</return></DeregisterUserResponse>
|
109
109
|
http_version: "1.1"
|
110
110
|
- !ruby/struct:VCR::HTTPInteraction
|
111
111
|
request: !ruby/struct:VCR::Request
|
112
112
|
method: :get
|
113
|
-
uri: http://10.3.170.32:8773/services/Admin
|
113
|
+
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=0gG0xgR3kE6mqt9gQuin6Lh0TtFndtvFbk2xMo65PIk%3D
|
114
114
|
body:
|
115
115
|
headers:
|
116
116
|
accept:
|
@@ -129,8 +129,8 @@
|
|
129
129
|
content-length:
|
130
130
|
- "184"
|
131
131
|
date:
|
132
|
-
-
|
132
|
+
- Fri, 27 May 2011 17:46:18 GMT
|
133
133
|
connection:
|
134
134
|
- keep-alive
|
135
|
-
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
135
|
+
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>H0PBDKVE6OESQJ7JTZJJ</requestId><return>true</return></ModifyUserRoleResponse>
|
136
136
|
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.3.170.32:8773/services/Admin
|
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=6AjzqntOVWOXKISXoh%2BEAq9jrsgrH%2BKnfpTSBzx%2B%2F6A%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -21,15 +21,15 @@
|
|
21
21
|
content-length:
|
22
22
|
- "313"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Fri, 27 May 2011 17:46:19 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>
|
27
|
+
body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>Q7P7YZZBAP005AS29H5N</requestId><username>vcr_user</username><secretkey>b8b50c65-58f4-407a-ba7f-2dfb9fb1138a</secretkey><accesskey>58cb88c4-40bc-4fe0-b136-0de0c288d995</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.3.170.32:8773/services/Admin
|
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=ACwX6Rx4GWaes1GnO5%2Bf0GZRu%2F4CWgvfuiVv%2BP7Ocno%3D
|
33
33
|
body:
|
34
34
|
headers:
|
35
35
|
accept:
|
@@ -48,15 +48,15 @@
|
|
48
48
|
content-length:
|
49
49
|
- "184"
|
50
50
|
date:
|
51
|
-
-
|
51
|
+
- Fri, 27 May 2011 17:46:19 GMT
|
52
52
|
connection:
|
53
53
|
- keep-alive
|
54
|
-
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
54
|
+
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>HJ3WT9U00-7VV6GEU1KK</requestId><return>true</return></ModifyUserRoleResponse>
|
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.3.170.32:8773/services/Admin
|
59
|
+
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=3qXbAY%2FRzK%2Bj6czyRJIFBKXUagipYCuc87c6SU1YBhY%3D
|
60
60
|
body:
|
61
61
|
headers:
|
62
62
|
accept:
|
@@ -75,15 +75,15 @@
|
|
75
75
|
content-length:
|
76
76
|
- "218"
|
77
77
|
date:
|
78
|
-
-
|
78
|
+
- Fri, 27 May 2011 17:46:20 GMT
|
79
79
|
connection:
|
80
80
|
- keep-alive
|
81
|
-
body: <?xml version="1.0" ?><DescribeUserRolesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
81
|
+
body: <?xml version="1.0" ?><DescribeUserRolesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>XRPZ-ECP8NAZSGFUFI60</requestId><roles><item><role>sysadmin</role></item></roles></DescribeUserRolesResponse>
|
82
82
|
http_version: "1.1"
|
83
83
|
- !ruby/struct:VCR::HTTPInteraction
|
84
84
|
request: !ruby/struct:VCR::Request
|
85
85
|
method: :get
|
86
|
-
uri: http://10.3.170.32:8773/services/Admin
|
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=xE0f9t0Pixm0FkSRS%2B9oaao1FoM7o682i0gYkIlfwSU%3D
|
87
87
|
body:
|
88
88
|
headers:
|
89
89
|
accept:
|
@@ -102,15 +102,15 @@
|
|
102
102
|
content-length:
|
103
103
|
- "184"
|
104
104
|
date:
|
105
|
-
-
|
105
|
+
- Fri, 27 May 2011 17:46:20 GMT
|
106
106
|
connection:
|
107
107
|
- keep-alive
|
108
|
-
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
108
|
+
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>17MRDE4SPQG65JZPNBKN</requestId><return>true</return></DeregisterUserResponse>
|
109
109
|
http_version: "1.1"
|
110
110
|
- !ruby/struct:VCR::HTTPInteraction
|
111
111
|
request: !ruby/struct:VCR::Request
|
112
112
|
method: :get
|
113
|
-
uri: http://10.3.170.32:8773/services/Admin
|
113
|
+
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=DWp%2BZDUufJy2QBF0V49J3sM9Spn%2BO6V8yB288JVe1e4%3D
|
114
114
|
body:
|
115
115
|
headers:
|
116
116
|
accept:
|
@@ -129,8 +129,8 @@
|
|
129
129
|
content-length:
|
130
130
|
- "184"
|
131
131
|
date:
|
132
|
-
-
|
132
|
+
- Fri, 27 May 2011 17:46:20 GMT
|
133
133
|
connection:
|
134
134
|
- keep-alive
|
135
|
-
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
135
|
+
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>2OQ184Z4BD2B1G6TH1DB</requestId><return>true</return></ModifyUserRoleResponse>
|
136
136
|
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.3.170.32:8773/services/Admin
|
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=6AjzqntOVWOXKISXoh%2BEAq9jrsgrH%2BKnfpTSBzx%2B%2F6A%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -21,15 +21,15 @@
|
|
21
21
|
content-length:
|
22
22
|
- "313"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Fri, 27 May 2011 17:46:18 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>
|
27
|
+
body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>BBSNVMJYVCN612T8UXM8</requestId><username>vcr_user</username><secretkey>a1031a4f-3c3f-4765-9828-91b5ea55d24b</secretkey><accesskey>e2fe93e0-9579-4888-9bde-09fd039e3e8f</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.3.170.32:8773/services/Admin
|
32
|
+
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=sUHSI6oFYi%2Fa7Rg7Y57YrIgdqCu0UNBx2GjkoEkaaq0%3D
|
33
33
|
body:
|
34
34
|
headers:
|
35
35
|
accept:
|
@@ -48,15 +48,15 @@
|
|
48
48
|
content-length:
|
49
49
|
- "177"
|
50
50
|
date:
|
51
|
-
-
|
51
|
+
- Fri, 27 May 2011 17:46:18 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>
|
54
|
+
body: <?xml version="1.0" ?><DescribeUserRolesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>Z-VQET1ZQV8DXGTZEG88</requestId><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.3.170.32:8773/services/Admin
|
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=xE0f9t0Pixm0FkSRS%2B9oaao1FoM7o682i0gYkIlfwSU%3D
|
60
60
|
body:
|
61
61
|
headers:
|
62
62
|
accept:
|
@@ -75,15 +75,15 @@
|
|
75
75
|
content-length:
|
76
76
|
- "184"
|
77
77
|
date:
|
78
|
-
-
|
78
|
+
- Fri, 27 May 2011 17:46:18 GMT
|
79
79
|
connection:
|
80
80
|
- keep-alive
|
81
|
-
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
81
|
+
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>VC4MPAITZ8DV9TQOJI2W</requestId><return>true</return></DeregisterUserResponse>
|
82
82
|
http_version: "1.1"
|
83
83
|
- !ruby/struct:VCR::HTTPInteraction
|
84
84
|
request: !ruby/struct:VCR::Request
|
85
85
|
method: :get
|
86
|
-
uri: http://10.3.170.32:8773/services/Admin
|
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=0gG0xgR3kE6mqt9gQuin6Lh0TtFndtvFbk2xMo65PIk%3D
|
87
87
|
body:
|
88
88
|
headers:
|
89
89
|
accept:
|
@@ -102,8 +102,8 @@
|
|
102
102
|
content-length:
|
103
103
|
- "184"
|
104
104
|
date:
|
105
|
-
-
|
105
|
+
- Fri, 27 May 2011 17:46:19 GMT
|
106
106
|
connection:
|
107
107
|
- keep-alive
|
108
|
-
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
108
|
+
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>GCIYYJE6H-4NE0RREI6H</requestId><return>true</return></ModifyUserRoleResponse>
|
109
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.3.170.32:8773/services/Admin
|
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=6AjzqntOVWOXKISXoh%2BEAq9jrsgrH%2BKnfpTSBzx%2B%2F6A%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -21,15 +21,15 @@
|
|
21
21
|
content-length:
|
22
22
|
- "313"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Fri, 27 May 2011 17:46:20 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>
|
27
|
+
body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>H654MGX0SDP8IPCJJ268</requestId><username>vcr_user</username><secretkey>6eb1018f-33f1-4835-bb7a-097a5fa4903a</secretkey><accesskey>5000399b-28b1-4c22-adbb-7a31bfc90226</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.3.170.32:8773/services/Admin
|
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=iXoqvg1IfdbUoT8KwFMtAxMG%2FEw36EmiQRE6gzh27vU%3D
|
33
33
|
body:
|
34
34
|
headers:
|
35
35
|
accept:
|
@@ -48,15 +48,15 @@
|
|
48
48
|
content-length:
|
49
49
|
- "184"
|
50
50
|
date:
|
51
|
-
-
|
51
|
+
- Fri, 27 May 2011 17:46:21 GMT
|
52
52
|
connection:
|
53
53
|
- keep-alive
|
54
|
-
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
54
|
+
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>XONEDX-F54JJ2M5O5Q9D</requestId><return>true</return></ModifyUserRoleResponse>
|
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.3.170.32:8773/services/Admin
|
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=xE0f9t0Pixm0FkSRS%2B9oaao1FoM7o682i0gYkIlfwSU%3D
|
60
60
|
body:
|
61
61
|
headers:
|
62
62
|
accept:
|
@@ -75,15 +75,15 @@
|
|
75
75
|
content-length:
|
76
76
|
- "184"
|
77
77
|
date:
|
78
|
-
-
|
78
|
+
- Fri, 27 May 2011 17:46:21 GMT
|
79
79
|
connection:
|
80
80
|
- keep-alive
|
81
|
-
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
81
|
+
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>OLZXCW1J4EZTH2H8V66S</requestId><return>true</return></DeregisterUserResponse>
|
82
82
|
http_version: "1.1"
|
83
83
|
- !ruby/struct:VCR::HTTPInteraction
|
84
84
|
request: !ruby/struct:VCR::Request
|
85
85
|
method: :get
|
86
|
-
uri: http://10.3.170.32:8773/services/Admin
|
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=0gG0xgR3kE6mqt9gQuin6Lh0TtFndtvFbk2xMo65PIk%3D
|
87
87
|
body:
|
88
88
|
headers:
|
89
89
|
accept:
|
@@ -102,8 +102,8 @@
|
|
102
102
|
content-length:
|
103
103
|
- "184"
|
104
104
|
date:
|
105
|
-
-
|
105
|
+
- Fri, 27 May 2011 17:46:21 GMT
|
106
106
|
connection:
|
107
107
|
- keep-alive
|
108
|
-
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId
|
108
|
+
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>-226XHOQZJM5QCWO8B59</requestId><return>true</return></ModifyUserRoleResponse>
|
109
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.3.170.32:8773/services/Admin
|
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=6AjzqntOVWOXKISXoh%2BEAq9jrsgrH%2BKnfpTSBzx%2B%2F6A%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -21,15 +21,15 @@
|
|
21
21
|
content-length:
|
22
22
|
- "313"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Fri, 27 May 2011 17:46:22 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>
|
27
|
+
body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>TYOMNL20ORR8QB85NHKO</requestId><username>vcr_user</username><secretkey>58a422f4-c5b0-447b-82e6-ce41c8b1ccfa</secretkey><accesskey>6d134094-b86f-4f21-98e9-b0a7df0ee778</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.3.170.32:8773/services/Admin
|
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=ACwX6Rx4GWaes1GnO5%2Bf0GZRu%2F4CWgvfuiVv%2BP7Ocno%3D
|
33
33
|
body:
|
34
34
|
headers:
|
35
35
|
accept:
|
@@ -48,15 +48,15 @@
|
|
48
48
|
content-length:
|
49
49
|
- "184"
|
50
50
|
date:
|
51
|
-
-
|
51
|
+
- Fri, 27 May 2011 17:46:22 GMT
|
52
52
|
connection:
|
53
53
|
- keep-alive
|
54
|
-
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
54
|
+
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>10TMCSPYPVQV14D0D11L</requestId><return>true</return></ModifyUserRoleResponse>
|
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.3.170.32:8773/services/Admin
|
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=xE0f9t0Pixm0FkSRS%2B9oaao1FoM7o682i0gYkIlfwSU%3D
|
60
60
|
body:
|
61
61
|
headers:
|
62
62
|
accept:
|
@@ -75,15 +75,15 @@
|
|
75
75
|
content-length:
|
76
76
|
- "184"
|
77
77
|
date:
|
78
|
-
-
|
78
|
+
- Fri, 27 May 2011 17:46:22 GMT
|
79
79
|
connection:
|
80
80
|
- keep-alive
|
81
|
-
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
81
|
+
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>UT6D19R5XSFT3-YGYDKI</requestId><return>true</return></DeregisterUserResponse>
|
82
82
|
http_version: "1.1"
|
83
83
|
- !ruby/struct:VCR::HTTPInteraction
|
84
84
|
request: !ruby/struct:VCR::Request
|
85
85
|
method: :get
|
86
|
-
uri: http://10.3.170.32:8773/services/Admin
|
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=DWp%2BZDUufJy2QBF0V49J3sM9Spn%2BO6V8yB288JVe1e4%3D
|
87
87
|
body:
|
88
88
|
headers:
|
89
89
|
accept:
|
@@ -102,8 +102,8 @@
|
|
102
102
|
content-length:
|
103
103
|
- "184"
|
104
104
|
date:
|
105
|
-
-
|
105
|
+
- Fri, 27 May 2011 17:46:22 GMT
|
106
106
|
connection:
|
107
107
|
- keep-alive
|
108
|
-
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
108
|
+
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>5I7E5LS9DB0DS8LQJWAE</requestId><return>true</return></ModifyUserRoleResponse>
|
109
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.3.170.32:8773/services/Admin
|
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=6AjzqntOVWOXKISXoh%2BEAq9jrsgrH%2BKnfpTSBzx%2B%2F6A%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -21,15 +21,15 @@
|
|
21
21
|
content-length:
|
22
22
|
- "313"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Fri, 27 May 2011 17:46:23 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>
|
27
|
+
body: <?xml version="1.0" ?><RegisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>HV7B9PGBTHB0A250SRWF</requestId><username>vcr_user</username><secretkey>104667d0-9695-4a1b-aabc-1b15b00f58e7</secretkey><accesskey>7e9aa624-4422-4cd4-9714-82a9277b4fd1</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.3.170.32:8773/services/Admin
|
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=qQUGFCxdkYobbzS7KcOoI0f%2BnR5ZpfYt8BY9Id6FsnA%3D
|
33
33
|
body:
|
34
34
|
headers:
|
35
35
|
accept:
|
@@ -48,15 +48,15 @@
|
|
48
48
|
content-length:
|
49
49
|
- "184"
|
50
50
|
date:
|
51
|
-
-
|
51
|
+
- Fri, 27 May 2011 17:46:23 GMT
|
52
52
|
connection:
|
53
53
|
- keep-alive
|
54
|
-
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
54
|
+
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>J5RODEJ60U9L1N-92B9J</requestId><return>true</return></ModifyUserRoleResponse>
|
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.3.170.32:8773/services/Admin
|
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=xE0f9t0Pixm0FkSRS%2B9oaao1FoM7o682i0gYkIlfwSU%3D
|
60
60
|
body:
|
61
61
|
headers:
|
62
62
|
accept:
|
@@ -75,15 +75,15 @@
|
|
75
75
|
content-length:
|
76
76
|
- "184"
|
77
77
|
date:
|
78
|
-
-
|
78
|
+
- Fri, 27 May 2011 17:46:23 GMT
|
79
79
|
connection:
|
80
80
|
- keep-alive
|
81
|
-
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
81
|
+
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>FU6CQ7NU8MKW5SAXH15N</requestId><return>true</return></DeregisterUserResponse>
|
82
82
|
http_version: "1.1"
|
83
83
|
- !ruby/struct:VCR::HTTPInteraction
|
84
84
|
request: !ruby/struct:VCR::Request
|
85
85
|
method: :get
|
86
|
-
uri: http://10.3.170.32:8773/services/Admin
|
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=DWp%2BZDUufJy2QBF0V49J3sM9Spn%2BO6V8yB288JVe1e4%3D
|
87
87
|
body:
|
88
88
|
headers:
|
89
89
|
accept:
|
@@ -102,8 +102,8 @@
|
|
102
102
|
content-length:
|
103
103
|
- "184"
|
104
104
|
date:
|
105
|
-
-
|
105
|
+
- Fri, 27 May 2011 17:46:24 GMT
|
106
106
|
connection:
|
107
107
|
- keep-alive
|
108
|
-
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
108
|
+
body: <?xml version="1.0" ?><ModifyUserRoleResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>49RX2C9QGG13UF848KN8</requestId><return>true</return></ModifyUserRoleResponse>
|
109
109
|
http_version: "1.1"
|