Project

General

Profile

« Previous | Next » 

Revision 0889fa03

Added by Justin Sherrill over 8 years ago

fixes #11773 - allow false values for :include_repos

View differences:

lib/runcible/extensions/unit.rb
# @param [Array] id the content ID of the content to retrieve
# @return [RestClient::Response] the requested content
def find(id, optional = {})
optional[:include_repos] ||= true
find_all([id], optional).first
end
......
# @param [Array] ids list of content IDs to retrieve
# @return [RestClient::Response] list of content
def find_all(ids, optional = {})
optional[:include_repos] ||= true
optional[:include_repos] = optional.fetch(:include_repos, true)
search(content_type, { :filters => {'id' => {'$in' => ids}} }, optional)
end
......
# @param [Array] id the unit ID of the content to retrieve
# @return [RestClient::Response] the requested content
def find_by_unit_id(id, optional = {})
optional[:include_repos] ||= true
find_all_by_unit_ids([id], [], optional).first
end
......
# @param [Array] fields optional list of to retrieve
# @return [RestClient::Response] list of content
def find_all_by_unit_ids(ids, fields = [], optional = {})
optional[:include_repos] ||= true
optional[:include_repos] = optional.fetch(:include_repos, true)
criteria = { :filters => { :_id => { '$in' => ids } } }
criteria[:fields] = fields unless fields.empty?
search(content_type, criteria, optional)
test/extensions/rpm_test.rb
assert_equal 200, response.code
assert_equal ids.length, response.length
end
def test_find_all_by_unit_ids_no_repos
pkgs = @@extension.all.sort_by { |p| p['_id'] }
ids = pkgs[0..2].map { |p| p['_id'] }
response = @@extension.find_all_by_unit_ids(ids, [:name], :include_repos => false)
assert_equal 200, response.code
assert_nil response.first[:repository_memberships]
end
end
class TestRpmCopy < UnitCopyBase
test/fixtures/vcr_cassettes/extensions/rpm/all.yml
http_interactions:
- request:
method: post
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/content/units/rpm/search/
uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/content/units/rpm/search/
body:
encoding: UTF-8
string: '{"criteria":{}}'
encoding: US-ASCII
string: ! '{"criteria":{}}'
headers:
Accept:
- application/json
......
message: OK
headers:
Date:
- Tue, 23 Jun 2015 22:45:36 GMT
- Fri, 11 Sep 2015 17:39:02 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Length:
- '24199'
- '23991'
Connection:
- close
Content-Type:
- application/json
body:
encoding: UTF-8
string: '[{"_href": "/pulp/api/v2/content/units/rpm/e186616e-5696-496b-abb0-d614b399ee47/",
"build_time": 1308257260, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1",
encoding: US-ASCII
string: ! '[{"_href": "/pulp/api/v2/content/units/rpm/4ac68de1-34fd-4966-9b6c-8dfd620e6cf9/",
"build_time": 1308257260, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1",
"children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
null, "filename": "monkey-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"monkey\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of monkey", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of monkey", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/monkey/0.3/0.8/noarch/0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1/monkey-0.3-0.8.noarch.rpm",
"sourcerpm": "monkey-0.3-0.8.src.rpm", "name": "monkey", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"monkey-0.3-0.8.noarch.rpm", "summary": "A dummy package of monkey", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "e186616e-5696-496b-abb0-d614b399ee47",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/ecaf6c04-1788-4f5c-a198-0f08455f9a89/",
"build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of monkey", "relativepath": "monkey-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "4ac68de1-34fd-4966-9b6c-8dfd620e6cf9", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/043c4ac1-2bd7-4471-b178-2a400f519733/",
"build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
"children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
null, "filename": "walrus-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"walrus\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of walrus", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of walrus", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891030, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm",
"sourcerpm": "walrus-0.3-0.8.src.rpm", "name": "walrus", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"walrus-0.3-0.8.noarch.rpm", "summary": "A dummy package of walrus", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "ecaf6c04-1788-4f5c-a198-0f08455f9a89",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/d6baebf3-b06f-4aff-971a-a0b5977f4cdb/",
"build_time": 1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of walrus", "relativepath": "walrus-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "043c4ac1-2bd7-4471-b178-2a400f519733", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/fc2de0f6-d0b8-4ed6-ac23-38a3a74baa08/",
"build_time": 1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694",
"children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
null, "filename": "penguin-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"penguin\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of penguin", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of penguin", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm",
"sourcerpm": "penguin-0.3-0.8.src.rpm", "name": "penguin", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"penguin-0.3-0.8.noarch.rpm", "summary": "A dummy package of penguin", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "d6baebf3-b06f-4aff-971a-a0b5977f4cdb",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/b4b5cffa-23e2-4053-adcb-5d902b88d63d/",
"build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of penguin", "relativepath": "penguin-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "fc2de0f6-d0b8-4ed6-ac23-38a3a74baa08", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/46323dea-50b2-4358-816f-2c582f909874/",
"build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
"children": {}, "size": 2248, "group": "Internet/Applications", "base_url":
null, "filename": "squirrel-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2028\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"squirrel\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of squirrel", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of squirrel", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm",
"sourcerpm": "squirrel-0.3-0.8.src.rpm", "name": "squirrel", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"squirrel-0.3-0.8.noarch.rpm", "summary": "A dummy package of squirrel", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "b4b5cffa-23e2-4053-adcb-5d902b88d63d",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/2341d02e-451c-4163-b719-62969b90075d/",
"build_time": 1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of squirrel", "relativepath": "squirrel-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "46323dea-50b2-4358-816f-2c582f909874", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/4a091ec2-0176-4177-83b6-7bf415e53370/",
"build_time": 1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae",
"children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
null, "filename": "cheetah-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"cheetah\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of cheetah", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of cheetah", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891028, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/cheetah/0.3/0.8/noarch/422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae/cheetah-0.3-0.8.noarch.rpm",
"sourcerpm": "cheetah-0.3-0.8.src.rpm", "name": "cheetah", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"cheetah-0.3-0.8.noarch.rpm", "summary": "A dummy package of cheetah", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "2341d02e-451c-4163-b719-62969b90075d",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/adfe8f4a-dc3d-4791-b3f0-6131458d21ab/",
"build_time": 1308257466, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of cheetah", "relativepath": "cheetah-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "4a091ec2-0176-4177-83b6-7bf415e53370", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/d38951e4-81be-45be-a772-5c676accaf83/",
"build_time": 1308257466, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3",
"children": {}, "size": 2244, "group": "Internet/Applications", "base_url":
null, "filename": "elephant-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2028\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"elephant\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of elephant", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of elephant", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891027, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/elephant/0.3/0.8/noarch/3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3/elephant-0.3-0.8.noarch.rpm",
"sourcerpm": "elephant-0.3-0.8.src.rpm", "name": "elephant", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"elephant-0.3-0.8.noarch.rpm", "summary": "A dummy package of elephant", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "adfe8f4a-dc3d-4791-b3f0-6131458d21ab",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/b24dcec4-76a8-417a-9240-13c40cb1771c/",
"build_time": 1308257455, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of elephant", "relativepath": "elephant-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "d38951e4-81be-45be-a772-5c676accaf83", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/a4647832-1195-4223-86bd-1d841337d8c0/",
"build_time": 1308257455, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4",
"children": {}, "size": 2212, "group": "Internet/Applications", "base_url":
null, "filename": "lion-0.3-0.8.noarch.rpm", "relative_url_path": null, "epoch":
"0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides": [{"release":
......
end=\"2000\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"lion\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of lion", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of lion", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891028, "header_range": {"start": 280, "end": 2000}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/lion/0.3/0.8/noarch/12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4/lion-0.3-0.8.noarch.rpm",
"sourcerpm": "lion-0.3-0.8.src.rpm", "name": "lion", "license": "GPLv2", "changelog":
[], "url": "http://tstrachota.fedorapeople.org", "relativepath": "lion-0.3-0.8.noarch.rpm",
"summary": "A dummy package of lion", "release_sort_index": "01-0.01-8", "release":
"0.8", "_id": "b24dcec4-76a8-417a-9240-13c40cb1771c", "requires": [{"release":
null, "epoch": null, "version": null, "flags": null, "name": "/bin/sh"}]},
{"_href": "/pulp/api/v2/content/units/rpm/c8e38d56-dd1b-4b12-a65f-d755805b8b8a/",
"build_time": 1308257414, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14",
[], "url": "http://tstrachota.fedorapeople.org", "release_sort_index": "01-0.01-8",
"summary": "A dummy package of lion", "relativepath": "lion-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "a4647832-1195-4223-86bd-1d841337d8c0", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/45d0b52e-5dba-4bfd-b861-6eaec94cf337/",
"build_time": 1308257414, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14",
"children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
null, "filename": "giraffe-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"giraffe\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of giraffe", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of giraffe", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891027, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/giraffe/0.3/0.8/noarch/f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14/giraffe-0.3-0.8.noarch.rpm",
"sourcerpm": "giraffe-0.3-0.8.src.rpm", "name": "giraffe", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"giraffe-0.3-0.8.noarch.rpm", "summary": "A dummy package of giraffe", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "c8e38d56-dd1b-4b12-a65f-d755805b8b8a",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}]'
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of giraffe", "relativepath": "giraffe-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "45d0b52e-5dba-4bfd-b861-6eaec94cf337", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}]'
http_version:
recorded_at: Tue, 23 Jun 2015 22:45:36 GMT
recorded_at: Fri, 11 Sep 2015 17:39:02 GMT
recorded_with: VCR 2.9.3
test/fixtures/vcr_cassettes/extensions/rpm/find_all_by_unit_ids.yml
http_interactions:
- request:
method: post
uri: https://admin:admin@box.devel.com/pulp/api/v2/content/units/rpm/search/
uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/content/units/rpm/search/
body:
encoding: US-ASCII
string: '{"criteria":{"filters":{"_id":{"$in":["04b4358b-07cc-4605-9efe-cef8c67c413d","2d44f1d7-18d8-4787-b88a-77a448d33c05","46c7e598-52e5-4908-ba10-991fe363d08e"]}}},"include_repos":true}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '180'
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Wed, 15 Oct 2014 14:25:46 GMT
Server:
- Apache/2.2.15 (Red Hat)
Vary:
- Accept-Encoding
Content-Length:
- '9170'
Connection:
- close
Content-Type:
- application/json
body:
encoding: ASCII-8BIT
string: '[{"repository_memberships": ["integration_test_id"], "_href": "/pulp/api/v2/content/units/rpm/04b4358b-07cc-4605-9efe-cef8c67c413d/",
"build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "relative_url_path": null, "children": {}, "size": 2236, "group": "Internet/Applications",
"base_url": null, "filename": "walrus-0.3-0.8.noarch.rpm", "vendor": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"walrus"}], "files": {"file": ["//walrus.txt"], "dir": []}, "repodata": {"filelists":
"<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//walrus.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>walrus</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\n <summary>A
dummy package of walrus</summary>\n <description>A dummy package of walrus</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257449\"
file=\"1321891030\" />\n <size archive=\"292\" installed=\"42\" package=\"2236\"
/>\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
end=\"2016\" start=\"280\" />\n <rpm:provides >\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"walrus\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires
>\n <rpm:entry name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of walrus", "_last_updated": "2014-10-15T14:25:45Z",
"time": 1321891030, "header_range": {"start": 280, "end": 2016}, "release_sort_index":
"01-0.01-8", "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",
"sourcerpm": "walrus-0.3-0.8.src.rpm", "checksumtype": "sha256", "license":
"GPLv2", "changelog": [], "url": "http://tstrachota.fedorapeople.org", "checksum":
"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd", "summary":
"A dummy package of walrus", "relativepath": "walrus-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "04b4358b-07cc-4605-9efe-cef8c67c413d", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"repository_memberships": ["integration_test_id"], "_href":
"/pulp/api/v2/content/units/rpm/2d44f1d7-18d8-4787-b88a-77a448d33c05/", "build_time":
1308257414, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "relative_url_path": null, "children": {}, "size": 2236, "group": "Internet/Applications",
"base_url": null, "filename": "giraffe-0.3-0.8.noarch.rpm", "vendor": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"giraffe"}], "files": {"file": ["//giraffe.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"giraffe\" pkgid=\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//giraffe.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"giraffe\" pkgid=\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>giraffe</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14</checksum>\n <summary>A
dummy package of giraffe</summary>\n <description>A dummy package of giraffe</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257414\"
file=\"1321891027\" />\n <size archive=\"292\" installed=\"42\" package=\"2236\"
/>\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
end=\"2016\" start=\"280\" />\n <rpm:provides >\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"giraffe\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires
>\n <rpm:entry name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of giraffe", "_last_updated": "2014-10-15T14:25:45Z",
"time": 1321891027, "header_range": {"start": 280, "end": 2016}, "release_sort_index":
"01-0.01-8", "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",
"sourcerpm": "giraffe-0.3-0.8.src.rpm", "checksumtype": "sha256", "license":
"GPLv2", "changelog": [], "url": "http://tstrachota.fedorapeople.org", "checksum":
"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14", "summary":
"A dummy package of giraffe", "relativepath": "giraffe-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "2d44f1d7-18d8-4787-b88a-77a448d33c05", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"repository_memberships": ["integration_test_id"], "_href":
"/pulp/api/v2/content/units/rpm/46c7e598-52e5-4908-ba10-991fe363d08e/", "build_time":
1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "relative_url_path": null, "children": {}, "size": 2232, "group": "Internet/Applications",
"base_url": null, "filename": "penguin-0.3-0.8.noarch.rpm", "vendor": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"penguin"}], "files": {"file": ["//penguin.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"penguin\" pkgid=\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//penguin.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"penguin\" pkgid=\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>penguin</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694</checksum>\n <summary>A
dummy package of penguin</summary>\n <description>A dummy package of penguin</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257460\"
file=\"1321891029\" />\n <size archive=\"292\" installed=\"42\" package=\"2232\"
/>\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
end=\"2016\" start=\"280\" />\n <rpm:provides >\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"penguin\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires
>\n <rpm:entry name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of penguin", "_last_updated": "2014-10-15T14:25:45Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2016}, "release_sort_index":
"01-0.01-8", "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",
"sourcerpm": "penguin-0.3-0.8.src.rpm", "checksumtype": "sha256", "license":
"GPLv2", "changelog": [], "url": "http://tstrachota.fedorapeople.org", "checksum":
"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694", "summary":
"A dummy package of penguin", "relativepath": "penguin-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "46c7e598-52e5-4908-ba10-991fe363d08e", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}]'
http_version:
recorded_at: Wed, 15 Oct 2014 14:25:46 GMT
- request:
method: post
uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/content/units/rpm/search/
body:
encoding: US-ASCII
string: '{"criteria":{"filters":{"_id":{"$in":["00bfcbff-e9f3-4043-bb62-721402925bb2","014b33aa-5f5e-4a85-a77c-e9d786356014","017ed71c-c696-4999-94ee-8f0022530cb4"]}}},"include_repos":true}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '180'
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 02 Feb 2015 06:40:01 GMT
Server:
- Apache/2.2.15 (Red Hat)
Vary:
- Accept-Encoding
Content-Length:
- '12930'
Content-Type:
- application/json
body:
encoding: ASCII-8BIT
string: '[{"repository_memberships": ["Default_Organization-dev-v2111111-prod1-repo1",
"Default_Organization-Library-v2111111-prod1-repo1", "Default_Organization-v2111111-1_0-prod1-repo1",
"Default_Organization-prod1-repo1"], "_href": "/pulp/api/v2/content/units/rpm/00bfcbff-e9f3-4043-bb62-721402925bb2/",
"build_time": 1370379976, "buildhost": "kona.pdx.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "9b0957a80b23cd42353306ea584bce6e05b29d5abc1d38bc6fad2993a1264556",
"children": {}, "size": 37372, "group": "Development/Libraries", "base_url":
null, "filename": "brandenburgs-1.10.8-1.elfake.noarch.rpm", "relative_url_path":
null, "epoch": "0", "version": "1.10.8", "version_sort_index": "01-1.02-10.01-8",
"provides": [{"release": "1.elfake", "epoch": "0", "version": "1.10.8", "flags":
"EQ", "name": "brandenburgs"}, {"release": "1.elfake", "epoch": "0", "version":
"1.10.8", "flags": "EQ", "name": "config(brandenburgs)"}], "files": {"file":
["/etc/brandenburgs/brandenburgs-test-file.txt", "/usr/sbin/brandenburgs",
"/var/lib/brandenburgs/brandenburgs-dummy-data.dat"], "dir": ["/etc", "/etc/brandenburgs",
"/var/lib/brandenburgs"]}, "repodata": {"filelists": "<package arch=\"noarch\"
name=\"brandenburgs\" pkgid=\"9b0957a80b23cd42353306ea584bce6e05b29d5abc1d38bc6fad2993a1264556\">\n <version
epoch=\"0\" rel=\"1.elfake\" ver=\"1.10.8\" />\n\n <file>/etc/brandenburgs/brandenburgs-test-file.txt</file>\n <file>/usr/sbin/brandenburgs</file>\n <file>/var/lib/brandenburgs/brandenburgs-dummy-data.dat</file>\n <file
type=\"dir\">/etc</file>\n <file type=\"dir\">/etc/brandenburgs</file>\n <file
type=\"dir\">/var/lib/brandenburgs</file>\n</package>\n\n", "other": "<package
arch=\"noarch\" name=\"brandenburgs\" pkgid=\"9b0957a80b23cd42353306ea584bce6e05b29d5abc1d38bc6fad2993a1264556\">\n <version
epoch=\"0\" rel=\"1.elfake\" ver=\"1.10.8\" />\n\n<changelog author=\"&lt;mmccune@redhat.com&gt;
- 1.10.8.1\" date=\"1273060800\">- Initial rev</changelog>\n\n</package>\n\n",
"primary": "<package type=\"rpm\">\n <name>brandenburgs</name>\n <arch>noarch</arch>\n <version
epoch=\"0\" rel=\"1.elfake\" ver=\"1.10.8\" />\n <checksum pkgid=\"YES\"
type=\"sha256\">9b0957a80b23cd42353306ea584bce6e05b29d5abc1d38bc6fad2993a1264556</checksum>\n <summary>brandenburgs
package</summary>\n <description>brandenburgs package. Nothing to see here.</description>\n <packager
/>\n <url>https://example.com/brandenburgs</url>\n <time build=\"1370379976\"
file=\"1370379976\" />\n <size archive=\"35000\" installed=\"34032\" package=\"37372\"
/>\n<location href=\"brandenburgs-1.10.8-1.elfake.noarch.rpm\"/>\n <format>\n <rpm:license
>MIT</rpm:license>\n <rpm:vendor />\n <rpm:group >Development/Libraries</rpm:group>\n <rpm:buildhost
>kona.pdx.redhat.com</rpm:buildhost>\n <rpm:sourcerpm >brandenburgs-1.10.8-1.elfake.src.rpm</rpm:sourcerpm>\n <rpm:header-range
end=\"2704\" start=\"280\" />\n <rpm:provides >\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"brandenburgs\" rel=\"1.elfake\" ver=\"1.10.8\" />\n <rpm:entry
epoch=\"0\" flags=\"EQ\" name=\"config(brandenburgs)\" rel=\"1.elfake\" ver=\"1.10.8\"
/>\n </rpm:provides>\n <rpm:requires >\n <rpm:entry name=\"/bin/bash\"
/>\n </rpm:requires>\n <file>/etc/brandenburgs/brandenburgs-test-file.txt</file>\n <file>/usr/sbin/brandenburgs</file>\n <file
type=\"dir\">/etc/brandenburgs</file>\n </format>\n</package>\n"}, "description":
"brandenburgs package. Nothing to see here.", "_last_updated": "2015-01-30T21:39:35Z",
"time": 1370379976, "header_range": {"start": 280, "end": 2704}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/brandenburgs/1.10.8/1.elfake/noarch/9b0957a80b23cd42353306ea584bce6e05b29d5abc1d38bc6fad2993a1264556/brandenburgs-1.10.8-1.elfake.noarch.rpm",
"sourcerpm": "brandenburgs-1.10.8-1.elfake.src.rpm", "name": "brandenburgs",
"license": "MIT", "changelog": [[1273060800, "<mmccune@redhat.com> - 1.10.8.1",
"- Initial rev"]], "url": "https://example.com/brandenburgs", "release_sort_index":
"01-1.$elfake", "summary": "brandenburgs package", "relativepath": "brandenburgs-1.10.8-1.elfake.noarch.rpm",
"release": "1.elfake", "_id": "00bfcbff-e9f3-4043-bb62-721402925bb2", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/bash"}]}, {"repository_memberships": ["Default_Organization-dev-v2111111-prod1-repo1",
"Default_Organization-Library-v2111111-prod1-repo1", "Default_Organization-v2111111-1_0-prod1-repo1",
"Default_Organization-prod1-repo1"], "_href": "/pulp/api/v2/content/units/rpm/014b33aa-5f5e-4a85-a77c-e9d786356014/",
"build_time": 1370379997, "buildhost": "kona.pdx.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "afc24c19badde6ffa28b4186a8f33652ec557546454cf6837e23b549b11d6f8d",
"children": {}, "size": 33204, "group": "Development/Libraries", "base_url":
null, "filename": "prorealistic-7.1.0-1.elfake.noarch.rpm", "relative_url_path":
null, "epoch": "0", "version": "7.1.0", "version_sort_index": "01-7.01-1.01-0",
"provides": [{"release": "1.elfake", "epoch": "0", "version": "7.1.0", "flags":
"EQ", "name": "config(prorealistic)"}, {"release": "1.elfake", "epoch": "0",
"version": "7.1.0", "flags": "EQ", "name": "prorealistic"}], "files": {"file":
["/etc/prorealistic/prorealistic-test-file.txt", "/usr/sbin/prorealistic",
"/var/lib/prorealistic/prorealistic-dummy-data.dat"], "dir": ["/etc", "/etc/prorealistic",
"/var/lib/prorealistic"]}, "repodata": {"filelists": "<package arch=\"noarch\"
name=\"prorealistic\" pkgid=\"afc24c19badde6ffa28b4186a8f33652ec557546454cf6837e23b549b11d6f8d\">\n <version
epoch=\"0\" rel=\"1.elfake\" ver=\"7.1.0\" />\n\n <file>/etc/prorealistic/prorealistic-test-file.txt</file>\n <file>/usr/sbin/prorealistic</file>\n <file>/var/lib/prorealistic/prorealistic-dummy-data.dat</file>\n <file
type=\"dir\">/etc</file>\n <file type=\"dir\">/etc/prorealistic</file>\n <file
type=\"dir\">/var/lib/prorealistic</file>\n</package>\n\n", "other": "<package
arch=\"noarch\" name=\"prorealistic\" pkgid=\"afc24c19badde6ffa28b4186a8f33652ec557546454cf6837e23b549b11d6f8d\">\n <version
epoch=\"0\" rel=\"1.elfake\" ver=\"7.1.0\" />\n\n<changelog author=\"&lt;mmccune@redhat.com&gt;
- 7.1.0.1\" date=\"1273060800\">- Initial rev</changelog>\n\n</package>\n\n",
"primary": "<package type=\"rpm\">\n <name>prorealistic</name>\n <arch>noarch</arch>\n <version
epoch=\"0\" rel=\"1.elfake\" ver=\"7.1.0\" />\n <checksum pkgid=\"YES\" type=\"sha256\">afc24c19badde6ffa28b4186a8f33652ec557546454cf6837e23b549b11d6f8d</checksum>\n <summary>prorealistic
package</summary>\n <description>prorealistic package. Nothing to see here.</description>\n <packager
/>\n <url>https://example.com/prorealistic</url>\n <time build=\"1370379997\"
file=\"1370379997\" />\n <size archive=\"30904\" installed=\"29935\" package=\"33204\"
/>\n<location href=\"prorealistic-7.1.0-1.elfake.noarch.rpm\"/>\n <format>\n <rpm:license
>MIT</rpm:license>\n <rpm:vendor />\n <rpm:group >Development/Libraries</rpm:group>\n <rpm:buildhost
>kona.pdx.redhat.com</rpm:buildhost>\n <rpm:sourcerpm >prorealistic-7.1.0-1.elfake.src.rpm</rpm:sourcerpm>\n <rpm:header-range
end=\"2696\" start=\"280\" />\n <rpm:provides >\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"config(prorealistic)\" rel=\"1.elfake\" ver=\"7.1.0\"
/>\n <rpm:entry epoch=\"0\" flags=\"EQ\" name=\"prorealistic\" rel=\"1.elfake\"
ver=\"7.1.0\" />\n </rpm:provides>\n <rpm:requires >\n <rpm:entry
name=\"/bin/bash\" />\n </rpm:requires>\n <file>/etc/prorealistic/prorealistic-test-file.txt</file>\n <file>/usr/sbin/prorealistic</file>\n <file
type=\"dir\">/etc/prorealistic</file>\n </format>\n</package>\n"}, "description":
"prorealistic package. Nothing to see here.", "_last_updated": "2015-01-30T21:39:39Z",
"time": 1370379997, "header_range": {"start": 280, "end": 2696}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/prorealistic/7.1.0/1.elfake/noarch/afc24c19badde6ffa28b4186a8f33652ec557546454cf6837e23b549b11d6f8d/prorealistic-7.1.0-1.elfake.noarch.rpm",
"sourcerpm": "prorealistic-7.1.0-1.elfake.src.rpm", "name": "prorealistic",
"license": "MIT", "changelog": [[1273060800, "<mmccune@redhat.com> - 7.1.0.1",
"- Initial rev"]], "url": "https://example.com/prorealistic", "release_sort_index":
"01-1.$elfake", "summary": "prorealistic package", "relativepath": "prorealistic-7.1.0-1.elfake.noarch.rpm",
"release": "1.elfake", "_id": "014b33aa-5f5e-4a85-a77c-e9d786356014", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/bash"}]}, {"repository_memberships": ["Default_Organization-dev-v2111111-prod1-repo1",
"Default_Organization-Library-v2111111-prod1-repo1", "Default_Organization-v2111111-1_0-prod1-repo1",
"Default_Organization-prod1-repo1"], "_href": "/pulp/api/v2/content/units/rpm/017ed71c-c696-4999-94ee-8f0022530cb4/",
"build_time": 1370379949, "buildhost": "kona.pdx.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "9705f2b0a76f1610d8ae2f78152a26a0915fa78447facec927123c2aac01b33c",
"children": {}, "size": 70416, "group": "Development/Libraries", "base_url":
null, "filename": "bodings-6.2.6-1.elfake.noarch.rpm", "relative_url_path":
null, "epoch": "0", "version": "6.2.6", "version_sort_index": "01-6.01-2.01-6",
"provides": [{"release": "1.elfake", "epoch": "0", "version": "6.2.6", "flags":
"EQ", "name": "bodings"}, {"release": "1.elfake", "epoch": "0", "version":
"6.2.6", "flags": "EQ", "name": "config(bodings)"}], "files": {"file": ["/etc/bodings/bodings-test-file.txt",
"/usr/sbin/bodings", "/var/lib/bodings/bodings-dummy-data.dat"], "dir": ["/etc",
"/etc/bodings", "/var/lib/bodings"]}, "repodata": {"filelists": "<package
arch=\"noarch\" name=\"bodings\" pkgid=\"9705f2b0a76f1610d8ae2f78152a26a0915fa78447facec927123c2aac01b33c\">\n <version
epoch=\"0\" rel=\"1.elfake\" ver=\"6.2.6\" />\n\n <file>/etc/bodings/bodings-test-file.txt</file>\n <file>/usr/sbin/bodings</file>\n <file>/var/lib/bodings/bodings-dummy-data.dat</file>\n <file
type=\"dir\">/etc</file>\n <file type=\"dir\">/etc/bodings</file>\n <file
type=\"dir\">/var/lib/bodings</file>\n</package>\n\n", "other": "<package
arch=\"noarch\" name=\"bodings\" pkgid=\"9705f2b0a76f1610d8ae2f78152a26a0915fa78447facec927123c2aac01b33c\">\n <version
epoch=\"0\" rel=\"1.elfake\" ver=\"6.2.6\" />\n\n<changelog author=\"&lt;mmccune@redhat.com&gt;
- 6.2.6.1\" date=\"1273060800\">- Initial rev</changelog>\n\n</package>\n\n",
"primary": "<package type=\"rpm\">\n <name>bodings</name>\n <arch>noarch</arch>\n <version
epoch=\"0\" rel=\"1.elfake\" ver=\"6.2.6\" />\n <checksum pkgid=\"YES\" type=\"sha256\">9705f2b0a76f1610d8ae2f78152a26a0915fa78447facec927123c2aac01b33c</checksum>\n <summary>bodings
package</summary>\n <description>bodings package. Nothing to see here.</description>\n <packager
/>\n <url>https://example.com/bodings</url>\n <time build=\"1370379949\"
file=\"1370379949\" />\n <size archive=\"67708\" installed=\"66784\" package=\"70416\"
/>\n<location href=\"bodings-6.2.6-1.elfake.noarch.rpm\"/>\n <format>\n <rpm:license
>MIT</rpm:license>\n <rpm:vendor />\n <rpm:group >Development/Libraries</rpm:group>\n <rpm:buildhost
>kona.pdx.redhat.com</rpm:buildhost>\n <rpm:sourcerpm >bodings-6.2.6-1.elfake.src.rpm</rpm:sourcerpm>\n <rpm:header-range
end=\"2620\" start=\"280\" />\n <rpm:provides >\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"bodings\" rel=\"1.elfake\" ver=\"6.2.6\" />\n <rpm:entry
epoch=\"0\" flags=\"EQ\" name=\"config(bodings)\" rel=\"1.elfake\" ver=\"6.2.6\"
/>\n </rpm:provides>\n <rpm:requires >\n <rpm:entry name=\"/bin/bash\"
/>\n </rpm:requires>\n <file>/etc/bodings/bodings-test-file.txt</file>\n <file>/usr/sbin/bodings</file>\n <file
type=\"dir\">/etc/bodings</file>\n </format>\n</package>\n"}, "description":
"bodings package. Nothing to see here.", "_last_updated": "2015-01-30T21:39:41Z",
"time": 1370379949, "header_range": {"start": 280, "end": 2620}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/bodings/6.2.6/1.elfake/noarch/9705f2b0a76f1610d8ae2f78152a26a0915fa78447facec927123c2aac01b33c/bodings-6.2.6-1.elfake.noarch.rpm",
"sourcerpm": "bodings-6.2.6-1.elfake.src.rpm", "name": "bodings", "license":
"MIT", "changelog": [[1273060800, "<mmccune@redhat.com> - 6.2.6.1", "- Initial
rev"]], "url": "https://example.com/bodings", "release_sort_index": "01-1.$elfake",
"summary": "bodings package", "relativepath": "bodings-6.2.6-1.elfake.noarch.rpm",
"release": "1.elfake", "_id": "017ed71c-c696-4999-94ee-8f0022530cb4", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/bash"}]}]'
http_version:
recorded_at: Mon, 02 Feb 2015 06:40:01 GMT
- request:
method: post
uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/content/units/rpm/search/
body:
encoding: US-ASCII
string: '{"criteria":{"filters":{"_id":{"$in":["0fc046e9-56bf-4ad3-b614-f8de99eed65f","4776e17d-994d-4173-a1c9-419c4dbfe312","4dafbf06-e2b7-408a-80e5-13a60f8f8c91"]}}},"include_repos":true}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '180'
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 03 Feb 2015 20:24:22 GMT
Server:
- Apache/2.2.15 (Red Hat)
Vary:
- Accept-Encoding
Content-Length:
- '9227'
Connection:
- close
Content-Type:
- application/json
body:
encoding: ASCII-8BIT
string: '[{"repository_memberships": ["integration_test_id"], "_href": "/pulp/api/v2/content/units/rpm/0fc046e9-56bf-4ad3-b614-f8de99eed65f/",
"build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "relative_url_path": null, "children": {}, "size": 2248, "group": "Internet/Applications",
"base_url": null, "filename": "squirrel-0.3-0.8.noarch.rpm", "vendor": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"squirrel"}], "files": {"file": ["//squirrel.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//squirrel.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>squirrel</name>\n <arch>noarch</arch>\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\n <summary>A
dummy package of squirrel</summary>\n <description>A dummy package of squirrel</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257502\"
file=\"1321891029\" />\n <size archive=\"296\" installed=\"42\" package=\"2248\"
/>\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
end=\"2028\" start=\"280\" />\n <rpm:provides >\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"squirrel\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires
>\n <rpm:entry name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of squirrel", "_last_updated": "2015-02-03T20:24:20Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2028}, "release_sort_index":
"01-0.01-8", "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",
"sourcerpm": "squirrel-0.3-0.8.src.rpm", "checksumtype": "sha256", "license":
"GPLv2", "changelog": [], "url": "http://tstrachota.fedorapeople.org", "checksum":
"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2", "summary":
"A dummy package of squirrel", "relativepath": "squirrel-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "0fc046e9-56bf-4ad3-b614-f8de99eed65f", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"repository_memberships": ["integration_test_id"], "_href":
"/pulp/api/v2/content/units/rpm/4776e17d-994d-4173-a1c9-419c4dbfe312/", "build_time":
1308257466, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "relative_url_path": null, "children": {}, "size": 2244, "group": "Internet/Applications",
"base_url": null, "filename": "elephant-0.3-0.8.noarch.rpm", "vendor": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"elephant"}], "files": {"file": ["//elephant.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"elephant\" pkgid=\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//elephant.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"elephant\" pkgid=\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>elephant</name>\n <arch>noarch</arch>\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3</checksum>\n <summary>A
dummy package of elephant</summary>\n <description>A dummy package of elephant</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257466\"
file=\"1321891027\" />\n <size archive=\"296\" installed=\"42\" package=\"2244\"
/>\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
end=\"2028\" start=\"280\" />\n <rpm:provides >\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"elephant\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires
>\n <rpm:entry name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of elephant", "_last_updated": "2015-02-03T20:24:20Z",
"time": 1321891027, "header_range": {"start": 280, "end": 2028}, "release_sort_index":
"01-0.01-8", "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",
"sourcerpm": "elephant-0.3-0.8.src.rpm", "checksumtype": "sha256", "license":
"GPLv2", "changelog": [], "url": "http://tstrachota.fedorapeople.org", "checksum":
"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3", "summary":
"A dummy package of elephant", "relativepath": "elephant-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "4776e17d-994d-4173-a1c9-419c4dbfe312", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"repository_memberships": ["integration_test_id"], "_href":
"/pulp/api/v2/content/units/rpm/4dafbf06-e2b7-408a-80e5-13a60f8f8c91/", "build_time":
1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "relative_url_path": null, "children": {}, "size": 2232, "group": "Internet/Applications",
"base_url": null, "filename": "cheetah-0.3-0.8.noarch.rpm", "vendor": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"cheetah"}], "files": {"file": ["//cheetah.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"cheetah\" pkgid=\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//cheetah.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"cheetah\" pkgid=\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>cheetah</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae</checksum>\n <summary>A
dummy package of cheetah</summary>\n <description>A dummy package of cheetah</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257472\"
file=\"1321891028\" />\n <size archive=\"292\" installed=\"42\" package=\"2232\"
/>\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
end=\"2016\" start=\"280\" />\n <rpm:provides >\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"cheetah\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires
>\n <rpm:entry name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of cheetah", "_last_updated": "2015-02-03T20:24:20Z",
"time": 1321891028, "header_range": {"start": 280, "end": 2016}, "release_sort_index":
"01-0.01-8", "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",
"sourcerpm": "cheetah-0.3-0.8.src.rpm", "checksumtype": "sha256", "license":
"GPLv2", "changelog": [], "url": "http://tstrachota.fedorapeople.org", "checksum":
"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae", "summary":
"A dummy package of cheetah", "relativepath": "cheetah-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "4dafbf06-e2b7-408a-80e5-13a60f8f8c91", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}]'
http_version:
recorded_at: Tue, 03 Feb 2015 20:24:22 GMT
- request:
method: post
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/content/units/rpm/search/
body:
encoding: UTF-8
string: '{"criteria":{"filters":{"_id":{"$in":["10a70259-1d4a-408d-8a6d-4bbad39e45c7","1d9fe072-50b9-43cf-b65a-691feb04d83a","4aff8a94-9abf-4518-9c2a-51711ab7c6eb"]}}},"include_repos":true}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '180'
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 23 Jun 2015 22:38:11 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Length:
- '9249'
Connection:
- close
Content-Type:
- application/json
body:
encoding: UTF-8
string: '[{"repository_memberships": ["integration_test_id"], "_href": "/pulp/api/v2/content/units/rpm/10a70259-1d4a-408d-8a6d-4bbad39e45c7/",
"build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
"children": {}, "size": 2248, "group": "Internet/Applications", "base_url":
null, "filename": "squirrel-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"squirrel"}], "files": {"file": ["//squirrel.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//squirrel.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>squirrel</name>\n <arch>noarch</arch>\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\n <summary>A
dummy package of squirrel</summary>\n <description>A dummy package of squirrel</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257502\"
file=\"1321891029\" />\n <size archive=\"296\" installed=\"42\" package=\"2248\"
/>\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
end=\"2028\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"squirrel\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of squirrel", "_last_updated": "2015-06-23T22:38:10Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm",
"sourcerpm": "squirrel-0.3-0.8.src.rpm", "name": "squirrel", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"squirrel-0.3-0.8.noarch.rpm", "summary": "A dummy package of squirrel", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "10a70259-1d4a-408d-8a6d-4bbad39e45c7",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"],
"_href": "/pulp/api/v2/content/units/rpm/1d9fe072-50b9-43cf-b65a-691feb04d83a/",
"build_time": 1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694",
"children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
null, "filename": "penguin-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"penguin"}], "files": {"file": ["//penguin.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"penguin\" pkgid=\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//penguin.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"penguin\" pkgid=\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>penguin</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694</checksum>\n <summary>A
dummy package of penguin</summary>\n <description>A dummy package of penguin</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257460\"
file=\"1321891029\" />\n <size archive=\"292\" installed=\"42\" package=\"2232\"
/>\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
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"penguin\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of penguin", "_last_updated": "2015-06-23T22:38:10Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm",
"sourcerpm": "penguin-0.3-0.8.src.rpm", "name": "penguin", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"penguin-0.3-0.8.noarch.rpm", "summary": "A dummy package of penguin", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "1d9fe072-50b9-43cf-b65a-691feb04d83a",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"],
"_href": "/pulp/api/v2/content/units/rpm/4aff8a94-9abf-4518-9c2a-51711ab7c6eb/",
"build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
"children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
null, "filename": "walrus-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"walrus"}], "files": {"file": ["//walrus.txt"], "dir": []}, "repodata": {"filelists":
"<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//walrus.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>walrus</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\n <summary>A
dummy package of walrus</summary>\n <description>A dummy package of walrus</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257449\"
file=\"1321891030\" />\n <size archive=\"292\" installed=\"42\" package=\"2236\"
/>\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
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"walrus\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of walrus", "_last_updated": "2015-06-23T22:38:10Z",
"time": 1321891030, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm",
"sourcerpm": "walrus-0.3-0.8.src.rpm", "name": "walrus", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"walrus-0.3-0.8.noarch.rpm", "summary": "A dummy package of walrus", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "4aff8a94-9abf-4518-9c2a-51711ab7c6eb",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}]'
http_version:
recorded_at: Tue, 23 Jun 2015 22:38:11 GMT
- request:
method: post
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/content/units/rpm/search/
body:
encoding: UTF-8
string: '{"criteria":{}}'
string: ! '{"criteria":{}}'
headers:
Accept:
- application/json
......
message: OK
headers:
Date:
- Tue, 23 Jun 2015 22:45:36 GMT
- Fri, 11 Sep 2015 17:39:02 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Length:
- '24199'
- '23991'
Connection:
- close
Content-Type:
- application/json
body:
encoding: UTF-8
string: '[{"_href": "/pulp/api/v2/content/units/rpm/e186616e-5696-496b-abb0-d614b399ee47/",
"build_time": 1308257260, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1",
encoding: US-ASCII
string: ! '[{"_href": "/pulp/api/v2/content/units/rpm/4ac68de1-34fd-4966-9b6c-8dfd620e6cf9/",
"build_time": 1308257260, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1",
"children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
null, "filename": "monkey-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"monkey\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of monkey", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of monkey", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/monkey/0.3/0.8/noarch/0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1/monkey-0.3-0.8.noarch.rpm",
"sourcerpm": "monkey-0.3-0.8.src.rpm", "name": "monkey", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"monkey-0.3-0.8.noarch.rpm", "summary": "A dummy package of monkey", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "e186616e-5696-496b-abb0-d614b399ee47",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/ecaf6c04-1788-4f5c-a198-0f08455f9a89/",
"build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of monkey", "relativepath": "monkey-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "4ac68de1-34fd-4966-9b6c-8dfd620e6cf9", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/043c4ac1-2bd7-4471-b178-2a400f519733/",
"build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
"children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
null, "filename": "walrus-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"walrus\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of walrus", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of walrus", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891030, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm",
"sourcerpm": "walrus-0.3-0.8.src.rpm", "name": "walrus", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"walrus-0.3-0.8.noarch.rpm", "summary": "A dummy package of walrus", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "ecaf6c04-1788-4f5c-a198-0f08455f9a89",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/d6baebf3-b06f-4aff-971a-a0b5977f4cdb/",
"build_time": 1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of walrus", "relativepath": "walrus-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "043c4ac1-2bd7-4471-b178-2a400f519733", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/fc2de0f6-d0b8-4ed6-ac23-38a3a74baa08/",
"build_time": 1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694",
"children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
null, "filename": "penguin-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"penguin\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of penguin", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of penguin", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm",
"sourcerpm": "penguin-0.3-0.8.src.rpm", "name": "penguin", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"penguin-0.3-0.8.noarch.rpm", "summary": "A dummy package of penguin", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "d6baebf3-b06f-4aff-971a-a0b5977f4cdb",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/b4b5cffa-23e2-4053-adcb-5d902b88d63d/",
"build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of penguin", "relativepath": "penguin-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "fc2de0f6-d0b8-4ed6-ac23-38a3a74baa08", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/46323dea-50b2-4358-816f-2c582f909874/",
"build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
"children": {}, "size": 2248, "group": "Internet/Applications", "base_url":
null, "filename": "squirrel-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2028\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"squirrel\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of squirrel", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of squirrel", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm",
"sourcerpm": "squirrel-0.3-0.8.src.rpm", "name": "squirrel", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"squirrel-0.3-0.8.noarch.rpm", "summary": "A dummy package of squirrel", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "b4b5cffa-23e2-4053-adcb-5d902b88d63d",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/2341d02e-451c-4163-b719-62969b90075d/",
"build_time": 1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of squirrel", "relativepath": "squirrel-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "46323dea-50b2-4358-816f-2c582f909874", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/4a091ec2-0176-4177-83b6-7bf415e53370/",
"build_time": 1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae",
"children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
null, "filename": "cheetah-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"cheetah\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of cheetah", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of cheetah", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891028, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/cheetah/0.3/0.8/noarch/422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae/cheetah-0.3-0.8.noarch.rpm",
"sourcerpm": "cheetah-0.3-0.8.src.rpm", "name": "cheetah", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"cheetah-0.3-0.8.noarch.rpm", "summary": "A dummy package of cheetah", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "2341d02e-451c-4163-b719-62969b90075d",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/adfe8f4a-dc3d-4791-b3f0-6131458d21ab/",
"build_time": 1308257466, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of cheetah", "relativepath": "cheetah-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "4a091ec2-0176-4177-83b6-7bf415e53370", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/d38951e4-81be-45be-a772-5c676accaf83/",
"build_time": 1308257466, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3",
"children": {}, "size": 2244, "group": "Internet/Applications", "base_url":
null, "filename": "elephant-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2028\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"elephant\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of elephant", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of elephant", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891027, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/elephant/0.3/0.8/noarch/3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3/elephant-0.3-0.8.noarch.rpm",
"sourcerpm": "elephant-0.3-0.8.src.rpm", "name": "elephant", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"elephant-0.3-0.8.noarch.rpm", "summary": "A dummy package of elephant", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "adfe8f4a-dc3d-4791-b3f0-6131458d21ab",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/b24dcec4-76a8-417a-9240-13c40cb1771c/",
"build_time": 1308257455, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of elephant", "relativepath": "elephant-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "d38951e4-81be-45be-a772-5c676accaf83", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/a4647832-1195-4223-86bd-1d841337d8c0/",
"build_time": 1308257455, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4",
"children": {}, "size": 2212, "group": "Internet/Applications", "base_url":
null, "filename": "lion-0.3-0.8.noarch.rpm", "relative_url_path": null, "epoch":
"0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides": [{"release":
......
end=\"2000\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"lion\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of lion", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of lion", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891028, "header_range": {"start": 280, "end": 2000}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/lion/0.3/0.8/noarch/12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4/lion-0.3-0.8.noarch.rpm",
"sourcerpm": "lion-0.3-0.8.src.rpm", "name": "lion", "license": "GPLv2", "changelog":
[], "url": "http://tstrachota.fedorapeople.org", "relativepath": "lion-0.3-0.8.noarch.rpm",
"summary": "A dummy package of lion", "release_sort_index": "01-0.01-8", "release":
"0.8", "_id": "b24dcec4-76a8-417a-9240-13c40cb1771c", "requires": [{"release":
null, "epoch": null, "version": null, "flags": null, "name": "/bin/sh"}]},
{"_href": "/pulp/api/v2/content/units/rpm/c8e38d56-dd1b-4b12-a65f-d755805b8b8a/",
"build_time": 1308257414, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14",
[], "url": "http://tstrachota.fedorapeople.org", "release_sort_index": "01-0.01-8",
"summary": "A dummy package of lion", "relativepath": "lion-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "a4647832-1195-4223-86bd-1d841337d8c0", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/45d0b52e-5dba-4bfd-b861-6eaec94cf337/",
"build_time": 1308257414, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14",
"children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
null, "filename": "giraffe-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"giraffe\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of giraffe", "_last_updated": "2015-06-23T22:45:36Z",
"description": "A dummy package of giraffe", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891027, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/giraffe/0.3/0.8/noarch/f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14/giraffe-0.3-0.8.noarch.rpm",
"sourcerpm": "giraffe-0.3-0.8.src.rpm", "name": "giraffe", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"giraffe-0.3-0.8.noarch.rpm", "summary": "A dummy package of giraffe", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "c8e38d56-dd1b-4b12-a65f-d755805b8b8a",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}]'
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of giraffe", "relativepath": "giraffe-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "45d0b52e-5dba-4bfd-b861-6eaec94cf337", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}]'
http_version:
recorded_at: Tue, 23 Jun 2015 22:45:36 GMT
recorded_at: Fri, 11 Sep 2015 17:39:02 GMT
- request:
method: post
uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/content/units/rpm/search/
uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/content/units/rpm/search/
body:
encoding: UTF-8
string: '{"criteria":{"filters":{"_id":{"$in":["2341d02e-451c-4163-b719-62969b90075d","adfe8f4a-dc3d-4791-b3f0-6131458d21ab","b24dcec4-76a8-417a-9240-13c40cb1771c"]}}},"include_repos":true}'
encoding: US-ASCII
string: ! '{"criteria":{"filters":{"_id":{"$in":["043c4ac1-2bd7-4471-b178-2a400f519733","45d0b52e-5dba-4bfd-b861-6eaec94cf337","46323dea-50b2-4358-816f-2c582f909874"]}}},"include_repos":true}'
headers:
Accept:
- application/json
......
message: OK
headers:
Date:
- Tue, 23 Jun 2015 22:45:36 GMT
- Fri, 11 Sep 2015 17:39:02 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Length:
- '9211'
- '9171'
Connection:
- close
Content-Type:
- application/json
body:
encoding: UTF-8
string: '[{"repository_memberships": ["integration_test_id"], "_href": "/pulp/api/v2/content/units/rpm/2341d02e-451c-4163-b719-62969b90075d/",
"build_time": 1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae",
"children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
null, "filename": "cheetah-0.3-0.8.noarch.rpm", "relative_url_path": null,
encoding: US-ASCII
string: ! '[{"repository_memberships": ["integration_test_id"], "_href": "/pulp/api/v2/content/units/rpm/043c4ac1-2bd7-4471-b178-2a400f519733/",
"build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
"children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
null, "filename": "walrus-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"cheetah"}], "files": {"file": ["//cheetah.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"cheetah\" pkgid=\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//cheetah.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"cheetah\" pkgid=\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\">\n <version
"walrus"}], "files": {"file": ["//walrus.txt"], "dir": []}, "repodata": {"filelists":
"<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//walrus.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>cheetah</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae</checksum>\n <summary>A
dummy package of cheetah</summary>\n <description>A dummy package of cheetah</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257472\"
file=\"1321891028\" />\n <size archive=\"292\" installed=\"42\" package=\"2232\"
/>\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
type=\"rpm\">\n <name>walrus</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\n <summary>A
dummy package of walrus</summary>\n <description>A dummy package of walrus</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257449\"
file=\"1321891030\" />\n <size archive=\"292\" installed=\"42\" package=\"2236\"
/>\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
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"cheetah\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
flags=\"EQ\" name=\"walrus\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of cheetah", "_last_updated": "2015-06-23T22:45:36Z",
"time": 1321891028, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/cheetah/0.3/0.8/noarch/422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae/cheetah-0.3-0.8.noarch.rpm",
"sourcerpm": "cheetah-0.3-0.8.src.rpm", "name": "cheetah", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"cheetah-0.3-0.8.noarch.rpm", "summary": "A dummy package of cheetah", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "2341d02e-451c-4163-b719-62969b90075d",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"],
"_href": "/pulp/api/v2/content/units/rpm/adfe8f4a-dc3d-4791-b3f0-6131458d21ab/",
"build_time": 1308257466, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3",
"children": {}, "size": 2244, "group": "Internet/Applications", "base_url":
null, "filename": "elephant-0.3-0.8.noarch.rpm", "relative_url_path": null,
"description": "A dummy package of walrus", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891030, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm",
"sourcerpm": "walrus-0.3-0.8.src.rpm", "name": "walrus", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of walrus", "relativepath": "walrus-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "043c4ac1-2bd7-4471-b178-2a400f519733", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"repository_memberships": ["integration_test_id"], "_href":
"/pulp/api/v2/content/units/rpm/45d0b52e-5dba-4bfd-b861-6eaec94cf337/", "build_time":
1308257414, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14",
"children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
null, "filename": "giraffe-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"elephant"}], "files": {"file": ["//elephant.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"elephant\" pkgid=\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//elephant.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"elephant\" pkgid=\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\">\n <version
"giraffe"}], "files": {"file": ["//giraffe.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"giraffe\" pkgid=\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//giraffe.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"giraffe\" pkgid=\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>elephant</name>\n <arch>noarch</arch>\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3</checksum>\n <summary>A
dummy package of elephant</summary>\n <description>A dummy package of elephant</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257466\"
file=\"1321891027\" />\n <size archive=\"296\" installed=\"42\" package=\"2244\"
/>\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
end=\"2028\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"elephant\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
type=\"rpm\">\n <name>giraffe</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14</checksum>\n <summary>A
dummy package of giraffe</summary>\n <description>A dummy package of giraffe</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257414\"
file=\"1321891027\" />\n <size archive=\"292\" installed=\"42\" package=\"2236\"
/>\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
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"giraffe\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of elephant", "_last_updated": "2015-06-23T22:45:36Z",
"time": 1321891027, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/elephant/0.3/0.8/noarch/3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3/elephant-0.3-0.8.noarch.rpm",
"sourcerpm": "elephant-0.3-0.8.src.rpm", "name": "elephant", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
"elephant-0.3-0.8.noarch.rpm", "summary": "A dummy package of elephant", "release_sort_index":
"01-0.01-8", "release": "0.8", "_id": "adfe8f4a-dc3d-4791-b3f0-6131458d21ab",
"requires": [{"release": null, "epoch": null, "version": null, "flags": null,
"name": "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"],
"_href": "/pulp/api/v2/content/units/rpm/b24dcec4-76a8-417a-9240-13c40cb1771c/",
"build_time": 1308257455, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
{}, "_content_type_id": "rpm", "vendor": null, "checksum": "12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4",
"children": {}, "size": 2212, "group": "Internet/Applications", "base_url":
null, "filename": "lion-0.3-0.8.noarch.rpm", "relative_url_path": null, "epoch":
"0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides": [{"release":
"0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name": "lion"}], "files":
{"file": ["//lion.txt"], "dir": []}, "repodata": {"filelists": "<package arch=\"noarch\"
name=\"lion\" pkgid=\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//lion.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"lion\" pkgid=\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\">\n <version
"description": "A dummy package of giraffe", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891027, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/giraffe/0.3/0.8/noarch/f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14/giraffe-0.3-0.8.noarch.rpm",
"sourcerpm": "giraffe-0.3-0.8.src.rpm", "name": "giraffe", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of giraffe", "relativepath": "giraffe-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "45d0b52e-5dba-4bfd-b861-6eaec94cf337", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"repository_memberships": ["integration_test_id"], "_href":
"/pulp/api/v2/content/units/rpm/46323dea-50b2-4358-816f-2c582f909874/", "build_time":
1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
"children": {}, "size": 2248, "group": "Internet/Applications", "base_url":
null, "filename": "squirrel-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"squirrel"}], "files": {"file": ["//squirrel.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//squirrel.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>lion</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4</checksum>\n <summary>A
dummy package of lion</summary>\n <description>A dummy package of lion</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257455\"
file=\"1321891028\" />\n <size archive=\"292\" installed=\"42\" package=\"2212\"
/>\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
end=\"2000\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"lion\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
type=\"rpm\">\n <name>squirrel</name>\n <arch>noarch</arch>\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\n <summary>A
dummy package of squirrel</summary>\n <description>A dummy package of squirrel</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257502\"
file=\"1321891029\" />\n <size archive=\"296\" installed=\"42\" package=\"2248\"
/>\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
end=\"2028\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"squirrel\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of lion", "_last_updated": "2015-06-23T22:45:36Z",
"time": 1321891028, "header_range": {"start": 280, "end": 2000}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/lion/0.3/0.8/noarch/12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4/lion-0.3-0.8.noarch.rpm",
"sourcerpm": "lion-0.3-0.8.src.rpm", "name": "lion", "license": "GPLv2", "changelog":
[], "url": "http://tstrachota.fedorapeople.org", "relativepath": "lion-0.3-0.8.noarch.rpm",
"summary": "A dummy package of lion", "release_sort_index": "01-0.01-8", "release":
"0.8", "_id": "b24dcec4-76a8-417a-9240-13c40cb1771c", "requires": [{"release":
null, "epoch": null, "version": null, "flags": null, "name": "/bin/sh"}]}]'
"description": "A dummy package of squirrel", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm",
"sourcerpm": "squirrel-0.3-0.8.src.rpm", "name": "squirrel", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of squirrel", "relativepath": "squirrel-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "46323dea-50b2-4358-816f-2c582f909874", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}]'
http_version:
recorded_at: Tue, 23 Jun 2015 22:45:36 GMT
recorded_at: Fri, 11 Sep 2015 17:39:02 GMT
recorded_with: VCR 2.9.3
test/fixtures/vcr_cassettes/extensions/rpm/find_all_by_unit_ids_no_repos.yml
---
http_interactions:
- request:
method: post
uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/content/units/rpm/search/
body:
encoding: US-ASCII
string: ! '{"criteria":{}}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '15'
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Fri, 11 Sep 2015 17:39:03 GMT
Server:
- Apache/2.4.6 (CentOS)
Content-Length:
- '23991'
Connection:
- close
Content-Type:
- application/json
body:
encoding: US-ASCII
string: ! '[{"_href": "/pulp/api/v2/content/units/rpm/4ac68de1-34fd-4966-9b6c-8dfd620e6cf9/",
"build_time": 1308257260, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1",
"children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
null, "filename": "monkey-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"monkey"}], "files": {"file": ["//monkey.txt"], "dir": []}, "repodata": {"filelists":
"<package arch=\"noarch\" name=\"monkey\" pkgid=\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//monkey.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"monkey\" pkgid=\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>monkey</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1</checksum>\n <summary>A
dummy package of monkey</summary>\n <description>A dummy package of monkey</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257260\"
file=\"1321891029\" />\n <size archive=\"292\" installed=\"42\" package=\"2232\"
/>\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
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"monkey\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of monkey", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/monkey/0.3/0.8/noarch/0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1/monkey-0.3-0.8.noarch.rpm",
"sourcerpm": "monkey-0.3-0.8.src.rpm", "name": "monkey", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of monkey", "relativepath": "monkey-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "4ac68de1-34fd-4966-9b6c-8dfd620e6cf9", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/043c4ac1-2bd7-4471-b178-2a400f519733/",
"build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
"children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
null, "filename": "walrus-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"walrus"}], "files": {"file": ["//walrus.txt"], "dir": []}, "repodata": {"filelists":
"<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//walrus.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>walrus</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\n <summary>A
dummy package of walrus</summary>\n <description>A dummy package of walrus</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257449\"
file=\"1321891030\" />\n <size archive=\"292\" installed=\"42\" package=\"2236\"
/>\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
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"walrus\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of walrus", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891030, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm",
"sourcerpm": "walrus-0.3-0.8.src.rpm", "name": "walrus", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of walrus", "relativepath": "walrus-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "043c4ac1-2bd7-4471-b178-2a400f519733", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/fc2de0f6-d0b8-4ed6-ac23-38a3a74baa08/",
"build_time": 1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694",
"children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
null, "filename": "penguin-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"penguin"}], "files": {"file": ["//penguin.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"penguin\" pkgid=\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//penguin.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"penguin\" pkgid=\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>penguin</name>\n <arch>noarch</arch>\n <version epoch=\"0\"
rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694</checksum>\n <summary>A
dummy package of penguin</summary>\n <description>A dummy package of penguin</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257460\"
file=\"1321891029\" />\n <size archive=\"292\" installed=\"42\" package=\"2232\"
/>\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
end=\"2016\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"penguin\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of penguin", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm",
"sourcerpm": "penguin-0.3-0.8.src.rpm", "name": "penguin", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of penguin", "relativepath": "penguin-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "fc2de0f6-d0b8-4ed6-ac23-38a3a74baa08", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/46323dea-50b2-4358-816f-2c582f909874/",
"build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
"children": {}, "size": 2248, "group": "Internet/Applications", "base_url":
null, "filename": "squirrel-0.3-0.8.noarch.rpm", "relative_url_path": null,
"epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
[{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
"squirrel"}], "files": {"file": ["//squirrel.txt"], "dir": []}, "repodata":
{"filelists": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n <file>//squirrel.txt</file>\n</package>\n\n",
"other": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
type=\"rpm\">\n <name>squirrel</name>\n <arch>noarch</arch>\n <version
epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n <checksum pkgid=\"YES\" type=\"sha256\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\n <summary>A
dummy package of squirrel</summary>\n <description>A dummy package of squirrel</description>\n <packager
/>\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1308257502\"
file=\"1321891029\" />\n <size archive=\"296\" installed=\"42\" package=\"2248\"
/>\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
end=\"2028\" start=\"280\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\"
flags=\"EQ\" name=\"squirrel\" rel=\"0.8\" ver=\"0.3\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry
name=\"/bin/sh\" pre=\"1\" />\n </rpm:requires>\n </format>\n</package>\n"},
"description": "A dummy package of squirrel", "_last_updated": "2015-09-11T17:39:01Z",
"time": 1321891029, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
"checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm",
"sourcerpm": "squirrel-0.3-0.8.src.rpm", "name": "squirrel", "license": "GPLv2",
"changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
"01-0.01-8", "summary": "A dummy package of squirrel", "relativepath": "squirrel-0.3-0.8.noarch.rpm",
"release": "0.8", "_id": "46323dea-50b2-4358-816f-2c582f909874", "requires":
[{"release": null, "epoch": null, "version": null, "flags": null, "name":
"/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/4a091ec2-0176-4177-83b6-7bf415e53370/",
"build_time": 1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
"rpm", "vendor": null, "checksum": "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae",
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff