deadwood 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +65 -3
- data/Rakefile +2 -4
- data/lib/deadwood/active_resource_oauth_client.rb +16 -8
- data/lib/deadwood/model/activation_key.rb +24 -8
- data/lib/deadwood/model/base.rb +16 -9
- data/lib/deadwood/model/changeset.rb +18 -10
- data/lib/deadwood/model/consumer.rb +16 -8
- data/lib/deadwood/model/crl.rb +16 -8
- data/lib/deadwood/model/entitlement.rb +16 -8
- data/lib/deadwood/model/environment.rb +22 -20
- data/lib/deadwood/model/errata.rb +16 -8
- data/lib/deadwood/model/gpg_key.rb +21 -16
- data/lib/deadwood/model/organization.rb +16 -8
- data/lib/deadwood/model/pool.rb +16 -8
- data/lib/deadwood/model/product.rb +22 -13
- data/lib/deadwood/model/provider.rb +18 -9
- data/lib/deadwood/model/repository.rb +16 -8
- data/lib/deadwood/model/role.rb +21 -14
- data/lib/deadwood/model/status.rb +16 -8
- data/lib/deadwood/model/subscription.rb +16 -8
- data/lib/deadwood/model/system.rb +18 -9
- data/lib/deadwood/model/system_group.rb +22 -13
- data/lib/deadwood/model/task.rb +16 -8
- data/lib/deadwood/model/template.rb +18 -9
- data/lib/deadwood/model/user.rb +16 -8
- data/lib/deadwood/model/version.rb +16 -8
- data/rake/rpmtask.rb +16 -13
- data/spec/models/activation_key_spec.rb +48 -8
- data/spec/models/base_spec.rb +16 -8
- data/spec/models/changeset_spec.rb +16 -8
- data/spec/models/crl_spec.rb +16 -8
- data/spec/models/environment_spec.rb +16 -8
- data/spec/models/gpg_key_spec.rb +16 -8
- data/spec/models/organization_spec.rb +16 -8
- data/spec/models/product_spec.rb +16 -8
- data/spec/models/provider_spec.rb +16 -8
- data/spec/models/repository_spec.rb +16 -8
- data/spec/models/role_spec.rb +16 -8
- data/spec/models/system_group_spec.rb +16 -8
- data/spec/models/task_spec.rb +16 -8
- data/spec/models/template_spec.rb +16 -8
- data/spec/models/user_spec.rb +16 -8
- data/spec/spec_helper.rb +15 -21
- data/spec/vcr/cassettes/create_activation_key.yml +91 -91
- data/spec/vcr/cassettes/create_changeset.yml +93 -93
- data/spec/vcr/cassettes/create_find_all_environment.yml +45 -45
- data/spec/vcr/cassettes/create_find_by_id_activation_key.yml +214 -0
- data/spec/vcr/cassettes/create_find_single_environment.yml +49 -49
- data/spec/vcr/cassettes/create_gpg_key.yml +64 -64
- data/spec/vcr/cassettes/create_provider_for_default_org.yml +63 -63
- data/spec/vcr/cassettes/create_repository.yml +98 -98
- data/spec/vcr/cassettes/create_role.yml +46 -46
- data/spec/vcr/cassettes/create_system.yml +59 -59
- data/spec/vcr/cassettes/create_template.yml +86 -86
- data/spec/vcr/cassettes/create_update_activation_key.yml +345 -0
- data/spec/vcr/cassettes/create_user.yml +48 -48
- data/spec/vcr/cassettes/create_user_role.yml +103 -103
- data/spec/vcr/cassettes/find_ACME_Corporation.yml +14 -14
- data/spec/vcr/cassettes/find_admin.yml +14 -14
- data/spec/vcr/cassettes/find_crl.yml +22 -22
- data/spec/vcr/cassettes/find_template.yml +13 -13
- data/spec/vcr/cassettes/find_users.yml +13 -13
- data/spec/vcr/cassettes/organization_1_exists.yml +28 -28
- data/spec/vcr/cassettes/organization_create.yml +46 -46
- data/spec/vcr/cassettes/organization_default_exists.yml +14 -14
- data/spec/vcr/cassettes/organization_exists.yml +13 -13
- data/spec/vcr/cassettes/organization_update.yml +44 -44
- data/spec/vcr/cassettes/provider_1_exists.yml +14 -14
- data/spec/vcr/cassettes/providers_all_exists.yml +15 -15
- data/spec/vcr/cassettes/read_products.yml +92 -92
- data/spec/vcr/cassettes/update_environment_name_description.yml +83 -83
- data/spec/vcr/cassettes/update_provider_for_org.yml +64 -64
- data/spec/vcr/cassettes/update_role.yml +67 -67
- data/spec/vcr/cassettes/update_user.yml +48 -48
- data/spec/vcr_setup.rb +16 -23
- metadata +8 -32
@@ -0,0 +1,345 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments?name=Test%20A&organization_id=ACME_Corporation&prior=1
|
6
|
+
body:
|
7
|
+
string: "{\"environment\":{\"name\":\"Test A\",\"prior\":1}}"
|
8
|
+
headers:
|
9
|
+
Content-Type:
|
10
|
+
- application/json
|
11
|
+
Content-Length:
|
12
|
+
- "43"
|
13
|
+
User-Agent:
|
14
|
+
- OAuth gem v0.4.6
|
15
|
+
Authorization:
|
16
|
+
- OAuth oauth_body_hash="lEq4afkdwuvDrOc4dt2yHbexpzI%3D", oauth_consumer_key="cloud_forms", oauth_nonce="hjeX3l1Hq4cjGtfDTKOCAQpRggRndSy0tpKEzu35s", oauth_signature="KXpsvCsbhG9P03x725f9nEUqSR4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645391", oauth_version="1.0"
|
17
|
+
Accept:
|
18
|
+
- "*/*"
|
19
|
+
Http-Katello-User:
|
20
|
+
- admin
|
21
|
+
response:
|
22
|
+
status:
|
23
|
+
code: 200
|
24
|
+
message: OK
|
25
|
+
headers:
|
26
|
+
Content-Type:
|
27
|
+
- application/json; charset=utf-8
|
28
|
+
Server:
|
29
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
30
|
+
Transfer-Encoding:
|
31
|
+
- chunked
|
32
|
+
Date:
|
33
|
+
- Wed, 22 Aug 2012 14:23:10 GMT
|
34
|
+
X-Ua-Compatible:
|
35
|
+
- IE=Edge,chrome=1
|
36
|
+
Cache-Control:
|
37
|
+
- max-age=0, private, must-revalidate
|
38
|
+
X-Runtime:
|
39
|
+
- "0.274966"
|
40
|
+
Etag:
|
41
|
+
- "\"780ae6fe5bd7bb236399c80ff0bf0c47\""
|
42
|
+
X-Candlepin-Version:
|
43
|
+
- katello/0.2.44-1.el6
|
44
|
+
body:
|
45
|
+
string: "{\"library\":false,\"prior\":\"Library\",\"id\":194,\"organization\":\"ACME_Corporation\",\"organization_id\":1,\"updated_at\":\"2012-08-22T14:23:10Z\",\"name\":\"Test A\",\"description\":null,\"prior_id\":1,\"created_at\":\"2012-08-22T14:23:10Z\"}"
|
46
|
+
http_version:
|
47
|
+
recorded_at: Wed, 22 Aug 2012 14:23:11 GMT
|
48
|
+
- request:
|
49
|
+
method: post
|
50
|
+
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments?name=Test%20B&organization_id=ACME_Corporation&prior=194
|
51
|
+
body:
|
52
|
+
string: "{\"environment\":{\"name\":\"Test B\",\"prior\":194}}"
|
53
|
+
headers:
|
54
|
+
Content-Type:
|
55
|
+
- application/json
|
56
|
+
Content-Length:
|
57
|
+
- "45"
|
58
|
+
User-Agent:
|
59
|
+
- OAuth gem v0.4.6
|
60
|
+
Authorization:
|
61
|
+
- OAuth oauth_body_hash="c%2FdSI08SxVse08NtW0VAWCxSKow%3D", oauth_consumer_key="cloud_forms", oauth_nonce="GLtrzRZuJdnw79nxatzpjOv3CI62Z0m9k3jlHaRyuns", oauth_signature="YeBHHlGlOYg8uBvdztIigHvVdK0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645391", oauth_version="1.0"
|
62
|
+
Accept:
|
63
|
+
- "*/*"
|
64
|
+
Http-Katello-User:
|
65
|
+
- admin
|
66
|
+
response:
|
67
|
+
status:
|
68
|
+
code: 200
|
69
|
+
message: OK
|
70
|
+
headers:
|
71
|
+
Content-Type:
|
72
|
+
- application/json; charset=utf-8
|
73
|
+
Server:
|
74
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
75
|
+
Transfer-Encoding:
|
76
|
+
- chunked
|
77
|
+
Date:
|
78
|
+
- Wed, 22 Aug 2012 14:23:10 GMT
|
79
|
+
X-Ua-Compatible:
|
80
|
+
- IE=Edge,chrome=1
|
81
|
+
Cache-Control:
|
82
|
+
- max-age=0, private, must-revalidate
|
83
|
+
X-Runtime:
|
84
|
+
- "0.436471"
|
85
|
+
Etag:
|
86
|
+
- "\"0dd6ab180bd08de6dd0a58525fb696af\""
|
87
|
+
X-Candlepin-Version:
|
88
|
+
- katello/0.2.44-1.el6
|
89
|
+
body:
|
90
|
+
string: "{\"library\":false,\"prior\":\"Test A\",\"id\":195,\"organization\":\"ACME_Corporation\",\"organization_id\":1,\"updated_at\":\"2012-08-22T14:23:10Z\",\"name\":\"Test B\",\"description\":null,\"prior_id\":194,\"created_at\":\"2012-08-22T14:23:10Z\"}"
|
91
|
+
http_version:
|
92
|
+
recorded_at: Wed, 22 Aug 2012 14:23:12 GMT
|
93
|
+
- request:
|
94
|
+
method: post
|
95
|
+
uri: https://10.11.230.105/katello/api/activation_keys?description=test_description&environment_id=194&name=test_activation_key
|
96
|
+
body:
|
97
|
+
string: "{\"activation_key\":{\"name\":\"test_activation_key\",\"description\":\"test_description\"}}"
|
98
|
+
headers:
|
99
|
+
Content-Type:
|
100
|
+
- application/json
|
101
|
+
Content-Length:
|
102
|
+
- "82"
|
103
|
+
User-Agent:
|
104
|
+
- OAuth gem v0.4.6
|
105
|
+
Authorization:
|
106
|
+
- OAuth oauth_body_hash="VO4aK888iX24ldmIYzv1rXIv5qo%3D", oauth_consumer_key="cloud_forms", oauth_nonce="UsttMCGSqXkOGWU7hxTve11mqXykklLv7FsPMdA", oauth_signature="ZvkzBI06NTbKEd1gNIOyjFX7bl8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645392", oauth_version="1.0"
|
107
|
+
Accept:
|
108
|
+
- "*/*"
|
109
|
+
Http-Katello-User:
|
110
|
+
- admin
|
111
|
+
response:
|
112
|
+
status:
|
113
|
+
code: 200
|
114
|
+
message: OK
|
115
|
+
headers:
|
116
|
+
Content-Type:
|
117
|
+
- application/json; charset=utf-8
|
118
|
+
Server:
|
119
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
120
|
+
Transfer-Encoding:
|
121
|
+
- chunked
|
122
|
+
Date:
|
123
|
+
- Wed, 22 Aug 2012 14:23:11 GMT
|
124
|
+
X-Ua-Compatible:
|
125
|
+
- IE=Edge,chrome=1
|
126
|
+
Cache-Control:
|
127
|
+
- max-age=0, private, must-revalidate
|
128
|
+
X-Runtime:
|
129
|
+
- "0.048993"
|
130
|
+
Etag:
|
131
|
+
- "\"fcee53b978604302e2fb75a0eb8dd43c\""
|
132
|
+
X-Candlepin-Version:
|
133
|
+
- katello/0.2.44-1.el6
|
134
|
+
body:
|
135
|
+
string: "{\"usage_count\":0,\"pools\":[],\"system_template_id\":null,\"id\":36,\"user_id\":1,\"organization_id\":1,\"updated_at\":\"2012-08-22T14:23:11Z\",\"name\":\"test_activation_key\",\"description\":\"test_description\",\"environment_id\":194,\"usage_limit\":-1,\"created_at\":\"2012-08-22T14:23:11Z\"}"
|
136
|
+
http_version:
|
137
|
+
recorded_at: Wed, 22 Aug 2012 14:23:12 GMT
|
138
|
+
- request:
|
139
|
+
method: put
|
140
|
+
uri: https://10.11.230.105/katello/api/activation_keys/36
|
141
|
+
body:
|
142
|
+
string: "{\"activation_key\":{\"system_template_id\":null,\"usage_limit\":-1,\"name\":\"test_activation_key\",\"description\":\"test_description\",\"environment_id\":195}}"
|
143
|
+
headers:
|
144
|
+
Content-Type:
|
145
|
+
- application/json
|
146
|
+
Content-Length:
|
147
|
+
- "146"
|
148
|
+
User-Agent:
|
149
|
+
- OAuth gem v0.4.6
|
150
|
+
Authorization:
|
151
|
+
- OAuth oauth_body_hash="aLLnpOlgQd6XXh8LKNpOtqRzCuE%3D", oauth_consumer_key="cloud_forms", oauth_nonce="S1kTh9zjyt3g0cErtx5Yai4vd3UlCPRMcUsPjLb29c", oauth_signature="r8%2BGp9Bu8JtQS6v%2B2hiIagF1HI4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645392", oauth_version="1.0"
|
152
|
+
Accept:
|
153
|
+
- "*/*"
|
154
|
+
Http-Katello-User:
|
155
|
+
- admin
|
156
|
+
response:
|
157
|
+
status:
|
158
|
+
code: 200
|
159
|
+
message: OK
|
160
|
+
headers:
|
161
|
+
Content-Type:
|
162
|
+
- application/json; charset=utf-8
|
163
|
+
Server:
|
164
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
165
|
+
Transfer-Encoding:
|
166
|
+
- chunked
|
167
|
+
Date:
|
168
|
+
- Wed, 22 Aug 2012 14:23:11 GMT
|
169
|
+
X-Ua-Compatible:
|
170
|
+
- IE=Edge,chrome=1
|
171
|
+
Cache-Control:
|
172
|
+
- max-age=0, private, must-revalidate
|
173
|
+
X-Runtime:
|
174
|
+
- "0.051612"
|
175
|
+
Etag:
|
176
|
+
- "\"f753d7f35d49a5f667a8a25d5003d2ca\""
|
177
|
+
X-Candlepin-Version:
|
178
|
+
- katello/0.2.44-1.el6
|
179
|
+
body:
|
180
|
+
string: "{\"usage_count\":0,\"pools\":[],\"system_template_id\":null,\"id\":36,\"user_id\":1,\"organization_id\":1,\"updated_at\":\"2012-08-22T14:23:11Z\",\"name\":\"test_activation_key\",\"description\":\"test_description\",\"environment_id\":195,\"usage_limit\":-1,\"created_at\":\"2012-08-22T14:23:11Z\"}"
|
181
|
+
http_version:
|
182
|
+
recorded_at: Wed, 22 Aug 2012 14:23:12 GMT
|
183
|
+
- request:
|
184
|
+
method: get
|
185
|
+
uri: https://10.11.230.105/katello/api/activation_keys/36
|
186
|
+
body:
|
187
|
+
string: ""
|
188
|
+
headers:
|
189
|
+
User-Agent:
|
190
|
+
- OAuth gem v0.4.6
|
191
|
+
Authorization:
|
192
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="1Yo74TfW6C4GTOxi2aVP7Kp08nyKquAc1RsUmmqE", oauth_signature="X1bJX%2BmUzwRPjAq3zWj0MbtE8J0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645392", oauth_version="1.0"
|
193
|
+
Accept:
|
194
|
+
- application/json
|
195
|
+
Http-Katello-User:
|
196
|
+
- admin
|
197
|
+
response:
|
198
|
+
status:
|
199
|
+
code: 200
|
200
|
+
message: OK
|
201
|
+
headers:
|
202
|
+
Content-Type:
|
203
|
+
- application/json; charset=utf-8
|
204
|
+
Server:
|
205
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
206
|
+
Transfer-Encoding:
|
207
|
+
- chunked
|
208
|
+
Date:
|
209
|
+
- Wed, 22 Aug 2012 14:23:11 GMT
|
210
|
+
X-Ua-Compatible:
|
211
|
+
- IE=Edge,chrome=1
|
212
|
+
Cache-Control:
|
213
|
+
- max-age=0, private, must-revalidate
|
214
|
+
X-Runtime:
|
215
|
+
- "0.020545"
|
216
|
+
Etag:
|
217
|
+
- "\"f753d7f35d49a5f667a8a25d5003d2ca\""
|
218
|
+
X-Candlepin-Version:
|
219
|
+
- katello/0.2.44-1.el6
|
220
|
+
body:
|
221
|
+
string: "{\"usage_count\":0,\"pools\":[],\"system_template_id\":null,\"id\":36,\"user_id\":1,\"organization_id\":1,\"updated_at\":\"2012-08-22T14:23:11Z\",\"name\":\"test_activation_key\",\"description\":\"test_description\",\"environment_id\":195,\"usage_limit\":-1,\"created_at\":\"2012-08-22T14:23:11Z\"}"
|
222
|
+
http_version:
|
223
|
+
recorded_at: Wed, 22 Aug 2012 14:23:12 GMT
|
224
|
+
- request:
|
225
|
+
method: delete
|
226
|
+
uri: https://10.11.230.105/katello/api/activation_keys/36
|
227
|
+
body:
|
228
|
+
string: ""
|
229
|
+
headers:
|
230
|
+
User-Agent:
|
231
|
+
- OAuth gem v0.4.6
|
232
|
+
Authorization:
|
233
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="xAzIob6bpwgLD8UR8lvDr0PdirIy86eBAbBF0YFAjw", oauth_signature="J6RNtEghFbH8gzxyPCA1o7dTjxs%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645392", oauth_version="1.0"
|
234
|
+
Accept:
|
235
|
+
- application/json
|
236
|
+
Http-Katello-User:
|
237
|
+
- admin
|
238
|
+
response:
|
239
|
+
status:
|
240
|
+
code: 204
|
241
|
+
message: No Content
|
242
|
+
headers:
|
243
|
+
Content-Type:
|
244
|
+
- text/plain; charset=UTF-8
|
245
|
+
Server:
|
246
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
247
|
+
Content-Length:
|
248
|
+
- "0"
|
249
|
+
Date:
|
250
|
+
- Wed, 22 Aug 2012 14:23:11 GMT
|
251
|
+
X-Ua-Compatible:
|
252
|
+
- IE=Edge,chrome=1
|
253
|
+
Cache-Control:
|
254
|
+
- no-cache
|
255
|
+
X-Runtime:
|
256
|
+
- "0.038795"
|
257
|
+
X-Candlepin-Version:
|
258
|
+
- katello/0.2.44-1.el6
|
259
|
+
body:
|
260
|
+
string: ""
|
261
|
+
http_version:
|
262
|
+
recorded_at: Wed, 22 Aug 2012 14:23:12 GMT
|
263
|
+
- request:
|
264
|
+
method: delete
|
265
|
+
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments/195
|
266
|
+
body:
|
267
|
+
string: ""
|
268
|
+
headers:
|
269
|
+
User-Agent:
|
270
|
+
- OAuth gem v0.4.6
|
271
|
+
Authorization:
|
272
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="ZCbKPuxfd37QYOMFpzmjS7y0eBy507mapaiUwTMLM", oauth_signature="P3TQjRRP5Gjl3s7vebmZdR%2F8nvw%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645392", oauth_version="1.0"
|
273
|
+
Accept:
|
274
|
+
- application/json
|
275
|
+
Http-Katello-User:
|
276
|
+
- admin
|
277
|
+
response:
|
278
|
+
status:
|
279
|
+
code: 200
|
280
|
+
message: OK
|
281
|
+
headers:
|
282
|
+
Content-Type:
|
283
|
+
- application/json; charset=utf-8
|
284
|
+
Server:
|
285
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
286
|
+
Transfer-Encoding:
|
287
|
+
- chunked
|
288
|
+
Date:
|
289
|
+
- Wed, 22 Aug 2012 14:23:11 GMT
|
290
|
+
X-Ua-Compatible:
|
291
|
+
- IE=Edge,chrome=1
|
292
|
+
Cache-Control:
|
293
|
+
- max-age=0, private, must-revalidate
|
294
|
+
X-Runtime:
|
295
|
+
- "0.178476"
|
296
|
+
Etag:
|
297
|
+
- "\"dbff6987210b416a1859fa7a135fe1d7\""
|
298
|
+
X-Candlepin-Version:
|
299
|
+
- katello/0.2.44-1.el6
|
300
|
+
body:
|
301
|
+
string: Deleted environment '195'
|
302
|
+
http_version:
|
303
|
+
recorded_at: Wed, 22 Aug 2012 14:23:12 GMT
|
304
|
+
- request:
|
305
|
+
method: delete
|
306
|
+
uri: https://10.11.230.105/katello/api/organizations/ACME_Corporation/environments/194
|
307
|
+
body:
|
308
|
+
string: ""
|
309
|
+
headers:
|
310
|
+
User-Agent:
|
311
|
+
- OAuth gem v0.4.6
|
312
|
+
Authorization:
|
313
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="fEDgWowq6dZD0L9Yaxdcb15EijHkfUxWQ79BFBofE", oauth_signature="UOdI1Q2FtTBxJfeD9x0hnKJbOJE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645392", oauth_version="1.0"
|
314
|
+
Accept:
|
315
|
+
- application/json
|
316
|
+
Http-Katello-User:
|
317
|
+
- admin
|
318
|
+
response:
|
319
|
+
status:
|
320
|
+
code: 200
|
321
|
+
message: OK
|
322
|
+
headers:
|
323
|
+
Content-Type:
|
324
|
+
- application/json; charset=utf-8
|
325
|
+
Server:
|
326
|
+
- thin 1.2.11 codename Bat-Shit Crazy
|
327
|
+
Transfer-Encoding:
|
328
|
+
- chunked
|
329
|
+
Date:
|
330
|
+
- Wed, 22 Aug 2012 14:23:12 GMT
|
331
|
+
X-Ua-Compatible:
|
332
|
+
- IE=Edge,chrome=1
|
333
|
+
Cache-Control:
|
334
|
+
- max-age=0, private, must-revalidate
|
335
|
+
X-Runtime:
|
336
|
+
- "0.269392"
|
337
|
+
Etag:
|
338
|
+
- "\"d3572a751bc672d62547c17ef6686951\""
|
339
|
+
X-Candlepin-Version:
|
340
|
+
- katello/0.2.44-1.el6
|
341
|
+
body:
|
342
|
+
string: Deleted environment '194'
|
343
|
+
http_version:
|
344
|
+
recorded_at: Wed, 22 Aug 2012 14:23:13 GMT
|
345
|
+
recorded_with: VCR 2.2.4
|
@@ -6,125 +6,125 @@ http_interactions:
|
|
6
6
|
body:
|
7
7
|
string: ""
|
8
8
|
headers:
|
9
|
-
Content-Length:
|
10
|
-
- "0"
|
11
9
|
Content-Type:
|
12
10
|
- application/json
|
13
|
-
|
14
|
-
-
|
11
|
+
Content-Length:
|
12
|
+
- "0"
|
15
13
|
User-Agent:
|
16
14
|
- OAuth gem v0.4.6
|
17
15
|
Authorization:
|
18
|
-
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="cloud_forms", oauth_nonce="
|
16
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="cloud_forms", oauth_nonce="9qGK9KZ0wg5Ef50mP08y7EDLEOrCzTF0taiVUVWjHI", oauth_signature="F0oEMdhYV%2BzyjtADBI01sStaJVA%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645400", oauth_version="1.0"
|
19
17
|
Accept:
|
20
18
|
- "*/*"
|
19
|
+
Http-Katello-User:
|
20
|
+
- admin
|
21
21
|
response:
|
22
22
|
status:
|
23
23
|
code: 200
|
24
24
|
message: OK
|
25
25
|
headers:
|
26
|
-
X-Candlepin-Version:
|
27
|
-
- katello/0.2.44-1.el6
|
28
26
|
Content-Type:
|
29
27
|
- application/json; charset=utf-8
|
30
|
-
Cache-Control:
|
31
|
-
- max-age=0, private, must-revalidate
|
32
|
-
Etag:
|
33
|
-
- "\"8e8dcc12988aa180f797934963e7d601\""
|
34
28
|
Server:
|
35
29
|
- thin 1.2.11 codename Bat-Shit Crazy
|
36
|
-
X-Runtime:
|
37
|
-
- "0.405288"
|
38
30
|
Transfer-Encoding:
|
39
31
|
- chunked
|
32
|
+
Date:
|
33
|
+
- Wed, 22 Aug 2012 14:23:19 GMT
|
40
34
|
X-Ua-Compatible:
|
41
35
|
- IE=Edge,chrome=1
|
42
|
-
|
43
|
-
-
|
36
|
+
Cache-Control:
|
37
|
+
- max-age=0, private, must-revalidate
|
38
|
+
X-Runtime:
|
39
|
+
- "0.570955"
|
40
|
+
Etag:
|
41
|
+
- "\"14b4b38eb966e6d58b6b8bcda1c29993\""
|
42
|
+
X-Candlepin-Version:
|
43
|
+
- katello/0.2.44-1.el6
|
44
44
|
body:
|
45
|
-
string: "{\"password_reset_token\":null,\"password_reset_sent_at\":null,\"default_organization\":null,\"helptips_enabled\":true,\"disabled\":false,\"id\":
|
45
|
+
string: "{\"password_reset_token\":null,\"password_reset_sent_at\":null,\"default_organization\":null,\"helptips_enabled\":true,\"disabled\":false,\"id\":35,\"default_environment\":null,\"own_role_id\":64,\"preferences\":{},\"updated_at\":\"2012-08-22T14:23:20Z\",\"password\":\"bab252db82ef279c3c947e82ddd71c075756e3d08f75f3725c240d09d9474f7afcb6026db37d37a6e845c495a3910d84b75a7a186050fd10bfa78eee8726c715rsEn8ONJB3yh5Jxuq9PPP6OlhSO7NmUS77FIibjExOioK96m67Nyou5igabRAz2R\",\"username\":\"funzo\",\"created_at\":\"2012-08-22T14:23:20Z\",\"email\":\"spam@example.com\",\"hidden\":false,\"page_size\":25}"
|
46
46
|
http_version:
|
47
|
-
recorded_at:
|
47
|
+
recorded_at: Wed, 22 Aug 2012 14:23:21 GMT
|
48
48
|
- request:
|
49
49
|
method: get
|
50
50
|
uri: https://10.11.230.105/katello/api/users?username=funzo
|
51
51
|
body:
|
52
52
|
string: ""
|
53
53
|
headers:
|
54
|
-
Http-Katello-User:
|
55
|
-
- admin
|
56
54
|
User-Agent:
|
57
55
|
- OAuth gem v0.4.6
|
58
56
|
Authorization:
|
59
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
57
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="sF78WpXNMil2enyZ2xjbwMI6VfXNl8JnrIViOuTLnJA", oauth_signature="DYf%2FWTv3bcpRGXnTIz0xg2c919I%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645401", oauth_version="1.0"
|
60
58
|
Accept:
|
61
59
|
- application/json
|
60
|
+
Http-Katello-User:
|
61
|
+
- admin
|
62
62
|
response:
|
63
63
|
status:
|
64
64
|
code: 200
|
65
65
|
message: OK
|
66
66
|
headers:
|
67
|
-
X-Candlepin-Version:
|
68
|
-
- katello/0.2.44-1.el6
|
69
67
|
Content-Type:
|
70
68
|
- application/json; charset=utf-8
|
71
|
-
Cache-Control:
|
72
|
-
- max-age=0, private, must-revalidate
|
73
|
-
Etag:
|
74
|
-
- "\"def5fcb35094381917ab1a6cf764f0a3\""
|
75
69
|
Server:
|
76
70
|
- thin 1.2.11 codename Bat-Shit Crazy
|
77
|
-
X-Runtime:
|
78
|
-
- "0.043377"
|
79
71
|
Transfer-Encoding:
|
80
72
|
- chunked
|
73
|
+
Date:
|
74
|
+
- Wed, 22 Aug 2012 14:23:20 GMT
|
81
75
|
X-Ua-Compatible:
|
82
76
|
- IE=Edge,chrome=1
|
83
|
-
|
84
|
-
-
|
77
|
+
Cache-Control:
|
78
|
+
- max-age=0, private, must-revalidate
|
79
|
+
X-Runtime:
|
80
|
+
- "0.045230"
|
81
|
+
Etag:
|
82
|
+
- "\"0f449d4fd2c7a039a1cb7d8dfa5ad87e\""
|
83
|
+
X-Candlepin-Version:
|
84
|
+
- katello/0.2.44-1.el6
|
85
85
|
body:
|
86
|
-
string: "[{\"password_reset_token\":null,\"password_reset_sent_at\":null,\"default_organization\":null,\"helptips_enabled\":true,\"disabled\":false,\"id\":
|
86
|
+
string: "[{\"password_reset_token\":null,\"password_reset_sent_at\":null,\"default_organization\":null,\"helptips_enabled\":true,\"disabled\":false,\"id\":35,\"default_environment\":null,\"own_role_id\":64,\"preferences\":{},\"updated_at\":\"2012-08-22T14:23:20Z\",\"password\":\"bab252db82ef279c3c947e82ddd71c075756e3d08f75f3725c240d09d9474f7afcb6026db37d37a6e845c495a3910d84b75a7a186050fd10bfa78eee8726c715rsEn8ONJB3yh5Jxuq9PPP6OlhSO7NmUS77FIibjExOioK96m67Nyou5igabRAz2R\",\"username\":\"funzo\",\"created_at\":\"2012-08-22T14:23:20Z\",\"email\":\"spam@example.com\",\"hidden\":false,\"page_size\":25}]"
|
87
87
|
http_version:
|
88
|
-
recorded_at:
|
88
|
+
recorded_at: Wed, 22 Aug 2012 14:23:21 GMT
|
89
89
|
- request:
|
90
90
|
method: delete
|
91
|
-
uri: https://10.11.230.105/katello/api/users/
|
91
|
+
uri: https://10.11.230.105/katello/api/users/35
|
92
92
|
body:
|
93
93
|
string: ""
|
94
94
|
headers:
|
95
|
-
Http-Katello-User:
|
96
|
-
- admin
|
97
95
|
User-Agent:
|
98
96
|
- OAuth gem v0.4.6
|
99
97
|
Authorization:
|
100
|
-
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="
|
98
|
+
- OAuth oauth_consumer_key="cloud_forms", oauth_nonce="UcKcw7hmUxUPOsarbkVL6sHDNucfv83CpQqKqhXM", oauth_signature="IX62feewGlGstXnyay8O1gdpcl4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1345645401", oauth_version="1.0"
|
101
99
|
Accept:
|
102
100
|
- application/json
|
101
|
+
Http-Katello-User:
|
102
|
+
- admin
|
103
103
|
response:
|
104
104
|
status:
|
105
105
|
code: 200
|
106
106
|
message: OK
|
107
107
|
headers:
|
108
|
-
X-Candlepin-Version:
|
109
|
-
- katello/0.2.44-1.el6
|
110
108
|
Content-Type:
|
111
109
|
- application/json; charset=utf-8
|
112
|
-
Cache-Control:
|
113
|
-
- max-age=0, private, must-revalidate
|
114
|
-
Etag:
|
115
|
-
- "\"f4ff9990169af8d8f51cb4ef56046092\""
|
116
110
|
Server:
|
117
111
|
- thin 1.2.11 codename Bat-Shit Crazy
|
118
|
-
X-Runtime:
|
119
|
-
- "0.319986"
|
120
112
|
Transfer-Encoding:
|
121
113
|
- chunked
|
114
|
+
Date:
|
115
|
+
- Wed, 22 Aug 2012 14:23:20 GMT
|
122
116
|
X-Ua-Compatible:
|
123
117
|
- IE=Edge,chrome=1
|
124
|
-
|
125
|
-
-
|
118
|
+
Cache-Control:
|
119
|
+
- max-age=0, private, must-revalidate
|
120
|
+
X-Runtime:
|
121
|
+
- "0.221502"
|
122
|
+
Etag:
|
123
|
+
- "\"9b44f615b8a7d125178abdd87de96ff5\""
|
124
|
+
X-Candlepin-Version:
|
125
|
+
- katello/0.2.44-1.el6
|
126
126
|
body:
|
127
|
-
string: Deleted user '
|
127
|
+
string: Deleted user '35'
|
128
128
|
http_version:
|
129
|
-
recorded_at:
|
129
|
+
recorded_at: Wed, 22 Aug 2012 14:23:21 GMT
|
130
130
|
recorded_with: VCR 2.2.4
|