Project

General

Profile

Revision ac187d3d

Added by Thomas McKay about 4 years ago

vcr recording tests

View differences:

test/fixtures/vcr_cassettes/resources/products/update_rpm.yml
706 706
  recorded_at: Mon, 19 Dec 2016 16:42:18 GMT
707 707
- request:
708 708
    method: get
709
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67/repositories?all=false&library=true&organization_id=3
710
    body:
711
      encoding: US-ASCII
712
      string: ''
713
    headers:
714
      Accept:
715
      - application/json;version=2
716
      Accept-Encoding:
717
      - gzip, deflate
718
      User-Agent:
719
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
720
      Content-Type:
721
      - application/json
722
      Accept-Language:
723
      - en
724
      Host:
725
      - devel.example.com:50083
726
  response:
727
    status:
728
      code: 200
729
      message: OK
730
    headers:
731
      Date:
732
      - Mon, 27 Mar 2017 18:35:32 GMT
733
      Server:
734
      - Apache/2.4.6 (Red Hat Enterprise Linux)
735
      X-Frame-Options:
736
      - SAMEORIGIN
737
      X-Xss-Protection:
738
      - 1; mode=block
739
      X-Content-Type-Options:
740
      - nosniff
741
      Foreman-Version:
742
      - 1.11.0.54
743
      Foreman-Api-Version:
744
      - '2'
745
      Apipie-Checksum:
746
      - e1df2e8d43e22495b02a53b48e3b5298
747
      Cache-Control:
748
      - max-age=0, private, must-revalidate
749
      X-Request-Id:
750
      - b5cbee5d-5edd-4e17-a315-eb8c8eb6c004
751
      X-Runtime:
752
      - '0.047073'
753
      X-Powered-By:
754
      - Phusion Passenger 4.0.18
755
      Etag:
756
      - '"6a5cc8a6caa41dfb85f960ee483ee634-gzip"'
757
      Status:
758
      - 200 OK
759
      Vary:
760
      - Accept-Encoding
761
      Content-Length:
762
      - '120'
763
      Content-Type:
764
      - application/json; charset=utf-8
765
      Set-Cookie:
766
      - _session_id=8ad4d7151e8252b03abb4f27b84f2d8d; path=/; secure; HttpOnly
767
    body:
768
      encoding: ASCII-8BIT
769
      string: '{"total":0,"subtotal":0,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
770

  
771
'
772
    http_version: 
773
  recorded_at: Mon, 27 Mar 2017 18:35:38 GMT
774
- request:
775
    method: post
776
    uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories
777
    body:
778
      encoding: UTF-8
779
      string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","label":"Zoo","product_id":67,"content_type":"yum"}'
780
    headers:
781
      Accept:
782
      - application/json;version=2
783
      Accept-Encoding:
784
      - gzip, deflate
785
      User-Agent:
786
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
787
      Content-Type:
788
      - application/json
789
      Accept-Language:
790
      - en
791
      Content-Length:
792
      - '156'
793
      Host:
794
      - devel.example.com:50083
795
  response:
796
    status:
797
      code: 200
798
      message: OK
799
    headers:
800
      Date:
801
      - Mon, 27 Mar 2017 18:35:32 GMT
802
      Server:
803
      - Apache/2.4.6 (Red Hat Enterprise Linux)
804
      X-Frame-Options:
805
      - SAMEORIGIN
806
      X-Xss-Protection:
807
      - 1; mode=block
808
      X-Content-Type-Options:
809
      - nosniff
810
      Foreman-Version:
811
      - 1.11.0.54
812
      Foreman-Api-Version:
813
      - '2'
814
      Apipie-Checksum:
815
      - e1df2e8d43e22495b02a53b48e3b5298
816
      Cache-Control:
817
      - max-age=0, private, must-revalidate
818
      X-Request-Id:
819
      - cff598a0-a93a-4565-a46c-9efdf45bddba
820
      X-Runtime:
821
      - '2.329472'
822
      X-Powered-By:
823
      - Phusion Passenger 4.0.18
824
      Etag:
825
      - '"dcb77d21ce3e8f645b8dfb1cacb6b1b3-gzip"'
826
      Status:
827
      - 200 OK
828
      Vary:
829
      - Accept-Encoding
830
      Content-Length:
831
      - '1177'
832
      Content-Type:
833
      - application/json; charset=utf-8
834
      Set-Cookie:
835
      - _session_id=ff935f63e6cbccaa73fb0a19a53bcaba; path=/; secure; HttpOnly
836
      - request_method=POST; path=/
837
    body:
838
      encoding: ASCII-8BIT
839
      string: '  {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat62.example.com/pulp/repos/testcorp/Library/custom/product_update_rpm/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"immediate","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639734052","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
840
        Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:32
841
        UTC","updated_at":"2017-03-27 18:35:34 UTC","id":14,"name":"Zoo","label":"Zoo","product":{"id":67,"cp_id":"1490639731063","name":"product
842
        update_rpm","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null,"gpg_key":null,"environment":{"id":2},"permissions":{"deletable":true}}
843

  
844
'
845
    http_version: 
846
  recorded_at: Mon, 27 Mar 2017 18:35:40 GMT
847
- request:
848
    method: get
849
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67/repositories?enabled=true&library=true&organization_id=3&page_size=999999&paged=true
850
    body:
851
      encoding: US-ASCII
852
      string: ''
853
    headers:
854
      Accept:
855
      - application/json;version=2
856
      Accept-Encoding:
857
      - gzip, deflate
858
      User-Agent:
859
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
860
      Content-Type:
861
      - application/json
862
      Accept-Language:
863
      - en
864
      Host:
865
      - devel.example.com:50083
866
  response:
867
    status:
868
      code: 200
869
      message: OK
870
    headers:
871
      Date:
872
      - Mon, 27 Mar 2017 18:35:35 GMT
873
      Server:
874
      - Apache/2.4.6 (Red Hat Enterprise Linux)
875
      X-Frame-Options:
876
      - SAMEORIGIN
877
      X-Xss-Protection:
878
      - 1; mode=block
879
      X-Content-Type-Options:
880
      - nosniff
881
      Foreman-Version:
882
      - 1.11.0.54
883
      Foreman-Api-Version:
884
      - '2'
885
      Apipie-Checksum:
886
      - e1df2e8d43e22495b02a53b48e3b5298
887
      Cache-Control:
888
      - max-age=0, private, must-revalidate
889
      X-Request-Id:
890
      - d9a4f95b-7fb2-4a48-bdbe-e59e973391ef
891
      X-Runtime:
892
      - '0.057732'
893
      X-Powered-By:
894
      - Phusion Passenger 4.0.18
895
      Etag:
896
      - '"03e7b2ba8eb7cb011689426aac4460c0-gzip"'
897
      Status:
898
      - 200 OK
899
      Vary:
900
      - Accept-Encoding
901
      Content-Length:
902
      - '635'
903
      Content-Type:
904
      - application/json; charset=utf-8
905
      Set-Cookie:
906
      - _session_id=20a45ee5e7a29a2daf8e0d2e54d23be7; path=/; secure; HttpOnly
907
    body:
908
      encoding: ASCII-8BIT
909
      string: '{"total":1,"subtotal":1,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"content_type":"yum","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","id":14,"name":"Zoo","label":"Zoo","product":{"id":67,"cp_id":"1490639731063","name":"product
910
        update_rpm","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null}]}
911

  
912
'
913
    http_version: 
914
  recorded_at: Mon, 27 Mar 2017 18:35:41 GMT
915
- request:
916
    method: put
917
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67
918
    body:
919
      encoding: UTF-8
920
      string: '{"name":"product update_rpm","organization_id":3}'
921
    headers:
922
      Accept:
923
      - application/json;version=2
924
      Accept-Encoding:
925
      - gzip, deflate
926
      User-Agent:
927
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
928
      Content-Type:
929
      - application/json
930
      Accept-Language:
931
      - en
932
      Content-Length:
933
      - '49'
934
      Host:
935
      - devel.example.com:50083
936
  response:
937
    status:
938
      code: 200
939
      message: OK
940
    headers:
941
      Date:
942
      - Mon, 27 Mar 2017 18:35:35 GMT
943
      Server:
944
      - Apache/2.4.6 (Red Hat Enterprise Linux)
945
      X-Frame-Options:
946
      - SAMEORIGIN
947
      X-Xss-Protection:
948
      - 1; mode=block
949
      X-Content-Type-Options:
950
      - nosniff
951
      Foreman-Version:
952
      - 1.11.0.54
953
      Foreman-Api-Version:
954
      - '2'
955
      Apipie-Checksum:
956
      - e1df2e8d43e22495b02a53b48e3b5298
957
      Cache-Control:
958
      - max-age=0, private, must-revalidate
959
      X-Request-Id:
960
      - 5ba603ef-f898-4e70-9004-55af92cfda89
961
      X-Runtime:
962
      - '0.957576'
963
      X-Powered-By:
964
      - Phusion Passenger 4.0.18
965
      Etag:
966
      - '"6e73467fd30555fdc5753b347222d907-gzip"'
967
      Status:
968
      - 200 OK
969
      Vary:
970
      - Accept-Encoding
971
      Content-Length:
972
      - '1569'
973
      Content-Type:
974
      - application/json; charset=utf-8
975
      Set-Cookie:
976
      - _session_id=17adf5e7d8aea9cfabd4b451cca1dd5f; path=/; secure; HttpOnly
977
      - request_method=PUT; path=/
978
    body:
979
      encoding: ASCII-8BIT
980
      string: '  {"product_content":[{"enabled":true,"content":{"id":"1490639734052","type":"yum","label":"testcorp_product_update_rpm_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_update_rpm/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:34.052+0000","updated":"2017-03-27T18:35:34.052+0000"},"product_id":67}],"available_content":[{"enabled":true,"content":{"id":"1490639734052","type":"yum","label":"testcorp_product_update_rpm_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_update_rpm/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:34.052+0000","updated":"2017-03-27T18:35:34.052+0000"},"product_id":67}],"redhat":false,"id":67,"cp_id":"1490639731063","name":"product
981
        update_rpm","label":"product_update_rpm","description":null,"provider_id":3,"sync_plan_id":null,"sync_summary":{},"gpg_key_id":null,"sync_state":null,"last_sync":null,"last_sync_words":null,"organization":{"name":"Test
982
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":1,"created_at":"2017-03-27
983
        18:35:29 UTC","updated_at":"2017-03-27 18:35:31 UTC","repositories":[{"name":"Zoo","id":14}],"provider":{"name":"Anonymous"},"sync_status":{"id":null,"product_id":null,"progress":null,"sync_id":null,"state":null,"raw_state":null,"start_time":null,"finish_time":null,"duration":null,"display_size":null,"size":null,"is_running":null,"error_details":null},"permissions":{"destroy_products":true,"edit_products":true,"sync_products":true},"published_content_view_ids":[]}
984

  
985
'
986
    http_version: 
987
  recorded_at: Mon, 27 Mar 2017 18:35:42 GMT
988
- request:
989
    method: put
990
    uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories/14
991
    body:
992
      encoding: UTF-8
993
      string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/"}'
994
    headers:
995
      Accept:
996
      - application/json;version=2
997
      Accept-Encoding:
998
      - gzip, deflate
999
      User-Agent:
1000
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1001
      Content-Type:
1002
      - application/json
1003
      Accept-Language:
1004
      - en
1005
      Content-Length:
1006
      - '105'
1007
      Host:
1008
      - devel.example.com:50083
1009
  response:
1010
    status:
1011
      code: 200
1012
      message: OK
1013
    headers:
1014
      Date:
1015
      - Mon, 27 Mar 2017 18:35:36 GMT
1016
      Server:
1017
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1018
      X-Frame-Options:
1019
      - SAMEORIGIN
1020
      X-Xss-Protection:
1021
      - 1; mode=block
1022
      X-Content-Type-Options:
1023
      - nosniff
1024
      Foreman-Version:
1025
      - 1.11.0.54
1026
      Foreman-Api-Version:
1027
      - '2'
1028
      Apipie-Checksum:
1029
      - e1df2e8d43e22495b02a53b48e3b5298
1030
      Cache-Control:
1031
      - max-age=0, private, must-revalidate
1032
      X-Request-Id:
1033
      - 0e3c6dea-042f-470d-beeb-eca0c65eea72
1034
      X-Runtime:
1035
      - '0.677794'
1036
      X-Powered-By:
1037
      - Phusion Passenger 4.0.18
1038
      Etag:
1039
      - '"dcb77d21ce3e8f645b8dfb1cacb6b1b3-gzip"'
1040
      Status:
1041
      - 200 OK
1042
      Vary:
1043
      - Accept-Encoding
1044
      Content-Length:
1045
      - '1177'
1046
      Content-Type:
1047
      - application/json; charset=utf-8
1048
      Set-Cookie:
1049
      - _session_id=792172c16d6dec8da770a21344b367cd; path=/; secure; HttpOnly
1050
      - request_method=PUT; path=/
1051
    body:
1052
      encoding: ASCII-8BIT
1053
      string: '  {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat62.example.com/pulp/repos/testcorp/Library/custom/product_update_rpm/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"immediate","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639734052","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
1054
        Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:32
1055
        UTC","updated_at":"2017-03-27 18:35:34 UTC","id":14,"name":"Zoo","label":"Zoo","product":{"id":67,"cp_id":"1490639731063","name":"product
1056
        update_rpm","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null,"gpg_key":null,"environment":{"id":2},"permissions":{"deletable":true}}
1057

  
1058
'
1059
    http_version: 
1060
  recorded_at: Mon, 27 Mar 2017 18:35:43 GMT
1061
- request:
1062
    method: delete
1063
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67
1064
    body:
1065
      encoding: US-ASCII
1066
      string: ''
1067
    headers:
1068
      Accept:
1069
      - application/json;version=2
1070
      Accept-Encoding:
1071
      - gzip, deflate
1072
      User-Agent:
1073
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1074
      Content-Type:
1075
      - application/json
1076
      Accept-Language:
1077
      - en
1078
      Host:
1079
      - devel.example.com:50083
1080
  response:
1081
    status:
1082
      code: 202
1083
      message: Accepted
1084
    headers:
1085
      Date:
1086
      - Mon, 27 Mar 2017 18:35:37 GMT
1087
      Server:
1088
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1089
      X-Frame-Options:
1090
      - SAMEORIGIN
1091
      X-Xss-Protection:
1092
      - 1; mode=block
1093
      X-Content-Type-Options:
1094
      - nosniff
1095
      Foreman-Version:
1096
      - 1.11.0.54
1097
      Foreman-Api-Version:
1098
      - '2'
1099
      Apipie-Checksum:
1100
      - e1df2e8d43e22495b02a53b48e3b5298
1101
      Cache-Control:
1102
      - no-cache
1103
      X-Request-Id:
1104
      - ae45a5b4-2a6a-41c3-b48f-117a43f8dee5
1105
      X-Runtime:
1106
      - '1.323245'
1107
      X-Powered-By:
1108
      - Phusion Passenger 4.0.18
1109
      Status:
1110
      - 202 Accepted
1111
      Content-Type:
1112
      - application/json; charset=utf-8
1113
      Set-Cookie:
1114
      - _session_id=37164b96bd482d0c83211ed574aab64a; path=/; secure; HttpOnly
1115
      - request_method=DELETE; path=/
1116
      Transfer-Encoding:
1117
      - chunked
1118
    body:
1119
      encoding: UTF-8
1120
      string: '  {"id":"ae523793-46a9-44ab-aa69-f64b7a7625ad","label":"Actions::Katello::Product::Destroy","pending":true,"username":"admin","started_at":"2017-03-27
1121
        18:35:37 UTC","ended_at":null,"state":"planned","result":"pending","progress":0.0,"input":{"product":{"id":67,"name":"product
1122
        update_rpm","label":"product_update_rpm","cp_id":"1490639731063"},"provider":{"id":3,"name":"Anonymous"},"organization":{"id":3,"name":"Test
1123
        Corporation","label":"testcorp"},"services_checked":["pulp","pulp_auth","candlepin","candlepin_auth"],"product_id":67},"output":{},"humanized":{"action":"Delete
1124
        Product","input":[["product",{"text":"product ''product update_rpm''","link":"#/products/67/info"}],["organization",{"text":"organization
1125
        ''Test Corporation''","link":"/organizations/3/edit"}]],"output":"","errors":[]},"cli_example":null}
1126

  
1127
'
1128
    http_version: 
1129
  recorded_at: Mon, 27 Mar 2017 18:35:44 GMT
1130
- request:
1131
    method: get
709 1132
    uri: https://admin:changeme@devel.example.com:50083/api/status
710 1133
    body:
711 1134
      encoding: US-ASCII
......
725 1148
      message: OK
726 1149
    headers:
727 1150
      Date:
728
      - Mon, 27 Mar 2017 18:35:29 GMT
1151
      - Wed, 19 Apr 2017 17:07:23 GMT
729 1152
      Server:
730 1153
      - Apache/2.4.6 (Red Hat Enterprise Linux)
731 1154
      X-Frame-Options:
......
743 1166
      Cache-Control:
744 1167
      - max-age=0, private, must-revalidate
745 1168
      X-Request-Id:
746
      - 2b58ded6-9d60-40f6-a405-1b220f48d815
1169
      - ee44dbc8-8b5b-4e1b-86ea-2a1399f0d00b
747 1170
      X-Runtime:
748
      - '0.063413'
1171
      - '0.041630'
749 1172
      X-Powered-By:
750 1173
      - Phusion Passenger 4.0.18
751 1174
      Etag:
......
757 1180
      Content-Type:
758 1181
      - application/json; charset=utf-8
759 1182
      Set-Cookie:
760
      - _session_id=bbf9cd8a414e6efc184a4c790f5769a9; path=/; secure; HttpOnly
1183
      - _session_id=f385054e0a4d87b30feef44fc2d474b1; path=/; secure; HttpOnly
761 1184
    body:
762 1185
      encoding: UTF-8
763 1186
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
764 1187
    http_version: 
765
  recorded_at: Mon, 27 Mar 2017 18:35:35 GMT
1188
  recorded_at: Wed, 19 Apr 2017 17:07:42 GMT
766 1189
- request:
767 1190
    method: get
768 1191
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
......
784 1207
      message: OK
785 1208
    headers:
786 1209
      Date:
787
      - Mon, 27 Mar 2017 18:35:29 GMT
1210
      - Wed, 19 Apr 2017 17:07:23 GMT
788 1211
      Server:
789 1212
      - Apache/2.4.6 (Red Hat Enterprise Linux)
790 1213
      X-Frame-Options:
......
802 1225
      Cache-Control:
803 1226
      - max-age=0, private, must-revalidate
804 1227
      X-Request-Id:
805
      - de95cff9-5dc8-49a0-abd8-4036c3f4120d
1228
      - 0057df41-4598-441d-9845-e9230496c5a1
806 1229
      X-Runtime:
807
      - '0.038588'
1230
      - '0.070695'
808 1231
      X-Powered-By:
809 1232
      - Phusion Passenger 4.0.18
810 1233
      Etag:
......
818 1241
      Content-Type:
819 1242
      - application/json; charset=utf-8
820 1243
      Set-Cookie:
821
      - _session_id=eccb03d3d3b2cdbec872ce5814a238e5; path=/; secure; HttpOnly
1244
      - _session_id=3ce58857fe7493c110b7847b11a66e9d; path=/; secure; HttpOnly
822 1245
    body:
823 1246
      encoding: ASCII-8BIT
824 1247
      string: !binary |-
......
897 1320
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
898 1321
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
899 1322
    http_version: 
900
  recorded_at: Mon, 27 Mar 2017 18:35:35 GMT
1323
  recorded_at: Wed, 19 Apr 2017 17:07:42 GMT
901 1324
- request:
902 1325
    method: get
903 1326
    uri: https://devel.example.com:50083/apidoc/v2.en.json
......
910 1333
      Accept-Encoding:
911 1334
      - gzip, deflate
912 1335
      User-Agent:
913
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1336
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
914 1337
      Content-Type:
915 1338
      - application/json
916 1339
      Accept-Language:
......
923 1346
      message: OK
924 1347
    headers:
925 1348
      Date:
926
      - Mon, 27 Mar 2017 18:35:29 GMT
1349
      - Wed, 19 Apr 2017 17:07:23 GMT
927 1350
      Server:
928 1351
      - Apache/2.4.6 (Red Hat Enterprise Linux)
929 1352
      X-Frame-Options:
......
941 1364
      Apipie-Checksum:
942 1365
      - e1df2e8d43e22495b02a53b48e3b5298
943 1366
      X-Request-Id:
944
      - 13cd532e-144a-41d7-8424-d0223acec3a0
1367
      - 1b467b41-44a4-4690-8847-be12d54b1f17
945 1368
      X-Runtime:
946
      - '0.005062'
1369
      - '0.005116'
947 1370
      X-Powered-By:
948 1371
      - Phusion Passenger 4.0.18
949 1372
      Status:
......
20582 21005
        Ijp0cnVlfV0sImhlYWRlcnMiOm51bGx9fSwibGlua19leHRlbnNpb24iOiIu
20583 21006
        ZW4uaHRtbCJ9fQ==
20584 21007
    http_version: 
20585
  recorded_at: Mon, 27 Mar 2017 18:35:35 GMT
21008
  recorded_at: Wed, 19 Apr 2017 17:07:42 GMT
20586 21009
- request:
20587 21010
    method: get
20588 21011
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
20595 21018
      Accept-Encoding:
20596 21019
      - gzip, deflate
20597 21020
      User-Agent:
20598
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
21021
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
20599 21022
      Content-Type:
20600 21023
      - application/json
20601 21024
      Accept-Language:
......
20608 21031
      message: OK
20609 21032
    headers:
20610 21033
      Date:
20611
      - Mon, 27 Mar 2017 18:35:29 GMT
21034
      - Wed, 19 Apr 2017 17:07:23 GMT
20612 21035
      Server:
20613 21036
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20614 21037
      X-Frame-Options:
......
20626 21049
      Cache-Control:
20627 21050
      - max-age=0, private, must-revalidate
20628 21051
      X-Request-Id:
20629
      - e0422fea-5f55-4f46-a642-df17f20d1a22
21052
      - c6021c90-f945-4342-bacd-ec170854d78f
20630 21053
      X-Runtime:
20631
      - '0.065721'
21054
      - '0.035689'
20632 21055
      X-Powered-By:
20633 21056
      - Phusion Passenger 4.0.18
20634 21057
      Etag:
20635
      - '"45c0a1d1908621d8a984de3fe2b76754-gzip"'
21058
      - '"91d3578ba2141f4a65055b10047bdf20-gzip"'
20636 21059
      Status:
20637 21060
      - 200 OK
20638 21061
      Vary:
......
20642 21065
      Content-Type:
20643 21066
      - application/json; charset=utf-8
20644 21067
      Set-Cookie:
20645
      - _session_id=b3d581410b87006832a630818b97d643; path=/; secure; HttpOnly
21068
      - _session_id=06bd8e7b229c0642c4a0dce90c31cd96; path=/; secure; HttpOnly
20646 21069
    body:
20647 21070
      encoding: ASCII-8BIT
20648 21071
      string: |
......
20656 21079
            "by": null,
20657 21080
            "order": null
20658 21081
          },
20659
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
21082
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-04-06 01:50:20 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20660 21083
        }
20661 21084
    http_version: 
20662
  recorded_at: Mon, 27 Mar 2017 18:35:35 GMT
21085
  recorded_at: Wed, 19 Apr 2017 17:07:42 GMT
20663 21086
- request:
20664 21087
    method: get
20665 21088
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/products?enabled=true&per_page=999999&search=name=%22product%20update_rpm%22
......
20672 21095
      Accept-Encoding:
20673 21096
      - gzip, deflate
20674 21097
      User-Agent:
20675
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
21098
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
20676 21099
      Content-Type:
20677 21100
      - application/json
20678 21101
      Accept-Language:
......
20685 21108
      message: OK
20686 21109
    headers:
20687 21110
      Date:
20688
      - Mon, 27 Mar 2017 18:35:29 GMT
21111
      - Wed, 19 Apr 2017 17:07:23 GMT
20689 21112
      Server:
20690 21113
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20691 21114
      X-Frame-Options:
......
20703 21126
      Cache-Control:
20704 21127
      - max-age=0, private, must-revalidate
20705 21128
      X-Request-Id:
20706
      - 2676de2a-75c9-4218-9d9a-ae101d4ee490
21129
      - 845ea827-28ff-431e-9ebe-34fb2feaff53
20707 21130
      X-Runtime:
20708
      - '0.070182'
21131
      - '0.042544'
20709 21132
      X-Powered-By:
20710 21133
      - Phusion Passenger 4.0.18
20711 21134
      Etag:
20712
      - '"ddc9a6fc5575a292e935d5148051769e-gzip"'
21135
      - '"b65d054f43b13cdb0021460ca21410e0-gzip"'
20713 21136
      Status:
20714 21137
      - 200 OK
20715 21138
      Vary:
......
20719 21142
      Content-Type:
20720 21143
      - application/json; charset=utf-8
20721 21144
      Set-Cookie:
20722
      - _session_id=f99d3321d254fd86a98b6cc7ce80f363; path=/; secure; HttpOnly
21145
      - _session_id=e405879034641552337265ca06d0530f; path=/; secure; HttpOnly
20723 21146
    body:
20724 21147
      encoding: ASCII-8BIT
20725
      string: '{"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":"name=\"product
21148
      string: '{"total":3,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":"name=\"product
20726 21149
        update_rpm\"","sort":{"by":null,"order":null},"results":[]}
20727 21150

  
20728 21151
'
20729 21152
    http_version: 
20730
  recorded_at: Mon, 27 Mar 2017 18:35:35 GMT
21153
  recorded_at: Wed, 19 Apr 2017 17:07:42 GMT
20731 21154
- request:
20732 21155
    method: post
20733 21156
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products
......
20740 21163
      Accept-Encoding:
20741 21164
      - gzip, deflate
20742 21165
      User-Agent:
20743
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
21166
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
20744 21167
      Content-Type:
20745 21168
      - application/json
20746 21169
      Accept-Language:
......
20755 21178
      message: OK
20756 21179
    headers:
20757 21180
      Date:
20758
      - Mon, 27 Mar 2017 18:35:29 GMT
21181
      - Wed, 19 Apr 2017 17:07:23 GMT
20759 21182
      Server:
20760 21183
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20761 21184
      X-Frame-Options:
......
20773 21196
      Cache-Control:
20774 21197
      - max-age=0, private, must-revalidate
20775 21198
      X-Request-Id:
20776
      - 912e1e41-cd5e-469a-8739-92de7ade8a4d
21199
      - 43f875df-1df3-4cd3-a79e-a09807d10c63
20777 21200
      X-Runtime:
20778
      - '2.916974'
21201
      - '1.684408'
20779 21202
      X-Powered-By:
20780 21203
      - Phusion Passenger 4.0.18
20781 21204
      Etag:
20782
      - '"26b45bb7916b92aa066bd5715e4adc9b-gzip"'
21205
      - '"453ae69453ccf2f4e220bb5d3ece62ed-gzip"'
20783 21206
      Status:
20784 21207
      - 200 OK
20785 21208
      Vary:
20786 21209
      - Accept-Encoding
20787 21210
      Content-Length:
20788
      - '868'
21211
      - '869'
20789 21212
      Content-Type:
20790 21213
      - application/json; charset=utf-8
20791 21214
      Set-Cookie:
20792
      - _session_id=c0dd7374068a8072962fa788cf79cbdc; path=/; secure; HttpOnly
21215
      - _session_id=5a4b23c7fb8c6f403524c7bc12669e9f; path=/; secure; HttpOnly
20793 21216
      - request_method=POST; path=/
20794 21217
    body:
20795 21218
      encoding: ASCII-8BIT
20796
      string: '  {"product_content":[],"available_content":[],"redhat":false,"id":67,"cp_id":null,"name":"product
21219
      string: '  {"product_content":[],"available_content":[],"redhat":false,"id":118,"cp_id":null,"name":"product
20797 21220
        update_rpm","label":"product_update_rpm","description":null,"provider_id":3,"sync_plan_id":null,"sync_summary":{},"gpg_key_id":null,"sync_state":null,"last_sync":null,"last_sync_words":null,"organization":{"name":"Test
20798
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":0,"created_at":"2017-03-27
20799
        18:35:29 UTC","updated_at":"2017-03-27 18:35:29 UTC","repositories":[],"provider":{"name":"Anonymous"},"sync_status":{"id":null,"product_id":null,"progress":null,"sync_id":null,"state":null,"raw_state":null,"start_time":null,"finish_time":null,"duration":null,"display_size":null,"size":null,"is_running":null,"error_details":null},"permissions":{"destroy_products":true,"edit_products":true,"sync_products":true},"published_content_view_ids":[]}
21221
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":0,"created_at":"2017-04-19
21222
        17:07:24 UTC","updated_at":"2017-04-19 17:07:24 UTC","repositories":[],"provider":{"name":"Anonymous"},"sync_status":{"id":null,"product_id":null,"progress":null,"sync_id":null,"state":null,"raw_state":null,"start_time":null,"finish_time":null,"duration":null,"display_size":null,"size":null,"is_running":null,"error_details":null},"permissions":{"destroy_products":true,"edit_products":true,"sync_products":true},"published_content_view_ids":[]}
20800 21223

  
20801 21224
'
20802 21225
    http_version: 
20803
  recorded_at: Mon, 27 Mar 2017 18:35:38 GMT
21226
  recorded_at: Wed, 19 Apr 2017 17:07:44 GMT
20804 21227
- request:
20805 21228
    method: get
20806
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67/repositories?all=false&library=true&organization_id=3
21229
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/118/repositories?all=false&library=true&organization_id=3
20807 21230
    body:
20808 21231
      encoding: US-ASCII
20809 21232
      string: ''
......
20813 21236
      Accept-Encoding:
20814 21237
      - gzip, deflate
20815 21238
      User-Agent:
20816
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
21239
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
20817 21240
      Content-Type:
20818 21241
      - application/json
20819 21242
      Accept-Language:
......
20826 21249
      message: OK
20827 21250
    headers:
20828 21251
      Date:
20829
      - Mon, 27 Mar 2017 18:35:32 GMT
21252
      - Wed, 19 Apr 2017 17:07:25 GMT
20830 21253
      Server:
20831 21254
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20832 21255
      X-Frame-Options:
......
20844 21267
      Cache-Control:
20845 21268
      - max-age=0, private, must-revalidate
20846 21269
      X-Request-Id:
20847
      - b5cbee5d-5edd-4e17-a315-eb8c8eb6c004
21270
      - 0ca32068-8880-48b7-8a15-24428c3296f1
20848 21271
      X-Runtime:
20849
      - '0.047073'
21272
      - '0.043486'
20850 21273
      X-Powered-By:
20851 21274
      - Phusion Passenger 4.0.18
20852 21275
      Etag:
......
20860 21283
      Content-Type:
20861 21284
      - application/json; charset=utf-8
20862 21285
      Set-Cookie:
20863
      - _session_id=8ad4d7151e8252b03abb4f27b84f2d8d; path=/; secure; HttpOnly
21286
      - _session_id=125f0a8c87d0dc114e42504ea626a8bb; path=/; secure; HttpOnly
20864 21287
    body:
20865 21288
      encoding: ASCII-8BIT
20866 21289
      string: '{"total":0,"subtotal":0,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
20867 21290

  
20868 21291
'
20869 21292
    http_version: 
20870
  recorded_at: Mon, 27 Mar 2017 18:35:38 GMT
21293
  recorded_at: Wed, 19 Apr 2017 17:07:44 GMT
20871 21294
- request:
20872 21295
    method: post
20873 21296
    uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories
20874 21297
    body:
20875 21298
      encoding: UTF-8
20876
      string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","label":"Zoo","product_id":67,"content_type":"yum"}'
21299
      string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","label":"Zoo","product_id":118,"content_type":"yum"}'
20877 21300
    headers:
20878 21301
      Accept:
20879 21302
      - application/json;version=2
20880 21303
      Accept-Encoding:
20881 21304
      - gzip, deflate
20882 21305
      User-Agent:
20883
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
21306
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
20884 21307
      Content-Type:
20885 21308
      - application/json
20886 21309
      Accept-Language:
20887 21310
      - en
20888 21311
      Content-Length:
20889
      - '156'
21312
      - '157'
20890 21313
      Host:
20891 21314
      - devel.example.com:50083
20892 21315
  response:
......
20895 21318
      message: OK
20896 21319
    headers:
20897 21320
      Date:
20898
      - Mon, 27 Mar 2017 18:35:32 GMT
21321
      - Wed, 19 Apr 2017 17:07:25 GMT
20899 21322
      Server:
20900 21323
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20901 21324
      X-Frame-Options:
......
20913 21336
      Cache-Control:
20914 21337
      - max-age=0, private, must-revalidate
20915 21338
      X-Request-Id:
20916
      - cff598a0-a93a-4565-a46c-9efdf45bddba
21339
      - 33806f94-106b-4a08-ba82-9ca40000b342
20917 21340
      X-Runtime:
20918
      - '2.329472'
21341
      - '2.654590'
20919 21342
      X-Powered-By:
20920 21343
      - Phusion Passenger 4.0.18
20921 21344
      Etag:
20922
      - '"dcb77d21ce3e8f645b8dfb1cacb6b1b3-gzip"'
21345
      - '"fd6a9d3664c8e9de3b95908b8121a615-gzip"'
20923 21346
      Status:
20924 21347
      - 200 OK
20925 21348
      Vary:
20926 21349
      - Accept-Encoding
20927 21350
      Content-Length:
20928
      - '1177'
21351
      - '1178'
20929 21352
      Content-Type:
20930 21353
      - application/json; charset=utf-8
20931 21354
      Set-Cookie:
20932
      - _session_id=ff935f63e6cbccaa73fb0a19a53bcaba; path=/; secure; HttpOnly
21355
      - _session_id=f4a84f9426a849a9b37045257074edb3; path=/; secure; HttpOnly
20933 21356
      - request_method=POST; path=/
20934 21357
    body:
20935 21358
      encoding: ASCII-8BIT
20936
      string: '  {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat62.example.com/pulp/repos/testcorp/Library/custom/product_update_rpm/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"immediate","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639734052","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
20937
        Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:32
20938
        UTC","updated_at":"2017-03-27 18:35:34 UTC","id":14,"name":"Zoo","label":"Zoo","product":{"id":67,"cp_id":"1490639731063","name":"product
21359
      string: '  {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat62.example.com/pulp/repos/testcorp/Library/custom/product_update_rpm/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"immediate","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1492621647487","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
21360
        Corporation","label":"testcorp","id":3},"created_at":"2017-04-19 17:07:25
21361
        UTC","updated_at":"2017-04-19 17:07:28 UTC","id":75,"name":"Zoo","label":"Zoo","product":{"id":118,"cp_id":"1492621644304","name":"product
20939 21362
        update_rpm","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null,"gpg_key":null,"environment":{"id":2},"permissions":{"deletable":true}}
20940 21363

  
20941 21364
'
20942 21365
    http_version: 
20943
  recorded_at: Mon, 27 Mar 2017 18:35:40 GMT
21366
  recorded_at: Wed, 19 Apr 2017 17:07:47 GMT
20944 21367
- request:
20945 21368
    method: get
20946 21369
    uri: https://admin:changeme@devel.example.com:50083/api/status
......
20962 21385
      message: OK
20963 21386
    headers:
20964 21387
      Date:
20965
      - Mon, 27 Mar 2017 18:35:34 GMT
21388
      - Wed, 19 Apr 2017 17:07:28 GMT
20966 21389
      Server:
20967 21390
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20968 21391
      X-Frame-Options:
......
20980 21403
      Cache-Control:
20981 21404
      - max-age=0, private, must-revalidate
20982 21405
      X-Request-Id:
20983
      - d68b5925-35cc-433e-99ac-1a244969f713
21406
      - 9c83cbba-fc3d-4e17-bbfd-762a74e70964
20984 21407
      X-Runtime:
20985
      - '0.031138'
21408
      - '0.041692'
20986 21409
      X-Powered-By:
20987 21410
      - Phusion Passenger 4.0.18
20988 21411
      Etag:
......
20994 21417
      Content-Type:
20995 21418
      - application/json; charset=utf-8
20996 21419
      Set-Cookie:
20997
      - _session_id=74a098b9e46c2e63b3059108345b3ca2; path=/; secure; HttpOnly
21420
      - _session_id=ab16fd200f93ba47ada067130ad1bd87; path=/; secure; HttpOnly
20998 21421
    body:
20999 21422
      encoding: UTF-8
21000 21423
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
21001 21424
    http_version: 
21002
  recorded_at: Mon, 27 Mar 2017 18:35:41 GMT
21425
  recorded_at: Wed, 19 Apr 2017 17:07:47 GMT
21003 21426
- request:
21004 21427
    method: get
21005 21428
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
......
21021 21444
      message: OK
21022 21445
    headers:
21023 21446
      Date:
21024
      - Mon, 27 Mar 2017 18:35:34 GMT
21447
      - Wed, 19 Apr 2017 17:07:28 GMT
21025 21448
      Server:
21026 21449
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21027 21450
      X-Frame-Options:
......
21039 21462
      Cache-Control:
21040 21463
      - max-age=0, private, must-revalidate
21041 21464
      X-Request-Id:
21042
      - 600c5ef6-a9a8-4c6c-b585-ece21278afa7
21465
      - 282b2faa-2350-4e09-962e-62b323abf9cf
21043 21466
      X-Runtime:
21044
      - '0.031431'
21467
      - '0.031951'
21045 21468
      X-Powered-By:
21046 21469
      - Phusion Passenger 4.0.18
21047 21470
      Etag:
......
21055 21478
      Content-Type:
21056 21479
      - application/json; charset=utf-8
21057 21480
      Set-Cookie:
21058
      - _session_id=45f887f8d86bb59f53a77347ff40d243; path=/; secure; HttpOnly
21481
      - _session_id=533b92523d959675c4137dc0a9076aeb; path=/; secure; HttpOnly
21059 21482
    body:
21060 21483
      encoding: ASCII-8BIT
21061 21484
      string: !binary |-
......
21134 21557
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
21135 21558
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
21136 21559
    http_version: 
21137
  recorded_at: Mon, 27 Mar 2017 18:35:41 GMT
21560
  recorded_at: Wed, 19 Apr 2017 17:07:47 GMT
21138 21561
- request:
21139 21562
    method: get
21140 21563
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
21147 21570
      Accept-Encoding:
21148 21571
      - gzip, deflate
21149 21572
      User-Agent:
21150
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
21573
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21151 21574
      Content-Type:
21152 21575
      - application/json
21153 21576
      Accept-Language:
......
21160 21583
      message: OK
21161 21584
    headers:
21162 21585
      Date:
21163
      - Mon, 27 Mar 2017 18:35:34 GMT
21586
      - Wed, 19 Apr 2017 17:07:28 GMT
21164 21587
      Server:
21165 21588
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21166 21589
      X-Frame-Options:
......
21178 21601
      Cache-Control:
21179 21602
      - max-age=0, private, must-revalidate
21180 21603
      X-Request-Id:
21181
      - 2832c2e2-199d-4cec-a3b4-ee442e902a2a
21604
      - b902f903-456e-4c2f-a403-2cac84cc423a
21182 21605
      X-Runtime:
21183
      - '0.048775'
21606
      - '0.036048'
21184 21607
      X-Powered-By:
21185 21608
      - Phusion Passenger 4.0.18
21186 21609
      Etag:
21187
      - '"45c0a1d1908621d8a984de3fe2b76754-gzip"'
21610
      - '"91d3578ba2141f4a65055b10047bdf20-gzip"'
21188 21611
      Status:
21189 21612
      - 200 OK
21190 21613
      Vary:
......
21194 21617
      Content-Type:
21195 21618
      - application/json; charset=utf-8
21196 21619
      Set-Cookie:
21197
      - _session_id=5a18ea2a6d8e850e66bb888f678431e3; path=/; secure; HttpOnly
21620
      - _session_id=c4a293e2d26f9b1994a391fcd9002990; path=/; secure; HttpOnly
21198 21621
    body:
21199 21622
      encoding: ASCII-8BIT
21200 21623
      string: |
......
21208 21631
            "by": null,
21209 21632
            "order": null
21210 21633
          },
21211
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
21634
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-04-06 01:50:20 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
21212 21635
        }
21213 21636
    http_version: 
21214
  recorded_at: Mon, 27 Mar 2017 18:35:41 GMT
21637
  recorded_at: Wed, 19 Apr 2017 17:07:47 GMT
21215 21638
- request:
21216 21639
    method: get
21217 21640
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/products?enabled=true&per_page=999999&search=name=%22product%20update_rpm%22
......
21224 21647
      Accept-Encoding:
21225 21648
      - gzip, deflate
21226 21649
      User-Agent:
21227
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
21650
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21228 21651
      Content-Type:
21229 21652
      - application/json
21230 21653
      Accept-Language:
......
21237 21660
      message: OK
21238 21661
    headers:
21239 21662
      Date:
21240
      - Mon, 27 Mar 2017 18:35:34 GMT
21663
      - Wed, 19 Apr 2017 17:07:28 GMT
21241 21664
      Server:
21242 21665
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21243 21666
      X-Frame-Options:
......
21255 21678
      Cache-Control:
21256 21679
      - max-age=0, private, must-revalidate
21257 21680
      X-Request-Id:
21258
      - 87f04f21-f5ac-43f0-acdf-609b4686577f
21681
      - 73f98f47-c0b5-4179-8f3c-bae8aa28cd98
21259 21682
      X-Runtime:
21260
      - '0.134154'
21683
      - '0.074044'
21261 21684
      X-Powered-By:
21262 21685
      - Phusion Passenger 4.0.18
21263 21686
      Etag:
21264
      - '"7bbd8fe68a931973de9f678f6398fb16-gzip"'
21687
      - '"bdb7772f54ed2ae8b9afb625b264c684-gzip"'
21265 21688
      Status:
21266 21689
      - 200 OK
21267 21690
      Vary:
21268 21691
      - Accept-Encoding
21269 21692
      Content-Length:
21270
      - '497'
21693
      - '498'
21271 21694
      Content-Type:
21272 21695
      - application/json; charset=utf-8
21273 21696
      Set-Cookie:
21274
      - _session_id=eadac7b632514ad9e9dfb3c544ff80dc; path=/; secure; HttpOnly
21697
      - _session_id=ed4a88857f14e273a44d5bb12e705fe9; path=/; secure; HttpOnly
21275 21698
    body:
21276 21699
      encoding: ASCII-8BIT
21277
      string: '{"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":"name=\"product
21278
        update_rpm\"","sort":{"by":null,"order":null},"results":[{"id":67,"cp_id":"1490639731063","name":"product
21700
      string: '{"total":3,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":"name=\"product
21701
        update_rpm\"","sort":{"by":null,"order":null},"results":[{"id":118,"cp_id":"1492621644304","name":"product
21279 21702
        update_rpm","label":"product_update_rpm","description":null,"provider_id":3,"sync_plan_id":null,"sync_summary":{},"gpg_key_id":null,"sync_state":null,"last_sync":null,"last_sync_words":null,"organization":{"name":"Test
21280 21703
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":1}]}
21281 21704

  
21282 21705
'
21283 21706
    http_version: 
21284
  recorded_at: Mon, 27 Mar 2017 18:35:41 GMT
21707
  recorded_at: Wed, 19 Apr 2017 17:07:47 GMT
21285 21708
- request:
21286 21709
    method: get
21287
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67/repositories?enabled=true&library=true&organization_id=3&page_size=999999&paged=true
21710
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/118/repositories?enabled=true&library=true&organization_id=3&page_size=999999&paged=true
21288 21711
    body:
21289 21712
      encoding: US-ASCII
21290 21713
      string: ''
......
21294 21717
      Accept-Encoding:
21295 21718
      - gzip, deflate
21296 21719
      User-Agent:
21297
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
21720
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21298 21721
      Content-Type:
21299 21722
      - application/json
21300 21723
      Accept-Language:
......
21307 21730
      message: OK
21308 21731
    headers:
21309 21732
      Date:
21310
      - Mon, 27 Mar 2017 18:35:35 GMT
21733
      - Wed, 19 Apr 2017 17:07:28 GMT
21311 21734
      Server:
21312 21735
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21313 21736
      X-Frame-Options:
......
21325 21748
      Cache-Control:
21326 21749
      - max-age=0, private, must-revalidate
21327 21750
      X-Request-Id:
21328
      - d9a4f95b-7fb2-4a48-bdbe-e59e973391ef
21751
      - 0b565a27-d49f-411f-b087-5577a24052fd
21329 21752
      X-Runtime:
21330
      - '0.057732'
21753
      - '0.134545'
21331 21754
      X-Powered-By:
21332 21755
      - Phusion Passenger 4.0.18
21333 21756
      Etag:
21334
      - '"03e7b2ba8eb7cb011689426aac4460c0-gzip"'
21757
      - '"676ba10df6f43e13a448ef7cdcdfaff1-gzip"'
21335 21758
      Status:
21336 21759
      - 200 OK
21337 21760
      Vary:
21338 21761
      - Accept-Encoding
21339 21762
      Content-Length:
21340
      - '635'
21763
      - '636'
21341 21764
      Content-Type:
21342 21765
      - application/json; charset=utf-8
21343 21766
      Set-Cookie:
21344
      - _session_id=20a45ee5e7a29a2daf8e0d2e54d23be7; path=/; secure; HttpOnly
21767
      - _session_id=e6992105172c17f1a05c9200e52c1258; path=/; secure; HttpOnly
21345 21768
    body:
21346 21769
      encoding: ASCII-8BIT
21347
      string: '{"total":1,"subtotal":1,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"content_type":"yum","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","id":14,"name":"Zoo","label":"Zoo","product":{"id":67,"cp_id":"1490639731063","name":"product
21770
      string: '{"total":1,"subtotal":1,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"content_type":"yum","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","id":75,"name":"Zoo","label":"Zoo","product":{"id":118,"cp_id":"1492621644304","name":"product
21348 21771
        update_rpm","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null}]}
21349 21772

  
21350 21773
'
21351 21774
    http_version: 
21352
  recorded_at: Mon, 27 Mar 2017 18:35:41 GMT
21775
  recorded_at: Wed, 19 Apr 2017 17:07:47 GMT
21353 21776
- request:
21354 21777
    method: put
21355
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67
21778
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/118
21356 21779
    body:
21357 21780
      encoding: UTF-8
21358 21781
      string: '{"name":"product update_rpm","organization_id":3}'
......
21362 21785
      Accept-Encoding:
21363 21786
      - gzip, deflate
21364 21787
      User-Agent:
21365
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
21788
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21366 21789
      Content-Type:
21367 21790
      - application/json
21368 21791
      Accept-Language:
......
21377 21800
      message: OK
21378 21801
    headers:
21379 21802
      Date:
21380
      - Mon, 27 Mar 2017 18:35:35 GMT
21803
      - Wed, 19 Apr 2017 17:07:28 GMT
21381 21804
      Server:
21382 21805
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21383 21806
      X-Frame-Options:
......
21395 21818
      Cache-Control:
21396 21819
      - max-age=0, private, must-revalidate
21397 21820
      X-Request-Id:
21398
      - 5ba603ef-f898-4e70-9004-55af92cfda89
21821
      - e002309e-6351-48a8-a414-bd860c70e3bc
21399 21822
      X-Runtime:
21400
      - '0.957576'
21823
      - '0.978649'
21401 21824
      X-Powered-By:
21402 21825
      - Phusion Passenger 4.0.18
21403 21826
      Etag:
21404
      - '"6e73467fd30555fdc5753b347222d907-gzip"'
21827
      - '"de1c36318bc115a71893f393e77445b1-gzip"'
21405 21828
      Status:
21406 21829
      - 200 OK
21407 21830
      Vary:
21408 21831
      - Accept-Encoding
21409 21832
      Content-Length:
21410
      - '1569'
21833
      - '1572'
21411 21834
      Content-Type:
21412 21835
      - application/json; charset=utf-8
21413 21836
      Set-Cookie:
21414
      - _session_id=17adf5e7d8aea9cfabd4b451cca1dd5f; path=/; secure; HttpOnly
21837
      - _session_id=4eb6c7b7c2fd03e8418ca18d59fd5b36; path=/; secure; HttpOnly
21415 21838
      - request_method=PUT; path=/
21416 21839
    body:
21417 21840
      encoding: ASCII-8BIT
21418
      string: '  {"product_content":[{"enabled":true,"content":{"id":"1490639734052","type":"yum","label":"testcorp_product_update_rpm_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_update_rpm/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:34.052+0000","updated":"2017-03-27T18:35:34.052+0000"},"product_id":67}],"available_content":[{"enabled":true,"content":{"id":"1490639734052","type":"yum","label":"testcorp_product_update_rpm_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_update_rpm/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:34.052+0000","updated":"2017-03-27T18:35:34.052+0000"},"product_id":67}],"redhat":false,"id":67,"cp_id":"1490639731063","name":"product
21841
      string: '  {"product_content":[{"enabled":true,"content":{"id":"1492621647487","type":"yum","label":"testcorp_product_update_rpm_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_update_rpm/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"updated":"2017-04-19T17:07:27.487+0000","created":"2017-04-19T17:07:27.487+0000"},"product_id":118}],"available_content":[{"enabled":true,"content":{"id":"1492621647487","type":"yum","label":"testcorp_product_update_rpm_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_update_rpm/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"updated":"2017-04-19T17:07:27.487+0000","created":"2017-04-19T17:07:27.487+0000"},"product_id":118}],"redhat":false,"id":118,"cp_id":"1492621644304","name":"product
21419 21842
        update_rpm","label":"product_update_rpm","description":null,"provider_id":3,"sync_plan_id":null,"sync_summary":{},"gpg_key_id":null,"sync_state":null,"last_sync":null,"last_sync_words":null,"organization":{"name":"Test
21420
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":1,"created_at":"2017-03-27
21421
        18:35:29 UTC","updated_at":"2017-03-27 18:35:31 UTC","repositories":[{"name":"Zoo","id":14}],"provider":{"name":"Anonymous"},"sync_status":{"id":null,"product_id":null,"progress":null,"sync_id":null,"state":null,"raw_state":null,"start_time":null,"finish_time":null,"duration":null,"display_size":null,"size":null,"is_running":null,"error_details":null},"permissions":{"destroy_products":true,"edit_products":true,"sync_products":true},"published_content_view_ids":[]}
21843
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":1,"created_at":"2017-04-19
21844
        17:07:24 UTC","updated_at":"2017-04-19 17:07:25 UTC","repositories":[{"name":"Zoo","id":75}],"provider":{"name":"Anonymous"},"sync_status":{"id":null,"product_id":null,"progress":null,"sync_id":null,"state":null,"raw_state":null,"start_time":null,"finish_time":null,"duration":null,"display_size":null,"size":null,"is_running":null,"error_details":null},"permissions":{"destroy_products":true,"edit_products":true,"sync_products":true},"published_content_view_ids":[]}
21422 21845

  
21423 21846
'
21424 21847
    http_version: 
21425
  recorded_at: Mon, 27 Mar 2017 18:35:42 GMT
21848
  recorded_at: Wed, 19 Apr 2017 17:07:48 GMT
21426 21849
- request:
21427 21850
    method: put
21428
    uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories/14
21851
    uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories/75
21429 21852
    body:
21430 21853
      encoding: UTF-8
21431 21854
      string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/"}'
......
21435 21858
      Accept-Encoding:
21436 21859
      - gzip, deflate
21437 21860
      User-Agent:
21438
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
21861
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21439 21862
      Content-Type:
21440 21863
      - application/json
21441 21864
      Accept-Language:
......
21450 21873
      message: OK
21451 21874
    headers:
21452 21875
      Date:
21453
      - Mon, 27 Mar 2017 18:35:36 GMT
21876
      - Wed, 19 Apr 2017 17:07:29 GMT
21454 21877
      Server:
21455 21878
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21456 21879
      X-Frame-Options:
......
21468 21891
      Cache-Control:
21469 21892
      - max-age=0, private, must-revalidate
21470 21893
      X-Request-Id:
21471
      - 0e3c6dea-042f-470d-beeb-eca0c65eea72
21894
      - c63d9d16-e63f-4062-b2c1-8a803824ecd2
21472 21895
      X-Runtime:
21473
      - '0.677794'
21896
      - '0.636955'
21474 21897
      X-Powered-By:
21475 21898
      - Phusion Passenger 4.0.18
21476 21899
      Etag:
21477
      - '"dcb77d21ce3e8f645b8dfb1cacb6b1b3-gzip"'
21900
      - '"fd6a9d3664c8e9de3b95908b8121a615-gzip"'
21478 21901
      Status:
21479 21902
      - 200 OK
21480 21903
      Vary:
21481 21904
      - Accept-Encoding
21482 21905
      Content-Length:
21483
      - '1177'
21906
      - '1178'
21484 21907
      Content-Type:
21485 21908
      - application/json; charset=utf-8
21486 21909
      Set-Cookie:
21487
      - _session_id=792172c16d6dec8da770a21344b367cd; path=/; secure; HttpOnly
21910
      - _session_id=e17586819c16f0ffc15267ad1db74b5e; path=/; secure; HttpOnly
21488 21911
      - request_method=PUT; path=/
21489 21912
    body:
21490 21913
      encoding: ASCII-8BIT
21491
      string: '  {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat62.example.com/pulp/repos/testcorp/Library/custom/product_update_rpm/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"immediate","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639734052","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
21492
        Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:32
21493
        UTC","updated_at":"2017-03-27 18:35:34 UTC","id":14,"name":"Zoo","label":"Zoo","product":{"id":67,"cp_id":"1490639731063","name":"product
21914
      string: '  {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat62.example.com/pulp/repos/testcorp/Library/custom/product_update_rpm/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"immediate","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_update_rpm/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1492621647487","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
21915
        Corporation","label":"testcorp","id":3},"created_at":"2017-04-19 17:07:25
21916
        UTC","updated_at":"2017-04-19 17:07:28 UTC","id":75,"name":"Zoo","label":"Zoo","product":{"id":118,"cp_id":"1492621644304","name":"product
21494 21917
        update_rpm","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null,"gpg_key":null,"environment":{"id":2},"permissions":{"deletable":true}}
21495 21918

  
21496 21919
'
21497 21920
    http_version: 
21498
  recorded_at: Mon, 27 Mar 2017 18:35:43 GMT
21921
  recorded_at: Wed, 19 Apr 2017 17:07:49 GMT
21499 21922
- request:
21500 21923
    method: get
21501 21924
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?search=name%20=%20%22Test%20Corporation%22
......
21508 21931
      Accept-Encoding:
21509 21932
      - gzip, deflate
21510 21933
      User-Agent:
21511
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
21934
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21512 21935
      Content-Type:
21513 21936
      - application/json
21514 21937
      Accept-Language:
......
21521 21944
      message: OK
21522 21945
    headers:
21523 21946
      Date:
21524
      - Mon, 27 Mar 2017 18:35:36 GMT
21947
      - Wed, 19 Apr 2017 17:07:30 GMT
21525 21948
      Server:
21526 21949
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21527 21950
      X-Frame-Options:
......
21539 21962
      Cache-Control:
21540 21963
      - max-age=0, private, must-revalidate
21541 21964
      X-Request-Id:
21542
      - a46a41b6-9149-42ec-9508-29b4823be6e5
21965
      - f4b3cf50-fcab-46f7-8812-7b37acbef7cf
21543 21966
      X-Runtime:
21544
      - '0.084705'
21967
      - '0.069702'
21545 21968
      X-Powered-By:
21546 21969
      - Phusion Passenger 4.0.18
21547 21970
      Etag:
21548
      - '"4ca819c8f4b990404bfbc12a1ceaa3fb-gzip"'
21971
      - '"33f5ad55285e93110ffd8103723370df-gzip"'
21549 21972
      Status:
21550 21973
      - 200 OK
21551 21974
      Vary:
......
21555 21978
      Content-Type:
21556 21979
      - application/json; charset=utf-8
21557 21980
      Set-Cookie:
21558
      - _session_id=89e1dc253eaf05291f6699aa7795f411; path=/; secure; HttpOnly
21981
      - _session_id=be08ce465b77a760974db7e084053d62; path=/; secure; HttpOnly
21559 21982
    body:
21560 21983
      encoding: ASCII-8BIT
21561 21984
      string: |
......
21569 21992
            "by": null,
21570 21993
            "order": null
21571 21994
          },
21572
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
21995
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-04-06 01:50:20 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
21573 21996
        }
21574 21997
    http_version: 
21575
  recorded_at: Mon, 27 Mar 2017 18:35:43 GMT
21998
  recorded_at: Wed, 19 Apr 2017 17:07:49 GMT
21576 21999
- request:
21577 22000
    method: get
21578 22001
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/products?page=1&per_page=20&search=product%20update_rpm&sort
......
21585 22008
      Accept-Encoding:
21586 22009
      - gzip, deflate
21587 22010
      User-Agent:
21588
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
22011
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21589 22012
      Content-Type:
21590 22013
      - application/json
21591 22014
      Accept-Language:
......
21598 22021
      message: OK
21599 22022
    headers:
21600 22023
      Date:
21601
      - Mon, 27 Mar 2017 18:35:37 GMT
22024
      - Wed, 19 Apr 2017 17:07:30 GMT
21602 22025
      Server:
21603 22026
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21604 22027
      X-Frame-Options:
......
21616 22039
      Cache-Control:
21617 22040
      - max-age=0, private, must-revalidate
21618 22041
      X-Request-Id:
21619
      - 19a216eb-f866-405c-beca-2e89f8d3d12f
22042
      - dac75a29-7e41-451f-972e-6d3e27456a75
21620 22043
      X-Runtime:
21621
      - '0.104888'
22044
      - '0.110987'
21622 22045
      X-Powered-By:
21623 22046
      - Phusion Passenger 4.0.18
21624 22047
      Etag:
21625
      - '"756e1bca8a0fb02359d287aeb1f17f09-gzip"'
22048
      - '"5cea78814ac6fa4d70ba2d4527a218e5-gzip"'
21626 22049
      Status:
21627 22050
      - 200 OK
21628 22051
      Vary:
21629 22052
      - Accept-Encoding
21630 22053
      Content-Length:
21631
      - '487'
22054
      - '488'
21632 22055
      Content-Type:
21633 22056
      - application/json; charset=utf-8
21634 22057
      Set-Cookie:
21635
      - _session_id=5cd072c45e00817e70b54b0642b4335d; path=/; secure; HttpOnly
22058
      - _session_id=9ed21b8a012de537389feb6f1ea976f7; path=/; secure; HttpOnly
21636 22059
    body:
21637 22060
      encoding: ASCII-8BIT
21638
      string: '{"total":22,"subtotal":1,"page":"1","per_page":"20","error":null,"search":"product
21639
        update_rpm","sort":{"by":null,"order":null},"results":[{"id":67,"cp_id":"1490639731063","name":"product
22061
      string: '{"total":35,"subtotal":1,"page":"1","per_page":"20","error":null,"search":"product
22062
        update_rpm","sort":{"by":null,"order":null},"results":[{"id":118,"cp_id":"1492621644304","name":"product
21640 22063
        update_rpm","label":"product_update_rpm","description":null,"provider_id":3,"sync_plan_id":null,"sync_summary":{},"gpg_key_id":null,"sync_state":null,"last_sync":null,"last_sync_words":null,"organization":{"name":"Test
21641 22064
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":1}]}
21642 22065

  
21643 22066
'
21644 22067
    http_version: 
21645
  recorded_at: Mon, 27 Mar 2017 18:35:43 GMT
22068
  recorded_at: Wed, 19 Apr 2017 17:07:49 GMT
21646 22069
- request:
21647 22070
    method: delete
21648
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/67
22071
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/118
21649 22072
    body:
21650 22073
      encoding: US-ASCII
21651 22074
      string: ''
......
21655 22078
      Accept-Encoding:
21656 22079
      - gzip, deflate
21657 22080
      User-Agent:
21658
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
22081
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21659 22082
      Content-Type:
21660 22083
      - application/json
21661 22084
      Accept-Language:
......
21668 22091
      message: Accepted
21669 22092
    headers:
21670 22093
      Date:
21671
      - Mon, 27 Mar 2017 18:35:37 GMT
22094
      - Wed, 19 Apr 2017 17:07:30 GMT
21672 22095
      Server:
21673 22096
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21674 22097
      X-Frame-Options:
......
21686 22109
      Cache-Control:
21687 22110
      - no-cache
21688 22111
      X-Request-Id:
21689
      - ae45a5b4-2a6a-41c3-b48f-117a43f8dee5
22112
      - 3f503715-bbd6-4a77-bc96-0cd6fef0888c
21690 22113
      X-Runtime:
21691
      - '1.323245'
22114
      - '1.142586'
21692 22115
      X-Powered-By:
21693 22116
      - Phusion Passenger 4.0.18
21694 22117
      Status:
......
21696 22119
      Content-Type:
21697 22120
      - application/json; charset=utf-8
21698 22121
      Set-Cookie:
21699
      - _session_id=37164b96bd482d0c83211ed574aab64a; path=/; secure; HttpOnly
22122
      - _session_id=961cdd830b2a59c8282a2e1324f04fde; path=/; secure; HttpOnly
21700 22123
      - request_method=DELETE; path=/
21701 22124
      Transfer-Encoding:
21702 22125
      - chunked
21703 22126
    body:
21704 22127
      encoding: UTF-8
21705
      string: '  {"id":"ae523793-46a9-44ab-aa69-f64b7a7625ad","label":"Actions::Katello::Product::Destroy","pending":true,"username":"admin","started_at":"2017-03-27
21706
        18:35:37 UTC","ended_at":null,"state":"planned","result":"pending","progress":0.0,"input":{"product":{"id":67,"name":"product
21707
        update_rpm","label":"product_update_rpm","cp_id":"1490639731063"},"provider":{"id":3,"name":"Anonymous"},"organization":{"id":3,"name":"Test
21708
        Corporation","label":"testcorp"},"services_checked":["pulp","pulp_auth","candlepin","candlepin_auth"],"product_id":67},"output":{},"humanized":{"action":"Delete
21709
        Product","input":[["product",{"text":"product ''product update_rpm''","link":"#/products/67/info"}],["organization",{"text":"organization
22128
      string: '  {"id":"a0ed363c-d8d9-49da-a770-e023112c6c73","label":"Actions::Katello::Product::Destroy","pending":true,"username":"admin","started_at":"2017-04-19
22129
        17:07:30 UTC","ended_at":null,"state":"planned","result":"pending","progress":0.0,"input":{"product":{"id":118,"name":"product
22130
        update_rpm","label":"product_update_rpm","cp_id":"1492621644304"},"provider":{"id":3,"name":"Anonymous"},"organization":{"id":3,"name":"Test
22131
        Corporation","label":"testcorp"},"services_checked":["pulp","pulp_auth","candlepin","candlepin_auth"],"product_id":118},"output":{},"humanized":{"action":"Delete
22132
        Product","input":[["product",{"text":"product ''product update_rpm''","link":"#/products/118/info"}],["organization",{"text":"organization
21710 22133
        ''Test Corporation''","link":"/organizations/3/edit"}]],"output":"","errors":[]},"cli_example":null}
21711 22134

  
21712 22135
'
21713 22136
    http_version: 
21714
  recorded_at: Mon, 27 Mar 2017 18:35:44 GMT
22137
  recorded_at: Wed, 19 Apr 2017 17:07:50 GMT
21715 22138
recorded_with: VCR 3.0.3

Also available in: Unified diff