1
|
---
|
2
|
http_interactions:
|
3
|
- request:
|
4
|
method: get
|
5
|
uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners
|
6
|
body:
|
7
|
encoding: US-ASCII
|
8
|
string: ''
|
9
|
headers:
|
10
|
Accept:
|
11
|
- application/json
|
12
|
Accept-Encoding:
|
13
|
- gzip, deflate
|
14
|
User-Agent:
|
15
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
|
16
|
Accept-Language:
|
17
|
- en
|
18
|
Content-Type:
|
19
|
- application/json
|
20
|
Host:
|
21
|
- subscription.rhn.redhat.com
|
22
|
response:
|
23
|
status:
|
24
|
code: 401
|
25
|
message: Unauthorized
|
26
|
headers:
|
27
|
Server:
|
28
|
- Apache-Coyote/1.1
|
29
|
X-Version:
|
30
|
- 0.9.51.15-1
|
31
|
Www-Authenticate:
|
32
|
- Basic Realm=candlepin
|
33
|
Content-Type:
|
34
|
- application/json
|
35
|
Transfer-Encoding:
|
36
|
- chunked
|
37
|
Date:
|
38
|
- Fri, 30 Sep 2016 14:22:22 GMT
|
39
|
body:
|
40
|
encoding: UTF-8
|
41
|
string: '{"displayMessage":"Invalid username or password. To create a login,
|
42
|
please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"6c16773a-c912-4b50-bf99-e03b0f288878"}'
|
43
|
http_version:
|
44
|
recorded_at: Fri, 30 Sep 2016 14:22:23 GMT
|
45
|
- request:
|
46
|
method: get
|
47
|
uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners
|
48
|
body:
|
49
|
encoding: US-ASCII
|
50
|
string: ''
|
51
|
headers:
|
52
|
Accept:
|
53
|
- application/json
|
54
|
Accept-Encoding:
|
55
|
- gzip, deflate
|
56
|
User-Agent:
|
57
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
|
58
|
Accept-Language:
|
59
|
- en
|
60
|
Content-Type:
|
61
|
- application/json
|
62
|
Host:
|
63
|
- subscription.rhn.redhat.com
|
64
|
response:
|
65
|
status:
|
66
|
code: 401
|
67
|
message: Unauthorized
|
68
|
headers:
|
69
|
Server:
|
70
|
- Apache-Coyote/1.1
|
71
|
X-Version:
|
72
|
- 0.9.51.15-1
|
73
|
Www-Authenticate:
|
74
|
- Basic Realm=candlepin
|
75
|
Content-Type:
|
76
|
- application/json
|
77
|
Transfer-Encoding:
|
78
|
- chunked
|
79
|
Date:
|
80
|
- Fri, 30 Sep 2016 14:37:55 GMT
|
81
|
body:
|
82
|
encoding: UTF-8
|
83
|
string: '{"displayMessage":"Invalid username or password. To create a login,
|
84
|
please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"f74c0ba9-f155-4464-99a1-41e5e18f5981"}'
|
85
|
http_version:
|
86
|
recorded_at: Fri, 30 Sep 2016 14:37:56 GMT
|
87
|
- request:
|
88
|
method: get
|
89
|
uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners
|
90
|
body:
|
91
|
encoding: US-ASCII
|
92
|
string: ''
|
93
|
headers:
|
94
|
Accept:
|
95
|
- application/json
|
96
|
Accept-Encoding:
|
97
|
- gzip, deflate
|
98
|
User-Agent:
|
99
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
|
100
|
Accept-Language:
|
101
|
- en
|
102
|
Content-Type:
|
103
|
- application/json
|
104
|
Host:
|
105
|
- subscription.rhn.redhat.com
|
106
|
response:
|
107
|
status:
|
108
|
code: 401
|
109
|
message: Unauthorized
|
110
|
headers:
|
111
|
Server:
|
112
|
- Apache-Coyote/1.1
|
113
|
X-Version:
|
114
|
- 0.9.51.15-1
|
115
|
Www-Authenticate:
|
116
|
- Basic Realm=candlepin
|
117
|
Content-Type:
|
118
|
- application/json
|
119
|
Transfer-Encoding:
|
120
|
- chunked
|
121
|
Date:
|
122
|
- Fri, 30 Sep 2016 15:31:03 GMT
|
123
|
body:
|
124
|
encoding: UTF-8
|
125
|
string: '{"displayMessage":"Invalid username or password. To create a login,
|
126
|
please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"fbe6c328-2205-43e0-a4a8-3aa4013ba62c"}'
|
127
|
http_version:
|
128
|
recorded_at: Fri, 30 Sep 2016 15:31:03 GMT
|
129
|
- request:
|
130
|
method: get
|
131
|
uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners
|
132
|
body:
|
133
|
encoding: US-ASCII
|
134
|
string: ''
|
135
|
headers:
|
136
|
Accept:
|
137
|
- application/json
|
138
|
Accept-Encoding:
|
139
|
- gzip, deflate
|
140
|
User-Agent:
|
141
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
|
142
|
Accept-Language:
|
143
|
- en
|
144
|
Content-Type:
|
145
|
- application/json
|
146
|
Host:
|
147
|
- subscription.rhn.redhat.com
|
148
|
response:
|
149
|
status:
|
150
|
code: 401
|
151
|
message: Unauthorized
|
152
|
headers:
|
153
|
Server:
|
154
|
- Apache-Coyote/1.1
|
155
|
X-Version:
|
156
|
- 0.9.51.15-1
|
157
|
Www-Authenticate:
|
158
|
- Basic Realm=candlepin
|
159
|
Content-Type:
|
160
|
- application/json
|
161
|
Transfer-Encoding:
|
162
|
- chunked
|
163
|
Date:
|
164
|
- Fri, 30 Sep 2016 15:39:41 GMT
|
165
|
body:
|
166
|
encoding: UTF-8
|
167
|
string: '{"displayMessage":"Invalid username or password. To create a login,
|
168
|
please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"3996a9f6-7ba7-40b3-9784-8a53292ca798"}'
|
169
|
http_version:
|
170
|
recorded_at: Fri, 30 Sep 2016 15:39:42 GMT
|
171
|
- request:
|
172
|
method: get
|
173
|
uri: https://admin:changeme@katello.example.com:50218/api/status
|
174
|
body:
|
175
|
encoding: US-ASCII
|
176
|
string: ''
|
177
|
headers:
|
178
|
Accept-Encoding:
|
179
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
180
|
Accept:
|
181
|
- "*/*"
|
182
|
User-Agent:
|
183
|
- Ruby
|
184
|
response:
|
185
|
status:
|
186
|
code: 200
|
187
|
message: 'OK '
|
188
|
headers:
|
189
|
Date:
|
190
|
- Wed, 12 Oct 2016 14:16:38 GMT
|
191
|
Server:
|
192
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
193
|
Foreman-Version:
|
194
|
- 1.14.0-develop
|
195
|
Foreman-Api-Version:
|
196
|
- '2'
|
197
|
Content-Type:
|
198
|
- application/json; charset=utf-8
|
199
|
Apipie-Checksum:
|
200
|
- 68d37bf606b9a03df6e1e749d6054009
|
201
|
Etag:
|
202
|
- W/"1316c9d778b9181476af8a9546423fb1-gzip"
|
203
|
Cache-Control:
|
204
|
- max-age=0, private, must-revalidate
|
205
|
X-Request-Id:
|
206
|
- 61cc3c4f-0188-443b-ae97-3e6866ec79fa
|
207
|
X-Runtime:
|
208
|
- '0.112944'
|
209
|
Content-Security-Policy:
|
210
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
211
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
212
|
''self''; style-src ''unsafe-inline'' ''self'''
|
213
|
Strict-Transport-Security:
|
214
|
- max-age=631152000; includeSubdomains
|
215
|
X-Content-Type-Options:
|
216
|
- nosniff
|
217
|
X-Download-Options:
|
218
|
- noopen
|
219
|
X-Frame-Options:
|
220
|
- sameorigin
|
221
|
X-Permitted-Cross-Domain-Policies:
|
222
|
- none
|
223
|
X-Xss-Protection:
|
224
|
- 1; mode=block
|
225
|
Via:
|
226
|
- 1.1 testing.example.com:50218
|
227
|
Vary:
|
228
|
- Accept-Encoding
|
229
|
Content-Length:
|
230
|
- '81'
|
231
|
Set-Cookie:
|
232
|
- _session_id=c393a86a7e3736cd504597f2bdba1427; path=/; HttpOnly
|
233
|
body:
|
234
|
encoding: UTF-8
|
235
|
string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
|
236
|
http_version:
|
237
|
recorded_at: Wed, 12 Oct 2016 14:16:38 GMT
|
238
|
- request:
|
239
|
method: get
|
240
|
uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
|
241
|
body:
|
242
|
encoding: US-ASCII
|
243
|
string: ''
|
244
|
headers:
|
245
|
Accept-Encoding:
|
246
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
247
|
Accept:
|
248
|
- "*/*"
|
249
|
User-Agent:
|
250
|
- Ruby
|
251
|
response:
|
252
|
status:
|
253
|
code: 200
|
254
|
message: 'OK '
|
255
|
headers:
|
256
|
Date:
|
257
|
- Wed, 12 Oct 2016 14:16:38 GMT
|
258
|
Server:
|
259
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
260
|
Foreman-Version:
|
261
|
- 1.14.0-develop
|
262
|
Foreman-Api-Version:
|
263
|
- '2'
|
264
|
Content-Type:
|
265
|
- application/json; charset=utf-8
|
266
|
Apipie-Checksum:
|
267
|
- 68d37bf606b9a03df6e1e749d6054009
|
268
|
Etag:
|
269
|
- W/"8f0162a4d2fd78df40b7f264aee93d64-gzip"
|
270
|
Cache-Control:
|
271
|
- max-age=0, private, must-revalidate
|
272
|
X-Request-Id:
|
273
|
- cab0d532-7ad8-4047-821d-a42ccd862378
|
274
|
X-Runtime:
|
275
|
- '0.071592'
|
276
|
Content-Security-Policy:
|
277
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
278
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
279
|
''self''; style-src ''unsafe-inline'' ''self'''
|
280
|
Strict-Transport-Security:
|
281
|
- max-age=631152000; includeSubdomains
|
282
|
X-Content-Type-Options:
|
283
|
- nosniff
|
284
|
X-Download-Options:
|
285
|
- noopen
|
286
|
X-Frame-Options:
|
287
|
- sameorigin
|
288
|
X-Permitted-Cross-Domain-Policies:
|
289
|
- none
|
290
|
X-Xss-Protection:
|
291
|
- 1; mode=block
|
292
|
Via:
|
293
|
- 1.1 testing.example.com:50218
|
294
|
Vary:
|
295
|
- Accept-Encoding
|
296
|
Content-Length:
|
297
|
- '565'
|
298
|
Set-Cookie:
|
299
|
- _session_id=442b04764e34f11e3ac77de2aa2efc5e; path=/; HttpOnly
|
300
|
body:
|
301
|
encoding: ASCII-8BIT
|
302
|
string: !binary |-
|
303
|
ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
|
304
|
CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
|
305
|
OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
|
306
|
InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
|
307
|
ZW1hbi10YXNrcyIsImF1dGhvciI6Ikl2YW4gTmXEjWFzIiwiZGVzY3JpcHRp
|
308
|
b24iOiJUaGUgZ29hbCBvZiB0aGlzIHBsdWdpbiBpcyB0byB1bmlmeSB0aGUg
|
309
|
d2F5IG9mIHNob3dpbmcgdGFzayBzdGF0dXNlcyBhY3Jvc3MgdGhlIEZvcmVt
|
310
|
YW4gaW5zdGFuY2UuXG5JdCBkZWZpbmVzIFRhc2sgbW9kZWwgZm9yIGtlZXBp
|
311
|
bmcgdGhlIGluZm9ybWF0aW9uIGFib3V0IHRoZSB0YXNrcyBhbmQgTG9jayBm
|
312
|
b3IgYXNzaWduaW5nIHRoZSB0YXNrc1xudG8gcmVzb3VyY2VzLiBUaGUgbG9j
|
313
|
a2luZyBhbGxvd3MgZGVhbGluZyB3aXRoIHByZXZlbnRpbmcgbXVsdGlwbGUg
|
314
|
Y29sbGlkaW5nIHRhc2tzIHRvIGJlIHJ1biBvbiB0aGVcbnNhbWUgcmVzb3Vy
|
315
|
Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
|
316
|
c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
|
317
|
LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
|
318
|
ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMiJ9LHsiaWQiOiJmb3JlbWFu
|
319
|
X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
|
320
|
bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
|
321
|
aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
|
322
|
IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
|
323
|
b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
|
324
|
ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
|
325
|
ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
|
326
|
ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
|
327
|
YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
|
328
|
http_version:
|
329
|
recorded_at: Wed, 12 Oct 2016 14:16:38 GMT
|
330
|
- request:
|
331
|
method: get
|
332
|
uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners
|
333
|
body:
|
334
|
encoding: US-ASCII
|
335
|
string: ''
|
336
|
headers:
|
337
|
Accept:
|
338
|
- application/json
|
339
|
Accept-Encoding:
|
340
|
- gzip, deflate
|
341
|
User-Agent:
|
342
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
|
343
|
Accept-Language:
|
344
|
- en
|
345
|
Content-Type:
|
346
|
- application/json
|
347
|
Host:
|
348
|
- subscription.rhn.redhat.com
|
349
|
response:
|
350
|
status:
|
351
|
code: 401
|
352
|
message: Unauthorized
|
353
|
headers:
|
354
|
Server:
|
355
|
- Apache-Coyote/1.1
|
356
|
X-Version:
|
357
|
- 0.9.51.15-1
|
358
|
Www-Authenticate:
|
359
|
- Basic Realm=candlepin
|
360
|
Content-Type:
|
361
|
- application/json
|
362
|
Transfer-Encoding:
|
363
|
- chunked
|
364
|
Date:
|
365
|
- Wed, 12 Oct 2016 14:16:38 GMT
|
366
|
body:
|
367
|
encoding: UTF-8
|
368
|
string: '{"displayMessage":"Invalid username or password. To create a login,
|
369
|
please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"c70de44c-abaa-4fe7-a454-691e0f801332"}'
|
370
|
http_version:
|
371
|
recorded_at: Wed, 12 Oct 2016 14:16:39 GMT
|
372
|
- request:
|
373
|
method: get
|
374
|
uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners
|
375
|
body:
|
376
|
encoding: US-ASCII
|
377
|
string: ''
|
378
|
headers:
|
379
|
Accept:
|
380
|
- application/json
|
381
|
Accept-Encoding:
|
382
|
- gzip, deflate
|
383
|
User-Agent:
|
384
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.0p0
|
385
|
Accept-Language:
|
386
|
- en
|
387
|
Content-Type:
|
388
|
- application/json
|
389
|
Host:
|
390
|
- subscription.rhn.redhat.com
|
391
|
response:
|
392
|
status:
|
393
|
code: 401
|
394
|
message: Unauthorized
|
395
|
headers:
|
396
|
Server:
|
397
|
- Apache-Coyote/1.1
|
398
|
X-Version:
|
399
|
- 0.9.51.15-1
|
400
|
Www-Authenticate:
|
401
|
- Basic Realm=candlepin
|
402
|
Content-Type:
|
403
|
- application/json
|
404
|
Transfer-Encoding:
|
405
|
- chunked
|
406
|
Date:
|
407
|
- Fri, 21 Oct 2016 13:32:18 GMT
|
408
|
body:
|
409
|
encoding: UTF-8
|
410
|
string: '{"displayMessage":"Invalid username or password. To create a login,
|
411
|
please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"df6d6228-d88b-4ce6-914e-1f94239433af"}'
|
412
|
http_version:
|
413
|
recorded_at: Fri, 21 Oct 2016 13:32:17 GMT
|
414
|
recorded_with: VCR 3.0.3
|