Revision 3061c66a
Added by Thomas McKay over 6 years ago
test/fixtures/vcr_cassettes/resources/subscriptions/portal_incorrect_login.yml | ||
---|---|---|
35 | 35 |
Transfer-Encoding: |
36 | 36 |
- chunked |
37 | 37 |
Date: |
38 |
- Mon, 12 Sep 2016 15:33:43 GMT
|
|
38 |
- Thu, 22 Sep 2016 19:50:32 GMT
|
|
39 | 39 |
body: |
40 | 40 |
encoding: UTF-8 |
41 | 41 |
string: '{"displayMessage":"Invalid username or password. To create a login, |
42 |
please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"84fd38d6-df64-4d53-add9-02ec1d05f090"}'
|
|
42 |
please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"ebbd753e-22e6-4fc5-9737-a091ebcc1dfd"}'
|
|
43 | 43 |
http_version: |
44 |
recorded_at: Mon, 12 Sep 2016 15:33:43 GMT
|
|
44 |
recorded_at: Thu, 22 Sep 2016 19:50:33 GMT
|
|
45 | 45 |
- request: |
46 | 46 |
method: get |
47 |
uri: https://admin:changeme@katello.example.com:50191/api/status |
|
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 |
- Thu, 22 Sep 2016 19:59:39 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":"8b0ccb2b-563a-4ecd-960c-adbd3e1f6c65"}' |
|
85 |
http_version: |
|
86 |
recorded_at: Thu, 22 Sep 2016 19:59:40 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 |
- Thu, 22 Sep 2016 20:01:32 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":"c03672fc-91fa-496b-8753-3881b7746f40"}' |
|
127 |
http_version: |
|
128 |
recorded_at: Thu, 22 Sep 2016 20:01:33 GMT |
|
129 |
- request: |
|
130 |
method: get |
|
131 |
uri: https://admin:changeme@katello.example.com:50219/api/status |
|
48 | 132 |
body: |
49 | 133 |
encoding: US-ASCII |
50 | 134 |
string: '' |
... | ... | |
61 | 145 |
message: OK |
62 | 146 |
headers: |
63 | 147 |
Date: |
64 |
- Mon, 12 Sep 2016 15:39:22 GMT
|
|
148 |
- Thu, 22 Sep 2016 21:04:59 GMT
|
|
65 | 149 |
Server: |
66 | 150 |
- Apache/2.4.6 (CentOS) |
67 |
X-Frame-Options: |
|
68 |
- SAMEORIGIN |
|
69 |
X-Xss-Protection: |
|
70 |
- 1; mode=block |
|
71 |
X-Content-Type-Options: |
|
72 |
- nosniff |
|
73 | 151 |
Foreman-Version: |
74 | 152 |
- 1.14.0-develop |
75 | 153 |
Foreman-Api-Version: |
... | ... | |
83 | 161 |
Cache-Control: |
84 | 162 |
- max-age=0, private, must-revalidate |
85 | 163 |
X-Request-Id: |
86 |
- ab806b0f-1bee-4810-9990-1162bdadaecb
|
|
164 |
- 7c78f9ce-d162-497d-bf33-a75a01415f5b
|
|
87 | 165 |
X-Runtime: |
88 |
- '0.297591' |
|
166 |
- '0.220851' |
|
167 |
Content-Security-Policy: |
|
168 |
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:; |
|
169 |
img-src ''self'' *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline'' |
|
170 |
''self''; style-src ''unsafe-inline'' ''self''' |
|
171 |
Strict-Transport-Security: |
|
172 |
- max-age=631152000; includeSubdomains |
|
173 |
X-Content-Type-Options: |
|
174 |
- nosniff |
|
175 |
X-Download-Options: |
|
176 |
- noopen |
|
177 |
X-Frame-Options: |
|
178 |
- sameorigin |
|
179 |
X-Permitted-Cross-Domain-Policies: |
|
180 |
- none |
|
181 |
X-Xss-Protection: |
|
182 |
- 1; mode=block |
|
89 | 183 |
Via: |
90 |
- 1.1 katello.example.com:50191
|
|
184 |
- 1.1 katello.example.com:50219
|
|
91 | 185 |
Vary: |
92 | 186 |
- Accept-Encoding |
93 | 187 |
Content-Length: |
94 | 188 |
- '81' |
95 | 189 |
Set-Cookie: |
96 |
- _session_id=e946926e20fef9b182a714fc27eb755a; path=/; HttpOnly
|
|
190 |
- _session_id=8e1c3015f2b4ab84b732fd0f8332ccc2; path=/; HttpOnly
|
|
97 | 191 |
body: |
98 | 192 |
encoding: UTF-8 |
99 | 193 |
string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}' |
100 | 194 |
http_version: |
101 |
recorded_at: Mon, 12 Sep 2016 15:39:22 GMT
|
|
195 |
recorded_at: Thu, 22 Sep 2016 21:05:01 GMT
|
|
102 | 196 |
- request: |
103 | 197 |
method: get |
104 |
uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
|
|
198 |
uri: https://admin:changeme@katello.example.com:50219/api/v2/plugins
|
|
105 | 199 |
body: |
106 | 200 |
encoding: US-ASCII |
107 | 201 |
string: '' |
... | ... | |
118 | 212 |
message: OK |
119 | 213 |
headers: |
120 | 214 |
Date: |
121 |
- Mon, 12 Sep 2016 15:39:22 GMT
|
|
215 |
- Thu, 22 Sep 2016 21:05:00 GMT
|
|
122 | 216 |
Server: |
123 | 217 |
- Apache/2.4.6 (CentOS) |
124 |
X-Frame-Options: |
|
125 |
- SAMEORIGIN |
|
126 |
X-Xss-Protection: |
|
127 |
- 1; mode=block |
|
128 |
X-Content-Type-Options: |
|
129 |
- nosniff |
|
130 | 218 |
Foreman-Version: |
131 | 219 |
- 1.14.0-develop |
132 | 220 |
Foreman-Api-Version: |
... | ... | |
136 | 224 |
Apipie-Checksum: |
137 | 225 |
- 9544abef9cf8343005f07ed8c9f1f8e7 |
138 | 226 |
Etag: |
139 |
- W/"c547959b2afaff0cf0a8d731005e9365-gzip"
|
|
227 |
- W/"1f3be6be9a21bcf6d5ba90bd77fcb5ca-gzip"
|
|
140 | 228 |
Cache-Control: |
141 | 229 |
- max-age=0, private, must-revalidate |
142 | 230 |
X-Request-Id: |
143 |
- 788bf023-0241-4c35-9fe9-8cb532afca33
|
|
231 |
- ee6c8579-d33b-4e36-8a95-b98790143b21
|
|
144 | 232 |
X-Runtime: |
145 |
- '1.196359' |
|
233 |
- '0.186687' |
|
234 |
Content-Security-Policy: |
|
235 |
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:; |
|
236 |
img-src ''self'' *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline'' |
|
237 |
''self''; style-src ''unsafe-inline'' ''self''' |
|
238 |
Strict-Transport-Security: |
|
239 |
- max-age=631152000; includeSubdomains |
|
240 |
X-Content-Type-Options: |
|
241 |
- nosniff |
|
242 |
X-Download-Options: |
|
243 |
- noopen |
|
244 |
X-Frame-Options: |
|
245 |
- sameorigin |
|
246 |
X-Permitted-Cross-Domain-Policies: |
|
247 |
- none |
|
248 |
X-Xss-Protection: |
|
249 |
- 1; mode=block |
|
146 | 250 |
Via: |
147 |
- 1.1 katello.example.com:50191
|
|
251 |
- 1.1 katello.example.com:50219
|
|
148 | 252 |
Vary: |
149 | 253 |
- Accept-Encoding |
150 | 254 |
Content-Length: |
151 |
- '566'
|
|
255 |
- '721'
|
|
152 | 256 |
Set-Cookie: |
153 |
- _session_id=0e758cfed039812caa5d9d8deaed3185; path=/; HttpOnly
|
|
257 |
- _session_id=d01ec4665b4e9e7e7ba8e40ec389c87f; path=/; HttpOnly
|
|
154 | 258 |
body: |
155 | 259 |
encoding: ASCII-8BIT |
156 | 260 |
string: !binary |- |
157 |
ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
|
|
261 |
ewogICJ0b3RhbCI6IDUsCiAgInN1YnRvdGFsIjogNSwKICAicGFnZSI6IDEs
|
|
158 | 262 |
CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi |
159 | 263 |
OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg |
160 | 264 |
InJlc3VsdHMiOiBbeyJpZ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|
aW9uIjoiMy4zLjAifV0KfQo= |
|
182 | 299 |
http_version: |
183 |
recorded_at: Mon, 12 Sep 2016 15:39:23 GMT
|
|
300 |
recorded_at: Thu, 22 Sep 2016 21:05:01 GMT
|
|
184 | 301 |
- request: |
185 | 302 |
method: get |
186 | 303 |
uri: https://username:password@subscription.rhn.redhat.com/subscription/users/username/owners |
... | ... | |
216 | 333 |
Transfer-Encoding: |
217 | 334 |
- chunked |
218 | 335 |
Date: |
219 |
- Mon, 12 Sep 2016 15:39:24 GMT
|
|
336 |
- Thu, 22 Sep 2016 21:05:01 GMT
|
|
220 | 337 |
body: |
221 | 338 |
encoding: UTF-8 |
222 | 339 |
string: '{"displayMessage":"Invalid username or password. To create a login, |
223 |
please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"b68563c7-0e7a-4573-b767-dbdd21da146c"}'
|
|
340 |
please visit https://www.redhat.com/wapps/ugc/register.html","requestUuid":"18635078-c0c0-44b6-8ad5-d10344c44139"}'
|
|
224 | 341 |
http_version: |
225 |
recorded_at: Mon, 12 Sep 2016 15:39:24 GMT
|
|
342 |
recorded_at: Thu, 22 Sep 2016 21:05:02 GMT
|
|
226 | 343 |
recorded_with: VCR 3.0.3 |
Also available in: Unified diff
fixes #____ - subscriptions manifest, dates