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_organizations/setup.yml
399 399
      message: 'OK '
400 400
    headers:
401 401
      Date:
402
      - Fri, 30 Sep 2016 15:40:09 GMT
402
      - Wed, 12 Oct 2016 14:11:24 GMT
403 403
      Server:
404 404
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
405 405
      Foreman-Version:
......
415 415
      Cache-Control:
416 416
      - max-age=0, private, must-revalidate
417 417
      X-Request-Id:
418
      - 6e979e43-ea7e-4674-8598-e637cbe1b175
418
      - 3c9e1949-9d43-4084-a34a-dcb9e30a384b
419 419
      X-Runtime:
420
      - '0.086730'
420
      - '0.065016'
421 421
      Content-Security-Policy:
422 422
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
423 423
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
441 441
      Content-Length:
442 442
      - '81'
443 443
      Set-Cookie:
444
      - _session_id=9f5c1f4bf8ba687dc5e6ed8762c5c4c6; path=/; HttpOnly
444
      - _session_id=4952bb47e78bc4f276a962bfc7cd2cb1; path=/; HttpOnly
445 445
    body:
446 446
      encoding: UTF-8
447 447
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
448 448
    http_version: 
449
  recorded_at: Fri, 30 Sep 2016 15:40:09 GMT
449
  recorded_at: Wed, 12 Oct 2016 14:11:24 GMT
450 450
- request:
451 451
    method: get
452 452
    uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
......
466 466
      message: 'OK '
467 467
    headers:
468 468
      Date:
469
      - Fri, 30 Sep 2016 15:40:09 GMT
469
      - Wed, 12 Oct 2016 14:11:24 GMT
470 470
      Server:
471 471
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
472 472
      Foreman-Version:
......
482 482
      Cache-Control:
483 483
      - max-age=0, private, must-revalidate
484 484
      X-Request-Id:
485
      - 72ea2719-8f17-4aee-90bf-51f0e5b992a1
485
      - 0612bbbd-059e-4640-8a51-171886e19bf4
486 486
      X-Runtime:
487
      - '0.069597'
487
      - '0.068123'
488 488
      Content-Security-Policy:
489 489
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
490 490
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
508 508
      Content-Length:
509 509
      - '565'
510 510
      Set-Cookie:
511
      - _session_id=2e5c3dbeccb17bb91efeb373f01b33af; path=/; HttpOnly
511
      - _session_id=af34c74ac6cf248986d56cf94a6557a1; path=/; HttpOnly
512 512
    body:
513 513
      encoding: ASCII-8BIT
514 514
      string: !binary |-
......
538 538
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
539 539
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
540 540
    http_version: 
541
  recorded_at: Fri, 30 Sep 2016 15:40:10 GMT
541
  recorded_at: Wed, 12 Oct 2016 14:11:24 GMT
542 542
- request:
543 543
    method: get
544 544
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999
......
564 564
      message: 'OK '
565 565
    headers:
566 566
      Date:
567
      - Fri, 30 Sep 2016 15:40:09 GMT
567
      - Wed, 12 Oct 2016 14:11:25 GMT
568 568
      Server:
569 569
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
570 570
      Foreman-Version:
......
580 580
      Cache-Control:
581 581
      - max-age=0, private, must-revalidate
582 582
      X-Request-Id:
583
      - 56c902fe-6d6b-4e18-89e3-28987cc01bae
583
      - 55a70e12-ebc0-409b-9ec1-59662a5b7699
584 584
      X-Runtime:
585
      - '0.087628'
585
      - '0.095036'
586 586
      Content-Security-Policy:
587 587
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
588 588
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
606 606
      Content-Length:
607 607
      - '563'
608 608
      Set-Cookie:
609
      - _session_id=87d63c2e2a892dd98929dc254aca658f; path=/; HttpOnly
609
      - _session_id=11ad7d60b4fa5a4e9679df24daaf1d2f; path=/; HttpOnly
610 610
    body:
611 611
      encoding: ASCII-8BIT
612 612
      string: |
......
623 623
          "results": [{"label":"Default_Organization","created_at":"2016-09-30 14:47:05 UTC","updated_at":"2016-09-30 14:47:05 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30 15:10:48 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
624 624
        }
625 625
    http_version: 
626
  recorded_at: Fri, 30 Sep 2016 15:40:10 GMT
626
  recorded_at: Wed, 12 Oct 2016 14:11:25 GMT
627 627
- request:
628 628
    method: get
629 629
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8
......
649 649
      message: 'OK '
650 650
    headers:
651 651
      Date:
652
      - Fri, 30 Sep 2016 15:40:09 GMT
652
      - Wed, 12 Oct 2016 14:11:25 GMT
653 653
      Server:
654 654
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
655 655
      Foreman-Version:
......
665 665
      Cache-Control:
666 666
      - max-age=0, private, must-revalidate
667 667
      X-Request-Id:
668
      - ee3c1460-e184-4d7b-aa9f-d8a3d2904ce3
668
      - 398bcd9e-a05e-430a-abdc-c403917e97c7
669 669
      X-Runtime:
670
      - '0.361977'
670
      - '0.485207'
671 671
      Content-Security-Policy:
672 672
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
673 673
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
691 691
      Content-Length:
692 692
      - '21677'
693 693
      Set-Cookie:
694
      - _session_id=7a7b7222f28d43736dcf0cb9df2423cc; path=/; HttpOnly
694
      - _session_id=af5e666420bf0ee5622a4bb5c8854ce3; path=/; HttpOnly
695 695
    body:
696 696
      encoding: ASCII-8BIT
697 697
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff808081577b8f0201577ba5d9850003","key":"testcorp","displayName":"Test
......
826 826
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
827 827
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[],"default_content_view_id":2,"library_id":2}'
828 828
    http_version: 
829
  recorded_at: Fri, 30 Sep 2016 15:40:10 GMT
829
  recorded_at: Wed, 12 Oct 2016 14:11:25 GMT
830 830
- request:
831 831
    method: put
832 832
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8
......
854 854
      message: 'OK '
855 855
    headers:
856 856
      Date:
857
      - Fri, 30 Sep 2016 15:40:11 GMT
857
      - Wed, 12 Oct 2016 14:11:27 GMT
858 858
      Server:
859 859
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
860 860
      Foreman-Version:
......
870 870
      Cache-Control:
871 871
      - max-age=0, private, must-revalidate
872 872
      X-Request-Id:
873
      - ced2451c-993e-4d4b-ac27-700406b367eb
873
      - 6c7f2abe-cbe6-4151-9e19-73d67b43ea6c
874 874
      X-Runtime:
875
      - '1.361914'
875
      - '1.420355'
876 876
      Content-Security-Policy:
877 877
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
878 878
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
896 896
      Content-Length:
897 897
      - '16501'
898 898
      Set-Cookie:
899
      - _session_id=7010cdb5dd451b68eb16679317c342a2; path=/; HttpOnly
899
      - _session_id=1cb13b2144745376515491ff00c4d3e4; path=/; HttpOnly
900 900
      - request_method=PUT; path=/
901 901
    body:
902 902
      encoding: ASCII-8BIT
......
1027 1027
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
1028 1028
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
1029 1029
    http_version: 
1030
  recorded_at: Fri, 30 Sep 2016 15:40:11 GMT
1030
  recorded_at: Wed, 12 Oct 2016 14:11:27 GMT
1031 1031
recorded_with: VCR 3.0.3

Also available in: Unified diff