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
@@ -0,0 +1,163 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://10.3.170.35:8773/services/Cloud?AWSAccessKeyId=2ea76797-229c-4e52-a21b-f30513cb91a6%3Asandbox&Action=RunInstances&ImageId=ami-00000002&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=tPz8K7mYsXFNuGeGmQCf3JFCOWsQ5iGKP%2B4CU1PUoOI%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
|
+
- "838"
|
23
|
+
date:
|
24
|
+
- Wed, 25 May 2011 22:16:33 GMT
|
25
|
+
connection:
|
26
|
+
- keep-alive
|
27
|
+
body: <?xml version="1.0" ?><RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>D-H13T5C38M65NTRL18D</requestId><ownerId>sandbox</ownerId><groupSet><item><groupId>default</groupId></item></groupSet><reservationId>r-zd1zxtbg</reservationId><instancesSet><item><displayDescription/><displayName>Server 74</displayName><keyName>None (sandbox, None)</keyName><instanceId>i-0000004a</instanceId><instanceState><code>0</code><name>scheduling</name></instanceState><publicDnsName/><imageId>ami-00000002</imageId><productCodesSet/><privateDnsName/><dnsName/><launchTime>2011-05-25T22:16:33Z</launchTime><amiLaunchIndex>0</amiLaunchIndex><placement><availabilityZone>unknown zone</availabilityZone></placement><ipAddress/><instanceType>m1.small</instanceType><privateIpAddress/></item></instancesSet></RunInstancesResponse>
|
28
|
+
http_version: "1.1"
|
29
|
+
- !ruby/struct:VCR::HTTPInteraction
|
30
|
+
request: !ruby/struct:VCR::Request
|
31
|
+
method: :get
|
32
|
+
uri: http://10.3.170.35:8773/services/Cloud?AWSAccessKeyId=2ea76797-229c-4e52-a21b-f30513cb91a6%3Asandbox&Action=AssociateAddress&InstanceId=i-0000004a&PublicIp=69.1.1.1&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=KtfGE%2F4L0y2HItK9g0%2BR7S9cY7UPC46OdyZNMQAkqdg%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
|
+
- "238"
|
50
|
+
date:
|
51
|
+
- Wed, 25 May 2011 22:16:38 GMT
|
52
|
+
connection:
|
53
|
+
- keep-alive
|
54
|
+
body: <?xml version="1.0" ?><AssociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>2AYTHNL64JGVJ06Q8L1T</requestId><associateResponse><item>Address associated.</item></associateResponse></AssociateAddressResponse>
|
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.35:8773/services/Cloud?AWSAccessKeyId=2ea76797-229c-4e52-a21b-f30513cb91a6%3Asandbox&Action=DisassociateAddress&PublicIp=69.1.1.1&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=05XOTLVuYVdBW7I%2BZyB5Fkcox0h6YX%2BBH2wD9Arz4mg%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
|
+
- "253"
|
77
|
+
date:
|
78
|
+
- Wed, 25 May 2011 22:16:44 GMT
|
79
|
+
connection:
|
80
|
+
- keep-alive
|
81
|
+
body: <?xml version="1.0" ?><DisassociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>GDXHY705TV3UNSUV256-</requestId><disassociateResponse><item>Address disassociated.</item></disassociateResponse></DisassociateAddressResponse>
|
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.35:8773/services/Cloud?AWSAccessKeyId=2ea76797-229c-4e52-a21b-f30513cb91a6%3Asandbox&Action=TerminateInstances&InstanceId.1=i-0000004a&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=%2BM%2BfUIAxgA8NE7GnqwNQ6EcRivhxFqI%2BnCMwVwHxa2c%3D
|
87
|
+
body:
|
88
|
+
headers:
|
89
|
+
accept:
|
90
|
+
- application/xml
|
91
|
+
connection:
|
92
|
+
- keep-alive
|
93
|
+
keep-alive:
|
94
|
+
- 30
|
95
|
+
response: !ruby/struct:VCR::Response
|
96
|
+
status: !ruby/struct:VCR::ResponseStatus
|
97
|
+
code: 200
|
98
|
+
message: OK
|
99
|
+
headers:
|
100
|
+
content-type:
|
101
|
+
- text/xml
|
102
|
+
content-length:
|
103
|
+
- "192"
|
104
|
+
date:
|
105
|
+
- Wed, 25 May 2011 22:16:45 GMT
|
106
|
+
connection:
|
107
|
+
- keep-alive
|
108
|
+
body: <?xml version="1.0" ?><TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>YQO0PP9ZH0ZB7QNFVG8M</requestId><return>true</return></TerminateInstancesResponse>
|
109
|
+
http_version: "1.1"
|
110
|
+
- !ruby/struct:VCR::HTTPInteraction
|
111
|
+
request: !ruby/struct:VCR::Request
|
112
|
+
method: :get
|
113
|
+
uri: http://10.3.170.35:8773/services/Cloud?AWSAccessKeyId=2ea76797-229c-4e52-a21b-f30513cb91a6%3Asandbox&Action=AllocateAddress&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=bCaGs5tWfNNy%2F3sg%2FRP0ISHMEnT0EZzuoPe%2Fcconzn8%3D
|
114
|
+
body:
|
115
|
+
headers:
|
116
|
+
accept:
|
117
|
+
- application/xml
|
118
|
+
connection:
|
119
|
+
- keep-alive
|
120
|
+
keep-alive:
|
121
|
+
- 30
|
122
|
+
response: !ruby/struct:VCR::Response
|
123
|
+
status: !ruby/struct:VCR::ResponseStatus
|
124
|
+
code: 200
|
125
|
+
message: OK
|
126
|
+
headers:
|
127
|
+
content-type:
|
128
|
+
- text/xml
|
129
|
+
content-length:
|
130
|
+
- "194"
|
131
|
+
date:
|
132
|
+
- Wed, 25 May 2011 22:43:25 GMT
|
133
|
+
connection:
|
134
|
+
- keep-alive
|
135
|
+
body: <?xml version="1.0" ?><AllocateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>AA0VG63R8HIGOAELQ-5R</requestId><publicIp>69.1.1.1</publicIp></AllocateAddressResponse>
|
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.35:8773/services/Cloud?AWSAccessKeyId=2ea76797-229c-4e52-a21b-f30513cb91a6%3Asandbox&Action=ReleaseAddress&PublicIp=69.1.1.1&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=lQpO7lKIr7pdJWi7J%2FWS3T6e6X%2FYjVixw2qaK%2FJyS30%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
|
+
- "228"
|
158
|
+
date:
|
159
|
+
- Wed, 25 May 2011 22:43:35 GMT
|
160
|
+
connection:
|
161
|
+
- keep-alive
|
162
|
+
body: <?xml version="1.0" ?><ReleaseAddressResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>66R0UD5DSML079UZTL2S</requestId><releaseResponse><item>Address released.</item></releaseResponse></ReleaseAddressResponse>
|
163
|
+
http_version: "1.1"
|
@@ -0,0 +1,55 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://10.3.170.35:8773/services/Cloud?AWSAccessKeyId=2ea76797-229c-4e52-a21b-f30513cb91a6%3Asandbox&Action=AllocateAddress&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=bCaGs5tWfNNy%2F3sg%2FRP0ISHMEnT0EZzuoPe%2Fcconzn8%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
|
+
- "194"
|
23
|
+
date:
|
24
|
+
- Wed, 25 May 2011 22:29:22 GMT
|
25
|
+
connection:
|
26
|
+
- keep-alive
|
27
|
+
body: <?xml version="1.0" ?><AllocateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>INSTJH4ZBHIRHA1SKPHT</requestId><publicIp>69.1.1.1</publicIp></AllocateAddressResponse>
|
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.35:8773/services/Cloud?AWSAccessKeyId=2ea76797-229c-4e52-a21b-f30513cb91a6%3Asandbox&Action=ReleaseAddress&PublicIp=69.1.1.1&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=lQpO7lKIr7pdJWi7J%2FWS3T6e6X%2FYjVixw2qaK%2FJyS30%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
|
+
- "228"
|
50
|
+
date:
|
51
|
+
- Wed, 25 May 2011 22:29:23 GMT
|
52
|
+
connection:
|
53
|
+
- keep-alive
|
54
|
+
body: <?xml version="1.0" ?><ReleaseAddressResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>T0-PWCIGJRF8AFUO79FT</requestId><releaseResponse><item>Address released.</item></releaseResponse></ReleaseAddressResponse>
|
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.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:32 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>88OM5C3GOFBKBBZQKC7U</requestId><username>vcr_user</username><secretkey>714b213d-827d-411f-a1dc-0c6780cf6b03</secretkey><accesskey>2592d7e7-499a-4c87-9f53-c1d05c73830a</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=ModifyProjectMember&Operation=add&Project=sandbox&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=K0g5BrmtuGPDHSMkbSWNtTuIzkF08MeWnIFVkDgKH78%3D
|
33
33
|
body:
|
34
34
|
headers:
|
35
35
|
accept:
|
@@ -48,15 +48,15 @@
|
|
48
48
|
content-length:
|
49
49
|
- "194"
|
50
50
|
date:
|
51
|
-
-
|
51
|
+
- Fri, 27 May 2011 17:46:33 GMT
|
52
52
|
connection:
|
53
53
|
- keep-alive
|
54
|
-
body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
54
|
+
body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>EO5UC9HT65PUY76KBHTI</requestId><return>true</return></ModifyProjectMemberResponse>
|
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=ModifyProjectMember&Operation=remove&Project=sandbox&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=%2FmZ3tUMmDZDP0%2FDtcTzYKz7NkjKx%2Bj6TWHhaXrLtyJA%3D
|
60
60
|
body:
|
61
61
|
headers:
|
62
62
|
accept:
|
@@ -75,15 +75,15 @@
|
|
75
75
|
content-length:
|
76
76
|
- "194"
|
77
77
|
date:
|
78
|
-
-
|
78
|
+
- Fri, 27 May 2011 17:46:33 GMT
|
79
79
|
connection:
|
80
80
|
- keep-alive
|
81
|
-
body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
81
|
+
body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>EKMD-YIQACATBPYLYB--</requestId><return>true</return></ModifyProjectMemberResponse>
|
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,8 +102,8 @@
|
|
102
102
|
content-length:
|
103
103
|
- "184"
|
104
104
|
date:
|
105
|
-
-
|
105
|
+
- Fri, 27 May 2011 17:46:34 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>-AO5Y3STNMWTB83LKDTS</requestId><return>true</return></DeregisterUserResponse>
|
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=DescribeProjects&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=x%2BZKorCAof93BhH%2FHG%2BCvpBDHW1nQHtOe4LXUPiOyfQ%3D
|
6
6
|
body:
|
7
7
|
headers:
|
8
8
|
accept:
|
@@ -21,8 +21,8 @@
|
|
21
21
|
content-length:
|
22
22
|
- "430"
|
23
23
|
date:
|
24
|
-
-
|
24
|
+
- Fri, 27 May 2011 17:46:08 GMT
|
25
25
|
connection:
|
26
26
|
- keep-alive
|
27
|
-
body: <?xml version="1.0" ?><DescribeProjectsResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
27
|
+
body: <?xml version="1.0" ?><DescribeProjectsResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>YXHYVVACL3B1GNJ76-A0</requestId><projectSet><item><projectname>sandbox</projectname><projectManagerId>root</projectManagerId><description>sandbox</description></item><item><projectname>core</projectname><projectManagerId>root</projectManagerId><description>core</description></item></projectSet></DescribeProjectsResponse>
|
28
28
|
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:08 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>IIN0O6E4GGSLTM5HW-ZX</requestId><username>vcr_user</username><secretkey>a6f8532b-4073-494f-b71e-b55773609e05</secretkey><accesskey>ee81dda8-6458-49d2-97f5-2b5ae0ace2b8</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=ModifyProjectMember&Operation=add&Project=sandbox&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=K0g5BrmtuGPDHSMkbSWNtTuIzkF08MeWnIFVkDgKH78%3D
|
33
33
|
body:
|
34
34
|
headers:
|
35
35
|
accept:
|
@@ -48,15 +48,15 @@
|
|
48
48
|
content-length:
|
49
49
|
- "194"
|
50
50
|
date:
|
51
|
-
-
|
51
|
+
- Fri, 27 May 2011 17:46:08 GMT
|
52
52
|
connection:
|
53
53
|
- keep-alive
|
54
|
-
body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
54
|
+
body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>HE55QG0Z2PN0F25FND6F</requestId><return>true</return></ModifyProjectMemberResponse>
|
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=DescribeProjects&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=x%2BZKorCAof93BhH%2FHG%2BCvpBDHW1nQHtOe4LXUPiOyfQ%3D
|
60
60
|
body:
|
61
61
|
headers:
|
62
62
|
accept:
|
@@ -75,15 +75,15 @@
|
|
75
75
|
content-length:
|
76
76
|
- "430"
|
77
77
|
date:
|
78
|
-
-
|
78
|
+
- Fri, 27 May 2011 17:46:08 GMT
|
79
79
|
connection:
|
80
80
|
- keep-alive
|
81
|
-
body: <?xml version="1.0" ?><DescribeProjectsResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
81
|
+
body: <?xml version="1.0" ?><DescribeProjectsResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>TJC2E11KN0JVP7OH1ADZ</requestId><projectSet><item><projectname>sandbox</projectname><projectManagerId>root</projectManagerId><description>sandbox</description></item><item><projectname>core</projectname><projectManagerId>root</projectManagerId><description>core</description></item></projectSet></DescribeProjectsResponse>
|
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=DescribeProjectMembers&Name=sandbox&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=wTXaX6kI6U7c01YgfL5w2fX5BhhEBCK%2FfupkcS6T1NQ%3D
|
87
87
|
body:
|
88
88
|
headers:
|
89
89
|
accept:
|
@@ -100,17 +100,17 @@
|
|
100
100
|
content-type:
|
101
101
|
- text/xml
|
102
102
|
content-length:
|
103
|
-
- "
|
103
|
+
- "630"
|
104
104
|
date:
|
105
|
-
-
|
105
|
+
- Fri, 27 May 2011 17:46:09 GMT
|
106
106
|
connection:
|
107
107
|
- keep-alive
|
108
|
-
body: <?xml version="1.0" ?><DescribeProjectMembersResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
108
|
+
body: <?xml version="1.0" ?><DescribeProjectMembersResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>KXA0WYYM-T6CSM659CVT</requestId><members><item><member>eh0377</member></item><item><member>cc520u</member></item><item><member>kb718q</member></item><item><member>root</member></item><item><member>jd265j</member></item><item><member>pe623x</member></item><item><member>jk520u</member></item><item><member>cn5542</member></item><item><member>fh865a</member></item><item><member>aa873p</member></item><item><member>jt708u</member></item><item><member>vcr_user</member></item></members></DescribeProjectMembersResponse>
|
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=DescribeProjectMembers&Name=core&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&Version=2010-11-15&Signature=TscHTBajvvdenH4c7nctcynLgvv4SksDYG0JPzU8MJU%3D
|
114
114
|
body:
|
115
115
|
headers:
|
116
116
|
accept:
|
@@ -129,15 +129,15 @@
|
|
129
129
|
content-length:
|
130
130
|
- "304"
|
131
131
|
date:
|
132
|
-
-
|
132
|
+
- Fri, 27 May 2011 17:46:09 GMT
|
133
133
|
connection:
|
134
134
|
- keep-alive
|
135
|
-
body: <?xml version="1.0" ?><DescribeProjectMembersResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
135
|
+
body: <?xml version="1.0" ?><DescribeProjectMembersResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>O7PEWBFY8KXJU-4QW0XB</requestId><members><item><member>kb718q</member></item><item><member>root</member></item><item><member>jd265j</member></item></members></DescribeProjectMembersResponse>
|
136
136
|
http_version: "1.1"
|
137
137
|
- !ruby/struct:VCR::HTTPInteraction
|
138
138
|
request: !ruby/struct:VCR::Request
|
139
139
|
method: :get
|
140
|
-
uri: http://10.3.170.32:8773/services/Admin
|
140
|
+
uri: http://10.3.170.32:8773/services/Admin?AWSAccessKeyId=03982c2e-8e28-40b6-95e2-f2811383b4a2%3Asandbox&Action=ModifyProjectMember&Operation=remove&Project=sandbox&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=1999-12-31T19%3A59%3A59Z&User=vcr_user&Version=2010-11-15&Signature=%2FmZ3tUMmDZDP0%2FDtcTzYKz7NkjKx%2Bj6TWHhaXrLtyJA%3D
|
141
141
|
body:
|
142
142
|
headers:
|
143
143
|
accept:
|
@@ -156,15 +156,15 @@
|
|
156
156
|
content-length:
|
157
157
|
- "194"
|
158
158
|
date:
|
159
|
-
-
|
159
|
+
- Fri, 27 May 2011 17:46:09 GMT
|
160
160
|
connection:
|
161
161
|
- keep-alive
|
162
|
-
body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
162
|
+
body: <?xml version="1.0" ?><ModifyProjectMemberResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>EWE3GJS4W1L4ODF7BAWR</requestId><return>true</return></ModifyProjectMemberResponse>
|
163
163
|
http_version: "1.1"
|
164
164
|
- !ruby/struct:VCR::HTTPInteraction
|
165
165
|
request: !ruby/struct:VCR::Request
|
166
166
|
method: :get
|
167
|
-
uri: http://10.3.170.32:8773/services/Admin
|
167
|
+
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
|
168
168
|
body:
|
169
169
|
headers:
|
170
170
|
accept:
|
@@ -183,8 +183,8 @@
|
|
183
183
|
content-length:
|
184
184
|
- "184"
|
185
185
|
date:
|
186
|
-
-
|
186
|
+
- Fri, 27 May 2011 17:46:10 GMT
|
187
187
|
connection:
|
188
188
|
- keep-alive
|
189
|
-
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>
|
189
|
+
body: <?xml version="1.0" ?><DeregisterUserResponse xmlns="http://ec2.amazonaws.com/doc/2010-11-15/"><requestId>ER-Y180CO76EYHEO38IR</requestId><return>true</return></DeregisterUserResponse>
|
190
190
|
http_version: "1.1"
|