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