runcible 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/runcible/base.rb +24 -11
- data/lib/runcible/resources/user.rb +0 -2
- data/lib/runcible/version.rb +1 -1
- data/test/integration/fixtures/vcr_cassettes/pulp_user.yml +276 -160
- data/test/integration/fixtures/vcr_cassettes/pulp_user_helper.yml +361 -129
- data/test/integration/test_runner.rb +16 -8
- metadata +3 -3
@@ -1,4 +1,5 @@
|
|
1
1
|
---
|
2
|
+
recorded_with: VCR 2.2.5
|
2
3
|
http_interactions:
|
3
4
|
- request:
|
4
5
|
method: get
|
@@ -6,25 +7,25 @@ http_interactions:
|
|
6
7
|
body:
|
7
8
|
string: ""
|
8
9
|
headers:
|
9
|
-
Accept:
|
10
|
-
- application/json
|
11
|
-
Content-Type:
|
12
|
-
- application/json
|
13
10
|
Accept-Encoding:
|
14
11
|
- gzip, deflate
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Accept:
|
15
|
+
- application/json
|
15
16
|
response:
|
16
17
|
status:
|
17
18
|
code: 404
|
18
19
|
message: Not Found
|
19
20
|
headers:
|
20
|
-
Server:
|
21
|
-
- Apache/2.2.22 (Fedora)
|
22
|
-
Connection:
|
23
|
-
- close
|
24
21
|
Date:
|
25
22
|
- Sun, 09 Sep 2012 04:32:39 GMT
|
26
23
|
Content-Type:
|
27
24
|
- text/html; charset=UTF-8
|
25
|
+
Connection:
|
26
|
+
- close
|
27
|
+
Server:
|
28
|
+
- Apache/2.2.22 (Fedora)
|
28
29
|
Content-Length:
|
29
30
|
- "9"
|
30
31
|
body:
|
@@ -37,25 +38,25 @@ http_interactions:
|
|
37
38
|
body:
|
38
39
|
string: ""
|
39
40
|
headers:
|
40
|
-
Accept:
|
41
|
-
- application/json
|
42
|
-
Content-Type:
|
43
|
-
- application/json
|
44
41
|
Accept-Encoding:
|
45
42
|
- gzip, deflate
|
43
|
+
Content-Type:
|
44
|
+
- application/json
|
45
|
+
Accept:
|
46
|
+
- application/json
|
46
47
|
response:
|
47
48
|
status:
|
48
49
|
code: 404
|
49
50
|
message: Not Found
|
50
51
|
headers:
|
51
|
-
Server:
|
52
|
-
- Apache/2.2.22 (Fedora)
|
53
|
-
Connection:
|
54
|
-
- close
|
55
52
|
Date:
|
56
53
|
- Sun, 09 Sep 2012 04:33:47 GMT
|
57
54
|
Content-Type:
|
58
55
|
- text/html; charset=UTF-8
|
56
|
+
Connection:
|
57
|
+
- close
|
58
|
+
Server:
|
59
|
+
- Apache/2.2.22 (Fedora)
|
59
60
|
Content-Length:
|
60
61
|
- "9"
|
61
62
|
body:
|
@@ -68,27 +69,27 @@ http_interactions:
|
|
68
69
|
body:
|
69
70
|
string: "{\"password\":\"integration_test_user\",\"login\":\"integration_test_user\",\"name\":\"integration_test_password\"}"
|
70
71
|
headers:
|
71
|
-
Accept:
|
72
|
-
-
|
72
|
+
Accept-Encoding:
|
73
|
+
- gzip, deflate
|
73
74
|
Content-Type:
|
74
75
|
- application/json
|
76
|
+
Accept:
|
77
|
+
- application/json
|
75
78
|
Content-Length:
|
76
79
|
- "103"
|
77
|
-
Accept-Encoding:
|
78
|
-
- gzip, deflate
|
79
80
|
response:
|
80
81
|
status:
|
81
82
|
code: 404
|
82
83
|
message: Not Found
|
83
84
|
headers:
|
84
|
-
Server:
|
85
|
-
- Apache/2.2.22 (Fedora)
|
86
|
-
Connection:
|
87
|
-
- close
|
88
85
|
Date:
|
89
86
|
- Sun, 09 Sep 2012 04:33:47 GMT
|
90
87
|
Content-Type:
|
91
88
|
- text/html; charset=UTF-8
|
89
|
+
Connection:
|
90
|
+
- close
|
91
|
+
Server:
|
92
|
+
- Apache/2.2.22 (Fedora)
|
92
93
|
Content-Length:
|
93
94
|
- "9"
|
94
95
|
body:
|
@@ -101,27 +102,27 @@ http_interactions:
|
|
101
102
|
body:
|
102
103
|
string: "{\"login\":\"integration_test_user\"}"
|
103
104
|
headers:
|
104
|
-
Accept:
|
105
|
-
-
|
105
|
+
Accept-Encoding:
|
106
|
+
- gzip, deflate
|
106
107
|
Content-Type:
|
107
108
|
- application/json
|
109
|
+
Accept:
|
110
|
+
- application/json
|
108
111
|
Content-Length:
|
109
112
|
- "33"
|
110
|
-
Accept-Encoding:
|
111
|
-
- gzip, deflate
|
112
113
|
response:
|
113
114
|
status:
|
114
115
|
code: 201
|
115
116
|
message: Created
|
116
117
|
headers:
|
117
|
-
Location:
|
118
|
-
- integration_test_user
|
119
|
-
Server:
|
120
|
-
- Apache/2.2.22 (Fedora)
|
121
118
|
Date:
|
122
119
|
- Thu, 13 Sep 2012 21:19:40 GMT
|
123
120
|
Content-Type:
|
124
121
|
- application/json
|
122
|
+
Server:
|
123
|
+
- Apache/2.2.22 (Fedora)
|
124
|
+
Location:
|
125
|
+
- integration_test_user
|
125
126
|
Content-Length:
|
126
127
|
- "229"
|
127
128
|
body:
|
@@ -134,23 +135,23 @@ http_interactions:
|
|
134
135
|
body:
|
135
136
|
string: ""
|
136
137
|
headers:
|
137
|
-
Accept:
|
138
|
-
- application/json
|
139
|
-
Content-Type:
|
140
|
-
- application/json
|
141
138
|
Accept-Encoding:
|
142
139
|
- gzip, deflate
|
140
|
+
Content-Type:
|
141
|
+
- application/json
|
142
|
+
Accept:
|
143
|
+
- application/json
|
143
144
|
response:
|
144
145
|
status:
|
145
146
|
code: 200
|
146
147
|
message: OK
|
147
148
|
headers:
|
148
|
-
Server:
|
149
|
-
- Apache/2.2.22 (Fedora)
|
150
149
|
Date:
|
151
150
|
- Thu, 13 Sep 2012 21:19:42 GMT
|
152
151
|
Content-Type:
|
153
152
|
- application/json
|
153
|
+
Server:
|
154
|
+
- Apache/2.2.22 (Fedora)
|
154
155
|
Content-Length:
|
155
156
|
- "302"
|
156
157
|
body:
|
@@ -163,23 +164,23 @@ http_interactions:
|
|
163
164
|
body:
|
164
165
|
string: ""
|
165
166
|
headers:
|
166
|
-
Accept:
|
167
|
-
- application/json
|
168
|
-
Content-Type:
|
169
|
-
- application/json
|
170
167
|
Accept-Encoding:
|
171
168
|
- gzip, deflate
|
169
|
+
Content-Type:
|
170
|
+
- application/json
|
171
|
+
Accept:
|
172
|
+
- application/json
|
172
173
|
response:
|
173
174
|
status:
|
174
175
|
code: 200
|
175
176
|
message: OK
|
176
177
|
headers:
|
177
|
-
Server:
|
178
|
-
- Apache/2.2.22 (Fedora)
|
179
178
|
Date:
|
180
179
|
- Thu, 13 Sep 2012 21:19:42 GMT
|
181
180
|
Content-Type:
|
182
181
|
- application/json
|
182
|
+
Server:
|
183
|
+
- Apache/2.2.22 (Fedora)
|
183
184
|
Content-Length:
|
184
185
|
- "4"
|
185
186
|
body:
|
@@ -192,260 +193,491 @@ http_interactions:
|
|
192
193
|
body:
|
193
194
|
string: ""
|
194
195
|
headers:
|
195
|
-
Accept:
|
196
|
-
- application/json
|
197
196
|
Authorization:
|
198
197
|
- OAuth oauth_consumer_key="katello", oauth_nonce="rlmGy4UnIV27cHcMtBkY0ilGR4mEkRF7i9pBXbS4PGc", oauth_signature="zlb5q5q27CYBrAe69uqYfURvbno%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347572405", oauth_version="1.0"
|
199
|
-
Content-Type:
|
200
|
-
- application/json
|
201
198
|
Accept-Encoding:
|
202
199
|
- gzip, deflate
|
200
|
+
Content-Type:
|
201
|
+
- application/json
|
202
|
+
Accept:
|
203
|
+
- application/json
|
203
204
|
response:
|
204
205
|
status:
|
205
206
|
code: 401
|
206
207
|
message: Unauthorized
|
207
208
|
headers:
|
208
|
-
Server:
|
209
|
-
- Apache/2.2.22 (Fedora)
|
210
209
|
Date:
|
211
210
|
- Thu, 13 Sep 2012 21:40:05 GMT
|
212
211
|
Content-Type:
|
213
212
|
- application/json
|
213
|
+
Server:
|
214
|
+
- Apache/2.2.22 (Fedora)
|
214
215
|
Content-Length:
|
215
216
|
- "25"
|
216
217
|
body:
|
217
218
|
string: "\"Invalid SSL Certificate\""
|
218
219
|
http_version:
|
219
220
|
recorded_at: Thu, 13 Sep 2012 21:40:05 GMT
|
221
|
+
- request:
|
222
|
+
method: post
|
223
|
+
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2//pulp/api/v2/users/
|
224
|
+
body:
|
225
|
+
string: "{\"login\":\"integration_test_user\"}"
|
226
|
+
headers:
|
227
|
+
Pulp-User:
|
228
|
+
- admin
|
229
|
+
Accept-Encoding:
|
230
|
+
- gzip, deflate
|
231
|
+
Content-Type:
|
232
|
+
- application/json
|
233
|
+
Accept:
|
234
|
+
- application/json
|
235
|
+
Content-Length:
|
236
|
+
- "33"
|
237
|
+
response:
|
238
|
+
status:
|
239
|
+
code: 404
|
240
|
+
message: Not Found
|
241
|
+
headers:
|
242
|
+
Date:
|
243
|
+
- Fri, 14 Sep 2012 09:33:42 GMT
|
244
|
+
Content-Type:
|
245
|
+
- text/html; charset=UTF-8
|
246
|
+
Content-Encoding:
|
247
|
+
- gzip
|
248
|
+
Vary:
|
249
|
+
- Accept-Encoding
|
250
|
+
Server:
|
251
|
+
- Apache/2.2.22 (Fedora)
|
252
|
+
Content-Length:
|
253
|
+
- "29"
|
254
|
+
body:
|
255
|
+
string: !binary |
|
256
|
+
H4sIAAAAAAAAA8vLL1FIyy/NSwEA6iFE8gkAAAA=
|
257
|
+
|
258
|
+
http_version:
|
259
|
+
recorded_at: Fri, 14 Sep 2012 09:33:42 GMT
|
220
260
|
- request:
|
221
261
|
method: get
|
222
|
-
uri: https://admin
|
262
|
+
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2//pulp/api/v2/users/integration_test_user/
|
223
263
|
body:
|
224
264
|
string: ""
|
225
265
|
headers:
|
226
266
|
Pulp-User:
|
227
267
|
- admin
|
268
|
+
Accept-Encoding:
|
269
|
+
- gzip, deflate
|
270
|
+
Content-Type:
|
271
|
+
- application/json
|
228
272
|
Accept:
|
229
273
|
- application/json
|
274
|
+
response:
|
275
|
+
status:
|
276
|
+
code: 404
|
277
|
+
message: Not Found
|
278
|
+
headers:
|
279
|
+
Date:
|
280
|
+
- Fri, 14 Sep 2012 09:33:43 GMT
|
230
281
|
Content-Type:
|
231
|
-
-
|
282
|
+
- text/html; charset=UTF-8
|
283
|
+
Content-Encoding:
|
284
|
+
- gzip
|
285
|
+
Vary:
|
286
|
+
- Accept-Encoding
|
287
|
+
Server:
|
288
|
+
- Apache/2.2.22 (Fedora)
|
289
|
+
Content-Length:
|
290
|
+
- "29"
|
291
|
+
body:
|
292
|
+
string: !binary |
|
293
|
+
H4sIAAAAAAAAA8vLL1FIyy/NSwEA6iFE8gkAAAA=
|
294
|
+
|
295
|
+
http_version:
|
296
|
+
recorded_at: Fri, 14 Sep 2012 09:33:43 GMT
|
297
|
+
- request:
|
298
|
+
method: post
|
299
|
+
uri: https://admin:@knifeparty.localdomain/pulp/api/v2/https://knifeparty.localdomain/pulp/api/v2/users/
|
300
|
+
body:
|
301
|
+
string: "{\"login\":\"integration_test_user\"}"
|
302
|
+
headers:
|
303
|
+
Pulp-User:
|
304
|
+
- admin
|
232
305
|
Accept-Encoding:
|
233
306
|
- gzip, deflate
|
307
|
+
Content-Type:
|
308
|
+
- application/json
|
309
|
+
Accept:
|
310
|
+
- application/json
|
311
|
+
Content-Length:
|
312
|
+
- "33"
|
234
313
|
response:
|
235
314
|
status:
|
236
|
-
code:
|
237
|
-
message:
|
315
|
+
code: 404
|
316
|
+
message: Not Found
|
238
317
|
headers:
|
318
|
+
Date:
|
319
|
+
- Fri, 14 Sep 2012 09:44:36 GMT
|
320
|
+
Content-Type:
|
321
|
+
- text/html; charset=UTF-8
|
322
|
+
Content-Encoding:
|
323
|
+
- gzip
|
324
|
+
Vary:
|
325
|
+
- Accept-Encoding
|
239
326
|
Server:
|
240
327
|
- Apache/2.2.22 (Fedora)
|
241
|
-
|
242
|
-
-
|
328
|
+
Content-Length:
|
329
|
+
- "29"
|
330
|
+
body:
|
331
|
+
string: !binary |
|
332
|
+
H4sIAAAAAAAAA8vLL1FIyy/NSwEA6iFE8gkAAAA=
|
333
|
+
|
334
|
+
http_version:
|
335
|
+
recorded_at: Fri, 14 Sep 2012 09:44:36 GMT
|
336
|
+
- request:
|
337
|
+
method: get
|
338
|
+
uri: https://admin:@knifeparty.localdomain/pulp/api/v2/https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
339
|
+
body:
|
340
|
+
string: ""
|
341
|
+
headers:
|
342
|
+
Pulp-User:
|
343
|
+
- admin
|
344
|
+
Accept-Encoding:
|
345
|
+
- gzip, deflate
|
243
346
|
Content-Type:
|
244
347
|
- application/json
|
348
|
+
Accept:
|
349
|
+
- application/json
|
350
|
+
response:
|
351
|
+
status:
|
352
|
+
code: 404
|
353
|
+
message: Not Found
|
354
|
+
headers:
|
355
|
+
Date:
|
356
|
+
- Fri, 14 Sep 2012 09:44:37 GMT
|
357
|
+
Content-Type:
|
358
|
+
- text/html; charset=UTF-8
|
359
|
+
Content-Encoding:
|
360
|
+
- gzip
|
361
|
+
Vary:
|
362
|
+
- Accept-Encoding
|
363
|
+
Server:
|
364
|
+
- Apache/2.2.22 (Fedora)
|
245
365
|
Content-Length:
|
246
|
-
- "
|
366
|
+
- "29"
|
247
367
|
body:
|
248
|
-
string:
|
368
|
+
string: !binary |
|
369
|
+
H4sIAAAAAAAAA8vLL1FIyy/NSwEA6iFE8gkAAAA=
|
370
|
+
|
249
371
|
http_version:
|
250
|
-
recorded_at:
|
372
|
+
recorded_at: Fri, 14 Sep 2012 09:44:37 GMT
|
251
373
|
- request:
|
252
374
|
method: post
|
253
|
-
uri: https://knifeparty.localdomain/
|
375
|
+
uri: https://admin:admin@knifeparty.localdomain/users/
|
254
376
|
body:
|
255
377
|
string: "{\"login\":\"integration_test_user\"}"
|
256
378
|
headers:
|
257
379
|
Pulp-User:
|
258
380
|
- admin
|
259
|
-
Accept:
|
260
|
-
-
|
261
|
-
Authorization:
|
262
|
-
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="vAZCLjpa6EyiK3s6UqKNmziRvnEsQa388o08GNzID5k", oauth_signature="Y9u7fArmvws145eQOPudLIvdAiI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347580103", oauth_version="1.0"
|
381
|
+
Accept-Encoding:
|
382
|
+
- gzip, deflate
|
263
383
|
Content-Type:
|
264
384
|
- application/json
|
385
|
+
Accept:
|
386
|
+
- application/json
|
265
387
|
Content-Length:
|
266
388
|
- "33"
|
267
|
-
Accept-Encoding:
|
268
|
-
- gzip, deflate
|
269
389
|
response:
|
270
390
|
status:
|
271
|
-
code:
|
272
|
-
message:
|
391
|
+
code: 404
|
392
|
+
message: Not Found
|
273
393
|
headers:
|
274
|
-
|
275
|
-
-
|
394
|
+
Date:
|
395
|
+
- Fri, 14 Sep 2012 09:58:12 GMT
|
396
|
+
Content-Type:
|
397
|
+
- text/html; charset=iso-8859-1
|
398
|
+
Content-Encoding:
|
399
|
+
- gzip
|
400
|
+
Vary:
|
401
|
+
- Accept-Encoding
|
276
402
|
Server:
|
277
403
|
- Apache/2.2.22 (Fedora)
|
278
|
-
|
279
|
-
-
|
404
|
+
Content-Length:
|
405
|
+
- "239"
|
406
|
+
body:
|
407
|
+
string: !binary |
|
408
|
+
H4sIAAAAAAAAA01PTU/DMAy991eYneBAPUqPViRYWzGpjAqyA8eweEpFl5Qk
|
409
|
+
Be3fk3ZCQpYsPb8PPdNV9bKR710NT/K5hW7/2G43sLpF3NayQaxkdWGKfI1Y
|
410
|
+
71YiIxNPgyDDSicQ+ziwKNcl7FyExk1WE16OGeEiog+nz7PvTvzTJJTRKKRh
|
411
|
+
8Pw1cYisYf/aAk6BfUD4UQFs0h9nPTgL0fQBEvfNPicc50SfltLacwjiYVQH
|
412
|
+
w1jkaQq4blg7r27gbTGAivBp+yOPysdzPriDGrQ7qd5C53yEsrwn/EtKxZfK
|
413
|
+
qeT8avYLKgStLCUBAAA=
|
414
|
+
|
415
|
+
http_version:
|
416
|
+
recorded_at: Fri, 14 Sep 2012 09:58:12 GMT
|
417
|
+
- request:
|
418
|
+
method: get
|
419
|
+
uri: https://admin:admin@knifeparty.localdomain/users/integration_test_user/
|
420
|
+
body:
|
421
|
+
string: ""
|
422
|
+
headers:
|
423
|
+
Pulp-User:
|
424
|
+
- admin
|
425
|
+
Accept-Encoding:
|
426
|
+
- gzip, deflate
|
280
427
|
Content-Type:
|
281
428
|
- application/json
|
429
|
+
Accept:
|
430
|
+
- application/json
|
431
|
+
response:
|
432
|
+
status:
|
433
|
+
code: 404
|
434
|
+
message: Not Found
|
435
|
+
headers:
|
436
|
+
Date:
|
437
|
+
- Fri, 14 Sep 2012 09:58:13 GMT
|
438
|
+
Content-Type:
|
439
|
+
- text/html; charset=iso-8859-1
|
440
|
+
Content-Encoding:
|
441
|
+
- gzip
|
442
|
+
Vary:
|
443
|
+
- Accept-Encoding
|
444
|
+
Server:
|
445
|
+
- Apache/2.2.22 (Fedora)
|
282
446
|
Content-Length:
|
283
|
-
- "
|
447
|
+
- "255"
|
284
448
|
body:
|
285
|
-
string:
|
449
|
+
string: !binary |
|
450
|
+
H4sIAAAAAAAAA01QwU7DMAy99yvMTnCgHqXHKBKsrZhURgXdgdMUFo9GdElJ
|
451
|
+
XND+nrTTJGTJkt+zn/0sroqXVfvelPDUPtfQbB/r9QoWt4jrsq0Qi7Y4M1m6
|
452
|
+
RCw3C5mIjo+9FB0pHQs23JPMlzlsHEPlRqsFnsFE4NwkPpw+TXN38l9PrBIx
|
453
|
+
yLYj8PQ9UmDSsH2tAcdAPqCxTJ9esXF2x5HdTTDCrwpgo8phUgFngTsTIFI/
|
454
|
+
5FOBw7THx6S09hSCfBjUviPM0hgZXFeknVc38DYPgGL4suZAg/J8Snu3V712
|
455
|
+
R2UsNM4z5Pm9wItStDMbiadPD0j+ACFtoog7AQAA
|
456
|
+
|
286
457
|
http_version:
|
287
|
-
recorded_at:
|
458
|
+
recorded_at: Fri, 14 Sep 2012 09:58:13 GMT
|
288
459
|
- request:
|
289
460
|
method: get
|
290
|
-
uri: https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
461
|
+
uri: https://admin:@knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
291
462
|
body:
|
292
463
|
string: ""
|
293
464
|
headers:
|
294
465
|
Pulp-User:
|
295
466
|
- admin
|
467
|
+
Accept-Encoding:
|
468
|
+
- gzip, deflate
|
469
|
+
Content-Type:
|
470
|
+
- application/json
|
296
471
|
Accept:
|
297
472
|
- application/json
|
298
|
-
|
299
|
-
|
473
|
+
response:
|
474
|
+
status:
|
475
|
+
code: 401
|
476
|
+
message: Unauthorized
|
477
|
+
headers:
|
478
|
+
Date:
|
479
|
+
- Fri, 14 Sep 2012 10:03:04 GMT
|
300
480
|
Content-Type:
|
301
481
|
- application/json
|
482
|
+
Server:
|
483
|
+
- Apache/2.2.22 (Fedora)
|
484
|
+
Content-Length:
|
485
|
+
- "30"
|
486
|
+
body:
|
487
|
+
string: "\"Invalid username or password\""
|
488
|
+
http_version:
|
489
|
+
recorded_at: Fri, 14 Sep 2012 10:03:04 GMT
|
490
|
+
- request:
|
491
|
+
method: post
|
492
|
+
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/
|
493
|
+
body:
|
494
|
+
string: "{\"login\":\"integration_test_user\"}"
|
495
|
+
headers:
|
302
496
|
Accept-Encoding:
|
303
497
|
- gzip, deflate
|
498
|
+
Content-Type:
|
499
|
+
- application/json
|
500
|
+
Accept:
|
501
|
+
- application/json
|
502
|
+
Content-Length:
|
503
|
+
- "33"
|
304
504
|
response:
|
305
505
|
status:
|
306
|
-
code:
|
307
|
-
message:
|
506
|
+
code: 201
|
507
|
+
message: Created
|
308
508
|
headers:
|
309
|
-
Server:
|
310
|
-
- Apache/2.2.22 (Fedora)
|
311
509
|
Date:
|
312
|
-
-
|
510
|
+
- Fri, 14 Sep 2012 10:34:06 GMT
|
313
511
|
Content-Type:
|
314
512
|
- application/json
|
513
|
+
Server:
|
514
|
+
- Apache/2.2.22 (Fedora)
|
515
|
+
Location:
|
516
|
+
- integration_test_user
|
315
517
|
Content-Length:
|
316
|
-
- "
|
518
|
+
- "229"
|
317
519
|
body:
|
318
|
-
string: "{\"_id\": {\"$oid\": \"
|
520
|
+
string: "{\"_id\": {\"$oid\": \"5053081edc792114e7000563\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"5053081edc792114e7000563\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
319
521
|
http_version:
|
320
|
-
recorded_at:
|
522
|
+
recorded_at: Fri, 14 Sep 2012 10:34:07 GMT
|
321
523
|
- request:
|
322
|
-
method:
|
323
|
-
uri: https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
524
|
+
method: get
|
525
|
+
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
324
526
|
body:
|
325
527
|
string: ""
|
326
528
|
headers:
|
327
|
-
|
328
|
-
-
|
529
|
+
Accept-Encoding:
|
530
|
+
- gzip, deflate
|
531
|
+
Content-Type:
|
532
|
+
- application/json
|
329
533
|
Accept:
|
330
534
|
- application/json
|
331
|
-
|
332
|
-
|
535
|
+
response:
|
536
|
+
status:
|
537
|
+
code: 200
|
538
|
+
message: OK
|
539
|
+
headers:
|
540
|
+
Date:
|
541
|
+
- Fri, 14 Sep 2012 10:34:08 GMT
|
333
542
|
Content-Type:
|
334
543
|
- application/json
|
544
|
+
Server:
|
545
|
+
- Apache/2.2.22 (Fedora)
|
546
|
+
Content-Length:
|
547
|
+
- "302"
|
548
|
+
body:
|
549
|
+
string: "{\"_id\": {\"$oid\": \"50530820dc792114e7000579\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": \"6Nk+HUH8A9A=,vRXV6OZM2e1OpKMr3dNzi/SUv2KUreBY5x3R0nweg5A=\", \"id\": \"50530820dc792114e7000579\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
550
|
+
http_version:
|
551
|
+
recorded_at: Fri, 14 Sep 2012 10:34:08 GMT
|
552
|
+
- request:
|
553
|
+
method: delete
|
554
|
+
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
555
|
+
body:
|
556
|
+
string: ""
|
557
|
+
headers:
|
335
558
|
Accept-Encoding:
|
336
559
|
- gzip, deflate
|
560
|
+
Content-Type:
|
561
|
+
- application/json
|
562
|
+
Accept:
|
563
|
+
- application/json
|
337
564
|
response:
|
338
565
|
status:
|
339
566
|
code: 200
|
340
567
|
message: OK
|
341
568
|
headers:
|
342
|
-
Server:
|
343
|
-
- Apache/2.2.22 (Fedora)
|
344
569
|
Date:
|
345
|
-
-
|
570
|
+
- Fri, 14 Sep 2012 10:34:08 GMT
|
346
571
|
Content-Type:
|
347
572
|
- application/json
|
573
|
+
Server:
|
574
|
+
- Apache/2.2.22 (Fedora)
|
348
575
|
Content-Length:
|
349
576
|
- "4"
|
350
577
|
body:
|
351
578
|
string: "null"
|
352
579
|
http_version:
|
353
|
-
recorded_at:
|
580
|
+
recorded_at: Fri, 14 Sep 2012 10:34:09 GMT
|
354
581
|
- request:
|
355
582
|
method: post
|
356
|
-
uri: https://
|
583
|
+
uri: https://knifeparty.localdomain/pulp/api/v2/users/
|
357
584
|
body:
|
358
585
|
string: "{\"login\":\"integration_test_user\"}"
|
359
586
|
headers:
|
587
|
+
Authorization:
|
588
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="VFULiHhG4MGmKACRQupzkQl0dDiuRXTELrcZo0wC1o", oauth_signature="6Rq3jPUNzv%2BfVwHkcUrnMEFa6QM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347618864", oauth_version="1.0"
|
360
589
|
Pulp-User:
|
361
590
|
- admin
|
362
|
-
Accept:
|
363
|
-
-
|
591
|
+
Accept-Encoding:
|
592
|
+
- gzip, deflate
|
364
593
|
Content-Type:
|
365
594
|
- application/json
|
595
|
+
Accept:
|
596
|
+
- application/json
|
366
597
|
Content-Length:
|
367
598
|
- "33"
|
368
|
-
Accept-Encoding:
|
369
|
-
- gzip, deflate
|
370
599
|
response:
|
371
600
|
status:
|
372
601
|
code: 201
|
373
602
|
message: Created
|
374
603
|
headers:
|
604
|
+
Content-Type:
|
605
|
+
- application/json
|
606
|
+
Date:
|
607
|
+
- Fri, 14 Sep 2012 10:34:24 GMT
|
375
608
|
Server:
|
376
609
|
- Apache/2.2.22 (Fedora)
|
377
610
|
Location:
|
378
611
|
- integration_test_user
|
379
|
-
Date:
|
380
|
-
- Fri, 14 Sep 2012 00:58:47 GMT
|
381
|
-
Content-Type:
|
382
|
-
- application/json
|
383
612
|
Content-Length:
|
384
613
|
- "229"
|
385
614
|
body:
|
386
|
-
string: "{\"_id\": {\"$oid\": \"
|
615
|
+
string: "{\"_id\": {\"$oid\": \"50530831dc792114e70005a6\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"50530831dc792114e70005a6\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
387
616
|
http_version:
|
388
|
-
recorded_at: Fri, 14 Sep 2012
|
617
|
+
recorded_at: Fri, 14 Sep 2012 10:34:25 GMT
|
389
618
|
- request:
|
390
619
|
method: get
|
391
|
-
uri: https://
|
620
|
+
uri: https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
392
621
|
body:
|
393
622
|
string: ""
|
394
623
|
headers:
|
624
|
+
Authorization:
|
625
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="lVPerDrmYQo3ODzDpgMDxXT8ggJClf0gNxRNeLjX0LI", oauth_signature="4huCYyPu%2FOJOjq4%2BkGWIwsVqBj4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347618866", oauth_version="1.0"
|
395
626
|
Pulp-User:
|
396
627
|
- admin
|
397
|
-
Accept:
|
398
|
-
- application/json
|
399
|
-
Content-Type:
|
400
|
-
- application/json
|
401
628
|
Accept-Encoding:
|
402
629
|
- gzip, deflate
|
630
|
+
Content-Type:
|
631
|
+
- application/json
|
632
|
+
Accept:
|
633
|
+
- application/json
|
403
634
|
response:
|
404
635
|
status:
|
405
636
|
code: 200
|
406
637
|
message: OK
|
407
638
|
headers:
|
408
|
-
Server:
|
409
|
-
- Apache/2.2.22 (Fedora)
|
410
|
-
Date:
|
411
|
-
- Fri, 14 Sep 2012 00:58:49 GMT
|
412
639
|
Content-Type:
|
413
640
|
- application/json
|
641
|
+
Date:
|
642
|
+
- Fri, 14 Sep 2012 10:34:26 GMT
|
643
|
+
Server:
|
644
|
+
- Apache/2.2.22 (Fedora)
|
414
645
|
Content-Length:
|
415
646
|
- "302"
|
416
647
|
body:
|
417
|
-
string: "{\"_id\": {\"$oid\": \"
|
648
|
+
string: "{\"_id\": {\"$oid\": \"50530832dc792114e70005bb\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": \"LgLOV7mAsVA=,vYLqpQgQsGJM031Z3Po2YFmqxH/qcGPoEW8v/7zp6oI=\", \"id\": \"50530832dc792114e70005bb\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
418
649
|
http_version:
|
419
|
-
recorded_at: Fri, 14 Sep 2012
|
650
|
+
recorded_at: Fri, 14 Sep 2012 10:34:26 GMT
|
420
651
|
- request:
|
421
652
|
method: delete
|
422
|
-
uri: https://
|
653
|
+
uri: https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
423
654
|
body:
|
424
655
|
string: ""
|
425
656
|
headers:
|
657
|
+
Authorization:
|
658
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="M226U3MYAAS3lmXj4BgjKwngAAZiX12gc4II4sxWq7E", oauth_signature="butVe%2F%2BtfnZGco0KRZ%2FvjgpvAK4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347618866", oauth_version="1.0"
|
426
659
|
Pulp-User:
|
427
660
|
- admin
|
428
|
-
Accept:
|
429
|
-
- application/json
|
430
|
-
Content-Type:
|
431
|
-
- application/json
|
432
661
|
Accept-Encoding:
|
433
662
|
- gzip, deflate
|
663
|
+
Content-Type:
|
664
|
+
- application/json
|
665
|
+
Accept:
|
666
|
+
- application/json
|
434
667
|
response:
|
435
668
|
status:
|
436
669
|
code: 200
|
437
670
|
message: OK
|
438
671
|
headers:
|
439
|
-
Server:
|
440
|
-
- Apache/2.2.22 (Fedora)
|
441
|
-
Date:
|
442
|
-
- Fri, 14 Sep 2012 00:58:49 GMT
|
443
672
|
Content-Type:
|
444
673
|
- application/json
|
674
|
+
Date:
|
675
|
+
- Fri, 14 Sep 2012 10:34:26 GMT
|
676
|
+
Server:
|
677
|
+
- Apache/2.2.22 (Fedora)
|
445
678
|
Content-Length:
|
446
679
|
- "4"
|
447
680
|
body:
|
448
681
|
string: "null"
|
449
682
|
http_version:
|
450
|
-
recorded_at: Fri, 14 Sep 2012
|
451
|
-
recorded_with: VCR 2.2.5
|
683
|
+
recorded_at: Fri, 14 Sep 2012 10:34:26 GMT
|