Project

General

Profile

Revision ac187d3d

Added by Thomas McKay about 4 years ago

vcr recording tests

View differences:

test/fixtures/vcr_cassettes/resources/products/create_update_rpm_docker.yml
1356 1356
  recorded_at: Mon, 19 Dec 2016 16:42:10 GMT
1357 1357
- request:
1358 1358
    method: get
1359
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/69/repositories?all=false&library=true&organization_id=3
1360
    body:
1361
      encoding: US-ASCII
1362
      string: ''
1363
    headers:
1364
      Accept:
1365
      - application/json;version=2
1366
      Accept-Encoding:
1367
      - gzip, deflate
1368
      User-Agent:
1369
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1370
      Content-Type:
1371
      - application/json
1372
      Accept-Language:
1373
      - en
1374
      Host:
1375
      - devel.example.com:50083
1376
  response:
1377
    status:
1378
      code: 200
1379
      message: OK
1380
    headers:
1381
      Date:
1382
      - Mon, 27 Mar 2017 18:35:47 GMT
1383
      Server:
1384
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1385
      X-Frame-Options:
1386
      - SAMEORIGIN
1387
      X-Xss-Protection:
1388
      - 1; mode=block
1389
      X-Content-Type-Options:
1390
      - nosniff
1391
      Foreman-Version:
1392
      - 1.11.0.54
1393
      Foreman-Api-Version:
1394
      - '2'
1395
      Apipie-Checksum:
1396
      - e1df2e8d43e22495b02a53b48e3b5298
1397
      Cache-Control:
1398
      - max-age=0, private, must-revalidate
1399
      X-Request-Id:
1400
      - b56cee0c-5783-4e99-9678-c5b317141931
1401
      X-Runtime:
1402
      - '0.065899'
1403
      X-Powered-By:
1404
      - Phusion Passenger 4.0.18
1405
      Etag:
1406
      - '"6a5cc8a6caa41dfb85f960ee483ee634-gzip"'
1407
      Status:
1408
      - 200 OK
1409
      Vary:
1410
      - Accept-Encoding
1411
      Content-Length:
1412
      - '120'
1413
      Content-Type:
1414
      - application/json; charset=utf-8
1415
      Set-Cookie:
1416
      - _session_id=1a04888c19f298e4daaea1f6fe59fdb4; path=/; secure; HttpOnly
1417
    body:
1418
      encoding: ASCII-8BIT
1419
      string: '{"total":0,"subtotal":0,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
1420

  
1421
'
1422
    http_version: 
1423
  recorded_at: Mon, 27 Mar 2017 18:35:53 GMT
1424
- request:
1425
    method: post
1426
    uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories
1427
    body:
1428
      encoding: UTF-8
1429
      string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","verify_ssl":false,"unprotected":false,"mirror_on_sync":false,"download_policy":"on_demand","label":"Zoo","product_id":69,"content_type":"yum"}'
1430
    headers:
1431
      Accept:
1432
      - application/json;version=2
1433
      Accept-Encoding:
1434
      - gzip, deflate
1435
      User-Agent:
1436
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1437
      Content-Type:
1438
      - application/json
1439
      Accept-Language:
1440
      - en
1441
      Content-Length:
1442
      - '248'
1443
      Host:
1444
      - devel.example.com:50083
1445
  response:
1446
    status:
1447
      code: 200
1448
      message: OK
1449
    headers:
1450
      Date:
1451
      - Mon, 27 Mar 2017 18:35:47 GMT
1452
      Server:
1453
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1454
      X-Frame-Options:
1455
      - SAMEORIGIN
1456
      X-Xss-Protection:
1457
      - 1; mode=block
1458
      X-Content-Type-Options:
1459
      - nosniff
1460
      Foreman-Version:
1461
      - 1.11.0.54
1462
      Foreman-Api-Version:
1463
      - '2'
1464
      Apipie-Checksum:
1465
      - e1df2e8d43e22495b02a53b48e3b5298
1466
      Cache-Control:
1467
      - max-age=0, private, must-revalidate
1468
      X-Request-Id:
1469
      - 28b183af-195f-460c-a2e4-d241835efb85
1470
      X-Runtime:
1471
      - '2.577466'
1472
      X-Powered-By:
1473
      - Phusion Passenger 4.0.18
1474
      Etag:
1475
      - '"b9298799098261ae7b675ee3dd0309b0-gzip"'
1476
      Status:
1477
      - 200 OK
1478
      Vary:
1479
      - Accept-Encoding
1480
      Content-Length:
1481
      - '1222'
1482
      Content-Type:
1483
      - application/json; charset=utf-8
1484
      Set-Cookie:
1485
      - _session_id=6c2a17993ca3863dac49bdccad77ce93; path=/; secure; HttpOnly
1486
      - request_method=POST; path=/
1487
    body:
1488
      encoding: ASCII-8BIT
1489
      string: '  {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":false,"unprotected":false,"full_path":"https://sat62.example.com/pulp/repos/testcorp/Library/custom/product_create_update_rpm_docker/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"on_demand","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_create_update_rpm_docker/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639748543","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
1490
        Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:47
1491
        UTC","updated_at":"2017-03-27 18:35:50 UTC","id":16,"name":"Zoo","label":"Zoo","product":{"id":69,"cp_id":"1490639746899","name":"product
1492
        create_update_rpm_docker","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}}
1493

  
1494
'
1495
    http_version: 
1496
  recorded_at: Mon, 27 Mar 2017 18:35:56 GMT
1497
- request:
1498
    method: get
1499
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/69/repositories?enabled=true&library=true&organization_id=3&page_size=999999&paged=true
1500
    body:
1501
      encoding: US-ASCII
1502
      string: ''
1503
    headers:
1504
      Accept:
1505
      - application/json;version=2
1506
      Accept-Encoding:
1507
      - gzip, deflate
1508
      User-Agent:
1509
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1510
      Content-Type:
1511
      - application/json
1512
      Accept-Language:
1513
      - en
1514
      Host:
1515
      - devel.example.com:50083
1516
  response:
1517
    status:
1518
      code: 200
1519
      message: OK
1520
    headers:
1521
      Date:
1522
      - Mon, 27 Mar 2017 18:35:50 GMT
1523
      Server:
1524
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1525
      X-Frame-Options:
1526
      - SAMEORIGIN
1527
      X-Xss-Protection:
1528
      - 1; mode=block
1529
      X-Content-Type-Options:
1530
      - nosniff
1531
      Foreman-Version:
1532
      - 1.11.0.54
1533
      Foreman-Api-Version:
1534
      - '2'
1535
      Apipie-Checksum:
1536
      - e1df2e8d43e22495b02a53b48e3b5298
1537
      Cache-Control:
1538
      - max-age=0, private, must-revalidate
1539
      X-Request-Id:
1540
      - 37a86881-da97-415e-aef0-b641de8080cf
1541
      X-Runtime:
1542
      - '0.053778'
1543
      X-Powered-By:
1544
      - Phusion Passenger 4.0.18
1545
      Etag:
1546
      - '"7ef3e1ef2aa26cae8d902d91f31965d5-gzip"'
1547
      Status:
1548
      - 200 OK
1549
      Vary:
1550
      - Accept-Encoding
1551
      Content-Length:
1552
      - '663'
1553
      Content-Type:
1554
      - application/json; charset=utf-8
1555
      Set-Cookie:
1556
      - _session_id=73c18456d3359add857b2ef7d0108abc; path=/; secure; HttpOnly
1557
    body:
1558
      encoding: ASCII-8BIT
1559
      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_create_update_rpm_docker/Zoo","id":16,"name":"Zoo","label":"Zoo","product":{"id":69,"cp_id":"1490639746899","name":"product
1560
        create_update_rpm_docker","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}]}
1561

  
1562
'
1563
    http_version: 
1564
  recorded_at: Mon, 27 Mar 2017 18:35:56 GMT
1565
- request:
1566
    method: put
1567
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/69
1568
    body:
1569
      encoding: UTF-8
1570
      string: '{"name":"product create_update_rpm_docker","organization_id":3,"description":"Docker
1571
        Product"}'
1572
    headers:
1573
      Accept:
1574
      - application/json;version=2
1575
      Accept-Encoding:
1576
      - gzip, deflate
1577
      User-Agent:
1578
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1579
      Content-Type:
1580
      - application/json
1581
      Accept-Language:
1582
      - en
1583
      Content-Length:
1584
      - '94'
1585
      Host:
1586
      - devel.example.com:50083
1587
  response:
1588
    status:
1589
      code: 200
1590
      message: OK
1591
    headers:
1592
      Date:
1593
      - Mon, 27 Mar 2017 18:35:50 GMT
1594
      Server:
1595
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1596
      X-Frame-Options:
1597
      - SAMEORIGIN
1598
      X-Xss-Protection:
1599
      - 1; mode=block
1600
      X-Content-Type-Options:
1601
      - nosniff
1602
      Foreman-Version:
1603
      - 1.11.0.54
1604
      Foreman-Api-Version:
1605
      - '2'
1606
      Apipie-Checksum:
1607
      - e1df2e8d43e22495b02a53b48e3b5298
1608
      Cache-Control:
1609
      - max-age=0, private, must-revalidate
1610
      X-Request-Id:
1611
      - 3e9bccea-627d-4bd4-b528-5573f6f6294f
1612
      X-Runtime:
1613
      - '1.736442'
1614
      X-Powered-By:
1615
      - Phusion Passenger 4.0.18
1616
      Etag:
1617
      - '"77525a3dbb5c9249193b06c12165c687-gzip"'
1618
      Status:
1619
      - 200 OK
1620
      Vary:
1621
      - Accept-Encoding
1622
      Content-Length:
1623
      - '1665'
1624
      Content-Type:
1625
      - application/json; charset=utf-8
1626
      Set-Cookie:
1627
      - _session_id=a3f76f6a584482cb78c5b082b3beeed6; path=/; secure; HttpOnly
1628
      - request_method=PUT; path=/
1629
    body:
1630
      encoding: ASCII-8BIT
1631
      string: '  {"product_content":[{"enabled":true,"content":{"id":"1490639748543","type":"yum","label":"testcorp_product_create_update_rpm_docker_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_create_update_rpm_docker/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:48.543+0000","updated":"2017-03-27T18:35:48.543+0000"},"product_id":69}],"available_content":[{"enabled":true,"content":{"id":"1490639748543","type":"yum","label":"testcorp_product_create_update_rpm_docker_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_create_update_rpm_docker/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:48.543+0000","updated":"2017-03-27T18:35:48.543+0000"},"product_id":69}],"redhat":false,"id":69,"cp_id":"1490639746899","name":"product
1632
        create_update_rpm_docker","label":"product_create_update_rpm_docker","description":"Docker
1633
        Product","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
1634
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":1,"created_at":"2017-03-27
1635
        18:35:46 UTC","updated_at":"2017-03-27 18:35:50 UTC","repositories":[{"name":"Zoo","id":16}],"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":[]}
1636

  
1637
'
1638
    http_version: 
1639
  recorded_at: Mon, 27 Mar 2017 18:35:58 GMT
1640
- request:
1641
    method: get
1642
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/69/repositories?all=false&library=true&organization_id=3
1643
    body:
1644
      encoding: US-ASCII
1645
      string: ''
1646
    headers:
1647
      Accept:
1648
      - application/json;version=2
1649
      Accept-Encoding:
1650
      - gzip, deflate
1651
      User-Agent:
1652
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1653
      Content-Type:
1654
      - application/json
1655
      Accept-Language:
1656
      - en
1657
      Host:
1658
      - devel.example.com:50083
1659
  response:
1660
    status:
1661
      code: 200
1662
      message: OK
1663
    headers:
1664
      Date:
1665
      - Mon, 27 Mar 2017 18:35:52 GMT
1666
      Server:
1667
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1668
      X-Frame-Options:
1669
      - SAMEORIGIN
1670
      X-Xss-Protection:
1671
      - 1; mode=block
1672
      X-Content-Type-Options:
1673
      - nosniff
1674
      Foreman-Version:
1675
      - 1.11.0.54
1676
      Foreman-Api-Version:
1677
      - '2'
1678
      Apipie-Checksum:
1679
      - e1df2e8d43e22495b02a53b48e3b5298
1680
      Cache-Control:
1681
      - max-age=0, private, must-revalidate
1682
      X-Request-Id:
1683
      - 2491ebe6-c34d-48b0-bc5a-8f1f506ecd63
1684
      X-Runtime:
1685
      - '0.062368'
1686
      X-Powered-By:
1687
      - Phusion Passenger 4.0.18
1688
      Etag:
1689
      - '"7ef3e1ef2aa26cae8d902d91f31965d5-gzip"'
1690
      Status:
1691
      - 200 OK
1692
      Vary:
1693
      - Accept-Encoding
1694
      Content-Length:
1695
      - '663'
1696
      Content-Type:
1697
      - application/json; charset=utf-8
1698
      Set-Cookie:
1699
      - _session_id=bebf16363edb983106bd7bf59047c208; path=/; secure; HttpOnly
1700
    body:
1701
      encoding: ASCII-8BIT
1702
      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_create_update_rpm_docker/Zoo","id":16,"name":"Zoo","label":"Zoo","product":{"id":69,"cp_id":"1490639746899","name":"product
1703
        create_update_rpm_docker","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}]}
1704

  
1705
'
1706
    http_version: 
1707
  recorded_at: Mon, 27 Mar 2017 18:35:58 GMT
1708
- request:
1709
    method: post
1710
    uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories
1711
    body:
1712
      encoding: UTF-8
1713
      string: '{"organization_id":3,"name":"thomasmckay/hammer","url":"https://registry-1.docker.io/","verify_ssl":true,"unprotected":true,"mirror_on_sync":true,"docker_upstream_name":"thomasmckay/hammer","label":"thomasmckay_hammer","product_id":69,"content_type":"docker"}'
1714
    headers:
1715
      Accept:
1716
      - application/json;version=2
1717
      Accept-Encoding:
1718
      - gzip, deflate
1719
      User-Agent:
1720
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1721
      Content-Type:
1722
      - application/json
1723
      Accept-Language:
1724
      - en
1725
      Content-Length:
1726
      - '259'
1727
      Host:
1728
      - devel.example.com:50083
1729
  response:
1730
    status:
1731
      code: 200
1732
      message: OK
1733
    headers:
1734
      Date:
1735
      - Mon, 27 Mar 2017 18:35:52 GMT
1736
      Server:
1737
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1738
      X-Frame-Options:
1739
      - SAMEORIGIN
1740
      X-Xss-Protection:
1741
      - 1; mode=block
1742
      X-Content-Type-Options:
1743
      - nosniff
1744
      Foreman-Version:
1745
      - 1.11.0.54
1746
      Foreman-Api-Version:
1747
      - '2'
1748
      Apipie-Checksum:
1749
      - e1df2e8d43e22495b02a53b48e3b5298
1750
      Cache-Control:
1751
      - max-age=0, private, must-revalidate
1752
      X-Request-Id:
1753
      - 1b9939d2-03a0-462a-abb3-7f3453c9444c
1754
      X-Runtime:
1755
      - '2.519761'
1756
      X-Powered-By:
1757
      - Phusion Passenger 4.0.18
1758
      Etag:
1759
      - '"c492a6ea4b88eec8daf0056ebe1d5c3b-gzip"'
1760
      Status:
1761
      - 200 OK
1762
      Vary:
1763
      - Accept-Encoding
1764
      Content-Length:
1765
      - '1272'
1766
      Content-Type:
1767
      - application/json; charset=utf-8
1768
      Set-Cookie:
1769
      - _session_id=3a9d3fb99cb70f5ee58d07177f56fe0f; path=/; secure; HttpOnly
1770
      - request_method=POST; path=/
1771
    body:
1772
      encoding: ASCII-8BIT
1773
      string: '  {"content_type":"docker","docker_upstream_name":"thomasmckay/hammer","mirror_on_sync":true,"unprotected":true,"full_path":"sat62.example.com:5000/testcorp-product_create_update_rpm_docker-thomasmckay_hammer","checksum_type":null,"container_repository_name":"testcorp-product_create_update_rpm_docker-thomasmckay_hammer","download_policy":null,"url":"https://registry-1.docker.io/","relative_path":"testcorp-product_create_update_rpm_docker-thomasmckay_hammer","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639754098","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
1774
        Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:52
1775
        UTC","updated_at":"2017-03-27 18:35:54 UTC","id":17,"name":"thomasmckay/hammer","label":"thomasmckay_hammer","product":{"id":69,"cp_id":"1490639746899","name":"product
1776
        create_update_rpm_docker","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}}
1777

  
1778
'
1779
    http_version: 
1780
  recorded_at: Mon, 27 Mar 2017 18:36:01 GMT
1781
- request:
1782
    method: get
1783
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/69/repositories?enabled=true&library=true&organization_id=3&page_size=999999&paged=true
1784
    body:
1785
      encoding: US-ASCII
1786
      string: ''
1787
    headers:
1788
      Accept:
1789
      - application/json;version=2
1790
      Accept-Encoding:
1791
      - gzip, deflate
1792
      User-Agent:
1793
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1794
      Content-Type:
1795
      - application/json
1796
      Accept-Language:
1797
      - en
1798
      Host:
1799
      - devel.example.com:50083
1800
  response:
1801
    status:
1802
      code: 200
1803
      message: OK
1804
    headers:
1805
      Date:
1806
      - Mon, 27 Mar 2017 18:35:55 GMT
1807
      Server:
1808
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1809
      X-Frame-Options:
1810
      - SAMEORIGIN
1811
      X-Xss-Protection:
1812
      - 1; mode=block
1813
      X-Content-Type-Options:
1814
      - nosniff
1815
      Foreman-Version:
1816
      - 1.11.0.54
1817
      Foreman-Api-Version:
1818
      - '2'
1819
      Apipie-Checksum:
1820
      - e1df2e8d43e22495b02a53b48e3b5298
1821
      Cache-Control:
1822
      - max-age=0, private, must-revalidate
1823
      X-Request-Id:
1824
      - 418f3295-6cdd-4d31-95c1-ab74111798b8
1825
      X-Runtime:
1826
      - '0.074629'
1827
      X-Powered-By:
1828
      - Phusion Passenger 4.0.18
1829
      Etag:
1830
      - '"603b82ab137188998bd1a33d7fdf5f3a-gzip"'
1831
      Status:
1832
      - 200 OK
1833
      Vary:
1834
      - Accept-Encoding
1835
      Content-Length:
1836
      - '1207'
1837
      Content-Type:
1838
      - application/json; charset=utf-8
1839
      Set-Cookie:
1840
      - _session_id=b6c33c5b6c4c62b56a05a7d4fc9d6d2f; path=/; secure; HttpOnly
1841
    body:
1842
      encoding: ASCII-8BIT
1843
      string: '{"total":2,"subtotal":2,"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_create_update_rpm_docker/Zoo","id":16,"name":"Zoo","label":"Zoo","product":{"id":69,"cp_id":"1490639746899","name":"product
1844
        create_update_rpm_docker","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},{"content_type":"docker","url":"https://registry-1.docker.io/","relative_path":"testcorp-product_create_update_rpm_docker-thomasmckay_hammer","id":17,"name":"thomasmckay/hammer","label":"thomasmckay_hammer","product":{"id":69,"cp_id":"1490639746899","name":"product
1845
        create_update_rpm_docker","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}]}
1846

  
1847
'
1848
    http_version: 
1849
  recorded_at: Mon, 27 Mar 2017 18:36:01 GMT
1850
- request:
1851
    method: put
1852
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/69
1853
    body:
1854
      encoding: UTF-8
1855
      string: '{"name":"product create_update_rpm_docker","organization_id":3,"description":"Yum
1856
        Product"}'
1857
    headers:
1858
      Accept:
1859
      - application/json;version=2
1860
      Accept-Encoding:
1861
      - gzip, deflate
1862
      User-Agent:
1863
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1864
      Content-Type:
1865
      - application/json
1866
      Accept-Language:
1867
      - en
1868
      Content-Length:
1869
      - '91'
1870
      Host:
1871
      - devel.example.com:50083
1872
  response:
1873
    status:
1874
      code: 200
1875
      message: OK
1876
    headers:
1877
      Date:
1878
      - Mon, 27 Mar 2017 18:35:55 GMT
1879
      Server:
1880
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1881
      X-Frame-Options:
1882
      - SAMEORIGIN
1883
      X-Xss-Protection:
1884
      - 1; mode=block
1885
      X-Content-Type-Options:
1886
      - nosniff
1887
      Foreman-Version:
1888
      - 1.11.0.54
1889
      Foreman-Api-Version:
1890
      - '2'
1891
      Apipie-Checksum:
1892
      - e1df2e8d43e22495b02a53b48e3b5298
1893
      Cache-Control:
1894
      - max-age=0, private, must-revalidate
1895
      X-Request-Id:
1896
      - 8180678f-b601-4b77-a068-79bd09a382f4
1897
      X-Runtime:
1898
      - '1.387088'
1899
      X-Powered-By:
1900
      - Phusion Passenger 4.0.18
1901
      Etag:
1902
      - '"7ec493bda87782cc489b590dadc37d9a-gzip"'
1903
      Status:
1904
      - 200 OK
1905
      Vary:
1906
      - Accept-Encoding
1907
      Content-Length:
1908
      - '2522'
1909
      Content-Type:
1910
      - application/json; charset=utf-8
1911
      Set-Cookie:
1912
      - _session_id=c0c6c578f7a565df146fd44fc5412d80; path=/; secure; HttpOnly
1913
      - request_method=PUT; path=/
1914
    body:
1915
      encoding: ASCII-8BIT
1916
      string: '  {"product_content":[{"enabled":true,"content":{"id":"1490639748543","type":"yum","label":"testcorp_product_create_update_rpm_docker_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_create_update_rpm_docker/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:48.543+0000","updated":"2017-03-27T18:35:48.543+0000"},"product_id":69},{"enabled":true,"content":{"id":"1490639754098","type":"docker","label":"testcorp_product_create_update_rpm_docker_thomasmckay_hammer","name":"thomasmckay/hammer","vendor":"Custom","contentUrl":"/custom/product_create_update_rpm_docker/thomasmckay_hammer","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:54.098+0000","updated":"2017-03-27T18:35:54.098+0000"},"product_id":69}],"available_content":[{"enabled":true,"content":{"id":"1490639748543","type":"yum","label":"testcorp_product_create_update_rpm_docker_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_create_update_rpm_docker/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:48.543+0000","updated":"2017-03-27T18:35:48.543+0000"},"product_id":69},{"enabled":true,"content":{"id":"1490639754098","type":"docker","label":"testcorp_product_create_update_rpm_docker_thomasmckay_hammer","name":"thomasmckay/hammer","vendor":"Custom","contentUrl":"/custom/product_create_update_rpm_docker/thomasmckay_hammer","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:54.098+0000","updated":"2017-03-27T18:35:54.098+0000"},"product_id":69}],"redhat":false,"id":69,"cp_id":"1490639746899","name":"product
1917
        create_update_rpm_docker","label":"product_create_update_rpm_docker","description":"Yum
1918
        Product","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
1919
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":2,"created_at":"2017-03-27
1920
        18:35:46 UTC","updated_at":"2017-03-27 18:35:55 UTC","repositories":[{"name":"thomasmckay/hammer","id":17},{"name":"Zoo","id":16}],"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":[]}
1921

  
1922
'
1923
    http_version: 
1924
  recorded_at: Mon, 27 Mar 2017 18:36:02 GMT
1925
- request:
1926
    method: put
1927
    uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories/16
1928
    body:
1929
      encoding: UTF-8
1930
      string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","verify_ssl":false,"unprotected":false,"mirror_on_sync":false,"download_policy":"on_demand"}'
1931
    headers:
1932
      Accept:
1933
      - application/json;version=2
1934
      Accept-Encoding:
1935
      - gzip, deflate
1936
      User-Agent:
1937
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1938
      Content-Type:
1939
      - application/json
1940
      Accept-Language:
1941
      - en
1942
      Content-Length:
1943
      - '197'
1944
      Host:
1945
      - devel.example.com:50083
1946
  response:
1947
    status:
1948
      code: 200
1949
      message: OK
1950
    headers:
1951
      Date:
1952
      - Mon, 27 Mar 2017 18:35:56 GMT
1953
      Server:
1954
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1955
      X-Frame-Options:
1956
      - SAMEORIGIN
1957
      X-Xss-Protection:
1958
      - 1; mode=block
1959
      X-Content-Type-Options:
1960
      - nosniff
1961
      Foreman-Version:
1962
      - 1.11.0.54
1963
      Foreman-Api-Version:
1964
      - '2'
1965
      Apipie-Checksum:
1966
      - e1df2e8d43e22495b02a53b48e3b5298
1967
      Cache-Control:
1968
      - max-age=0, private, must-revalidate
1969
      X-Request-Id:
1970
      - 2afd048e-01f5-486a-afc3-40157fa143d4
1971
      X-Runtime:
1972
      - '1.546281'
1973
      X-Powered-By:
1974
      - Phusion Passenger 4.0.18
1975
      Etag:
1976
      - '"b9298799098261ae7b675ee3dd0309b0-gzip"'
1977
      Status:
1978
      - 200 OK
1979
      Vary:
1980
      - Accept-Encoding
1981
      Content-Length:
1982
      - '1222'
1983
      Content-Type:
1984
      - application/json; charset=utf-8
1985
      Set-Cookie:
1986
      - _session_id=4a838cf1068fcbff7478f917a69658df; path=/; secure; HttpOnly
1987
      - request_method=PUT; path=/
1988
    body:
1989
      encoding: ASCII-8BIT
1990
      string: '  {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":false,"unprotected":false,"full_path":"https://sat62.example.com/pulp/repos/testcorp/Library/custom/product_create_update_rpm_docker/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"on_demand","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_create_update_rpm_docker/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639748543","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
1991
        Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:47
1992
        UTC","updated_at":"2017-03-27 18:35:50 UTC","id":16,"name":"Zoo","label":"Zoo","product":{"id":69,"cp_id":"1490639746899","name":"product
1993
        create_update_rpm_docker","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}}
1994

  
1995
'
1996
    http_version: 
1997
  recorded_at: Mon, 27 Mar 2017 18:36:04 GMT
1998
- request:
1999
    method: get
2000
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/69/repositories?enabled=true&library=true&organization_id=3&page_size=999999&paged=true
2001
    body:
2002
      encoding: US-ASCII
2003
      string: ''
2004
    headers:
2005
      Accept:
2006
      - application/json;version=2
2007
      Accept-Encoding:
2008
      - gzip, deflate
2009
      User-Agent:
2010
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
2011
      Content-Type:
2012
      - application/json
2013
      Accept-Language:
2014
      - en
2015
      Host:
2016
      - devel.example.com:50083
2017
  response:
2018
    status:
2019
      code: 200
2020
      message: OK
2021
    headers:
2022
      Date:
2023
      - Mon, 27 Mar 2017 18:35:58 GMT
2024
      Server:
2025
      - Apache/2.4.6 (Red Hat Enterprise Linux)
2026
      X-Frame-Options:
2027
      - SAMEORIGIN
2028
      X-Xss-Protection:
2029
      - 1; mode=block
2030
      X-Content-Type-Options:
2031
      - nosniff
2032
      Foreman-Version:
2033
      - 1.11.0.54
2034
      Foreman-Api-Version:
2035
      - '2'
2036
      Apipie-Checksum:
2037
      - e1df2e8d43e22495b02a53b48e3b5298
2038
      Cache-Control:
2039
      - max-age=0, private, must-revalidate
2040
      X-Request-Id:
2041
      - 207dcc4e-4278-4870-b337-f840b6f01e22
2042
      X-Runtime:
2043
      - '0.093668'
2044
      X-Powered-By:
2045
      - Phusion Passenger 4.0.18
2046
      Etag:
2047
      - '"603b82ab137188998bd1a33d7fdf5f3a-gzip"'
2048
      Status:
2049
      - 200 OK
2050
      Vary:
2051
      - Accept-Encoding
2052
      Content-Length:
2053
      - '1207'
2054
      Content-Type:
2055
      - application/json; charset=utf-8
2056
      Set-Cookie:
2057
      - _session_id=fb1ad72847d73e4b5a1d6f84569d346a; path=/; secure; HttpOnly
2058
    body:
2059
      encoding: ASCII-8BIT
2060
      string: '{"total":2,"subtotal":2,"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_create_update_rpm_docker/Zoo","id":16,"name":"Zoo","label":"Zoo","product":{"id":69,"cp_id":"1490639746899","name":"product
2061
        create_update_rpm_docker","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},{"content_type":"docker","url":"https://registry-1.docker.io/","relative_path":"testcorp-product_create_update_rpm_docker-thomasmckay_hammer","id":17,"name":"thomasmckay/hammer","label":"thomasmckay_hammer","product":{"id":69,"cp_id":"1490639746899","name":"product
2062
        create_update_rpm_docker","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}]}
2063

  
2064
'
2065
    http_version: 
2066
  recorded_at: Mon, 27 Mar 2017 18:36:04 GMT
2067
- request:
2068
    method: put
2069
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/69
2070
    body:
2071
      encoding: UTF-8
2072
      string: '{"name":"product create_update_rpm_docker","organization_id":3,"description":"Docker
2073
        Product"}'
2074
    headers:
2075
      Accept:
2076
      - application/json;version=2
2077
      Accept-Encoding:
2078
      - gzip, deflate
2079
      User-Agent:
2080
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
2081
      Content-Type:
2082
      - application/json
2083
      Accept-Language:
2084
      - en
2085
      Content-Length:
2086
      - '94'
2087
      Host:
2088
      - devel.example.com:50083
2089
  response:
2090
    status:
2091
      code: 200
2092
      message: OK
2093
    headers:
2094
      Date:
2095
      - Mon, 27 Mar 2017 18:35:58 GMT
2096
      Server:
2097
      - Apache/2.4.6 (Red Hat Enterprise Linux)
2098
      X-Frame-Options:
2099
      - SAMEORIGIN
2100
      X-Xss-Protection:
2101
      - 1; mode=block
2102
      X-Content-Type-Options:
2103
      - nosniff
2104
      Foreman-Version:
2105
      - 1.11.0.54
2106
      Foreman-Api-Version:
2107
      - '2'
2108
      Apipie-Checksum:
2109
      - e1df2e8d43e22495b02a53b48e3b5298
2110
      Cache-Control:
2111
      - max-age=0, private, must-revalidate
2112
      X-Request-Id:
2113
      - 398912a3-fe03-439e-ad4e-3ae0be5ebb62
2114
      X-Runtime:
2115
      - '1.727060'
2116
      X-Powered-By:
2117
      - Phusion Passenger 4.0.18
2118
      Etag:
2119
      - '"bbf8126200fa650ea8a3d1d3694f82d8-gzip"'
2120
      Status:
2121
      - 200 OK
2122
      Vary:
2123
      - Accept-Encoding
2124
      Content-Length:
2125
      - '2443'
2126
      Content-Type:
2127
      - application/json; charset=utf-8
2128
      Set-Cookie:
2129
      - _session_id=924d422bf597034cb35d3f78cdc0b4c9; path=/; secure; HttpOnly
2130
      - request_method=PUT; path=/
2131
    body:
2132
      encoding: ASCII-8BIT
2133
      string: '  {"product_content":[{"enabled":true,"content":{"id":"1490639748543","type":"yum","label":"testcorp_product_create_update_rpm_docker_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_create_update_rpm_docker/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"updated":"2017-03-27T18:35:58.043+0000"},"product_id":69},{"enabled":true,"content":{"id":"1490639754098","type":"docker","label":"testcorp_product_create_update_rpm_docker_thomasmckay_hammer","name":"thomasmckay/hammer","vendor":"Custom","contentUrl":"/custom/product_create_update_rpm_docker/thomasmckay_hammer","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:54.098+0000","updated":"2017-03-27T18:35:54.098+0000"},"product_id":69}],"available_content":[{"enabled":true,"content":{"id":"1490639748543","type":"yum","label":"testcorp_product_create_update_rpm_docker_Zoo","name":"Zoo","vendor":"Custom","contentUrl":"/custom/product_create_update_rpm_docker/Zoo","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"updated":"2017-03-27T18:35:58.043+0000"},"product_id":69},{"enabled":true,"content":{"id":"1490639754098","type":"docker","label":"testcorp_product_create_update_rpm_docker_thomasmckay_hammer","name":"thomasmckay/hammer","vendor":"Custom","contentUrl":"/custom/product_create_update_rpm_docker/thomasmckay_hammer","gpgUrl":"","metadataExpire":1,"modifiedProductIds":[],"created":"2017-03-27T18:35:54.098+0000","updated":"2017-03-27T18:35:54.098+0000"},"product_id":69}],"redhat":false,"id":69,"cp_id":"1490639746899","name":"product
2134
        create_update_rpm_docker","label":"product_create_update_rpm_docker","description":"Docker
2135
        Product","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
2136
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":2,"created_at":"2017-03-27
2137
        18:35:46 UTC","updated_at":"2017-03-27 18:35:58 UTC","repositories":[{"name":"thomasmckay/hammer","id":17},{"name":"Zoo","id":16}],"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":[]}
2138

  
2139
'
2140
    http_version: 
2141
  recorded_at: Mon, 27 Mar 2017 18:36:06 GMT
2142
- request:
2143
    method: put
2144
    uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories/17
2145
    body:
2146
      encoding: UTF-8
2147
      string: '{"organization_id":3,"name":"thomasmckay/hammer","url":"https://registry-1.docker.io/","verify_ssl":true,"unprotected":true,"mirror_on_sync":true,"docker_upstream_name":"thomasmckay/hammer"}'
2148
    headers:
2149
      Accept:
2150
      - application/json;version=2
2151
      Accept-Encoding:
2152
      - gzip, deflate
2153
      User-Agent:
2154
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
2155
      Content-Type:
2156
      - application/json
2157
      Accept-Language:
2158
      - en
2159
      Content-Length:
2160
      - '190'
2161
      Host:
2162
      - devel.example.com:50083
2163
  response:
2164
    status:
2165
      code: 200
2166
      message: OK
2167
    headers:
2168
      Date:
2169
      - Mon, 27 Mar 2017 18:36:00 GMT
2170
      Server:
2171
      - Apache/2.4.6 (Red Hat Enterprise Linux)
2172
      X-Frame-Options:
2173
      - SAMEORIGIN
2174
      X-Xss-Protection:
2175
      - 1; mode=block
2176
      X-Content-Type-Options:
2177
      - nosniff
2178
      Foreman-Version:
2179
      - 1.11.0.54
2180
      Foreman-Api-Version:
2181
      - '2'
2182
      Apipie-Checksum:
2183
      - e1df2e8d43e22495b02a53b48e3b5298
2184
      Cache-Control:
2185
      - max-age=0, private, must-revalidate
2186
      X-Request-Id:
2187
      - 5a22a2bc-0b5f-4963-854c-8a8f01e23cd8
2188
      X-Runtime:
2189
      - '0.626364'
2190
      X-Powered-By:
2191
      - Phusion Passenger 4.0.18
2192
      Etag:
2193
      - '"c492a6ea4b88eec8daf0056ebe1d5c3b-gzip"'
2194
      Status:
2195
      - 200 OK
2196
      Vary:
2197
      - Accept-Encoding
2198
      Content-Length:
2199
      - '1272'
2200
      Content-Type:
2201
      - application/json; charset=utf-8
2202
      Set-Cookie:
2203
      - _session_id=36e849d46f326d1be930633e7b4d3b32; path=/; secure; HttpOnly
2204
      - request_method=PUT; path=/
2205
    body:
2206
      encoding: ASCII-8BIT
2207
      string: '  {"content_type":"docker","docker_upstream_name":"thomasmckay/hammer","mirror_on_sync":true,"unprotected":true,"full_path":"sat62.example.com:5000/testcorp-product_create_update_rpm_docker-thomasmckay_hammer","checksum_type":null,"container_repository_name":"testcorp-product_create_update_rpm_docker-thomasmckay_hammer","download_policy":null,"url":"https://registry-1.docker.io/","relative_path":"testcorp-product_create_update_rpm_docker-thomasmckay_hammer","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639754098","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
2208
        Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:52
2209
        UTC","updated_at":"2017-03-27 18:35:54 UTC","id":17,"name":"thomasmckay/hammer","label":"thomasmckay_hammer","product":{"id":69,"cp_id":"1490639746899","name":"product
2210
        create_update_rpm_docker","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}}
2211

  
2212
'
2213
    http_version: 
2214
  recorded_at: Mon, 27 Mar 2017 18:36:07 GMT
2215
- request:
2216
    method: delete
2217
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/69
2218
    body:
2219
      encoding: US-ASCII
2220
      string: ''
2221
    headers:
2222
      Accept:
2223
      - application/json;version=2
2224
      Accept-Encoding:
2225
      - gzip, deflate
2226
      User-Agent:
2227
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
2228
      Content-Type:
2229
      - application/json
2230
      Accept-Language:
2231
      - en
2232
      Host:
2233
      - devel.example.com:50083
2234
  response:
2235
    status:
2236
      code: 202
2237
      message: Accepted
2238
    headers:
2239
      Date:
2240
      - Mon, 27 Mar 2017 18:36:01 GMT
2241
      Server:
2242
      - Apache/2.4.6 (Red Hat Enterprise Linux)
2243
      X-Frame-Options:
2244
      - SAMEORIGIN
2245
      X-Xss-Protection:
2246
      - 1; mode=block
2247
      X-Content-Type-Options:
2248
      - nosniff
2249
      Foreman-Version:
2250
      - 1.11.0.54
2251
      Foreman-Api-Version:
2252
      - '2'
2253
      Apipie-Checksum:
2254
      - e1df2e8d43e22495b02a53b48e3b5298
2255
      Cache-Control:
2256
      - no-cache
2257
      X-Request-Id:
2258
      - ae573e2d-9e50-4dfe-9edc-89592c840d87
2259
      X-Runtime:
2260
      - '1.609683'
2261
      X-Powered-By:
2262
      - Phusion Passenger 4.0.18
2263
      Status:
2264
      - 202 Accepted
2265
      Content-Type:
2266
      - application/json; charset=utf-8
2267
      Set-Cookie:
2268
      - _session_id=7adbb6c9fa720481c008017d91609f6f; path=/; secure; HttpOnly
2269
      - request_method=DELETE; path=/
2270
      Transfer-Encoding:
2271
      - chunked
2272
    body:
2273
      encoding: UTF-8
2274
      string: '  {"id":"1c149fa8-7b0e-4319-9bfb-c5082f8043d4","label":"Actions::Katello::Product::Destroy","pending":true,"username":"admin","started_at":"2017-03-27
2275
        18:36:01 UTC","ended_at":null,"state":"planned","result":"pending","progress":0.0,"input":{"product":{"id":69,"name":"product
2276
        create_update_rpm_docker","label":"product_create_update_rpm_docker","cp_id":"1490639746899"},"provider":{"id":3,"name":"Anonymous"},"organization":{"id":3,"name":"Test
2277
        Corporation","label":"testcorp"},"services_checked":["pulp","pulp_auth","candlepin","candlepin_auth"],"product_id":69},"output":{},"humanized":{"action":"Delete
2278
        Product","input":[["product",{"text":"product ''product create_update_rpm_docker''","link":"#/products/69/info"}],["organization",{"text":"organization
2279
        ''Test Corporation''","link":"/organizations/3/edit"}]],"output":"","errors":[]},"cli_example":null}
2280

  
2281
'
2282
    http_version: 
2283
  recorded_at: Mon, 27 Mar 2017 18:36:08 GMT
2284
- request:
2285
    method: get
1359 2286
    uri: https://admin:changeme@devel.example.com:50083/api/status
1360 2287
    body:
1361 2288
      encoding: US-ASCII
......
1375 2302
      message: OK
1376 2303
    headers:
1377 2304
      Date:
1378
      - Mon, 27 Mar 2017 18:35:45 GMT
2305
      - Wed, 19 Apr 2017 17:07:06 GMT
1379 2306
      Server:
1380 2307
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1381 2308
      X-Frame-Options:
......
1393 2320
      Cache-Control:
1394 2321
      - max-age=0, private, must-revalidate
1395 2322
      X-Request-Id:
1396
      - 2f0aa20e-d26d-4178-b897-85ebec7a76a7
2323
      - a63c4270-bf77-4c1b-b3f7-d16ef5173a88
1397 2324
      X-Runtime:
1398
      - '0.044354'
2325
      - '0.057084'
1399 2326
      X-Powered-By:
1400 2327
      - Phusion Passenger 4.0.18
1401 2328
      Etag:
......
1407 2334
      Content-Type:
1408 2335
      - application/json; charset=utf-8
1409 2336
      Set-Cookie:
1410
      - _session_id=0a82afdb8e26bdaae00bc01aea8718f8; path=/; secure; HttpOnly
2337
      - _session_id=0df637eb94cb82f3d99e0b90f6182d76; path=/; secure; HttpOnly
1411 2338
    body:
1412 2339
      encoding: UTF-8
1413 2340
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
1414 2341
    http_version: 
1415
  recorded_at: Mon, 27 Mar 2017 18:35:52 GMT
2342
  recorded_at: Wed, 19 Apr 2017 17:07:25 GMT
1416 2343
- request:
1417 2344
    method: get
1418 2345
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
......
1434 2361
      message: OK
1435 2362
    headers:
1436 2363
      Date:
1437
      - Mon, 27 Mar 2017 18:35:46 GMT
2364
      - Wed, 19 Apr 2017 17:07:06 GMT
1438 2365
      Server:
1439 2366
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1440 2367
      X-Frame-Options:
......
1452 2379
      Cache-Control:
1453 2380
      - max-age=0, private, must-revalidate
1454 2381
      X-Request-Id:
1455
      - 603c7483-94ab-4581-9c4d-26571952b469
2382
      - 6324c1a7-c5df-4f2f-b418-79ffaf72a5d5
1456 2383
      X-Runtime:
1457
      - '0.037028'
2384
      - '0.066433'
1458 2385
      X-Powered-By:
1459 2386
      - Phusion Passenger 4.0.18
1460 2387
      Etag:
......
1468 2395
      Content-Type:
1469 2396
      - application/json; charset=utf-8
1470 2397
      Set-Cookie:
1471
      - _session_id=fa6d33f8622a1a8cfd25f0eb4f54ee57; path=/; secure; HttpOnly
2398
      - _session_id=538e62ef59f9905cd0f7d7110144e0c7; path=/; secure; HttpOnly
1472 2399
    body:
1473 2400
      encoding: ASCII-8BIT
1474 2401
      string: !binary |-
......
1547 2474
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
1548 2475
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
1549 2476
    http_version: 
1550
  recorded_at: Mon, 27 Mar 2017 18:35:52 GMT
2477
  recorded_at: Wed, 19 Apr 2017 17:07:25 GMT
1551 2478
- request:
1552 2479
    method: get
1553 2480
    uri: https://devel.example.com:50083/apidoc/v2.en.json
......
1560 2487
      Accept-Encoding:
1561 2488
      - gzip, deflate
1562 2489
      User-Agent:
1563
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
2490
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
1564 2491
      Content-Type:
1565 2492
      - application/json
1566 2493
      Accept-Language:
......
1573 2500
      message: OK
1574 2501
    headers:
1575 2502
      Date:
1576
      - Mon, 27 Mar 2017 18:35:46 GMT
2503
      - Wed, 19 Apr 2017 17:07:06 GMT
1577 2504
      Server:
1578 2505
      - Apache/2.4.6 (Red Hat Enterprise Linux)
1579 2506
      X-Frame-Options:
......
1591 2518
      Apipie-Checksum:
1592 2519
      - e1df2e8d43e22495b02a53b48e3b5298
1593 2520
      X-Request-Id:
1594
      - 213aff04-0e18-4bdb-bdbf-ac95c33b2814
2521
      - 696ede17-71c2-40d8-a605-c1bc94f90f1c
1595 2522
      X-Runtime:
1596
      - '0.006938'
2523
      - '0.011727'
1597 2524
      X-Powered-By:
1598 2525
      - Phusion Passenger 4.0.18
1599 2526
      Status:
......
21232 22159
        Ijp0cnVlfV0sImhlYWRlcnMiOm51bGx9fSwibGlua19leHRlbnNpb24iOiIu
21233 22160
        ZW4uaHRtbCJ9fQ==
21234 22161
    http_version: 
21235
  recorded_at: Mon, 27 Mar 2017 18:35:52 GMT
22162
  recorded_at: Wed, 19 Apr 2017 17:07:25 GMT
21236 22163
- request:
21237 22164
    method: get
21238 22165
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
21245 22172
      Accept-Encoding:
21246 22173
      - gzip, deflate
21247 22174
      User-Agent:
21248
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
22175
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21249 22176
      Content-Type:
21250 22177
      - application/json
21251 22178
      Accept-Language:
......
21258 22185
      message: OK
21259 22186
    headers:
21260 22187
      Date:
21261
      - Mon, 27 Mar 2017 18:35:46 GMT
22188
      - Wed, 19 Apr 2017 17:07:06 GMT
21262 22189
      Server:
21263 22190
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21264 22191
      X-Frame-Options:
......
21276 22203
      Cache-Control:
21277 22204
      - max-age=0, private, must-revalidate
21278 22205
      X-Request-Id:
21279
      - dc8664ec-0f26-4acb-9660-96e2f851ec0b
22206
      - 0040e89b-cca1-4d45-b4a2-16ea88bfa7a3
21280 22207
      X-Runtime:
21281
      - '0.032906'
22208
      - '0.082171'
21282 22209
      X-Powered-By:
21283 22210
      - Phusion Passenger 4.0.18
21284 22211
      Etag:
21285
      - '"45c0a1d1908621d8a984de3fe2b76754-gzip"'
22212
      - '"91d3578ba2141f4a65055b10047bdf20-gzip"'
21286 22213
      Status:
21287 22214
      - 200 OK
21288 22215
      Vary:
......
21292 22219
      Content-Type:
21293 22220
      - application/json; charset=utf-8
21294 22221
      Set-Cookie:
21295
      - _session_id=65f3758ff7ef0266456ac2deb672529d; path=/; secure; HttpOnly
22222
      - _session_id=00d28181fb792f5cff13388501a602e8; path=/; secure; HttpOnly
21296 22223
    body:
21297 22224
      encoding: ASCII-8BIT
21298 22225
      string: |
......
21306 22233
            "by": null,
21307 22234
            "order": null
21308 22235
          },
21309
          "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"}]
22236
          "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"}]
21310 22237
        }
21311 22238
    http_version: 
21312
  recorded_at: Mon, 27 Mar 2017 18:35:52 GMT
22239
  recorded_at: Wed, 19 Apr 2017 17:07:25 GMT
21313 22240
- request:
21314 22241
    method: get
21315 22242
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/products?enabled=true&per_page=999999&search=name=%22product%20create_update_rpm_docker%22
......
21322 22249
      Accept-Encoding:
21323 22250
      - gzip, deflate
21324 22251
      User-Agent:
21325
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
22252
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21326 22253
      Content-Type:
21327 22254
      - application/json
21328 22255
      Accept-Language:
......
21335 22262
      message: OK
21336 22263
    headers:
21337 22264
      Date:
21338
      - Mon, 27 Mar 2017 18:35:46 GMT
22265
      - Wed, 19 Apr 2017 17:07:06 GMT
21339 22266
      Server:
21340 22267
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21341 22268
      X-Frame-Options:
......
21353 22280
      Cache-Control:
21354 22281
      - max-age=0, private, must-revalidate
21355 22282
      X-Request-Id:
21356
      - 56771da6-216b-4ea4-8b23-ba99a7d30d17
22283
      - 68cc0db4-27d2-4d8e-918a-d958f2c9cab6
21357 22284
      X-Runtime:
21358
      - '0.083305'
22285
      - '0.080736'
21359 22286
      X-Powered-By:
21360 22287
      - Phusion Passenger 4.0.18
21361 22288
      Etag:
21362
      - '"d73e2784b9be21af45051fa93afe93a6-gzip"'
22289
      - '"a8015931953e6081537fdf1dc3613279-gzip"'
21363 22290
      Status:
21364 22291
      - 200 OK
21365 22292
      Vary:
......
21369 22296
      Content-Type:
21370 22297
      - application/json; charset=utf-8
21371 22298
      Set-Cookie:
21372
      - _session_id=d9223acb86dd956141fc6943ad820e7e; path=/; secure; HttpOnly
22299
      - _session_id=577f20e664a7bb6a154016d349068617; path=/; secure; HttpOnly
21373 22300
    body:
21374 22301
      encoding: ASCII-8BIT
21375
      string: '{"total":1,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":"name=\"product
22302
      string: '{"total":2,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":"name=\"product
21376 22303
        create_update_rpm_docker\"","sort":{"by":null,"order":null},"results":[]}
21377 22304

  
21378 22305
'
21379 22306
    http_version: 
21380
  recorded_at: Mon, 27 Mar 2017 18:35:52 GMT
22307
  recorded_at: Wed, 19 Apr 2017 17:07:25 GMT
21381 22308
- request:
21382 22309
    method: post
21383 22310
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products
......
21391 22318
      Accept-Encoding:
21392 22319
      - gzip, deflate
21393 22320
      User-Agent:
21394
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
22321
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21395 22322
      Content-Type:
21396 22323
      - application/json
21397 22324
      Accept-Language:
......
21406 22333
      message: OK
21407 22334
    headers:
21408 22335
      Date:
21409
      - Mon, 27 Mar 2017 18:35:46 GMT
22336
      - Wed, 19 Apr 2017 17:07:07 GMT
21410 22337
      Server:
21411 22338
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21412 22339
      X-Frame-Options:
......
21424 22351
      Cache-Control:
21425 22352
      - max-age=0, private, must-revalidate
21426 22353
      X-Request-Id:
21427
      - 8659c02c-a05a-49a3-a3fe-5332b976d0db
22354
      - 07018501-3468-45e7-9ec3-efb1b728702e
21428 22355
      X-Runtime:
21429
      - '1.208264'
22356
      - '2.650297'
21430 22357
      X-Powered-By:
21431 22358
      - Phusion Passenger 4.0.18
21432 22359
      Etag:
21433
      - '"00b52ffebb356574bc554189abc52e45-gzip"'
22360
      - '"a7651cb0343a5498684df4731f5b42d1-gzip"'
21434 22361
      Status:
21435 22362
      - 200 OK
21436 22363
      Vary:
21437 22364
      - Accept-Encoding
21438 22365
      Content-Length:
21439
      - '905'
22366
      - '906'
21440 22367
      Content-Type:
21441 22368
      - application/json; charset=utf-8
21442 22369
      Set-Cookie:
21443
      - _session_id=e902fc7d37e43b1a10f0388f434470e4; path=/; secure; HttpOnly
22370
      - _session_id=6caa072eb00d9a5ebff639b30af167bf; path=/; secure; HttpOnly
21444 22371
      - request_method=POST; path=/
21445 22372
    body:
21446 22373
      encoding: ASCII-8BIT
21447
      string: '  {"product_content":[],"available_content":[],"redhat":false,"id":69,"cp_id":null,"name":"product
22374
      string: '  {"product_content":[],"available_content":[],"redhat":false,"id":117,"cp_id":null,"name":"product
21448 22375
        create_update_rpm_docker","label":"product_create_update_rpm_docker","description":"Yum
21449 22376
        Product","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
21450
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":0,"created_at":"2017-03-27
21451
        18:35:46 UTC","updated_at":"2017-03-27 18:35:46 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":[]}
22377
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":0,"created_at":"2017-04-19
22378
        17:07:07 UTC","updated_at":"2017-04-19 17:07:07 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":[]}
21452 22379

  
21453 22380
'
21454 22381
    http_version: 
21455
  recorded_at: Mon, 27 Mar 2017 18:35:53 GMT
22382
  recorded_at: Wed, 19 Apr 2017 17:07:28 GMT
21456 22383
- request:
21457 22384
    method: get
21458
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/69/repositories?all=false&library=true&organization_id=3
22385
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/117/repositories?all=false&library=true&organization_id=3
21459 22386
    body:
21460 22387
      encoding: US-ASCII
21461 22388
      string: ''
......
21465 22392
      Accept-Encoding:
21466 22393
      - gzip, deflate
21467 22394
      User-Agent:
21468
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
22395
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21469 22396
      Content-Type:
21470 22397
      - application/json
21471 22398
      Accept-Language:
......
21478 22405
      message: OK
21479 22406
    headers:
21480 22407
      Date:
21481
      - Mon, 27 Mar 2017 18:35:47 GMT
22408
      - Wed, 19 Apr 2017 17:07:09 GMT
21482 22409
      Server:
21483 22410
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21484 22411
      X-Frame-Options:
......
21496 22423
      Cache-Control:
21497 22424
      - max-age=0, private, must-revalidate
21498 22425
      X-Request-Id:
21499
      - b56cee0c-5783-4e99-9678-c5b317141931
22426
      - 4c42c09c-106e-4741-8ecc-6498048a19e1
21500 22427
      X-Runtime:
21501
      - '0.065899'
22428
      - '0.054502'
21502 22429
      X-Powered-By:
21503 22430
      - Phusion Passenger 4.0.18
21504 22431
      Etag:
......
21512 22439
      Content-Type:
21513 22440
      - application/json; charset=utf-8
21514 22441
      Set-Cookie:
21515
      - _session_id=1a04888c19f298e4daaea1f6fe59fdb4; path=/; secure; HttpOnly
22442
      - _session_id=659d91a3ae0f5573468ee521cc36dc62; path=/; secure; HttpOnly
21516 22443
    body:
21517 22444
      encoding: ASCII-8BIT
21518 22445
      string: '{"total":0,"subtotal":0,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
21519 22446

  
21520 22447
'
21521 22448
    http_version: 
21522
  recorded_at: Mon, 27 Mar 2017 18:35:53 GMT
22449
  recorded_at: Wed, 19 Apr 2017 17:07:28 GMT
21523 22450
- request:
21524 22451
    method: post
21525 22452
    uri: https://admin:changeme@devel.example.com:50083/katello/api/repositories
21526 22453
    body:
21527 22454
      encoding: UTF-8
21528
      string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","verify_ssl":false,"unprotected":false,"mirror_on_sync":false,"download_policy":"on_demand","label":"Zoo","product_id":69,"content_type":"yum"}'
22455
      string: '{"organization_id":3,"name":"Zoo","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","verify_ssl":false,"unprotected":false,"mirror_on_sync":false,"download_policy":"on_demand","label":"Zoo","product_id":117,"content_type":"yum"}'
21529 22456
    headers:
21530 22457
      Accept:
21531 22458
      - application/json;version=2
21532 22459
      Accept-Encoding:
21533 22460
      - gzip, deflate
21534 22461
      User-Agent:
21535
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
22462
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21536 22463
      Content-Type:
21537 22464
      - application/json
21538 22465
      Accept-Language:
21539 22466
      - en
21540 22467
      Content-Length:
21541
      - '248'
22468
      - '249'
21542 22469
      Host:
21543 22470
      - devel.example.com:50083
21544 22471
  response:
......
21547 22474
      message: OK
21548 22475
    headers:
21549 22476
      Date:
21550
      - Mon, 27 Mar 2017 18:35:47 GMT
22477
      - Wed, 19 Apr 2017 17:07:09 GMT
21551 22478
      Server:
21552 22479
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21553 22480
      X-Frame-Options:
......
21565 22492
      Cache-Control:
21566 22493
      - max-age=0, private, must-revalidate
21567 22494
      X-Request-Id:
21568
      - 28b183af-195f-460c-a2e4-d241835efb85
22495
      - 5551fd01-b68b-4a3b-b3c6-3cdae717e0c8
21569 22496
      X-Runtime:
21570
      - '2.577466'
22497
      - '2.471428'
21571 22498
      X-Powered-By:
21572 22499
      - Phusion Passenger 4.0.18
21573 22500
      Etag:
21574
      - '"b9298799098261ae7b675ee3dd0309b0-gzip"'
22501
      - '"37baa8c3e03c6051c3a48feb2f531904-gzip"'
21575 22502
      Status:
21576 22503
      - 200 OK
21577 22504
      Vary:
21578 22505
      - Accept-Encoding
21579 22506
      Content-Length:
21580
      - '1222'
22507
      - '1223'
21581 22508
      Content-Type:
21582 22509
      - application/json; charset=utf-8
21583 22510
      Set-Cookie:
21584
      - _session_id=6c2a17993ca3863dac49bdccad77ce93; path=/; secure; HttpOnly
22511
      - _session_id=70c91989ed797a7a3a387ec862c1c45c; path=/; secure; HttpOnly
21585 22512
      - request_method=POST; path=/
21586 22513
    body:
21587 22514
      encoding: ASCII-8BIT
21588
      string: '  {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":false,"unprotected":false,"full_path":"https://sat62.example.com/pulp/repos/testcorp/Library/custom/product_create_update_rpm_docker/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"on_demand","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_create_update_rpm_docker/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1490639748543","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
21589
        Corporation","label":"testcorp","id":3},"created_at":"2017-03-27 18:35:47
21590
        UTC","updated_at":"2017-03-27 18:35:50 UTC","id":16,"name":"Zoo","label":"Zoo","product":{"id":69,"cp_id":"1490639746899","name":"product
22515
      string: '  {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":false,"unprotected":false,"full_path":"https://sat62.example.com/pulp/repos/testcorp/Library/custom/product_create_update_rpm_docker/Zoo/","checksum_type":null,"container_repository_name":null,"download_policy":"on_demand","url":"https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/","relative_path":"testcorp/Library/custom/product_create_update_rpm_docker/Zoo","major":null,"minor":null,"gpg_key_id":null,"content_id":"1492621631553","content_view_version_id":2,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"Test
22516
        Corporation","label":"testcorp","id":3},"created_at":"2017-04-19 17:07:09
22517
        UTC","updated_at":"2017-04-19 17:07:12 UTC","id":73,"name":"Zoo","label":"Zoo","product":{"id":117,"cp_id":"1492621628500","name":"product
21591 22518
        create_update_rpm_docker","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}}
21592 22519

  
21593 22520
'
21594 22521
    http_version: 
21595
  recorded_at: Mon, 27 Mar 2017 18:35:56 GMT
22522
  recorded_at: Wed, 19 Apr 2017 17:07:31 GMT
21596 22523
- request:
21597 22524
    method: get
21598 22525
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/products?enabled=true&per_page=999999&search=name=%22product%20create_update_rpm_docker%22
......
21605 22532
      Accept-Encoding:
21606 22533
      - gzip, deflate
21607 22534
      User-Agent:
21608
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
22535
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21609 22536
      Content-Type:
21610 22537
      - application/json
21611 22538
      Accept-Language:
......
21618 22545
      message: OK
21619 22546
    headers:
21620 22547
      Date:
21621
      - Mon, 27 Mar 2017 18:35:50 GMT
22548
      - Wed, 19 Apr 2017 17:07:12 GMT
21622 22549
      Server:
21623 22550
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21624 22551
      X-Frame-Options:
......
21636 22563
      Cache-Control:
21637 22564
      - max-age=0, private, must-revalidate
21638 22565
      X-Request-Id:
21639
      - a72e987c-6a22-4a0d-94e1-c04bb4a8c844
22566
      - 3574fd66-17d1-4c29-bd14-c3b8178f9f58
21640 22567
      X-Runtime:
21641
      - '0.074302'
22568
      - '0.066153'
21642 22569
      X-Powered-By:
21643 22570
      - Phusion Passenger 4.0.18
21644 22571
      Etag:
21645
      - '"02a640855ebe22618de485c05b9b7ab3-gzip"'
22572
      - '"3eb457b9948c4b9f6a6118c7b1be157b-gzip"'
21646 22573
      Status:
21647 22574
      - 200 OK
21648 22575
      Vary:
21649 22576
      - Accept-Encoding
21650 22577
      Content-Length:
21651
      - '548'
22578
      - '549'
21652 22579
      Content-Type:
21653 22580
      - application/json; charset=utf-8
21654 22581
      Set-Cookie:
21655
      - _session_id=32ced78dbefd7ddf894649b3bfa898bc; path=/; secure; HttpOnly
22582
      - _session_id=50d71890a97f3cdf689ef97d113daf43; path=/; secure; HttpOnly
21656 22583
    body:
21657 22584
      encoding: ASCII-8BIT
21658
      string: '{"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":"name=\"product
21659
        create_update_rpm_docker\"","sort":{"by":null,"order":null},"results":[{"id":69,"cp_id":"1490639746899","name":"product
22585
      string: '{"total":3,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":"name=\"product
22586
        create_update_rpm_docker\"","sort":{"by":null,"order":null},"results":[{"id":117,"cp_id":"1492621628500","name":"product
21660 22587
        create_update_rpm_docker","label":"product_create_update_rpm_docker","description":"Yum
21661 22588
        Product","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
21662 22589
        Corporation","label":"testcorp","id":3},"sync_plan":null,"repository_count":1}]}
21663 22590

  
21664 22591
'
21665 22592
    http_version: 
21666
  recorded_at: Mon, 27 Mar 2017 18:35:56 GMT
22593
  recorded_at: Wed, 19 Apr 2017 17:07:31 GMT
21667 22594
- request:
21668 22595
    method: get
21669
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/69/repositories?enabled=true&library=true&organization_id=3&page_size=999999&paged=true
22596
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/117/repositories?enabled=true&library=true&organization_id=3&page_size=999999&paged=true
21670 22597
    body:
21671 22598
      encoding: US-ASCII
21672 22599
      string: ''
......
21676 22603
      Accept-Encoding:
21677 22604
      - gzip, deflate
21678 22605
      User-Agent:
21679
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
22606
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21680 22607
      Content-Type:
21681 22608
      - application/json
21682 22609
      Accept-Language:
......
21689 22616
      message: OK
21690 22617
    headers:
21691 22618
      Date:
21692
      - Mon, 27 Mar 2017 18:35:50 GMT
22619
      - Wed, 19 Apr 2017 17:07:12 GMT
21693 22620
      Server:
21694 22621
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21695 22622
      X-Frame-Options:
......
21707 22634
      Cache-Control:
21708 22635
      - max-age=0, private, must-revalidate
21709 22636
      X-Request-Id:
21710
      - 37a86881-da97-415e-aef0-b641de8080cf
22637
      - 7b16cf89-7ab4-42e1-b614-5ceebe5c7e3c
21711 22638
      X-Runtime:
21712
      - '0.053778'
22639
      - '0.062022'
21713 22640
      X-Powered-By:
21714 22641
      - Phusion Passenger 4.0.18
21715 22642
      Etag:
21716
      - '"7ef3e1ef2aa26cae8d902d91f31965d5-gzip"'
22643
      - '"9a072ba6a957d119d280e90e68f111d6-gzip"'
21717 22644
      Status:
21718 22645
      - 200 OK
21719 22646
      Vary:
21720 22647
      - Accept-Encoding
21721 22648
      Content-Length:
21722
      - '663'
22649
      - '664'
21723 22650
      Content-Type:
21724 22651
      - application/json; charset=utf-8
21725 22652
      Set-Cookie:
21726
      - _session_id=73c18456d3359add857b2ef7d0108abc; path=/; secure; HttpOnly
22653
      - _session_id=b6076e8b84c6b6ea1f517199fff4f8ae; path=/; secure; HttpOnly
21727 22654
    body:
21728 22655
      encoding: ASCII-8BIT
21729
      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_create_update_rpm_docker/Zoo","id":16,"name":"Zoo","label":"Zoo","product":{"id":69,"cp_id":"1490639746899","name":"product
22656
      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_create_update_rpm_docker/Zoo","id":73,"name":"Zoo","label":"Zoo","product":{"id":117,"cp_id":"1492621628500","name":"product
21730 22657
        create_update_rpm_docker","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}]}
21731 22658

  
21732 22659
'
21733 22660
    http_version: 
21734
  recorded_at: Mon, 27 Mar 2017 18:35:56 GMT
22661
  recorded_at: Wed, 19 Apr 2017 17:07:31 GMT
21735 22662
- request:
21736 22663
    method: put
21737
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/69
22664
    uri: https://admin:changeme@devel.example.com:50083/katello/api/products/117
21738 22665
    body:
21739 22666
      encoding: UTF-8
21740 22667
      string: '{"name":"product create_update_rpm_docker","organization_id":3,"description":"Docker
......
21745 22672
      Accept-Encoding:
21746 22673
      - gzip, deflate
21747 22674
      User-Agent:
21748
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
22675
      - rest-client/2.0.1 (linux-gnu x86_64) ruby/2.3.1p112
21749 22676
      Content-Type:
21750 22677
      - application/json
21751 22678
      Accept-Language:
......
21760 22687
      message: OK
21761 22688
    headers:
21762 22689
      Date:
21763
      - Mon, 27 Mar 2017 18:35:50 GMT
22690
      - Wed, 19 Apr 2017 17:07:12 GMT
21764 22691
      Server:
21765 22692
      - Apache/2.4.6 (Red Hat Enterprise Linux)
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff