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: delete
|
@@ -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: 200
|
18
19
|
message: OK
|
19
20
|
headers:
|
20
|
-
Server:
|
21
|
-
- Apache/2.2.22 (Fedora)
|
22
|
-
Connection:
|
23
|
-
- close
|
24
21
|
Date:
|
25
22
|
- Sun, 09 Sep 2012 00:16:36 GMT
|
26
23
|
Content-Type:
|
27
24
|
- application/json
|
25
|
+
Connection:
|
26
|
+
- close
|
27
|
+
Server:
|
28
|
+
- Apache/2.2.22 (Fedora)
|
28
29
|
Content-Length:
|
29
30
|
- "4"
|
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:31:41 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,25 +69,25 @@ http_interactions:
|
|
68
69
|
body:
|
69
70
|
string: ""
|
70
71
|
headers:
|
71
|
-
Accept:
|
72
|
-
- application/json
|
73
|
-
Content-Type:
|
74
|
-
- application/json
|
75
72
|
Accept-Encoding:
|
76
73
|
- gzip, deflate
|
74
|
+
Content-Type:
|
75
|
+
- application/json
|
76
|
+
Accept:
|
77
|
+
- application/json
|
77
78
|
response:
|
78
79
|
status:
|
79
80
|
code: 404
|
80
81
|
message: Not Found
|
81
82
|
headers:
|
82
|
-
Server:
|
83
|
-
- Apache/2.2.22 (Fedora)
|
84
|
-
Connection:
|
85
|
-
- close
|
86
83
|
Date:
|
87
84
|
- Sun, 09 Sep 2012 04:32:39 GMT
|
88
85
|
Content-Type:
|
89
86
|
- text/html; charset=UTF-8
|
87
|
+
Connection:
|
88
|
+
- close
|
89
|
+
Server:
|
90
|
+
- Apache/2.2.22 (Fedora)
|
90
91
|
Content-Length:
|
91
92
|
- "9"
|
92
93
|
body:
|
@@ -99,25 +100,25 @@ http_interactions:
|
|
99
100
|
body:
|
100
101
|
string: ""
|
101
102
|
headers:
|
102
|
-
Accept:
|
103
|
-
- application/json
|
104
|
-
Content-Type:
|
105
|
-
- application/json
|
106
103
|
Accept-Encoding:
|
107
104
|
- gzip, deflate
|
105
|
+
Content-Type:
|
106
|
+
- application/json
|
107
|
+
Accept:
|
108
|
+
- application/json
|
108
109
|
response:
|
109
110
|
status:
|
110
111
|
code: 404
|
111
112
|
message: Not Found
|
112
113
|
headers:
|
113
|
-
Server:
|
114
|
-
- Apache/2.2.22 (Fedora)
|
115
|
-
Connection:
|
116
|
-
- close
|
117
114
|
Date:
|
118
115
|
- Sun, 09 Sep 2012 04:33:46 GMT
|
119
116
|
Content-Type:
|
120
117
|
- text/html; charset=UTF-8
|
118
|
+
Connection:
|
119
|
+
- close
|
120
|
+
Server:
|
121
|
+
- Apache/2.2.22 (Fedora)
|
121
122
|
Content-Length:
|
122
123
|
- "9"
|
123
124
|
body:
|
@@ -130,27 +131,27 @@ http_interactions:
|
|
130
131
|
body:
|
131
132
|
string: "{\"password\":\"integration_test_user\",\"login\":\"integration_test_user\",\"name\":\"integration_test_password\"}"
|
132
133
|
headers:
|
133
|
-
Accept:
|
134
|
-
-
|
134
|
+
Accept-Encoding:
|
135
|
+
- gzip, deflate
|
135
136
|
Content-Type:
|
136
137
|
- application/json
|
138
|
+
Accept:
|
139
|
+
- application/json
|
137
140
|
Content-Length:
|
138
141
|
- "103"
|
139
|
-
Accept-Encoding:
|
140
|
-
- gzip, deflate
|
141
142
|
response:
|
142
143
|
status:
|
143
144
|
code: 404
|
144
145
|
message: Not Found
|
145
146
|
headers:
|
146
|
-
Server:
|
147
|
-
- Apache/2.2.22 (Fedora)
|
148
|
-
Connection:
|
149
|
-
- close
|
150
147
|
Date:
|
151
148
|
- Sun, 09 Sep 2012 04:33:46 GMT
|
152
149
|
Content-Type:
|
153
150
|
- text/html; charset=UTF-8
|
151
|
+
Connection:
|
152
|
+
- close
|
153
|
+
Server:
|
154
|
+
- Apache/2.2.22 (Fedora)
|
154
155
|
Content-Length:
|
155
156
|
- "9"
|
156
157
|
body:
|
@@ -163,25 +164,25 @@ 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
|
-
Connection:
|
180
|
-
- close
|
181
178
|
Date:
|
182
179
|
- Sun, 09 Sep 2012 10:52:52 GMT
|
183
180
|
Content-Type:
|
184
181
|
- application/json
|
182
|
+
Connection:
|
183
|
+
- close
|
184
|
+
Server:
|
185
|
+
- Apache/2.2.22 (Fedora)
|
185
186
|
Content-Length:
|
186
187
|
- "267"
|
187
188
|
body:
|
@@ -194,23 +195,23 @@ http_interactions:
|
|
194
195
|
body:
|
195
196
|
string: ""
|
196
197
|
headers:
|
197
|
-
Accept:
|
198
|
-
- application/json
|
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: 200
|
206
207
|
message: OK
|
207
208
|
headers:
|
208
|
-
Server:
|
209
|
-
- Apache/2.2.22 (Fedora)
|
210
209
|
Date:
|
211
210
|
- Thu, 13 Sep 2012 21:19:38 GMT
|
212
211
|
Content-Type:
|
213
212
|
- application/json
|
213
|
+
Server:
|
214
|
+
- Apache/2.2.22 (Fedora)
|
214
215
|
Content-Length:
|
215
216
|
- "4"
|
216
217
|
body:
|
@@ -223,23 +224,23 @@ http_interactions:
|
|
223
224
|
body:
|
224
225
|
string: ""
|
225
226
|
headers:
|
226
|
-
Accept:
|
227
|
-
- application/json
|
228
|
-
Content-Type:
|
229
|
-
- application/json
|
230
227
|
Accept-Encoding:
|
231
228
|
- gzip, deflate
|
229
|
+
Content-Type:
|
230
|
+
- application/json
|
231
|
+
Accept:
|
232
|
+
- application/json
|
232
233
|
response:
|
233
234
|
status:
|
234
235
|
code: 200
|
235
236
|
message: OK
|
236
237
|
headers:
|
237
|
-
Server:
|
238
|
-
- Apache/2.2.22 (Fedora)
|
239
238
|
Date:
|
240
239
|
- Thu, 13 Sep 2012 21:19:40 GMT
|
241
240
|
Content-Type:
|
242
241
|
- application/json
|
242
|
+
Server:
|
243
|
+
- Apache/2.2.22 (Fedora)
|
243
244
|
Content-Length:
|
244
245
|
- "247"
|
245
246
|
body:
|
@@ -252,27 +253,27 @@ http_interactions:
|
|
252
253
|
body:
|
253
254
|
string: "{\"password\":\"integration_test_password\",\"login\":\"integration_test_user\",\"name\":\"integration_test_user\"}"
|
254
255
|
headers:
|
255
|
-
Accept:
|
256
|
-
-
|
256
|
+
Accept-Encoding:
|
257
|
+
- gzip, deflate
|
257
258
|
Content-Type:
|
258
259
|
- application/json
|
260
|
+
Accept:
|
261
|
+
- application/json
|
259
262
|
Content-Length:
|
260
263
|
- "103"
|
261
|
-
Accept-Encoding:
|
262
|
-
- gzip, deflate
|
263
264
|
response:
|
264
265
|
status:
|
265
266
|
code: 201
|
266
267
|
message: Created
|
267
268
|
headers:
|
268
|
-
Location:
|
269
|
-
- integration_test_user
|
270
|
-
Server:
|
271
|
-
- Apache/2.2.22 (Fedora)
|
272
269
|
Date:
|
273
270
|
- Thu, 13 Sep 2012 21:19:41 GMT
|
274
271
|
Content-Type:
|
275
272
|
- application/json
|
273
|
+
Server:
|
274
|
+
- Apache/2.2.22 (Fedora)
|
275
|
+
Location:
|
276
|
+
- integration_test_user
|
276
277
|
Content-Length:
|
277
278
|
- "229"
|
278
279
|
body:
|
@@ -285,27 +286,27 @@ http_interactions:
|
|
285
286
|
body:
|
286
287
|
string: "{\"password\":\"integration_test_password\",\"login\":\"integration_test_user\",\"name\":\"integration_test_user\"}"
|
287
288
|
headers:
|
288
|
-
Accept:
|
289
|
-
- application/json
|
290
289
|
Authorization:
|
291
290
|
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="uEdiZ5ik2FlxbjLpkF99lrlpNyi2OORNiLflX0MxY", oauth_signature="wLHkSByoJx2Xuue9OhxJE8xXZDM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347571252", oauth_version="1.0"
|
291
|
+
Accept-Encoding:
|
292
|
+
- gzip, deflate
|
292
293
|
Content-Type:
|
293
294
|
- application/json
|
295
|
+
Accept:
|
296
|
+
- application/json
|
294
297
|
Content-Length:
|
295
298
|
- "103"
|
296
|
-
Accept-Encoding:
|
297
|
-
- gzip, deflate
|
298
299
|
response:
|
299
300
|
status:
|
300
301
|
code: 401
|
301
302
|
message: Unauthorized
|
302
303
|
headers:
|
303
|
-
Server:
|
304
|
-
- Apache/2.2.22 (Fedora)
|
305
304
|
Date:
|
306
305
|
- Thu, 13 Sep 2012 21:20:52 GMT
|
307
306
|
Content-Type:
|
308
307
|
- application/json
|
308
|
+
Server:
|
309
|
+
- Apache/2.2.22 (Fedora)
|
309
310
|
Content-Length:
|
310
311
|
- "25"
|
311
312
|
body:
|
@@ -314,235 +315,350 @@ http_interactions:
|
|
314
315
|
recorded_at: Thu, 13 Sep 2012 21:20:52 GMT
|
315
316
|
- request:
|
316
317
|
method: post
|
317
|
-
uri: https://admin
|
318
|
+
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2//pulp/api/v2/users/
|
319
|
+
body:
|
320
|
+
string: "{\"login\":\"integration_test_user\"}"
|
321
|
+
headers:
|
322
|
+
Pulp-User:
|
323
|
+
- admin
|
324
|
+
Accept-Encoding:
|
325
|
+
- gzip, deflate
|
326
|
+
Content-Type:
|
327
|
+
- application/json
|
328
|
+
Accept:
|
329
|
+
- application/json
|
330
|
+
Content-Length:
|
331
|
+
- "33"
|
332
|
+
response:
|
333
|
+
status:
|
334
|
+
code: 404
|
335
|
+
message: Not Found
|
336
|
+
headers:
|
337
|
+
Date:
|
338
|
+
- Fri, 14 Sep 2012 09:33:42 GMT
|
339
|
+
Content-Type:
|
340
|
+
- text/html; charset=UTF-8
|
341
|
+
Content-Encoding:
|
342
|
+
- gzip
|
343
|
+
Vary:
|
344
|
+
- Accept-Encoding
|
345
|
+
Server:
|
346
|
+
- Apache/2.2.22 (Fedora)
|
347
|
+
Content-Length:
|
348
|
+
- "29"
|
349
|
+
body:
|
350
|
+
string: !binary |
|
351
|
+
H4sIAAAAAAAAA8vLL1FIyy/NSwEA6iFE8gkAAAA=
|
352
|
+
|
353
|
+
http_version:
|
354
|
+
recorded_at: Fri, 14 Sep 2012 09:33:43 GMT
|
355
|
+
- request:
|
356
|
+
method: post
|
357
|
+
uri: https://admin:@knifeparty.localdomain/pulp/api/v2/https://knifeparty.localdomain/pulp/api/v2/users/
|
318
358
|
body:
|
319
359
|
string: "{\"password\":\"integration_test_password\",\"login\":\"integration_test_user\",\"name\":\"integration_test_user\"}"
|
320
360
|
headers:
|
321
361
|
Pulp-User:
|
322
362
|
- admin
|
363
|
+
Accept-Encoding:
|
364
|
+
- gzip, deflate
|
365
|
+
Content-Type:
|
366
|
+
- application/json
|
323
367
|
Accept:
|
324
368
|
- application/json
|
369
|
+
Content-Length:
|
370
|
+
- "103"
|
371
|
+
response:
|
372
|
+
status:
|
373
|
+
code: 404
|
374
|
+
message: Not Found
|
375
|
+
headers:
|
376
|
+
Date:
|
377
|
+
- Fri, 14 Sep 2012 09:44:37 GMT
|
378
|
+
Content-Type:
|
379
|
+
- text/html; charset=UTF-8
|
380
|
+
Content-Encoding:
|
381
|
+
- gzip
|
382
|
+
Vary:
|
383
|
+
- Accept-Encoding
|
384
|
+
Server:
|
385
|
+
- Apache/2.2.22 (Fedora)
|
386
|
+
Content-Length:
|
387
|
+
- "29"
|
388
|
+
body:
|
389
|
+
string: !binary |
|
390
|
+
H4sIAAAAAAAAA8vLL1FIyy/NSwEA6iFE8gkAAAA=
|
391
|
+
|
392
|
+
http_version:
|
393
|
+
recorded_at: Fri, 14 Sep 2012 09:44:37 GMT
|
394
|
+
- request:
|
395
|
+
method: post
|
396
|
+
uri: https://admin:admin@knifeparty.localdomain/users/
|
397
|
+
body:
|
398
|
+
string: "{\"password\":\"integration_test_password\",\"name\":\"integration_test_user\",\"login\":\"integration_test_user\"}"
|
399
|
+
headers:
|
400
|
+
Pulp-User:
|
401
|
+
- admin
|
402
|
+
Accept-Encoding:
|
403
|
+
- gzip, deflate
|
325
404
|
Content-Type:
|
326
405
|
- application/json
|
406
|
+
Accept:
|
407
|
+
- application/json
|
327
408
|
Content-Length:
|
328
409
|
- "103"
|
410
|
+
response:
|
411
|
+
status:
|
412
|
+
code: 404
|
413
|
+
message: Not Found
|
414
|
+
headers:
|
415
|
+
Date:
|
416
|
+
- Fri, 14 Sep 2012 09:58:13 GMT
|
417
|
+
Content-Type:
|
418
|
+
- text/html; charset=iso-8859-1
|
419
|
+
Content-Encoding:
|
420
|
+
- gzip
|
421
|
+
Vary:
|
422
|
+
- Accept-Encoding
|
423
|
+
Server:
|
424
|
+
- Apache/2.2.22 (Fedora)
|
425
|
+
Content-Length:
|
426
|
+
- "239"
|
427
|
+
body:
|
428
|
+
string: !binary |
|
429
|
+
H4sIAAAAAAAAA01PTU/DMAy991eYneBAPUqPViRYWzGpjAqyA8eweEpFl5Qk
|
430
|
+
Be3fk3ZCQpYsPb8PPdNV9bKR710NT/K5hW7/2G43sLpF3NayQaxkdWGKfI1Y
|
431
|
+
71YiIxNPgyDDSicQ+ziwKNcl7FyExk1WE16OGeEiog+nz7PvTvzTJJTRKKRh
|
432
|
+
8Pw1cYisYf/aAk6BfUD4UQFs0h9nPTgL0fQBEvfNPicc50SfltLacwjiYVQH
|
433
|
+
w1jkaQq4blg7r27gbTGAivBp+yOPysdzPriDGrQ7qd5C53yEsrwn/EtKxZfK
|
434
|
+
qeT8avYLKgStLCUBAAA=
|
435
|
+
|
436
|
+
http_version:
|
437
|
+
recorded_at: Fri, 14 Sep 2012 09:58:13 GMT
|
438
|
+
- request:
|
439
|
+
method: post
|
440
|
+
uri: https://admin:@knifeparty.localdomain/pulp/api/v2/users/
|
441
|
+
body:
|
442
|
+
string: "{\"login\":\"integration_test_user\"}"
|
443
|
+
headers:
|
444
|
+
Pulp-User:
|
445
|
+
- admin
|
329
446
|
Accept-Encoding:
|
330
447
|
- gzip, deflate
|
448
|
+
Content-Type:
|
449
|
+
- application/json
|
450
|
+
Accept:
|
451
|
+
- application/json
|
452
|
+
Content-Length:
|
453
|
+
- "33"
|
331
454
|
response:
|
332
455
|
status:
|
333
456
|
code: 401
|
334
457
|
message: Unauthorized
|
335
458
|
headers:
|
336
|
-
Server:
|
337
|
-
- Apache/2.2.22 (Fedora)
|
338
459
|
Date:
|
339
|
-
-
|
460
|
+
- Fri, 14 Sep 2012 10:03:04 GMT
|
340
461
|
Content-Type:
|
341
462
|
- application/json
|
463
|
+
Server:
|
464
|
+
- Apache/2.2.22 (Fedora)
|
342
465
|
Content-Length:
|
343
466
|
- "30"
|
344
467
|
body:
|
345
468
|
string: "\"Invalid username or password\""
|
346
469
|
http_version:
|
347
|
-
recorded_at:
|
470
|
+
recorded_at: Fri, 14 Sep 2012 10:03:04 GMT
|
348
471
|
- request:
|
349
|
-
method:
|
350
|
-
uri: https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
472
|
+
method: delete
|
473
|
+
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
351
474
|
body:
|
352
475
|
string: ""
|
353
476
|
headers:
|
354
|
-
Pulp-User:
|
355
|
-
- admin
|
356
|
-
Accept:
|
357
|
-
- application/json
|
358
|
-
Authorization:
|
359
|
-
- OAuth oauth_consumer_key="katello", oauth_nonce="NLYFXbzmW8tHCCpajVrHIM5aO6kRGFoJyzoErEXJaGM", oauth_signature="pDffLtDuek1y91NpubSbKRnxeyY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347580101", oauth_version="1.0"
|
360
|
-
Content-Type:
|
361
|
-
- application/json
|
362
477
|
Accept-Encoding:
|
363
478
|
- gzip, deflate
|
479
|
+
Content-Type:
|
480
|
+
- application/json
|
481
|
+
Accept:
|
482
|
+
- application/json
|
364
483
|
response:
|
365
484
|
status:
|
366
485
|
code: 200
|
367
486
|
message: OK
|
368
487
|
headers:
|
369
|
-
Server:
|
370
|
-
- Apache/2.2.22 (Fedora)
|
371
488
|
Date:
|
372
|
-
-
|
489
|
+
- Fri, 14 Sep 2012 10:34:04 GMT
|
373
490
|
Content-Type:
|
374
491
|
- application/json
|
492
|
+
Server:
|
493
|
+
- Apache/2.2.22 (Fedora)
|
375
494
|
Content-Length:
|
376
|
-
- "
|
495
|
+
- "4"
|
377
496
|
body:
|
378
|
-
string: "
|
497
|
+
string: "null"
|
379
498
|
http_version:
|
380
|
-
recorded_at:
|
499
|
+
recorded_at: Fri, 14 Sep 2012 10:34:04 GMT
|
381
500
|
- request:
|
382
|
-
method:
|
383
|
-
uri: https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
501
|
+
method: get
|
502
|
+
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
384
503
|
body:
|
385
504
|
string: ""
|
386
505
|
headers:
|
387
|
-
Pulp-User:
|
388
|
-
- admin
|
389
|
-
Accept:
|
390
|
-
- application/json
|
391
|
-
Authorization:
|
392
|
-
- OAuth oauth_consumer_key="katello", oauth_nonce="63aS6dF2dWhQjFDqKByNMQHODfWmWtC6FNZE8oiQKzE", oauth_signature="4behX7wP8uUwZuRPT6T53wdUKmI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347580103", oauth_version="1.0"
|
393
|
-
Content-Type:
|
394
|
-
- application/json
|
395
506
|
Accept-Encoding:
|
396
507
|
- gzip, deflate
|
508
|
+
Content-Type:
|
509
|
+
- application/json
|
510
|
+
Accept:
|
511
|
+
- application/json
|
397
512
|
response:
|
398
513
|
status:
|
399
514
|
code: 200
|
400
515
|
message: OK
|
401
516
|
headers:
|
402
|
-
Server:
|
403
|
-
- Apache/2.2.22 (Fedora)
|
404
517
|
Date:
|
405
|
-
-
|
518
|
+
- Fri, 14 Sep 2012 10:34:05 GMT
|
406
519
|
Content-Type:
|
407
520
|
- application/json
|
521
|
+
Server:
|
522
|
+
- Apache/2.2.22 (Fedora)
|
408
523
|
Content-Length:
|
409
|
-
- "
|
524
|
+
- "247"
|
410
525
|
body:
|
411
|
-
string: "null"
|
526
|
+
string: "{\"_id\": {\"$oid\": \"5053081ddc792114e700054c\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": null, \"id\": \"5053081ddc792114e700054c\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
412
527
|
http_version:
|
413
|
-
recorded_at:
|
528
|
+
recorded_at: Fri, 14 Sep 2012 10:34:05 GMT
|
414
529
|
- request:
|
415
530
|
method: post
|
416
|
-
uri: https://knifeparty.localdomain/pulp/api/v2/users/
|
531
|
+
uri: https://admin:admin@knifeparty.localdomain/pulp/api/v2/users/
|
417
532
|
body:
|
418
533
|
string: "{\"password\":\"integration_test_password\",\"login\":\"integration_test_user\",\"name\":\"integration_test_user\"}"
|
419
534
|
headers:
|
420
|
-
|
421
|
-
-
|
422
|
-
Accept:
|
423
|
-
- application/json
|
424
|
-
Authorization:
|
425
|
-
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="4UhIs4SCy7MDcc9k5Py4x1486mcvJ3LHPYh0n4g", oauth_signature="AbvEDcCnBThE7%2BWB7AWyIfalLrM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347580104", oauth_version="1.0"
|
535
|
+
Accept-Encoding:
|
536
|
+
- gzip, deflate
|
426
537
|
Content-Type:
|
427
538
|
- application/json
|
539
|
+
Accept:
|
540
|
+
- application/json
|
428
541
|
Content-Length:
|
429
542
|
- "103"
|
430
|
-
Accept-Encoding:
|
431
|
-
- gzip, deflate
|
432
543
|
response:
|
433
544
|
status:
|
434
545
|
code: 201
|
435
546
|
message: Created
|
436
547
|
headers:
|
437
|
-
Location:
|
438
|
-
- integration_test_user
|
439
|
-
Server:
|
440
|
-
- Apache/2.2.22 (Fedora)
|
441
548
|
Date:
|
442
|
-
-
|
549
|
+
- Fri, 14 Sep 2012 10:34:08 GMT
|
443
550
|
Content-Type:
|
444
551
|
- application/json
|
552
|
+
Server:
|
553
|
+
- Apache/2.2.22 (Fedora)
|
554
|
+
Location:
|
555
|
+
- integration_test_user
|
445
556
|
Content-Length:
|
446
557
|
- "229"
|
447
558
|
body:
|
448
|
-
string: "{\"_id\": {\"$oid\": \"
|
559
|
+
string: "{\"_id\": {\"$oid\": \"50530820dc792114e7000579\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"50530820dc792114e7000579\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
449
560
|
http_version:
|
450
|
-
recorded_at:
|
561
|
+
recorded_at: Fri, 14 Sep 2012 10:34:08 GMT
|
451
562
|
- request:
|
452
563
|
method: get
|
453
|
-
uri: https://
|
564
|
+
uri: https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
454
565
|
body:
|
455
566
|
string: ""
|
456
567
|
headers:
|
568
|
+
Authorization:
|
569
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="OiaNeoYoQDQWZMg9tMVADRw0qaDhtzxhoIzmaEwk", oauth_signature="gGYpabO%2FPiVx4F3daCpo7FEprIM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347618864", oauth_version="1.0"
|
457
570
|
Pulp-User:
|
458
571
|
- admin
|
459
|
-
Accept:
|
460
|
-
- application/json
|
461
|
-
Content-Type:
|
462
|
-
- application/json
|
463
572
|
Accept-Encoding:
|
464
573
|
- gzip, deflate
|
574
|
+
Content-Type:
|
575
|
+
- application/json
|
576
|
+
Accept:
|
577
|
+
- application/json
|
465
578
|
response:
|
466
579
|
status:
|
467
580
|
code: 200
|
468
581
|
message: OK
|
469
582
|
headers:
|
470
|
-
Server:
|
471
|
-
- Apache/2.2.22 (Fedora)
|
472
|
-
Date:
|
473
|
-
- Fri, 14 Sep 2012 00:58:45 GMT
|
474
583
|
Content-Type:
|
475
584
|
- application/json
|
585
|
+
Date:
|
586
|
+
- Fri, 14 Sep 2012 10:34:24 GMT
|
587
|
+
Server:
|
588
|
+
- Apache/2.2.22 (Fedora)
|
476
589
|
Content-Length:
|
477
590
|
- "247"
|
478
591
|
body:
|
479
|
-
string: "{\"_id\": {\"$oid\": \"
|
592
|
+
string: "{\"_id\": {\"$oid\": \"50530830dc792114e700059a\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"password\": null, \"id\": \"50530830dc792114e700059a\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
480
593
|
http_version:
|
481
|
-
recorded_at: Fri, 14 Sep 2012
|
594
|
+
recorded_at: Fri, 14 Sep 2012 10:34:24 GMT
|
482
595
|
- request:
|
483
596
|
method: delete
|
484
|
-
uri: https://
|
597
|
+
uri: https://knifeparty.localdomain/pulp/api/v2/users/integration_test_user/
|
485
598
|
body:
|
486
599
|
string: ""
|
487
600
|
headers:
|
601
|
+
Authorization:
|
602
|
+
- OAuth oauth_consumer_key="katello", oauth_nonce="rY1S66BAm9QNdysC00wWyMFZBpOaw13Bzxh3IW9aFU", oauth_signature="fpMqoMloGB8QSvfzv1KrrspunUs%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347618865", oauth_version="1.0"
|
488
603
|
Pulp-User:
|
489
604
|
- admin
|
490
|
-
Accept:
|
491
|
-
- application/json
|
492
|
-
Content-Type:
|
493
|
-
- application/json
|
494
605
|
Accept-Encoding:
|
495
606
|
- gzip, deflate
|
607
|
+
Content-Type:
|
608
|
+
- application/json
|
609
|
+
Accept:
|
610
|
+
- application/json
|
496
611
|
response:
|
497
612
|
status:
|
498
613
|
code: 200
|
499
614
|
message: OK
|
500
615
|
headers:
|
501
|
-
Server:
|
502
|
-
- Apache/2.2.22 (Fedora)
|
503
|
-
Date:
|
504
|
-
- Fri, 14 Sep 2012 00:58:48 GMT
|
505
616
|
Content-Type:
|
506
617
|
- application/json
|
618
|
+
Date:
|
619
|
+
- Fri, 14 Sep 2012 10:34:25 GMT
|
620
|
+
Server:
|
621
|
+
- Apache/2.2.22 (Fedora)
|
507
622
|
Content-Length:
|
508
623
|
- "4"
|
509
624
|
body:
|
510
625
|
string: "null"
|
511
626
|
http_version:
|
512
|
-
recorded_at: Fri, 14 Sep 2012
|
627
|
+
recorded_at: Fri, 14 Sep 2012 10:34:25 GMT
|
513
628
|
- request:
|
514
629
|
method: post
|
515
|
-
uri: https://
|
630
|
+
uri: https://knifeparty.localdomain/pulp/api/v2/users/
|
516
631
|
body:
|
517
632
|
string: "{\"password\":\"integration_test_password\",\"login\":\"integration_test_user\",\"name\":\"integration_test_user\"}"
|
518
633
|
headers:
|
634
|
+
Authorization:
|
635
|
+
- OAuth oauth_body_hash="2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D", oauth_consumer_key="katello", oauth_nonce="PoRfUkYNlgf4bOCQ5KN9mk3WwoB5IgeKTpgHEHmWV04", oauth_signature="6f%2BYu8wORab4%2FRc9MQmxhaB9B4g%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1347618866", oauth_version="1.0"
|
519
636
|
Pulp-User:
|
520
637
|
- admin
|
521
|
-
Accept:
|
522
|
-
-
|
638
|
+
Accept-Encoding:
|
639
|
+
- gzip, deflate
|
523
640
|
Content-Type:
|
524
641
|
- application/json
|
642
|
+
Accept:
|
643
|
+
- application/json
|
525
644
|
Content-Length:
|
526
645
|
- "103"
|
527
|
-
Accept-Encoding:
|
528
|
-
- gzip, deflate
|
529
646
|
response:
|
530
647
|
status:
|
531
648
|
code: 201
|
532
649
|
message: Created
|
533
650
|
headers:
|
651
|
+
Content-Type:
|
652
|
+
- application/json
|
653
|
+
Date:
|
654
|
+
- Fri, 14 Sep 2012 10:34:26 GMT
|
534
655
|
Server:
|
535
656
|
- Apache/2.2.22 (Fedora)
|
536
657
|
Location:
|
537
658
|
- integration_test_user
|
538
|
-
Date:
|
539
|
-
- Fri, 14 Sep 2012 00:58:49 GMT
|
540
|
-
Content-Type:
|
541
|
-
- application/json
|
542
659
|
Content-Length:
|
543
660
|
- "229"
|
544
661
|
body:
|
545
|
-
string: "{\"_id\": {\"$oid\": \"
|
662
|
+
string: "{\"_id\": {\"$oid\": \"50530832dc792114e70005bb\"}, \"name\": \"integration_test_user\", \"roles\": [], \"_ns\": \"users\", \"login\": \"integration_test_user\", \"id\": \"50530832dc792114e70005bb\", \"_href\": \"/pulp/api/v2/users/integration_test_user/\"}"
|
546
663
|
http_version:
|
547
|
-
recorded_at: Fri, 14 Sep 2012
|
548
|
-
recorded_with: VCR 2.2.5
|
664
|
+
recorded_at: Fri, 14 Sep 2012 10:34:26 GMT
|