Project

General

Profile

Revision 3061c66a

Added by Thomas McKay over 6 years ago

fixes #____ - subscriptions manifest, dates

View differences:

test/fixtures/vcr_cassettes/resources/subscriptions/manifest_does_not_exist.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: get
5
    uri: https://admin:changeme@katello.example.com:50191/api/status
5
    uri: https://admin:changeme@katello.example.com:50219/api/status
6 6
    body:
7 7
      encoding: US-ASCII
8 8
      string: ''
......
19 19
      message: OK
20 20
    headers:
21 21
      Date:
22
      - Mon, 12 Sep 2016 15:39:13 GMT
22
      - Thu, 22 Sep 2016 21:04:57 GMT
23 23
      Server:
24 24
      - Apache/2.4.6 (CentOS)
25
      X-Frame-Options:
26
      - SAMEORIGIN
27
      X-Xss-Protection:
28
      - 1; mode=block
29
      X-Content-Type-Options:
30
      - nosniff
31 25
      Foreman-Version:
32 26
      - 1.14.0-develop
33 27
      Foreman-Api-Version:
......
41 35
      Cache-Control:
42 36
      - max-age=0, private, must-revalidate
43 37
      X-Request-Id:
44
      - 6f89ad8c-1967-41b4-ba08-52d5ce476c90
38
      - ef4c8c60-77df-429a-a4ce-72976a55c0d5
45 39
      X-Runtime:
46
      - '0.210953'
40
      - '0.219761'
41
      Content-Security-Policy:
42
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
43
        img-src ''self'' *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
44
        ''self''; style-src ''unsafe-inline'' ''self'''
45
      Strict-Transport-Security:
46
      - max-age=631152000; includeSubdomains
47
      X-Content-Type-Options:
48
      - nosniff
49
      X-Download-Options:
50
      - noopen
51
      X-Frame-Options:
52
      - sameorigin
53
      X-Permitted-Cross-Domain-Policies:
54
      - none
55
      X-Xss-Protection:
56
      - 1; mode=block
47 57
      Via:
48
      - 1.1 katello.example.com:50191
58
      - 1.1 katello.example.com:50219
49 59
      Vary:
50 60
      - Accept-Encoding
51 61
      Content-Length:
52 62
      - '81'
53 63
      Set-Cookie:
54
      - _session_id=3137521a3912ddd409554b70e5f92e9a; path=/; HttpOnly
64
      - _session_id=cf31d4d165addbb0f82de524478ef94c; path=/; HttpOnly
55 65
    body:
56 66
      encoding: UTF-8
57 67
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
58 68
    http_version: 
59
  recorded_at: Mon, 12 Sep 2016 15:39:14 GMT
69
  recorded_at: Thu, 22 Sep 2016 21:04:59 GMT
60 70
- request:
61 71
    method: get
62
    uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
72
    uri: https://admin:changeme@katello.example.com:50219/api/v2/plugins
63 73
    body:
64 74
      encoding: US-ASCII
65 75
      string: ''
......
76 86
      message: OK
77 87
    headers:
78 88
      Date:
79
      - Mon, 12 Sep 2016 15:39:13 GMT
89
      - Thu, 22 Sep 2016 21:04:58 GMT
80 90
      Server:
81 91
      - Apache/2.4.6 (CentOS)
82
      X-Frame-Options:
83
      - SAMEORIGIN
84
      X-Xss-Protection:
85
      - 1; mode=block
86
      X-Content-Type-Options:
87
      - nosniff
88 92
      Foreman-Version:
89 93
      - 1.14.0-develop
90 94
      Foreman-Api-Version:
......
94 98
      Apipie-Checksum:
95 99
      - 9544abef9cf8343005f07ed8c9f1f8e7
96 100
      Etag:
97
      - W/"c547959b2afaff0cf0a8d731005e9365-gzip"
101
      - W/"1f3be6be9a21bcf6d5ba90bd77fcb5ca-gzip"
98 102
      Cache-Control:
99 103
      - max-age=0, private, must-revalidate
100 104
      X-Request-Id:
101
      - 107e78bd-8496-4498-a066-9979bf0fd711
105
      - 85057a97-ce92-42a2-83f5-db4c81228d85
102 106
      X-Runtime:
103
      - '0.194051'
107
      - '0.165500'
108
      Content-Security-Policy:
109
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
110
        img-src ''self'' *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
111
        ''self''; style-src ''unsafe-inline'' ''self'''
112
      Strict-Transport-Security:
113
      - max-age=631152000; includeSubdomains
114
      X-Content-Type-Options:
115
      - nosniff
116
      X-Download-Options:
117
      - noopen
118
      X-Frame-Options:
119
      - sameorigin
120
      X-Permitted-Cross-Domain-Policies:
121
      - none
122
      X-Xss-Protection:
123
      - 1; mode=block
104 124
      Via:
105
      - 1.1 katello.example.com:50191
125
      - 1.1 katello.example.com:50219
106 126
      Vary:
107 127
      - Accept-Encoding
108 128
      Content-Length:
109
      - '566'
129
      - '721'
110 130
      Set-Cookie:
111
      - _session_id=f140516d21d0d992d66cd7e36978c9db; path=/; HttpOnly
131
      - _session_id=9f27f4bbed55f2a3d1b771f101f95894; path=/; HttpOnly
112 132
    body:
113 133
      encoding: ASCII-8BIT
114 134
      string: !binary |-
115
        ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
135
        ewogICJ0b3RhbCI6IDUsCiAgInN1YnRvdGFsIjogNSwKICAicGFnZSI6IDEs
116 136
        CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
117 137
        OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
118 138
        InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
......
127 147
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
128 148
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
129 149
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
130
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMSJ9LHsiaWQiOiJmb3JlbWFu
150
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMiJ9LHsiaWQiOiJmb3JlbWFu
131 151
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
132 152
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
133 153
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
134 154
        IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
135 155
        b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
136
        ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
137
        ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
138
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
139
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
156
        ZCI6ImZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsIm5hbWUiOiJmb3JlbWFu
157
        X3JlbW90ZV9leGVjdXRpb24iLCJhdXRob3IiOiJGb3JlbWFuIFJlbW90ZSBF
158
        eGVjdXRpb24gdGVhbSIsImRlc2NyaXB0aW9uIjoiQSBwbHVnaW4gYnJpbmdp
159
        bmcgcmVtb3RlIGV4ZWN1dGlvbiB0byB0aGUgRm9yZW1hbiwgY29tcGxldGlu
160
        ZyB0aGUgY29uZmlnIG1hbmFnZW1lbnQgZnVuY3Rpb25hbGl0eSB3aXRoIHJl
161
        bW90ZSBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkuIiwidXJsIjoiaHR0cHM6
162
        Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9yZW1hbl9yZW1vdGVfZXhlY3V0
163
        aW9uIiwidmVyc2lvbiI6IjEuMi4xIn0seyJpZCI6ImZvcmVtYW5fdGVtcGxh
164
        dGVzIiwibmFtZSI6ImZvcmVtYW5fdGVtcGxhdGVzIiwiYXV0aG9yIjoiR3Jl
165
        ZyBTdXRjbGlmZmUiLCJkZXNjcmlwdGlvbiI6IkVuZ2luZSB0byBzeW5jaHJv
166
        bmlzZSBwcm92aXNpb25pbmcgdGVtcGxhdGVzIGZyb20gR2l0SHViIiwidXJs
167
        IjoiaHR0cDovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9mb3JlbWFuX3RlbXBs
168
        YXRlcyIsInZlcnNpb24iOiIzLjAuMCJ9LHsiaWQiOiJrYXRlbGxvIiwibmFt
169
        ZSI6ImthdGVsbG8iLCJhdXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNv
170
        bnRlbnQgYW5kIFN1YnNjcmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3Ig
171
        Rm9yZW1hbiIsInVybCI6Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJz
172
        aW9uIjoiMy4zLjAifV0KfQo=
140 173
    http_version: 
141
  recorded_at: Mon, 12 Sep 2016 15:39:14 GMT
174
  recorded_at: Thu, 22 Sep 2016 21:04:59 GMT
142 175
- request:
143 176
    method: get
144
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
177
    uri: https://admin:changeme@katello.example.com:50219/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
145 178
    body:
146 179
      encoding: US-ASCII
147 180
      string: ''
......
155 188
      Content-Type:
156 189
      - application/json
157 190
      Host:
158
      - katello.example.com:50191
191
      - katello.example.com:50219
159 192
  response:
160 193
    status:
161 194
      code: 200
162 195
      message: OK
163 196
    headers:
164 197
      Date:
165
      - Mon, 12 Sep 2016 15:39:14 GMT
198
      - Thu, 22 Sep 2016 21:04:58 GMT
166 199
      Server:
167 200
      - Apache/2.4.6 (CentOS)
168
      X-Frame-Options:
169
      - SAMEORIGIN
170
      X-Xss-Protection:
171
      - 1; mode=block
172
      X-Content-Type-Options:
173
      - nosniff
174 201
      Foreman-Version:
175 202
      - 1.14.0-develop
176 203
      Foreman-Api-Version:
......
180 207
      Apipie-Checksum:
181 208
      - 9544abef9cf8343005f07ed8c9f1f8e7
182 209
      Etag:
183
      - W/"471e8acb2053be2e7a823cbd174ec330-gzip"
210
      - W/"2301fbbcaa43d81f290e0ff70ced8757-gzip"
184 211
      Cache-Control:
185 212
      - max-age=0, private, must-revalidate
186 213
      X-Request-Id:
187
      - b9b40162-df7c-4423-87f4-68d929599686
214
      - 9333d28a-0569-46ac-bc6e-464cb2cea1bb
188 215
      X-Runtime:
189
      - '1.292192'
216
      - '0.229740'
217
      Content-Security-Policy:
218
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
219
        img-src ''self'' *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
220
        ''self''; style-src ''unsafe-inline'' ''self'''
221
      Strict-Transport-Security:
222
      - max-age=631152000; includeSubdomains
223
      X-Content-Type-Options:
224
      - nosniff
225
      X-Download-Options:
226
      - noopen
227
      X-Frame-Options:
228
      - sameorigin
229
      X-Permitted-Cross-Domain-Policies:
230
      - none
231
      X-Xss-Protection:
232
      - 1; mode=block
190 233
      Via:
191
      - 1.1 katello.example.com:50191
234
      - 1.1 katello.example.com:50219
192 235
      Vary:
193 236
      - Accept-Encoding
194 237
      Content-Length:
195 238
      - '388'
196 239
      Set-Cookie:
197
      - _session_id=5b861ef8546209686fad8ad87581bc1e; path=/; HttpOnly
240
      - _session_id=c226ee0d6863ad039ff8eeb9ee316fb3; path=/; HttpOnly
198 241
    body:
199 242
      encoding: ASCII-8BIT
200 243
      string: |
......
208 251
            "by": null,
209 252
            "order": null
210 253
          },
211
          "results": [{"label":"testcorp","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","id":9,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
254
          "results": [{"label":"testcorp","created_at":"2016-09-22 18:39:46 UTC","updated_at":"2016-09-22 18:39:46 UTC","id":9,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
212 255
        }
213 256
    http_version: 
214
  recorded_at: Mon, 12 Sep 2016 15:39:15 GMT
257
  recorded_at: Thu, 22 Sep 2016 21:04:59 GMT
215 258
- request:
216 259
    method: get
217
    uri: https://katello.example.com:50191/apidoc/v2.en.json
260
    uri: https://katello.example.com:50219/apidoc/v2.en.json
218 261
    body:
219 262
      encoding: US-ASCII
220 263
      string: ''
......
230 273
      Accept-Language:
231 274
      - en
232 275
      Host:
233
      - katello.example.com:50191
276
      - katello.example.com:50219
234 277
  response:
235 278
    status:
236 279
      code: 200
237 280
      message: OK
238 281
    headers:
239 282
      Date:
240
      - Mon, 12 Sep 2016 15:39:15 GMT
283
      - Thu, 22 Sep 2016 21:04:58 GMT
241 284
      Server:
242 285
      - Apache/2.4.6 (CentOS)
243
      X-Frame-Options:
244
      - SAMEORIGIN
245
      X-Xss-Protection:
246
      - 1; mode=block
247
      X-Content-Type-Options:
248
      - nosniff
249 286
      Content-Disposition:
250 287
      - inline; filename="v2.en.json"
251 288
      Content-Transfer-Encoding:
......
257 294
      Apipie-Checksum:
258 295
      - 9544abef9cf8343005f07ed8c9f1f8e7
259 296
      X-Request-Id:
260
      - 61f4065f-a067-4c85-a4bd-1ba857f16fdc
297
      - 30121a86-143a-411c-b297-9007611595df
261 298
      X-Runtime:
262
      - '0.169633'
299
      - '0.103655'
300
      Content-Security-Policy:
301
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
302
        img-src ''self'' *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
303
        ''self''; style-src ''unsafe-inline'' ''self'''
304
      Strict-Transport-Security:
305
      - max-age=631152000; includeSubdomains
306
      X-Content-Type-Options:
307
      - nosniff
308
      X-Download-Options:
309
      - noopen
310
      X-Frame-Options:
311
      - sameorigin
312
      X-Permitted-Cross-Domain-Policies:
313
      - none
314
      X-Xss-Protection:
315
      - 1; mode=block
263 316
      Via:
264
      - 1.1 katello.example.com:50191
317
      - 1.1 katello.example.com:50219
265 318
      Vary:
266 319
      - Accept-Encoding
267 320
      Content-Length:
......
17863 17916
        ZX1dLCJoZWFkZXJzIjpudWxsfX0sImxpbmtfZXh0ZW5zaW9uIjoiLmVuLmh0
17864 17917
        bWwifX0=
17865 17918
    http_version: 
17866
  recorded_at: Mon, 12 Sep 2016 15:39:16 GMT
17919
  recorded_at: Thu, 22 Sep 2016 21:04:59 GMT
17867 17920
recorded_with: VCR 3.0.3

Also available in: Unified diff