Project

General

Profile

Revision 2bf1b05c

Added by Thomas McKay over 5 years ago

recorded test=setup/setup

View differences:

test/fixtures/vcr_cassettes/setup/setup_locations/setup.yml
207 207
      message: 'OK '
208 208
    headers:
209 209
      Date:
210
      - Fri, 30 Sep 2016 15:40:04 GMT
210
      - Wed, 12 Oct 2016 14:11:19 GMT
211 211
      Server:
212 212
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
213 213
      Foreman-Version:
......
223 223
      Cache-Control:
224 224
      - max-age=0, private, must-revalidate
225 225
      X-Request-Id:
226
      - 838a48b6-bc4d-4bda-8b3e-f156a45cba51
226
      - b0b2bd7e-75e2-427a-83ff-19b6ea7e871c
227 227
      X-Runtime:
228
      - '1.090733'
228
      - '0.076123'
229 229
      Content-Security-Policy:
230 230
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
231 231
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
249 249
      Content-Length:
250 250
      - '81'
251 251
      Set-Cookie:
252
      - _session_id=7e26d4117bfe79bdbcadac9331eb6058; path=/; HttpOnly
252
      - _session_id=e9f948a70017139eca13aff55f5a903f; path=/; HttpOnly
253 253
    body:
254 254
      encoding: UTF-8
255 255
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
256 256
    http_version: 
257
  recorded_at: Fri, 30 Sep 2016 15:40:05 GMT
257
  recorded_at: Wed, 12 Oct 2016 14:11:19 GMT
258 258
- request:
259 259
    method: get
260 260
    uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
......
274 274
      message: 'OK '
275 275
    headers:
276 276
      Date:
277
      - Fri, 30 Sep 2016 15:40:04 GMT
277
      - Wed, 12 Oct 2016 14:11:19 GMT
278 278
      Server:
279 279
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
280 280
      Foreman-Version:
......
290 290
      Cache-Control:
291 291
      - max-age=0, private, must-revalidate
292 292
      X-Request-Id:
293
      - 1d3f5d7a-6bac-4f15-b6e2-65d30d9c2de3
293
      - 89d90c13-0a4a-4d11-ab69-1447e7924c93
294 294
      X-Runtime:
295
      - '0.087885'
295
      - '0.064888'
296 296
      Content-Security-Policy:
297 297
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
298 298
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
316 316
      Content-Length:
317 317
      - '565'
318 318
      Set-Cookie:
319
      - _session_id=8f20458470f0ecb5c216ef084bc3d429; path=/; HttpOnly
319
      - _session_id=ccb4aa6587986e746b073417289ea728; path=/; HttpOnly
320 320
    body:
321 321
      encoding: ASCII-8BIT
322 322
      string: !binary |-
......
346 346
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
347 347
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
348 348
    http_version: 
349
  recorded_at: Fri, 30 Sep 2016 15:40:05 GMT
349
  recorded_at: Wed, 12 Oct 2016 14:11:19 GMT
350 350
- request:
351 351
    method: get
352 352
    uri: https://admin:changeme@katello.example.com:50218/api/locations?per_page=999999
......
372 372
      message: 'OK '
373 373
    headers:
374 374
      Date:
375
      - Fri, 30 Sep 2016 15:40:04 GMT
375
      - Wed, 12 Oct 2016 14:11:20 GMT
376 376
      Server:
377 377
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
378 378
      Foreman-Version:
......
388 388
      Cache-Control:
389 389
      - max-age=0, private, must-revalidate
390 390
      X-Request-Id:
391
      - 8daa4344-5afe-414f-a2bf-cd11396cd87d
391
      - b7e7e241-bad7-4b96-965f-eed35f5726a0
392 392
      X-Runtime:
393
      - '0.093822'
393
      - '1.152980'
394 394
      Content-Security-Policy:
395 395
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
396 396
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
414 414
      Content-Length:
415 415
      - '1350'
416 416
      Set-Cookie:
417
      - _session_id=9724aa7f96d829eb115032d0814d4aef; path=/; HttpOnly
417
      - _session_id=938e188eef6395a05a03dc1ba6b1d6f6; path=/; HttpOnly
418 418
    body:
419 419
      encoding: ASCII-8BIT
420 420
      string: |
......
431 431
          "results": [{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-09-30 14:47:06 UTC","updated_at":"2016-09-30 14:47:06 UTC","id":2,"name":"Default Location","title":"Default Location","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-09-30 15:10:45 UTC","updated_at":"2016-09-30 15:10:45 UTC","id":4,"name":"Test East","title":"Test East","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-09-30 15:04:16 UTC","updated_at":"2016-09-30 15:04:16 UTC","id":3,"name":"Testing","title":"Testing","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-09-30 15:10:45 UTC","updated_at":"2016-09-30 15:10:45 UTC","id":5,"name":"Test North","title":"Test North","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-09-30 15:10:46 UTC","updated_at":"2016-09-30 15:10:46 UTC","id":6,"name":"Test South","title":"Test South","description":null},{"ancestry":null,"parent_id":null,"parent_name":null,"created_at":"2016-09-30 15:10:46 UTC","updated_at":"2016-09-30 15:10:46 UTC","id":7,"name":"Test West","title":"Test West","description":null}]
432 432
        }
433 433
    http_version: 
434
  recorded_at: Fri, 30 Sep 2016 15:40:05 GMT
434
  recorded_at: Wed, 12 Oct 2016 14:11:20 GMT
435 435
- request:
436 436
    method: put
437 437
    uri: https://admin:changeme@katello.example.com:50218/api/locations/3
......
459 459
      message: 'OK '
460 460
    headers:
461 461
      Date:
462
      - Fri, 30 Sep 2016 15:40:05 GMT
462
      - Wed, 12 Oct 2016 14:11:21 GMT
463 463
      Server:
464 464
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
465 465
      Foreman-Version:
......
475 475
      Cache-Control:
476 476
      - max-age=0, private, must-revalidate
477 477
      X-Request-Id:
478
      - 01f3bf5f-9f77-45d3-aa1f-34ca974212e3
478
      - 05b80409-6b09-47e5-ac6a-728e67720bb2
479 479
      X-Runtime:
480
      - '0.320090'
480
      - '0.429791'
481 481
      Content-Security-Policy:
482 482
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
483 483
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
501 501
      Content-Length:
502 502
      - '16462'
503 503
      Set-Cookie:
504
      - _session_id=bc1aeb9aa24ac947ee5fe34f0ff964fb; path=/; HttpOnly
504
      - _session_id=b90f9547accea0aef2ca27650c839173; path=/; HttpOnly
505 505
      - request_method=PUT; path=/
506 506
    body:
507 507
      encoding: ASCII-8BIT
......
631 631
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
632 632
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
633 633
    http_version: 
634
  recorded_at: Fri, 30 Sep 2016 15:40:06 GMT
634
  recorded_at: Wed, 12 Oct 2016 14:11:21 GMT
635 635
- request:
636 636
    method: put
637 637
    uri: https://admin:changeme@katello.example.com:50218/api/locations/4
......
659 659
      message: 'OK '
660 660
    headers:
661 661
      Date:
662
      - Fri, 30 Sep 2016 15:40:06 GMT
662
      - Wed, 12 Oct 2016 14:11:21 GMT
663 663
      Server:
664 664
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
665 665
      Foreman-Version:
......
675 675
      Cache-Control:
676 676
      - max-age=0, private, must-revalidate
677 677
      X-Request-Id:
678
      - 9bd14042-21d6-4c29-949b-307f18b1f25b
678
      - dcfae431-9b93-4c67-9362-0de6399a9a26
679 679
      X-Runtime:
680
      - '1.351385'
680
      - '0.307197'
681 681
      Content-Security-Policy:
682 682
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
683 683
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
701 701
      Content-Length:
702 702
      - '16400'
703 703
      Set-Cookie:
704
      - _session_id=5dc98d3d6ec1e4d924e5f5d1eec54523; path=/; HttpOnly
704
      - _session_id=262bc413eb577ebfd8ce6663cc40a802; path=/; HttpOnly
705 705
      - request_method=PUT; path=/
706 706
    body:
707 707
      encoding: ASCII-8BIT
......
831 831
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
832 832
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
833 833
    http_version: 
834
  recorded_at: Fri, 30 Sep 2016 15:40:07 GMT
834
  recorded_at: Wed, 12 Oct 2016 14:11:21 GMT
835 835
- request:
836 836
    method: put
837 837
    uri: https://admin:changeme@katello.example.com:50218/api/locations/5
......
859 859
      message: 'OK '
860 860
    headers:
861 861
      Date:
862
      - Fri, 30 Sep 2016 15:40:07 GMT
862
      - Wed, 12 Oct 2016 14:11:23 GMT
863 863
      Server:
864 864
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
865 865
      Foreman-Version:
......
875 875
      Cache-Control:
876 876
      - max-age=0, private, must-revalidate
877 877
      X-Request-Id:
878
      - 4fd99bd6-d5be-47a0-8085-200e044b61ab
878
      - 2a374c4f-2ac8-40dd-9c18-85df246f0377
879 879
      X-Runtime:
880
      - '0.314349'
880
      - '1.301331'
881 881
      Content-Security-Policy:
882 882
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
883 883
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
901 901
      Content-Length:
902 902
      - '16402'
903 903
      Set-Cookie:
904
      - _session_id=d37a6893ca40b699b8538f95af9ccddd; path=/; HttpOnly
904
      - _session_id=083583ee93ac1ff7e1cbc3b714b52b0e; path=/; HttpOnly
905 905
      - request_method=PUT; path=/
906 906
    body:
907 907
      encoding: ASCII-8BIT
......
1031 1031
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
1032 1032
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
1033 1033
    http_version: 
1034
  recorded_at: Fri, 30 Sep 2016 15:40:08 GMT
1034
  recorded_at: Wed, 12 Oct 2016 14:11:22 GMT
1035 1035
- request:
1036 1036
    method: put
1037 1037
    uri: https://admin:changeme@katello.example.com:50218/api/locations/6
......
1059 1059
      message: 'OK '
1060 1060
    headers:
1061 1061
      Date:
1062
      - Fri, 30 Sep 2016 15:40:07 GMT
1062
      - Wed, 12 Oct 2016 14:11:23 GMT
1063 1063
      Server:
1064 1064
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
1065 1065
      Foreman-Version:
......
1075 1075
      Cache-Control:
1076 1076
      - max-age=0, private, must-revalidate
1077 1077
      X-Request-Id:
1078
      - 38b4608c-b4f2-4926-af79-b19b35a71d10
1078
      - 58dda68b-8b35-4376-aafd-4334fd2b98bc
1079 1079
      X-Runtime:
1080
      - '0.315094'
1080
      - '0.316409'
1081 1081
      Content-Security-Policy:
1082 1082
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1083 1083
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
1101 1101
      Content-Length:
1102 1102
      - '16402'
1103 1103
      Set-Cookie:
1104
      - _session_id=50b00eecf97695371e5ab6bec1533f54; path=/; HttpOnly
1104
      - _session_id=d567de3747854001589513244e06be9e; path=/; HttpOnly
1105 1105
      - request_method=PUT; path=/
1106 1106
    body:
1107 1107
      encoding: ASCII-8BIT
......
1231 1231
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
1232 1232
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
1233 1233
    http_version: 
1234
  recorded_at: Fri, 30 Sep 2016 15:40:08 GMT
1234
  recorded_at: Wed, 12 Oct 2016 14:11:23 GMT
1235 1235
- request:
1236 1236
    method: put
1237 1237
    uri: https://admin:changeme@katello.example.com:50218/api/locations/7
......
1259 1259
      message: 'OK '
1260 1260
    headers:
1261 1261
      Date:
1262
      - Fri, 30 Sep 2016 15:40:08 GMT
1262
      - Wed, 12 Oct 2016 14:11:23 GMT
1263 1263
      Server:
1264 1264
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
1265 1265
      Foreman-Version:
......
1275 1275
      Cache-Control:
1276 1276
      - max-age=0, private, must-revalidate
1277 1277
      X-Request-Id:
1278
      - 277330b2-5988-48c5-bbce-2ab1a4a81648
1278
      - 39b138e2-0880-46ae-8f0f-100f423caf00
1279 1279
      X-Runtime:
1280
      - '1.377940'
1280
      - '0.304801'
1281 1281
      Content-Security-Policy:
1282 1282
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1283 1283
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
1301 1301
      Content-Length:
1302 1302
      - '16400'
1303 1303
      Set-Cookie:
1304
      - _session_id=9f116bde9c08ad65692f40cf3aefff01; path=/; HttpOnly
1304
      - _session_id=40c9b3a8ce59e175634c11d31849ff51; path=/; HttpOnly
1305 1305
      - request_method=PUT; path=/
1306 1306
    body:
1307 1307
      encoding: ASCII-8BIT
......
1431 1431
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
1432 1432
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[],"realms":[],"environments":[],"hostgroups":[],"organizations":[],"parameters":[]}'
1433 1433
    http_version: 
1434
  recorded_at: Fri, 30 Sep 2016 15:40:09 GMT
1434
  recorded_at: Wed, 12 Oct 2016 14:11:23 GMT
1435 1435
recorded_with: VCR 3.0.3

Also available in: Unified diff