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_lifecycle_environments/setup.yml
476 476
      message: 'OK '
477 477
    headers:
478 478
      Date:
479
      - Fri, 30 Sep 2016 15:40:01 GMT
479
      - Wed, 12 Oct 2016 14:11:17 GMT
480 480
      Server:
481 481
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
482 482
      Foreman-Version:
......
492 492
      Cache-Control:
493 493
      - max-age=0, private, must-revalidate
494 494
      X-Request-Id:
495
      - b7e3fa2e-ea60-4d4d-9e31-78fa63b0e09a
495
      - ee4b72b9-79e5-4892-8a66-abedf4f26e2d
496 496
      X-Runtime:
497
      - '0.077533'
497
      - '0.080491'
498 498
      Content-Security-Policy:
499 499
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
500 500
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
518 518
      Content-Length:
519 519
      - '81'
520 520
      Set-Cookie:
521
      - _session_id=cd53e2b248f23d5524d4eca1ea365e80; path=/; HttpOnly
521
      - _session_id=74624686ed03d5f10e30fa17158cf3e3; path=/; HttpOnly
522 522
    body:
523 523
      encoding: UTF-8
524 524
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
525 525
    http_version: 
526
  recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
526
  recorded_at: Wed, 12 Oct 2016 14:11:16 GMT
527 527
- request:
528 528
    method: get
529 529
    uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
......
543 543
      message: 'OK '
544 544
    headers:
545 545
      Date:
546
      - Fri, 30 Sep 2016 15:40:01 GMT
546
      - Wed, 12 Oct 2016 14:11:17 GMT
547 547
      Server:
548 548
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
549 549
      Foreman-Version:
......
559 559
      Cache-Control:
560 560
      - max-age=0, private, must-revalidate
561 561
      X-Request-Id:
562
      - 6fe9b8e9-734c-4b75-a21b-1405201a5e36
562
      - dc3702e7-3a94-4faa-a6c7-6069099acdda
563 563
      X-Runtime:
564
      - '0.066910'
564
      - '0.088390'
565 565
      Content-Security-Policy:
566 566
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
567 567
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
585 585
      Content-Length:
586 586
      - '565'
587 587
      Set-Cookie:
588
      - _session_id=499842f3e9d5af9201a461c725e2fb8b; path=/; HttpOnly
588
      - _session_id=f3337d78c8271026577afb9e71c69534; path=/; HttpOnly
589 589
    body:
590 590
      encoding: ASCII-8BIT
591 591
      string: !binary |-
......
615 615
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
616 616
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
617 617
    http_version: 
618
  recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
618
  recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
619 619
- request:
620 620
    method: get
621 621
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999
......
641 641
      message: 'OK '
642 642
    headers:
643 643
      Date:
644
      - Fri, 30 Sep 2016 15:40:01 GMT
644
      - Wed, 12 Oct 2016 14:11:17 GMT
645 645
      Server:
646 646
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
647 647
      Foreman-Version:
......
657 657
      Cache-Control:
658 658
      - max-age=0, private, must-revalidate
659 659
      X-Request-Id:
660
      - bbb73429-e6d3-43cd-930b-9792ae8da2d9
660
      - e381be4f-f306-464c-a248-16dbda38576b
661 661
      X-Runtime:
662
      - '0.097848'
662
      - '0.068006'
663 663
      Content-Security-Policy:
664 664
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
665 665
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
683 683
      Content-Length:
684 684
      - '563'
685 685
      Set-Cookie:
686
      - _session_id=6b97a2745f991c1af2fb4e42c863e982; path=/; HttpOnly
686
      - _session_id=ad895a8b295f809b0a8f2d0c06281eaf; path=/; HttpOnly
687 687
    body:
688 688
      encoding: ASCII-8BIT
689 689
      string: |
......
700 700
          "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"}]
701 701
        }
702 702
    http_version: 
703
  recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
703
  recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
704 704
- request:
705 705
    method: get
706 706
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
......
726 726
      message: 'OK '
727 727
    headers:
728 728
      Date:
729
      - Fri, 30 Sep 2016 15:40:01 GMT
729
      - Wed, 12 Oct 2016 14:11:17 GMT
730 730
      Server:
731 731
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
732 732
      Foreman-Version:
......
742 742
      Cache-Control:
743 743
      - max-age=0, private, must-revalidate
744 744
      X-Request-Id:
745
      - 613ef529-c747-4fb4-bd2c-b3298099f145
745
      - 660c6e97-6f66-445b-9ecf-74c75797f90e
746 746
      X-Runtime:
747
      - '0.076197'
747
      - '0.073548'
748 748
      Content-Security-Policy:
749 749
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
750 750
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
768 768
      Content-Length:
769 769
      - '379'
770 770
      Set-Cookie:
771
      - _session_id=525c5c3629dfb06965ed10c2bb5f948b; path=/; HttpOnly
771
      - _session_id=b5fda92bc66430a58ba8b79c2fc64f25; path=/; HttpOnly
772 772
    body:
773 773
      encoding: ASCII-8BIT
774 774
      string: |
......
785 785
          "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}]
786 786
        }
787 787
    http_version: 
788
  recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
788
  recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
789 789
- request:
790 790
    method: get
791 791
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/1/environments?per_page=999999
......
811 811
      message: 'OK '
812 812
    headers:
813 813
      Date:
814
      - Fri, 30 Sep 2016 15:40:01 GMT
814
      - Wed, 12 Oct 2016 14:11:17 GMT
815 815
      Server:
816 816
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
817 817
      Foreman-Version:
......
827 827
      Cache-Control:
828 828
      - max-age=0, private, must-revalidate
829 829
      X-Request-Id:
830
      - daaf22ac-7df1-4848-a5ab-f7fe3044ec6e
830
      - 0e89a494-4a9c-4ef5-a3a8-fce10ff0ead8
831 831
      X-Runtime:
832
      - '0.116359'
832
      - '0.117210'
833 833
      Content-Security-Policy:
834 834
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
835 835
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
853 853
      Content-Length:
854 854
      - '835'
855 855
      Set-Cookie:
856
      - _session_id=ccd0313be6fa498a1900cc2d493efd52; path=/; HttpOnly
856
      - _session_id=7850c5ce3e54977df148931ac300d31c; path=/; HttpOnly
857 857
    body:
858 858
      encoding: ASCII-8BIT
859 859
      string: |
860 860
        {"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":true,"id":1,"name":"Library","label":"Library","description":null,"organization":{"name":"Default Organization","label":"Default_Organization","id":1},"created_at":"2016-09-30 14:47:10 UTC","updated_at":"2016-09-30 14:47:10 UTC","prior":null,"successor":null,"counts":{"content_hosts":0,"content_views":0,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":0,"docker_repositories":0,"ostree_repositories":0,"products":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}]}
861 861
    http_version: 
862
  recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
862
  recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
863 863
- request:
864 864
    method: get
865 865
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
885 885
      message: 'OK '
886 886
    headers:
887 887
      Date:
888
      - Fri, 30 Sep 2016 15:40:02 GMT
888
      - Wed, 12 Oct 2016 14:11:17 GMT
889 889
      Server:
890 890
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
891 891
      Foreman-Version:
......
901 901
      Cache-Control:
902 902
      - max-age=0, private, must-revalidate
903 903
      X-Request-Id:
904
      - 17a6f097-181f-4247-9e9f-f46e0878c3ad
904
      - c6707ccc-8b0f-49bc-b043-ae4bb53186d7
905 905
      X-Runtime:
906
      - '1.122352'
906
      - '0.065042'
907 907
      Content-Security-Policy:
908 908
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
909 909
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
927 927
      Content-Length:
928 928
      - '388'
929 929
      Set-Cookie:
930
      - _session_id=e8c751c2a1af15e004e3eb8fa1ed4ddc; path=/; HttpOnly
930
      - _session_id=7ea1b9154e9b6e82a2512395c707ddfb; path=/; HttpOnly
931 931
    body:
932 932
      encoding: ASCII-8BIT
933 933
      string: |
......
944 944
          "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"}]
945 945
        }
946 946
    http_version: 
947
  recorded_at: Fri, 30 Sep 2016 15:40:03 GMT
947
  recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
948 948
- request:
949 949
    method: get
950 950
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8/environments?per_page=999999
......
970 970
      message: 'OK '
971 971
    headers:
972 972
      Date:
973
      - Fri, 30 Sep 2016 15:40:02 GMT
973
      - Wed, 12 Oct 2016 14:11:18 GMT
974 974
      Server:
975 975
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
976 976
      Foreman-Version:
......
986 986
      Cache-Control:
987 987
      - max-age=0, private, must-revalidate
988 988
      X-Request-Id:
989
      - ac4feda4-8bec-4802-aacf-91df1ceb4dd8
989
      - 4b30de91-6c12-4311-b578-9f42b81345d8
990 990
      X-Runtime:
991
      - '0.231396'
991
      - '1.235855'
992 992
      Content-Security-Policy:
993 993
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
994 994
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
1012 1012
      Content-Length:
1013 1013
      - '3204'
1014 1014
      Set-Cookie:
1015
      - _session_id=e7c180600b1439b876aa82e526d0efce; path=/; HttpOnly
1015
      - _session_id=aa7847f701881964cc023e45f0e5a7fc; path=/; HttpOnly
1016 1016
    body:
1017 1017
      encoding: ASCII-8BIT
1018 1018
      string: |
1019 1019
        {"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":4,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":5,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:24 UTC","updated_at":"2016-09-30 15:12:24 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":2,"name":"Library","label":"Library","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30 15:10:48 UTC","prior":null,"successor":null,"counts":{"content_hosts":0,"content_views":1,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":0,"docker_repositories":0,"ostree_repositories":0,"products":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":3,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:25 UTC","updated_at":"2016-09-30 15:12:25 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
1020 1020
    http_version: 
1021
  recorded_at: Fri, 30 Sep 2016 15:40:03 GMT
1021
  recorded_at: Wed, 12 Oct 2016 14:11:18 GMT
1022 1022
- request:
1023 1023
    method: put
1024 1024
    uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/3
......
1046 1046
      message: 'OK '
1047 1047
    headers:
1048 1048
      Date:
1049
      - Fri, 30 Sep 2016 15:40:03 GMT
1049
      - Wed, 12 Oct 2016 14:11:18 GMT
1050 1050
      Server:
1051 1051
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
1052 1052
      Foreman-Version:
......
1062 1062
      Cache-Control:
1063 1063
      - max-age=0, private, must-revalidate
1064 1064
      X-Request-Id:
1065
      - 3fd571eb-fb8c-4e90-b28a-cc2ffbba2ffc
1065
      - 635da03b-f082-4922-bf18-e0b48838dab4
1066 1066
      X-Runtime:
1067
      - '0.125180'
1067
      - '0.117025'
1068 1068
      Content-Security-Policy:
1069 1069
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1070 1070
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
1088 1088
      Content-Length:
1089 1089
      - '611'
1090 1090
      Set-Cookie:
1091
      - _session_id=b6e82945ae694ceff2c812dbdfd35d3a; path=/; HttpOnly
1091
      - _session_id=0e526bd0fd5a28e58047faa076c9ce59; path=/; HttpOnly
1092 1092
      - request_method=PUT; path=/
1093 1093
    body:
1094 1094
      encoding: ASCII-8BIT
1095 1095
      string: |2
1096 1096
          {"library":false,"id":3,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
1097 1097
    http_version: 
1098
  recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
1098
  recorded_at: Wed, 12 Oct 2016 14:11:18 GMT
1099 1099
- request:
1100 1100
    method: put
1101 1101
    uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/4
......
1123 1123
      message: 'OK '
1124 1124
    headers:
1125 1125
      Date:
1126
      - Fri, 30 Sep 2016 15:40:03 GMT
1126
      - Wed, 12 Oct 2016 14:11:19 GMT
1127 1127
      Server:
1128 1128
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
1129 1129
      Foreman-Version:
......
1139 1139
      Cache-Control:
1140 1140
      - max-age=0, private, must-revalidate
1141 1141
      X-Request-Id:
1142
      - 54692a73-ee6b-4426-b146-1fbe0cb1a1ed
1142
      - 37dd30c9-a3cb-4a12-b410-2672d5c0fe5c
1143 1143
      X-Runtime:
1144
      - '0.135760'
1144
      - '0.111166'
1145 1145
      Content-Security-Policy:
1146 1146
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1147 1147
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
1165 1165
      Content-Length:
1166 1166
      - '603'
1167 1167
      Set-Cookie:
1168
      - _session_id=5b5cb341d49abbdfad753d8e5d7c47c5; path=/; HttpOnly
1168
      - _session_id=7903c53863936a22a89aca3740c0a535; path=/; HttpOnly
1169 1169
      - request_method=PUT; path=/
1170 1170
    body:
1171 1171
      encoding: ASCII-8BIT
1172 1172
      string: |2
1173 1173
          {"library":false,"id":4,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
1174 1174
    http_version: 
1175
  recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
1175
  recorded_at: Wed, 12 Oct 2016 14:11:19 GMT
1176 1176
- request:
1177 1177
    method: put
1178 1178
    uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/5
......
1200 1200
      message: 'OK '
1201 1201
    headers:
1202 1202
      Date:
1203
      - Fri, 30 Sep 2016 15:40:03 GMT
1203
      - Wed, 12 Oct 2016 14:11:19 GMT
1204 1204
      Server:
1205 1205
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
1206 1206
      Foreman-Version:
......
1216 1216
      Cache-Control:
1217 1217
      - max-age=0, private, must-revalidate
1218 1218
      X-Request-Id:
1219
      - d781dcbe-8bf3-496b-b803-4ec2682f842c
1219
      - 96a164b8-2422-4d0c-9f9b-e7ac9aecbb50
1220 1220
      X-Runtime:
1221
      - '0.125443'
1221
      - '0.123978'
1222 1222
      Content-Security-Policy:
1223 1223
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1224 1224
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
1242 1242
      Content-Length:
1243 1243
      - '604'
1244 1244
      Set-Cookie:
1245
      - _session_id=a7673b98f8333b38afd69b48c28ed5fe; path=/; HttpOnly
1245
      - _session_id=f270c2f5a85caa8be90f4778f430ee93; path=/; HttpOnly
1246 1246
      - request_method=PUT; path=/
1247 1247
    body:
1248 1248
      encoding: ASCII-8BIT
1249 1249
      string: |2
1250 1250
          {"library":false,"id":5,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:24 UTC","updated_at":"2016-09-30 15:12:24 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
1251 1251
    http_version: 
1252
  recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
1252
  recorded_at: Wed, 12 Oct 2016 14:11:19 GMT
1253 1253
- request:
1254 1254
    method: put
1255 1255
    uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/6
......
1277 1277
      message: 'OK '
1278 1278
    headers:
1279 1279
      Date:
1280
      - Fri, 30 Sep 2016 15:40:03 GMT
1280
      - Wed, 12 Oct 2016 14:11:19 GMT
1281 1281
      Server:
1282 1282
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
1283 1283
      Foreman-Version:
......
1293 1293
      Cache-Control:
1294 1294
      - max-age=0, private, must-revalidate
1295 1295
      X-Request-Id:
1296
      - 12f9051b-594f-4daa-8ff8-047b411287b7
1296
      - 447125ee-8cb2-402e-8720-1eb1f3c074db
1297 1297
      X-Runtime:
1298
      - '0.114626'
1298
      - '0.122287'
1299 1299
      Content-Security-Policy:
1300 1300
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1301 1301
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
1319 1319
      Content-Length:
1320 1320
      - '575'
1321 1321
      Set-Cookie:
1322
      - _session_id=c56ea175b734be72ebb4258fbc15fd2e; path=/; HttpOnly
1322
      - _session_id=4ddda0d3f6067d20beb859c5d0f4485c; path=/; HttpOnly
1323 1323
      - request_method=PUT; path=/
1324 1324
    body:
1325 1325
      encoding: ASCII-8BIT
1326 1326
      string: |2
1327 1327
          {"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:25 UTC","updated_at":"2016-09-30 15:12:25 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}
1328 1328
    http_version: 
1329
  recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
1329
  recorded_at: Wed, 12 Oct 2016 14:11:19 GMT
1330 1330
recorded_with: VCR 3.0.3

Also available in: Unified diff