nephophobia 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nephophobia.rb +1 -0
- data/lib/nephophobia/client.rb +8 -0
- data/lib/nephophobia/compute.rb +11 -15
- data/lib/nephophobia/credential.rb +80 -0
- data/lib/nephophobia/image.rb +6 -7
- data/lib/nephophobia/project.rb +3 -3
- data/lib/nephophobia/user.rb +0 -17
- data/lib/nephophobia/version.rb +1 -1
- data/test/cassettes/compute_all.yml +58 -4
- data/test/cassettes/compute_all_with_filter.yml +57 -3
- data/test/cassettes/compute_create.yml +31 -4
- data/test/cassettes/compute_create_with_optional_params.yml +31 -4
- data/test/cassettes/compute_destroy.yml +59 -3
- data/test/cassettes/compute_find.yml +81 -0
- data/test/cassettes/compute_reboot.yml +57 -3
- data/test/cassettes/credential_all.yml +98 -0
- data/test/cassettes/credential_all_without_keys.yml +28 -0
- data/test/cassettes/credential_create.yml +71 -0
- data/test/cassettes/credential_destroy.yml +71 -0
- data/test/cassettes/image_all.yml +4 -4
- data/test/cassettes/image_all_with_filter.yml +27 -0
- data/test/cassettes/image_find.yml +31 -4
- data/test/cassettes/project_add_member.yml +84 -3
- data/test/cassettes/project_all.yml +4 -114
- data/test/cassettes/project_all_with_user_name.yml +190 -0
- data/test/cassettes/project_create.yml +85 -4
- data/test/cassettes/project_destroy.yml +84 -3
- data/test/cassettes/project_find.yml +4 -4
- data/test/cassettes/project_find_with_invalid_project_name.yml +3 -3
- data/test/cassettes/project_member.yml +136 -0
- data/test/cassettes/project_members.yml +58 -4
- data/test/cassettes/project_members_with_invalid_project_name.yml +3 -3
- data/test/cassettes/project_remove_member.yml +84 -3
- data/test/cassettes/role_all.yml +112 -4
- data/test/cassettes/role_all_with_project_name.yml +111 -3
- data/test/cassettes/role_all_without_roles.yml +109 -0
- data/test/cassettes/role_create.yml +84 -3
- data/test/cassettes/role_create_with_project_name.yml +84 -3
- data/test/cassettes/role_create_with_project_name_and_role_name.yml +84 -3
- data/test/cassettes/role_destroy.yml +84 -3
- data/test/cassettes/role_destroy_with_project_name.yml +60 -6
- data/test/cassettes/role_destroy_with_project_name_and_role_name.yml +60 -6
- data/test/cassettes/user_create.yml +31 -4
- data/test/cassettes/user_destroy.yml +30 -3
- data/test/cassettes/user_find.yml +58 -4
- data/test/cassettes/user_find_with_invalid_user_name.yml +3 -3
- data/test/cassettes/user_register.yml +67 -13
- data/test/cassettes/{user_register_assert.yml → user_register_asserts.yml} +10 -10
- data/test/lib/hashify_test.rb +3 -3
- data/test/lib/nephophobia/compute_test.rb +85 -69
- data/test/lib/nephophobia/credential_test.rb +91 -0
- data/test/lib/nephophobia/image_test.rb +29 -29
- data/test/lib/nephophobia/project_test.rb +115 -51
- data/test/lib/nephophobia/role_test.rb +151 -42
- data/test/lib/nephophobia/user_test.rb +48 -28
- data/test/test_helper.rb +9 -8
- metadata +21 -22
- data/test/cassettes/compute_all_with_string_into_int_error.yml +0 -28
- data/test/cassettes/image_all_with_string_into_int_error.yml +0 -28
- data/test/cassettes/project_all_with_string_into_int_error.yml +0 -55
- data/test/cassettes/project_all_with_with_user_name.yml +0 -136
- data/test/cassettes/project_members_with_no_members.yml +0 -28
- data/test/cassettes/project_members_with_string_into_int_error.yml +0 -28
- data/test/cassettes/role_all_with_no_roles.yml +0 -28
- data/test/cassettes/role_all_with_string_into_int_error.yml +0 -28
- 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.
|
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
|
-
-
|
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>
|
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.
|
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,
|
105
|
+
- Tue, 19 Apr 2011 00:17:09 GMT
|
52
106
|
connection:
|
53
107
|
- keep-alive
|
54
|
-
body: <?xml version="1.0" ?><
|
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.
|
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
|
-
- "
|
22
|
+
- "313"
|
23
23
|
date:
|
24
|
-
-
|
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>
|
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.
|
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
|
-
-
|
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>
|
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.
|
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
|
-
- "
|
22
|
+
- "313"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Mon, 18 Apr 2011 22:58:04 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><
|
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.
|
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
|
-
-
|
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>
|
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.
|
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
|
-
- "
|
22
|
+
- "313"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Mon, 18 Apr 2011 23:10:48 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><
|
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.
|
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
|
-
-
|
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>
|
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.
|
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
|
-
-
|
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>
|
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.
|
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
|
-
-
|
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" ?><
|
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.
|
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
|
-
-
|
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>
|
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.
|
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
|
-
-
|
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>
|
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.
|
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
|
-
- "
|
76
|
+
- "414"
|
77
77
|
date:
|
78
|
-
-
|
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>
|
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"
|