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_domains/setup.yml
466 466
      message: 'OK '
467 467
    headers:
468 468
      Date:
469
      - Fri, 30 Sep 2016 15:39:57 GMT
469
      - Wed, 12 Oct 2016 14:11:12 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
      - 6c7df00d-950e-4bad-a716-5fd2a2a8cb55
485
      - 00768aa1-6c0c-4979-93f4-7181a8035577
486 486
      X-Runtime:
487
      - '0.091645'
487
      - '1.089936'
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
      - '81'
510 510
      Set-Cookie:
511
      - _session_id=287f2484f4e8f455660385a5b571f47d; path=/; HttpOnly
511
      - _session_id=0112b268d2fe08d9fe448a2a889ee65c; path=/; HttpOnly
512 512
    body:
513 513
      encoding: UTF-8
514 514
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
515 515
    http_version: 
516
  recorded_at: Fri, 30 Sep 2016 15:39:58 GMT
516
  recorded_at: Wed, 12 Oct 2016 14:11:12 GMT
517 517
- request:
518 518
    method: get
519 519
    uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
......
533 533
      message: 'OK '
534 534
    headers:
535 535
      Date:
536
      - Fri, 30 Sep 2016 15:39:57 GMT
536
      - Wed, 12 Oct 2016 14:11:12 GMT
537 537
      Server:
538 538
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
539 539
      Foreman-Version:
......
549 549
      Cache-Control:
550 550
      - max-age=0, private, must-revalidate
551 551
      X-Request-Id:
552
      - 18473b90-e167-491d-9603-1c509e8a9cda
552
      - 0985a662-785c-48de-a155-7f21d349586c
553 553
      X-Runtime:
554
      - '0.074231'
554
      - '0.070365'
555 555
      Content-Security-Policy:
556 556
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
557 557
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
575 575
      Content-Length:
576 576
      - '565'
577 577
      Set-Cookie:
578
      - _session_id=5aead7fdd797d93511e6e1143814b316; path=/; HttpOnly
578
      - _session_id=22adceb2d167f37c22cd612a213821e1; path=/; HttpOnly
579 579
    body:
580 580
      encoding: ASCII-8BIT
581 581
      string: !binary |-
......
605 605
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
606 606
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
607 607
    http_version: 
608
  recorded_at: Fri, 30 Sep 2016 15:39:58 GMT
608
  recorded_at: Wed, 12 Oct 2016 14:11:12 GMT
609 609
- request:
610 610
    method: get
611 611
    uri: https://admin:changeme@katello.example.com:50218/api/domains?per_page=999999
......
631 631
      message: 'OK '
632 632
    headers:
633 633
      Date:
634
      - Fri, 30 Sep 2016 15:39:57 GMT
634
      - Wed, 12 Oct 2016 14:11:13 GMT
635 635
      Server:
636 636
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
637 637
      Foreman-Version:
......
643 643
      Apipie-Checksum:
644 644
      - 68d37bf606b9a03df6e1e749d6054009
645 645
      Etag:
646
      - W/"90f98649be5e795fe3e1a63394ae0b79-gzip"
646
      - W/"a0c0f60edf08b186d7aaf464727c8b7f-gzip"
647 647
      Cache-Control:
648 648
      - max-age=0, private, must-revalidate
649 649
      X-Request-Id:
650
      - bd31231d-5698-4580-bf22-497f243b231e
650
      - 0593ca01-0771-4128-a9e7-61bc8cc8d4b0
651 651
      X-Runtime:
652
      - '0.080675'
652
      - '0.218265'
653 653
      Content-Security-Policy:
654 654
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
655 655
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
671 671
      Vary:
672 672
      - Accept-Encoding
673 673
      Content-Length:
674
      - '287'
674
      - '298'
675 675
      Set-Cookie:
676
      - _session_id=62b3bf899a520ab3b92462207c3ed044; path=/; HttpOnly
676
      - _session_id=f20f1803a83ba5fe834d6b331890e111; path=/; HttpOnly
677 677
    body:
678 678
      encoding: ASCII-8BIT
679 679
      string: |
......
687 687
            "by": null,
688 688
            "order": null
689 689
          },
690
          "results": [{"fullname":"","dns_id":null,"created_at":"2016-09-30 15:04:14 UTC","updated_at":"2016-09-30 15:04:14 UTC","id":1,"name":"test.com"}]
690
          "results": [{"fullname":"","created_at":"2016-09-30 15:04:14 UTC","updated_at":"2016-09-30 15:04:14 UTC","id":1,"name":"test.com","dns_id":null,"dns":null}]
691 691
        }
692 692
    http_version: 
693
  recorded_at: Fri, 30 Sep 2016 15:39:58 GMT
693
  recorded_at: Wed, 12 Oct 2016 14:11:12 GMT
694 694
- request:
695 695
    method: put
696 696
    uri: https://admin:changeme@katello.example.com:50218/api/domains/1
......
718 718
      message: 'OK '
719 719
    headers:
720 720
      Date:
721
      - Fri, 30 Sep 2016 15:39:58 GMT
721
      - Wed, 12 Oct 2016 14:11:13 GMT
722 722
      Server:
723 723
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
724 724
      Foreman-Version:
......
730 730
      Apipie-Checksum:
731 731
      - 68d37bf606b9a03df6e1e749d6054009
732 732
      Etag:
733
      - W/"26e24d91e645ee3870edc0497c7be022-gzip"
733
      - W/"57190289406eb683e27dacfabcdf6498-gzip"
734 734
      Cache-Control:
735 735
      - max-age=0, private, must-revalidate
736 736
      X-Request-Id:
737
      - be8d7ec0-8167-4843-905a-328c59f7d5ce
737
      - 2c83dc58-42e4-48a3-a72a-2f926ec6faa3
738 738
      X-Runtime:
739
      - '0.127263'
739
      - '0.190368'
740 740
      Content-Security-Policy:
741 741
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
742 742
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
758 758
      Vary:
759 759
      - Accept-Encoding
760 760
      Content-Length:
761
      - '390'
761
      - '401'
762 762
      Set-Cookie:
763
      - _session_id=3dd7c38300d3d9941d8695e40e009542; path=/; HttpOnly
763
      - _session_id=ec5f23318ea9fe94e12af2bfb308dd5a; path=/; HttpOnly
764 764
      - request_method=PUT; path=/
765 765
    body:
766 766
      encoding: ASCII-8BIT
767
      string: '{"fullname":"","dns_id":null,"created_at":"2016-09-30 15:04:14 UTC","updated_at":"2016-09-30
768
        15:04:14 UTC","id":1,"name":"test.com","subnets":[{"id":1,"name":"Test Subnet","network_address":"192.168.100.1/24"}],"interfaces":[],"parameters":[],"locations":[],"organizations":[{"id":8,"name":"Test
767
      string: '{"fullname":"","created_at":"2016-09-30 15:04:14 UTC","updated_at":"2016-09-30
768
        15:04:14 UTC","id":1,"name":"test.com","dns_id":null,"dns":null,"subnets":[{"id":1,"name":"Test
769
        Subnet","network_address":"192.168.100.1/24"}],"interfaces":[],"parameters":[],"locations":[],"organizations":[{"id":8,"name":"Test
769 770
        Corporation","title":"Test Corporation","description":"Testing today for a
770 771
        better tomorrow"}]}'
771 772
    http_version: 
772
  recorded_at: Fri, 30 Sep 2016 15:39:59 GMT
773
  recorded_at: Wed, 12 Oct 2016 14:11:13 GMT
773 774
- request:
774 775
    method: get
775 776
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
795 796
      message: 'OK '
796 797
    headers:
797 798
      Date:
798
      - Fri, 30 Sep 2016 15:39:58 GMT
799
      - Wed, 12 Oct 2016 14:11:13 GMT
799 800
      Server:
800 801
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
801 802
      Foreman-Version:
......
811 812
      Cache-Control:
812 813
      - max-age=0, private, must-revalidate
813 814
      X-Request-Id:
814
      - d55d0e83-fda4-46d4-92b3-38cd6b623ed0
815
      - 5066246f-4097-4c3c-baa7-ed78a80f8baf
815 816
      X-Runtime:
816
      - '0.088778'
817
      - '0.073436'
817 818
      Content-Security-Policy:
818 819
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
819 820
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
837 838
      Content-Length:
838 839
      - '388'
839 840
      Set-Cookie:
840
      - _session_id=c38758897b73a7787835d618c9407d3e; path=/; HttpOnly
841
      - _session_id=cca5a09e725194533c204bcfbed95764; path=/; HttpOnly
841 842
    body:
842 843
      encoding: ASCII-8BIT
843 844
      string: |
......
854 855
          "results": [{"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"}]
855 856
        }
856 857
    http_version: 
857
  recorded_at: Fri, 30 Sep 2016 15:39:59 GMT
858
  recorded_at: Wed, 12 Oct 2016 14:11:13 GMT
858 859
- request:
859 860
    method: get
860 861
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8
......
880 881
      message: 'OK '
881 882
    headers:
882 883
      Date:
883
      - Fri, 30 Sep 2016 15:39:59 GMT
884
      - Wed, 12 Oct 2016 14:11:15 GMT
884 885
      Server:
885 886
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
886 887
      Foreman-Version:
......
896 897
      Cache-Control:
897 898
      - max-age=0, private, must-revalidate
898 899
      X-Request-Id:
899
      - 882750e0-5df1-4366-b0bc-3f9a29caced8
900
      - ba6c5936-54ae-4408-9e11-0652ffd012f9
900 901
      X-Runtime:
901
      - '0.487222'
902
      - '1.965010'
902 903
      Content-Security-Policy:
903 904
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
904 905
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
922 923
      Content-Length:
923 924
      - '21677'
924 925
      Set-Cookie:
925
      - _session_id=54f613d457790140835d776975c5a545; path=/; HttpOnly
926
      - _session_id=868c866c302301d55b122a4c172232ca; path=/; HttpOnly
926 927
    body:
927 928
      encoding: ASCII-8BIT
928 929
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff808081577b8f0201577ba5d9850003","key":"testcorp","displayName":"Test
......
1057 1058
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
1058 1059
        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}'
1059 1060
    http_version: 
1060
  recorded_at: Fri, 30 Sep 2016 15:40:00 GMT
1061
  recorded_at: Wed, 12 Oct 2016 14:11:15 GMT
1061 1062
- request:
1062 1063
    method: put
1063 1064
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8
......
1085 1086
      message: 'OK '
1086 1087
    headers:
1087 1088
      Date:
1088
      - Fri, 30 Sep 2016 15:40:00 GMT
1089
      - Wed, 12 Oct 2016 14:11:16 GMT
1089 1090
      Server:
1090 1091
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
1091 1092
      Foreman-Version:
......
1101 1102
      Cache-Control:
1102 1103
      - max-age=0, private, must-revalidate
1103 1104
      X-Request-Id:
1104
      - b6b715e6-0b5e-4042-b32b-8aa2e2716b19
1105
      - c6246954-42db-44c7-88af-57c20b349553
1105 1106
      X-Runtime:
1106
      - '1.466594'
1107
      - '1.447543'
1107 1108
      Content-Security-Policy:
1108 1109
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1109 1110
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
1127 1128
      Content-Length:
1128 1129
      - '16501'
1129 1130
      Set-Cookie:
1130
      - _session_id=8f3ed7c7e43447b049aca4fe753ebb07; path=/; HttpOnly
1131
      - _session_id=7ce525d9d78da13ce5c078cc091efdbd; path=/; HttpOnly
1131 1132
      - request_method=PUT; path=/
1132 1133
    body:
1133 1134
      encoding: ASCII-8BIT
......
1258 1259
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
1259 1260
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
1260 1261
    http_version: 
1261
  recorded_at: Fri, 30 Sep 2016 15:40:01 GMT
1262
  recorded_at: Wed, 12 Oct 2016 14:11:16 GMT
1262 1263
recorded_with: VCR 3.0.3

Also available in: Unified diff