Project

General

Profile

Download (97.9 KB) Statistics
| Branch: | Tag: | Revision:
---
http_interactions:
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"package_group\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "43"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:33:30 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "1770"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"5d6c31b3-e2c5-431f-942b-e3be7b4c5051\", \"unit_type_id\": \"package_group\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fef\"}, \"id\": \"51474fe84964c84cd4fd5fef\", \"owner_id\": \"yum_importer\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"5d6c31b3-e2c5-431f-942b-e3be7b4c5051\", \"id\": \"bird\", \"name\": \"bird\"}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"unit_type_id\": \"package_group\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fee\"}, \"id\": \"51474fe84964c84cd4fd5fee\", \"owner_id\": \"yum_importer\", \"metadata\": {\"_storage_path\": null, \"mandatory_package_names\": [\"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\", \"penguin\"], \"repo_id\": \"integration_test_id\", \"description\": \"\", \"user_visible\": true, \"default\": true, \"_ns\": \"units_package_group\", \"display_order\": 1024, \"optional_package_names\": [], \"translated_name\": {}, \"translated_description\": {}, \"conditional_package_names\": [], \"default_package_names\": [], \"_content_type_id\": \"package_group\", \"langonly\": null, \"_id\": \"e7e7a774-f9d0-45ad-a7d9-06bf3c75ec30\", \"id\": \"mammal\", \"name\": \"mammal\"}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:33:30 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"package_category\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "46"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:33:30 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "708"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"7a4d40e6-3cd8-4043-bd11-13d0878f963c\", \"unit_type_id\": \"package_category\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5ff0\"}, \"id\": \"51474fe84964c84cd4fd5ff0\", \"owner_id\": \"yum_importer\", \"metadata\": {\"_storage_path\": null, \"repo_id\": \"integration_test_id\", \"description\": null, \"_ns\": \"units_package_category\", \"display_order\": 99, \"translated_name\": {}, \"packagegroupids\": [\"mammal\", \"bird\"], \"translated_description\": {}, \"_content_type_id\": \"package_category\", \"_id\": \"7a4d40e6-3cd8-4043-bd11-13d0878f963c\", \"id\": \"all\", \"name\": \"all\"}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:33:30 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"erratum\"],\"fields\":{\"unit\":[],\"association\":[\"unit_id\"]}}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "84"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:33:30 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "372"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe8\"}, \"unit_id\": \"80d62106-fe6c-4c51-9e22-65cd142cd833\", \"unit_type_id\": \"erratum\", \"metadata\": {\"_id\": \"80d62106-fe6c-4c51-9e22-65cd142cd833\"}}, {\"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fea\"}, \"unit_id\": \"c4fa1771-fae4-4d05-aed9-4012bb375494\", \"unit_type_id\": \"erratum\", \"metadata\": {\"_id\": \"c4fa1771-fae4-4d05-aed9-4012bb375494\"}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:33:30 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"rpm\"],\"fields\":{\"unit\":[],\"association\":[\"unit_id\"]}}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "80"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:33:30 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "1456"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe2\"}, \"unit_id\": \"ae33cf32-47ef-4599-a9e3-494a1fe38c01\", \"unit_type_id\": \"rpm\", \"metadata\": {\"_id\": \"ae33cf32-47ef-4599-a9e3-494a1fe38c01\"}}, {\"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fde\"}, \"unit_id\": \"ac837925-9c91-498c-9317-b061939356c8\", \"unit_type_id\": \"rpm\", \"metadata\": {\"_id\": \"ac837925-9c91-498c-9317-b061939356c8\"}}, {\"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fdd\"}, \"unit_id\": \"b1e173d6-2ea1-4056-b62a-dd20bd00cc38\", \"unit_type_id\": \"rpm\", \"metadata\": {\"_id\": \"b1e173d6-2ea1-4056-b62a-dd20bd00cc38\"}}, {\"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fdf\"}, \"unit_id\": \"bbbc1d0b-7109-4920-a156-b00645043165\", \"unit_type_id\": \"rpm\", \"metadata\": {\"_id\": \"bbbc1d0b-7109-4920-a156-b00645043165\"}}, {\"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe0\"}, \"unit_id\": \"1a89d167-4134-46aa-9d1a-6ad0edca5ea6\", \"unit_type_id\": \"rpm\", \"metadata\": {\"_id\": \"1a89d167-4134-46aa-9d1a-6ad0edca5ea6\"}}, {\"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe1\"}, \"unit_id\": \"bbf867d8-a869-41c7-a745-a64c0baa727d\", \"unit_type_id\": \"rpm\", \"metadata\": {\"_id\": \"bbf867d8-a869-41c7-a745-a64c0baa727d\"}}, {\"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe4\"}, \"unit_id\": \"b84c43b9-188e-44d3-a9d6-9ba2004db693\", \"unit_type_id\": \"rpm\", \"metadata\": {\"_id\": \"b84c43b9-188e-44d3-a9d6-9ba2004db693\"}}, {\"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe3\"}, \"unit_id\": \"ccb247ee-cc77-422f-8020-08d498ad9ab1\", \"unit_type_id\": \"rpm\", \"metadata\": {\"_id\": \"ccb247ee-cc77-422f-8020-08d498ad9ab1\"}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:33:31 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"rpm\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "33"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:33:31 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "22274"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"ae33cf32-47ef-4599-a9e3-494a1fe38c01\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe2\"}, \"id\": \"51474fe84964c84cd4fd5fe2\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"cheetah-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"cheetah\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//cheetah.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\\\" name=\\\"cheetah\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//cheetah.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\\\" name=\\\"cheetah\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>cheetah</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae</checksum>\\n <summary>A dummy package of cheetah</summary>\\n <description>A dummy package of cheetah</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891028\\\" build=\\\"1308257472\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"cheetah-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>cheetah-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"cheetah\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of cheetah\", \"arch\": \"noarch\", \"name\": \"cheetah\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//cheetah/0.3/0.8/noarch/422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae/cheetah-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\", \"filelist\": [\"//cheetah.txt\"], \"relativepath\": \"cheetah-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"ae33cf32-47ef-4599-a9e3-494a1fe38c01\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"ac837925-9c91-498c-9317-b061939356c8\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fde\"}, \"id\": \"51474fe84964c84cd4fd5fde\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"elephant-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"elephant\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//elephant.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\\\" name=\\\"elephant\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//elephant.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\\\" name=\\\"elephant\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>elephant</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3</checksum>\\n <summary>A dummy package of elephant</summary>\\n <description>A dummy package of elephant</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891027\\\" build=\\\"1308257466\\\"/>\\n <size package=\\\"2244\\\" installed=\\\"42\\\" archive=\\\"296\\\"/>\\n<location href=\\\"elephant-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>elephant-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2028\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"elephant\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of elephant\", \"arch\": \"noarch\", \"name\": \"elephant\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//elephant/0.3/0.8/noarch/3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3/elephant-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\", \"filelist\": [\"//elephant.txt\"], \"relativepath\": \"elephant-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"ac837925-9c91-498c-9317-b061939356c8\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"b1e173d6-2ea1-4056-b62a-dd20bd00cc38\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fdd\"}, \"id\": \"51474fe84964c84cd4fd5fdd\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"giraffe-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"giraffe\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//giraffe.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\\\" name=\\\"giraffe\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//giraffe.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\\\" name=\\\"giraffe\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>giraffe</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14</checksum>\\n <summary>A dummy package of giraffe</summary>\\n <description>A dummy package of giraffe</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891027\\\" build=\\\"1308257414\\\"/>\\n <size package=\\\"2236\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"giraffe-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>giraffe-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"giraffe\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of giraffe\", \"arch\": \"noarch\", \"name\": \"giraffe\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//giraffe/0.3/0.8/noarch/f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14/giraffe-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\", \"filelist\": [\"//giraffe.txt\"], \"relativepath\": \"giraffe-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"b1e173d6-2ea1-4056-b62a-dd20bd00cc38\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"bbbc1d0b-7109-4920-a156-b00645043165\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fdf\"}, \"id\": \"51474fe84964c84cd4fd5fdf\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"lion-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"lion\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//lion.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\\\" name=\\\"lion\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//lion.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\\\" name=\\\"lion\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>lion</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4</checksum>\\n <summary>A dummy package of lion</summary>\\n <description>A dummy package of lion</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891028\\\" build=\\\"1308257455\\\"/>\\n <size package=\\\"2212\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"lion-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>lion-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2000\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"lion\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of lion\", \"arch\": \"noarch\", \"name\": \"lion\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//lion/0.3/0.8/noarch/12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4/lion-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\", \"filelist\": [\"//lion.txt\"], \"relativepath\": \"lion-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"bbbc1d0b-7109-4920-a156-b00645043165\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"1a89d167-4134-46aa-9d1a-6ad0edca5ea6\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe0\"}, \"id\": \"51474fe84964c84cd4fd5fe0\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"monkey-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"monkey\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//monkey.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\\\" name=\\\"monkey\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//monkey.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\\\" name=\\\"monkey\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>monkey</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1</checksum>\\n <summary>A dummy package of monkey</summary>\\n <description>A dummy package of monkey</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257260\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"monkey-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>monkey-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"monkey\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of monkey\", \"arch\": \"noarch\", \"name\": \"monkey\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//monkey/0.3/0.8/noarch/0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1/monkey-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\", \"filelist\": [\"//monkey.txt\"], \"relativepath\": \"monkey-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"1a89d167-4134-46aa-9d1a-6ad0edca5ea6\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"bbf867d8-a869-41c7-a745-a64c0baa727d\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe1\"}, \"id\": \"51474fe84964c84cd4fd5fe1\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"penguin-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"penguin\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//penguin.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\\\" name=\\\"penguin\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//penguin.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\\\" name=\\\"penguin\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>penguin</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694</checksum>\\n <summary>A dummy package of penguin</summary>\\n <description>A dummy package of penguin</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257460\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"penguin-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>penguin-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"penguin\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of penguin\", \"arch\": \"noarch\", \"name\": \"penguin\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\", \"filelist\": [\"//penguin.txt\"], \"relativepath\": \"penguin-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"bbf867d8-a869-41c7-a745-a64c0baa727d\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"b84c43b9-188e-44d3-a9d6-9ba2004db693\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe4\"}, \"id\": \"51474fe84964c84cd4fd5fe4\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"squirrel-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"squirrel\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//squirrel.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\\\" name=\\\"squirrel\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//squirrel.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\\\" name=\\\"squirrel\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>squirrel</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\\n <summary>A dummy package of squirrel</summary>\\n <description>A dummy package of squirrel</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257502\\\"/>\\n <size package=\\\"2248\\\" installed=\\\"42\\\" archive=\\\"296\\\"/>\\n<location href=\\\"squirrel-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>squirrel-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2028\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"squirrel\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of squirrel\", \"arch\": \"noarch\", \"name\": \"squirrel\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\", \"filelist\": [\"//squirrel.txt\"], \"relativepath\": \"squirrel-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"b84c43b9-188e-44d3-a9d6-9ba2004db693\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"ccb247ee-cc77-422f-8020-08d498ad9ab1\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe3\"}, \"id\": \"51474fe84964c84cd4fd5fe3\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"walrus-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"walrus\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//walrus.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\\\" name=\\\"walrus\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//walrus.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\\\" name=\\\"walrus\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>walrus</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\\n <summary>A dummy package of walrus</summary>\\n <description>A dummy package of walrus</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891030\\\" build=\\\"1308257449\\\"/>\\n <size package=\\\"2236\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"walrus-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>walrus-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"walrus\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of walrus\", \"arch\": \"noarch\", \"name\": \"walrus\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\", \"filelist\": [\"//walrus.txt\"], \"relativepath\": \"walrus-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"ccb247ee-cc77-422f-8020-08d498ad9ab1\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:33:31 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"rpm\"],\"filters\":{\"unit\":{\"$and\":[{\"name\":\"cheetah\"},{\"version\":\"0.3\"},{\"release\":\"0.8\"},{\"epoch\":\"0\"}]}},\"sort\":{\"unit\":[[\"name\",\"ascending\"],[\"version\",\"descending\"]]}}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "196"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:33:31 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "2791"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"ae33cf32-47ef-4599-a9e3-494a1fe38c01\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe2\"}, \"id\": \"51474fe84964c84cd4fd5fe2\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"cheetah-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"cheetah\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//cheetah.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\\\" name=\\\"cheetah\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//cheetah.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\\\" name=\\\"cheetah\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>cheetah</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae</checksum>\\n <summary>A dummy package of cheetah</summary>\\n <description>A dummy package of cheetah</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891028\\\" build=\\\"1308257472\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"cheetah-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>cheetah-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"cheetah\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of cheetah\", \"arch\": \"noarch\", \"name\": \"cheetah\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//cheetah/0.3/0.8/noarch/422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae/cheetah-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\", \"filelist\": [\"//cheetah.txt\"], \"relativepath\": \"cheetah-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"ae33cf32-47ef-4599-a9e3-494a1fe38c01\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:33:31 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"erratum\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "37"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:33:31 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "1939"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"80d62106-fe6c-4c51-9e22-65cd142cd833\", \"unit_type_id\": \"erratum\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe8\"}, \"id\": \"51474fe84964c84cd4fd5fe8\", \"owner_id\": \"yum_importer\", \"metadata\": {\"issued\": \"2010-01-01 01:01:01\", \"references\": [], \"_content_type_id\": \"erratum\", \"id\": \"RHEA-2010:0001\", \"severity\": \"\", \"title\": \"Empty errata\", \"_ns\": \"units_erratum\", \"version\": \"1\", \"reboot_suggested\": false, \"type\": \"security\", \"pkglist\": [], \"status\": \"stable\", \"updated\": \"\", \"description\": \"Empty errata\", \"pushcount\": 1, \"from_str\": \"lzap+pub@redhat.com\", \"_storage_path\": null, \"rights\": \"\", \"solution\": \"\", \"summary\": \"\", \"release\": \"1\", \"_id\": \"80d62106-fe6c-4c51-9e22-65cd142cd833\"}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"c4fa1771-fae4-4d05-aed9-4012bb375494\", \"unit_type_id\": \"erratum\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fea\"}, \"id\": \"51474fe84964c84cd4fd5fea\", \"owner_id\": \"yum_importer\", \"metadata\": {\"issued\": \"2010-01-01 01:01:01\", \"references\": [], \"_content_type_id\": \"erratum\", \"id\": \"RHEA-2010:0002\", \"severity\": \"\", \"title\": \"One package errata\", \"_ns\": \"units_erratum\", \"version\": \"1\", \"reboot_suggested\": false, \"type\": \"security\", \"pkglist\": [{\"packages\": [{\"src\": \"http://www.fedoraproject.org\", \"name\": \"elephant\", \"filename\": \"elephant-0.3-0.8.noarch.rpm\", \"epoch\": null, \"version\": \"0.3\", \"release\": \"0.8\", \"arch\": \"noarch\"}], \"name\": \"1\", \"short\": \"\"}], \"status\": \"stable\", \"updated\": \"\", \"description\": \"One package errata\", \"pushcount\": 1, \"from_str\": \"lzap+pub@redhat.com\", \"_storage_path\": null, \"rights\": \"\", \"solution\": \"\", \"summary\": \"\", \"release\": \"1\", \"_id\": \"c4fa1771-fae4-4d05-aed9-4012bb375494\"}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:33:31 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"distribution\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "42"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:33:31 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "2314"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"06853adc-aac1-48a6-bbad-3fbaa987adb7\", \"unit_type_id\": \"distribution\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe5\"}, \"id\": \"51474fe84964c84cd4fd5fe5\", \"owner_id\": \"yum_importer\", \"metadata\": {\"files\": [{\"checksumtype\": \"sha256\", \"relativepath\": \"images/test2.img\", \"fileName\": \"test2.img\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/images/test2.img\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/images\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"test2.img\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64/images\", \"size\": 0}, {\"checksumtype\": \"sha256\", \"relativepath\": \"empty.iso\", \"fileName\": \"empty.iso\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/empty.iso\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"empty.iso\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64\", \"size\": 0}, {\"checksumtype\": \"sha256\", \"relativepath\": \"images/test1.img\", \"fileName\": \"test1.img\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/images/test1.img\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/images\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"test1.img\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64/images\", \"size\": 0}], \"_storage_path\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64\", \"family\": \"Test Family\", \"_ns\": \"units_distribution\", \"variant\": \"TestVariant\", \"version\": \"16\", \"_content_type_id\": \"distribution\", \"_id\": \"06853adc-aac1-48a6-bbad-3fbaa987adb7\", \"arch\": \"x86_64\", \"id\": \"ks-Test Family-TestVariant-16-x86_64\"}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:33:32 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"rpm\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "33"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:33:32 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "22274"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"ae33cf32-47ef-4599-a9e3-494a1fe38c01\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe2\"}, \"id\": \"51474fe84964c84cd4fd5fe2\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"cheetah-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"cheetah\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//cheetah.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\\\" name=\\\"cheetah\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//cheetah.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\\\" name=\\\"cheetah\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>cheetah</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae</checksum>\\n <summary>A dummy package of cheetah</summary>\\n <description>A dummy package of cheetah</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891028\\\" build=\\\"1308257472\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"cheetah-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>cheetah-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"cheetah\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of cheetah\", \"arch\": \"noarch\", \"name\": \"cheetah\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//cheetah/0.3/0.8/noarch/422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae/cheetah-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\", \"filelist\": [\"//cheetah.txt\"], \"relativepath\": \"cheetah-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"ae33cf32-47ef-4599-a9e3-494a1fe38c01\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"ac837925-9c91-498c-9317-b061939356c8\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fde\"}, \"id\": \"51474fe84964c84cd4fd5fde\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"elephant-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"elephant\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//elephant.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\\\" name=\\\"elephant\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//elephant.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\\\" name=\\\"elephant\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>elephant</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3</checksum>\\n <summary>A dummy package of elephant</summary>\\n <description>A dummy package of elephant</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891027\\\" build=\\\"1308257466\\\"/>\\n <size package=\\\"2244\\\" installed=\\\"42\\\" archive=\\\"296\\\"/>\\n<location href=\\\"elephant-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>elephant-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2028\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"elephant\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of elephant\", \"arch\": \"noarch\", \"name\": \"elephant\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//elephant/0.3/0.8/noarch/3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3/elephant-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\", \"filelist\": [\"//elephant.txt\"], \"relativepath\": \"elephant-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"ac837925-9c91-498c-9317-b061939356c8\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"b1e173d6-2ea1-4056-b62a-dd20bd00cc38\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fdd\"}, \"id\": \"51474fe84964c84cd4fd5fdd\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"giraffe-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"giraffe\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//giraffe.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\\\" name=\\\"giraffe\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//giraffe.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\\\" name=\\\"giraffe\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>giraffe</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14</checksum>\\n <summary>A dummy package of giraffe</summary>\\n <description>A dummy package of giraffe</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891027\\\" build=\\\"1308257414\\\"/>\\n <size package=\\\"2236\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"giraffe-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>giraffe-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"giraffe\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of giraffe\", \"arch\": \"noarch\", \"name\": \"giraffe\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//giraffe/0.3/0.8/noarch/f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14/giraffe-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\", \"filelist\": [\"//giraffe.txt\"], \"relativepath\": \"giraffe-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"b1e173d6-2ea1-4056-b62a-dd20bd00cc38\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"bbbc1d0b-7109-4920-a156-b00645043165\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fdf\"}, \"id\": \"51474fe84964c84cd4fd5fdf\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"lion-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"lion\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//lion.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\\\" name=\\\"lion\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//lion.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\\\" name=\\\"lion\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>lion</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4</checksum>\\n <summary>A dummy package of lion</summary>\\n <description>A dummy package of lion</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891028\\\" build=\\\"1308257455\\\"/>\\n <size package=\\\"2212\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"lion-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>lion-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2000\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"lion\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of lion\", \"arch\": \"noarch\", \"name\": \"lion\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//lion/0.3/0.8/noarch/12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4/lion-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\", \"filelist\": [\"//lion.txt\"], \"relativepath\": \"lion-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"bbbc1d0b-7109-4920-a156-b00645043165\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"1a89d167-4134-46aa-9d1a-6ad0edca5ea6\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe0\"}, \"id\": \"51474fe84964c84cd4fd5fe0\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"monkey-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"monkey\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//monkey.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\\\" name=\\\"monkey\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//monkey.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\\\" name=\\\"monkey\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>monkey</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1</checksum>\\n <summary>A dummy package of monkey</summary>\\n <description>A dummy package of monkey</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257260\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"monkey-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>monkey-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"monkey\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of monkey\", \"arch\": \"noarch\", \"name\": \"monkey\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//monkey/0.3/0.8/noarch/0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1/monkey-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\", \"filelist\": [\"//monkey.txt\"], \"relativepath\": \"monkey-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"1a89d167-4134-46aa-9d1a-6ad0edca5ea6\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"bbf867d8-a869-41c7-a745-a64c0baa727d\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe1\"}, \"id\": \"51474fe84964c84cd4fd5fe1\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"penguin-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"penguin\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//penguin.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\\\" name=\\\"penguin\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//penguin.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\\\" name=\\\"penguin\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>penguin</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694</checksum>\\n <summary>A dummy package of penguin</summary>\\n <description>A dummy package of penguin</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257460\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"penguin-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>penguin-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"penguin\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of penguin\", \"arch\": \"noarch\", \"name\": \"penguin\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\", \"filelist\": [\"//penguin.txt\"], \"relativepath\": \"penguin-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"bbf867d8-a869-41c7-a745-a64c0baa727d\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"b84c43b9-188e-44d3-a9d6-9ba2004db693\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe4\"}, \"id\": \"51474fe84964c84cd4fd5fe4\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"squirrel-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"squirrel\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//squirrel.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\\\" name=\\\"squirrel\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//squirrel.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\\\" name=\\\"squirrel\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>squirrel</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\\n <summary>A dummy package of squirrel</summary>\\n <description>A dummy package of squirrel</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257502\\\"/>\\n <size package=\\\"2248\\\" installed=\\\"42\\\" archive=\\\"296\\\"/>\\n<location href=\\\"squirrel-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>squirrel-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2028\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"squirrel\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of squirrel\", \"arch\": \"noarch\", \"name\": \"squirrel\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\", \"filelist\": [\"//squirrel.txt\"], \"relativepath\": \"squirrel-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"b84c43b9-188e-44d3-a9d6-9ba2004db693\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"ccb247ee-cc77-422f-8020-08d498ad9ab1\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe3\"}, \"id\": \"51474fe84964c84cd4fd5fe3\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"walrus-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"walrus\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//walrus.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\\\" name=\\\"walrus\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//walrus.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\\\" name=\\\"walrus\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>walrus</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\\n <summary>A dummy package of walrus</summary>\\n <description>A dummy package of walrus</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891030\\\" build=\\\"1308257449\\\"/>\\n <size package=\\\"2236\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"walrus-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>walrus-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"walrus\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of walrus\", \"arch\": \"noarch\", \"name\": \"walrus\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\", \"filelist\": [\"//walrus.txt\"], \"relativepath\": \"walrus-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"ccb247ee-cc77-422f-8020-08d498ad9ab1\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:33:32 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"rpm\"]}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "33"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:33:32 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "22274"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"ae33cf32-47ef-4599-a9e3-494a1fe38c01\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe2\"}, \"id\": \"51474fe84964c84cd4fd5fe2\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"cheetah-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"cheetah\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//cheetah.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\\\" name=\\\"cheetah\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//cheetah.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\\\" name=\\\"cheetah\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>cheetah</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae</checksum>\\n <summary>A dummy package of cheetah</summary>\\n <description>A dummy package of cheetah</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891028\\\" build=\\\"1308257472\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"cheetah-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>cheetah-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"cheetah\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of cheetah\", \"arch\": \"noarch\", \"name\": \"cheetah\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//cheetah/0.3/0.8/noarch/422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae/cheetah-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\", \"filelist\": [\"//cheetah.txt\"], \"relativepath\": \"cheetah-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"ae33cf32-47ef-4599-a9e3-494a1fe38c01\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"ac837925-9c91-498c-9317-b061939356c8\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fde\"}, \"id\": \"51474fe84964c84cd4fd5fde\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"elephant-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"elephant\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//elephant.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\\\" name=\\\"elephant\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//elephant.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\\\" name=\\\"elephant\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>elephant</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3</checksum>\\n <summary>A dummy package of elephant</summary>\\n <description>A dummy package of elephant</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891027\\\" build=\\\"1308257466\\\"/>\\n <size package=\\\"2244\\\" installed=\\\"42\\\" archive=\\\"296\\\"/>\\n<location href=\\\"elephant-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>elephant-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2028\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"elephant\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of elephant\", \"arch\": \"noarch\", \"name\": \"elephant\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//elephant/0.3/0.8/noarch/3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3/elephant-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\", \"filelist\": [\"//elephant.txt\"], \"relativepath\": \"elephant-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"ac837925-9c91-498c-9317-b061939356c8\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"b1e173d6-2ea1-4056-b62a-dd20bd00cc38\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fdd\"}, \"id\": \"51474fe84964c84cd4fd5fdd\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"giraffe-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"giraffe\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//giraffe.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\\\" name=\\\"giraffe\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//giraffe.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\\\" name=\\\"giraffe\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>giraffe</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14</checksum>\\n <summary>A dummy package of giraffe</summary>\\n <description>A dummy package of giraffe</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891027\\\" build=\\\"1308257414\\\"/>\\n <size package=\\\"2236\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"giraffe-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>giraffe-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"giraffe\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of giraffe\", \"arch\": \"noarch\", \"name\": \"giraffe\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//giraffe/0.3/0.8/noarch/f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14/giraffe-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\", \"filelist\": [\"//giraffe.txt\"], \"relativepath\": \"giraffe-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"b1e173d6-2ea1-4056-b62a-dd20bd00cc38\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"bbbc1d0b-7109-4920-a156-b00645043165\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fdf\"}, \"id\": \"51474fe84964c84cd4fd5fdf\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"lion-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"lion\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//lion.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\\\" name=\\\"lion\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//lion.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\\\" name=\\\"lion\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>lion</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4</checksum>\\n <summary>A dummy package of lion</summary>\\n <description>A dummy package of lion</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891028\\\" build=\\\"1308257455\\\"/>\\n <size package=\\\"2212\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"lion-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>lion-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2000\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"lion\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of lion\", \"arch\": \"noarch\", \"name\": \"lion\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//lion/0.3/0.8/noarch/12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4/lion-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\", \"filelist\": [\"//lion.txt\"], \"relativepath\": \"lion-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"bbbc1d0b-7109-4920-a156-b00645043165\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"1a89d167-4134-46aa-9d1a-6ad0edca5ea6\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe0\"}, \"id\": \"51474fe84964c84cd4fd5fe0\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"monkey-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"monkey\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//monkey.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\\\" name=\\\"monkey\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//monkey.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\\\" name=\\\"monkey\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>monkey</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1</checksum>\\n <summary>A dummy package of monkey</summary>\\n <description>A dummy package of monkey</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257260\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"monkey-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>monkey-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"monkey\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of monkey\", \"arch\": \"noarch\", \"name\": \"monkey\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//monkey/0.3/0.8/noarch/0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1/monkey-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\", \"filelist\": [\"//monkey.txt\"], \"relativepath\": \"monkey-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"1a89d167-4134-46aa-9d1a-6ad0edca5ea6\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"bbf867d8-a869-41c7-a745-a64c0baa727d\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe1\"}, \"id\": \"51474fe84964c84cd4fd5fe1\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"penguin-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"penguin\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//penguin.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\\\" name=\\\"penguin\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//penguin.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\\\" name=\\\"penguin\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>penguin</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694</checksum>\\n <summary>A dummy package of penguin</summary>\\n <description>A dummy package of penguin</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257460\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"penguin-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>penguin-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"penguin\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of penguin\", \"arch\": \"noarch\", \"name\": \"penguin\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\", \"filelist\": [\"//penguin.txt\"], \"relativepath\": \"penguin-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"bbf867d8-a869-41c7-a745-a64c0baa727d\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"b84c43b9-188e-44d3-a9d6-9ba2004db693\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe4\"}, \"id\": \"51474fe84964c84cd4fd5fe4\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"squirrel-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"squirrel\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//squirrel.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\\\" name=\\\"squirrel\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//squirrel.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\\\" name=\\\"squirrel\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>squirrel</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\\n <summary>A dummy package of squirrel</summary>\\n <description>A dummy package of squirrel</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257502\\\"/>\\n <size package=\\\"2248\\\" installed=\\\"42\\\" archive=\\\"296\\\"/>\\n<location href=\\\"squirrel-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>squirrel-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2028\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"squirrel\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of squirrel\", \"arch\": \"noarch\", \"name\": \"squirrel\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\", \"filelist\": [\"//squirrel.txt\"], \"relativepath\": \"squirrel-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"b84c43b9-188e-44d3-a9d6-9ba2004db693\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}, {\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"ccb247ee-cc77-422f-8020-08d498ad9ab1\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe3\"}, \"id\": \"51474fe84964c84cd4fd5fe3\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"walrus-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"walrus\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//walrus.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\\\" name=\\\"walrus\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//walrus.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\\\" name=\\\"walrus\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>walrus</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\\n <summary>A dummy package of walrus</summary>\\n <description>A dummy package of walrus</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891030\\\" build=\\\"1308257449\\\"/>\\n <size package=\\\"2236\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"walrus-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>walrus-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"walrus\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of walrus\", \"arch\": \"noarch\", \"name\": \"walrus\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\", \"filelist\": [\"//walrus.txt\"], \"relativepath\": \"walrus-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"ccb247ee-cc77-422f-8020-08d498ad9ab1\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:33:32 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"rpm\"],\"filters\":{\"unit\":{\"$and\":[{\"name\":\"cheetah\"}]}},\"sort\":{\"unit\":[[\"name\",\"ascending\"],[\"version\",\"descending\"]]}}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "146"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 18 Mar 2013 17:33:32 GMT
Server:
- Apache/2.4.3 (Fedora) OpenSSL/1.0.1c-fips mod_wsgi/3.4 Python/2.7.3
Content-Length:
- "2791"
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-03-18T21:33:28Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-03-18T21:33:28Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"ae33cf32-47ef-4599-a9e3-494a1fe38c01\", \"unit_type_id\": \"rpm\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"51474fe84964c84cd4fd5fe2\"}, \"id\": \"51474fe84964c84cd4fd5fe2\", \"owner_id\": \"yum_importer\", \"metadata\": {\"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"_content_type_id\": \"rpm\", \"vendor\": \"\", \"_ns\": \"units_rpm\", \"filename\": \"cheetah-0.3-0.8.noarch.rpm\", \"epoch\": \"0\", \"version\": \"0.3\", \"provides\": [[\"cheetah\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"files\": {\"file\": [\"//cheetah.txt\"]}, \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\\\" name=\\\"cheetah\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//cheetah.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\\\" name=\\\"cheetah\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>cheetah</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae</checksum>\\n <summary>A dummy package of cheetah</summary>\\n <description>A dummy package of cheetah</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891028\\\" build=\\\"1308257472\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"42\\\" archive=\\\"292\\\"/>\\n<location href=\\\"cheetah-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>cheetah-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"cheetah\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"description\": \"A dummy package of cheetah\", \"arch\": \"noarch\", \"name\": \"cheetah\", \"_storage_path\": \"/var/lib/pulp/content/rpm/.//cheetah/0.3/0.8/noarch/422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae/cheetah-0.3-0.8.noarch.rpm\", \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"changelog\": [], \"checksum\": \"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\", \"filelist\": [\"//cheetah.txt\"], \"relativepath\": \"cheetah-0.3-0.8.noarch.rpm\", \"release\": \"0.8\", \"_id\": \"ae33cf32-47ef-4599-a9e3-494a1fe38c01\", \"requires\": [[\"/bin/sh\", null, [null, null, null]]]}}]"
http_version:
recorded_at: Mon, 18 Mar 2013 17:33:32 GMT
recorded_with: VCR 2.4.0
(16-16/19)