Project

General

Profile

Revision 0889fa03

Added by Justin Sherrill almost 7 years ago

fixes #11773 - allow false values for :include_repos

View differences:

lib/runcible/extensions/unit.rb
22 22
      # @param  [Array]                id   the content ID of the content to retrieve
23 23
      # @return [RestClient::Response]      the requested content
24 24
      def find(id, optional = {})
25
        optional[:include_repos] ||= true
26 25
        find_all([id], optional).first
27 26
      end
28 27

  
......
31 30
      # @param  [Array]                ids  list of content IDs to retrieve
32 31
      # @return [RestClient::Response]      list of content
33 32
      def find_all(ids, optional = {})
34
        optional[:include_repos] ||= true
33
        optional[:include_repos] = optional.fetch(:include_repos, true)
35 34
        search(content_type, { :filters => {'id' => {'$in' => ids}} }, optional)
36 35
      end
37 36

  
......
40 39
      # @param  [Array]                id   the unit ID of the content to retrieve
41 40
      # @return [RestClient::Response]      the requested content
42 41
      def find_by_unit_id(id, optional = {})
43
        optional[:include_repos] ||= true
44 42
        find_all_by_unit_ids([id], [], optional).first
45 43
      end
46 44

  
......
50 48
      # @param  [Array]                fields optional list of to retrieve
51 49
      # @return [RestClient::Response]        list of content
52 50
      def find_all_by_unit_ids(ids, fields = [], optional = {})
53
        optional[:include_repos] ||= true
51
        optional[:include_repos] = optional.fetch(:include_repos, true)
54 52
        criteria = { :filters => { :_id => { '$in' => ids } } }
55 53
        criteria[:fields] = fields unless fields.empty?
56 54
        search(content_type, criteria, optional)
test/extensions/rpm_test.rb
58 58
      assert_equal 200, response.code
59 59
      assert_equal ids.length, response.length
60 60
    end
61

  
62
    def test_find_all_by_unit_ids_no_repos
63
      pkgs = @@extension.all.sort_by { |p| p['_id'] }
64
      ids = pkgs[0..2].map { |p| p['_id'] }
65
      response = @@extension.find_all_by_unit_ids(ids, [:name], :include_repos => false)
66

  
67
      assert_equal 200, response.code
68
      assert_nil response.first[:repository_memberships]
69
    end
61 70
  end
62 71

  
63 72
  class TestRpmCopy < UnitCopyBase
test/fixtures/vcr_cassettes/extensions/rpm/all.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: post
5
    uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/content/units/rpm/search/
5
    uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/content/units/rpm/search/
6 6
    body:
7
      encoding: UTF-8
8
      string: '{"criteria":{}}'
7
      encoding: US-ASCII
8
      string: ! '{"criteria":{}}'
9 9
    headers:
10 10
      Accept:
11 11
      - application/json
......
23 23
      message: OK
24 24
    headers:
25 25
      Date:
26
      - Tue, 23 Jun 2015 22:45:36 GMT
26
      - Fri, 11 Sep 2015 17:39:02 GMT
27 27
      Server:
28 28
      - Apache/2.4.6 (CentOS)
29 29
      Content-Length:
30
      - '24199'
30
      - '23991'
31 31
      Connection:
32 32
      - close
33 33
      Content-Type:
34 34
      - application/json
35 35
    body:
36
      encoding: UTF-8
37
      string: '[{"_href": "/pulp/api/v2/content/units/rpm/e186616e-5696-496b-abb0-d614b399ee47/",
38
        "build_time": 1308257260, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
39
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1",
36
      encoding: US-ASCII
37
      string: ! '[{"_href": "/pulp/api/v2/content/units/rpm/4ac68de1-34fd-4966-9b6c-8dfd620e6cf9/",
38
        "build_time": 1308257260, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
39
        "rpm", "vendor": null, "checksum": "0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1",
40 40
        "children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
41 41
        null, "filename": "monkey-0.3-0.8.noarch.rpm", "relative_url_path": null,
42 42
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
56 56
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
57 57
        flags=\"EQ\" name=\"monkey\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
58 58
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
59
        "description": "A dummy package of monkey", "_last_updated": "2015-06-23T22:45:36Z",
59
        "description": "A dummy package of monkey", "_last_updated": "2015-09-11T17:39:01Z",
60 60
        "time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
61 61
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/monkey/0.3/0.8/noarch/0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1/monkey-0.3-0.8.noarch.rpm",
62 62
        "sourcerpm": "monkey-0.3-0.8.src.rpm", "name": "monkey", "license": "GPLv2",
63
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
64
        "monkey-0.3-0.8.noarch.rpm", "summary": "A dummy package of monkey", "release_sort_index":
65
        "01-0.01-8", "release": "0.8", "_id": "e186616e-5696-496b-abb0-d614b399ee47",
66
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
67
        "name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/ecaf6c04-1788-4f5c-a198-0f08455f9a89/",
68
        "build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
69
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
63
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
64
        "01-0.01-8", "summary": "A dummy package of monkey", "relativepath": "monkey-0.3-0.8.noarch.rpm",
65
        "release": "0.8", "_id": "4ac68de1-34fd-4966-9b6c-8dfd620e6cf9", "requires":
66
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
67
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/043c4ac1-2bd7-4471-b178-2a400f519733/",
68
        "build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
69
        "rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
70 70
        "children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
71 71
        null, "filename": "walrus-0.3-0.8.noarch.rpm", "relative_url_path": null,
72 72
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
86 86
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
87 87
        flags=\"EQ\" name=\"walrus\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
88 88
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
89
        "description": "A dummy package of walrus", "_last_updated": "2015-06-23T22:45:36Z",
89
        "description": "A dummy package of walrus", "_last_updated": "2015-09-11T17:39:01Z",
90 90
        "time": 1321891030, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
91 91
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm",
92 92
        "sourcerpm": "walrus-0.3-0.8.src.rpm", "name": "walrus", "license": "GPLv2",
93
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
94
        "walrus-0.3-0.8.noarch.rpm", "summary": "A dummy package of walrus", "release_sort_index":
95
        "01-0.01-8", "release": "0.8", "_id": "ecaf6c04-1788-4f5c-a198-0f08455f9a89",
96
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
97
        "name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/d6baebf3-b06f-4aff-971a-a0b5977f4cdb/",
98
        "build_time": 1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
99
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694",
93
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
94
        "01-0.01-8", "summary": "A dummy package of walrus", "relativepath": "walrus-0.3-0.8.noarch.rpm",
95
        "release": "0.8", "_id": "043c4ac1-2bd7-4471-b178-2a400f519733", "requires":
96
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
97
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/fc2de0f6-d0b8-4ed6-ac23-38a3a74baa08/",
98
        "build_time": 1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
99
        "rpm", "vendor": null, "checksum": "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694",
100 100
        "children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
101 101
        null, "filename": "penguin-0.3-0.8.noarch.rpm", "relative_url_path": null,
102 102
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
116 116
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
117 117
        flags=\"EQ\" name=\"penguin\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
118 118
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
119
        "description": "A dummy package of penguin", "_last_updated": "2015-06-23T22:45:36Z",
119
        "description": "A dummy package of penguin", "_last_updated": "2015-09-11T17:39:01Z",
120 120
        "time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
121 121
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm",
122 122
        "sourcerpm": "penguin-0.3-0.8.src.rpm", "name": "penguin", "license": "GPLv2",
123
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
124
        "penguin-0.3-0.8.noarch.rpm", "summary": "A dummy package of penguin", "release_sort_index":
125
        "01-0.01-8", "release": "0.8", "_id": "d6baebf3-b06f-4aff-971a-a0b5977f4cdb",
126
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
127
        "name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/b4b5cffa-23e2-4053-adcb-5d902b88d63d/",
128
        "build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
129
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
123
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
124
        "01-0.01-8", "summary": "A dummy package of penguin", "relativepath": "penguin-0.3-0.8.noarch.rpm",
125
        "release": "0.8", "_id": "fc2de0f6-d0b8-4ed6-ac23-38a3a74baa08", "requires":
126
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
127
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/46323dea-50b2-4358-816f-2c582f909874/",
128
        "build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
129
        "rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
130 130
        "children": {}, "size": 2248, "group": "Internet/Applications", "base_url":
131 131
        null, "filename": "squirrel-0.3-0.8.noarch.rpm", "relative_url_path": null,
132 132
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
146 146
        end=\"2028\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
147 147
        flags=\"EQ\" name=\"squirrel\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
148 148
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
149
        "description": "A dummy package of squirrel", "_last_updated": "2015-06-23T22:45:36Z",
149
        "description": "A dummy package of squirrel", "_last_updated": "2015-09-11T17:39:01Z",
150 150
        "time": 1321891029, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
151 151
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm",
152 152
        "sourcerpm": "squirrel-0.3-0.8.src.rpm", "name": "squirrel", "license": "GPLv2",
153
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
154
        "squirrel-0.3-0.8.noarch.rpm", "summary": "A dummy package of squirrel", "release_sort_index":
155
        "01-0.01-8", "release": "0.8", "_id": "b4b5cffa-23e2-4053-adcb-5d902b88d63d",
156
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
157
        "name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/2341d02e-451c-4163-b719-62969b90075d/",
158
        "build_time": 1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
159
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae",
153
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
154
        "01-0.01-8", "summary": "A dummy package of squirrel", "relativepath": "squirrel-0.3-0.8.noarch.rpm",
155
        "release": "0.8", "_id": "46323dea-50b2-4358-816f-2c582f909874", "requires":
156
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
157
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/4a091ec2-0176-4177-83b6-7bf415e53370/",
158
        "build_time": 1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
159
        "rpm", "vendor": null, "checksum": "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae",
160 160
        "children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
161 161
        null, "filename": "cheetah-0.3-0.8.noarch.rpm", "relative_url_path": null,
162 162
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
176 176
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
177 177
        flags=\"EQ\" name=\"cheetah\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
178 178
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
179
        "description": "A dummy package of cheetah", "_last_updated": "2015-06-23T22:45:36Z",
179
        "description": "A dummy package of cheetah", "_last_updated": "2015-09-11T17:39:01Z",
180 180
        "time": 1321891028, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
181 181
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/cheetah/0.3/0.8/noarch/422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae/cheetah-0.3-0.8.noarch.rpm",
182 182
        "sourcerpm": "cheetah-0.3-0.8.src.rpm", "name": "cheetah", "license": "GPLv2",
183
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
184
        "cheetah-0.3-0.8.noarch.rpm", "summary": "A dummy package of cheetah", "release_sort_index":
185
        "01-0.01-8", "release": "0.8", "_id": "2341d02e-451c-4163-b719-62969b90075d",
186
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
187
        "name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/adfe8f4a-dc3d-4791-b3f0-6131458d21ab/",
188
        "build_time": 1308257466, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
189
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3",
183
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
184
        "01-0.01-8", "summary": "A dummy package of cheetah", "relativepath": "cheetah-0.3-0.8.noarch.rpm",
185
        "release": "0.8", "_id": "4a091ec2-0176-4177-83b6-7bf415e53370", "requires":
186
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
187
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/d38951e4-81be-45be-a772-5c676accaf83/",
188
        "build_time": 1308257466, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
189
        "rpm", "vendor": null, "checksum": "3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3",
190 190
        "children": {}, "size": 2244, "group": "Internet/Applications", "base_url":
191 191
        null, "filename": "elephant-0.3-0.8.noarch.rpm", "relative_url_path": null,
192 192
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
206 206
        end=\"2028\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
207 207
        flags=\"EQ\" name=\"elephant\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
208 208
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
209
        "description": "A dummy package of elephant", "_last_updated": "2015-06-23T22:45:36Z",
209
        "description": "A dummy package of elephant", "_last_updated": "2015-09-11T17:39:01Z",
210 210
        "time": 1321891027, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
211 211
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/elephant/0.3/0.8/noarch/3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3/elephant-0.3-0.8.noarch.rpm",
212 212
        "sourcerpm": "elephant-0.3-0.8.src.rpm", "name": "elephant", "license": "GPLv2",
213
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
214
        "elephant-0.3-0.8.noarch.rpm", "summary": "A dummy package of elephant", "release_sort_index":
215
        "01-0.01-8", "release": "0.8", "_id": "adfe8f4a-dc3d-4791-b3f0-6131458d21ab",
216
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
217
        "name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/b24dcec4-76a8-417a-9240-13c40cb1771c/",
218
        "build_time": 1308257455, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
219
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4",
213
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
214
        "01-0.01-8", "summary": "A dummy package of elephant", "relativepath": "elephant-0.3-0.8.noarch.rpm",
215
        "release": "0.8", "_id": "d38951e4-81be-45be-a772-5c676accaf83", "requires":
216
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
217
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/a4647832-1195-4223-86bd-1d841337d8c0/",
218
        "build_time": 1308257455, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
219
        "rpm", "vendor": null, "checksum": "12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4",
220 220
        "children": {}, "size": 2212, "group": "Internet/Applications", "base_url":
221 221
        null, "filename": "lion-0.3-0.8.noarch.rpm", "relative_url_path": null, "epoch":
222 222
        "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides": [{"release":
......
236 236
        end=\"2000\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
237 237
        flags=\"EQ\" name=\"lion\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
238 238
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
239
        "description": "A dummy package of lion", "_last_updated": "2015-06-23T22:45:36Z",
239
        "description": "A dummy package of lion", "_last_updated": "2015-09-11T17:39:01Z",
240 240
        "time": 1321891028, "header_range": {"start": 280, "end": 2000}, "arch": "noarch",
241 241
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/lion/0.3/0.8/noarch/12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4/lion-0.3-0.8.noarch.rpm",
242 242
        "sourcerpm": "lion-0.3-0.8.src.rpm", "name": "lion", "license": "GPLv2", "changelog":
243
        [], "url": "http://tstrachota.fedorapeople.org", "relativepath": "lion-0.3-0.8.noarch.rpm",
244
        "summary": "A dummy package of lion", "release_sort_index": "01-0.01-8", "release":
245
        "0.8", "_id": "b24dcec4-76a8-417a-9240-13c40cb1771c", "requires": [{"release":
246
        null, "epoch": null, "version": null, "flags": null, "name": "/bin/sh"}]},
247
        {"_href": "/pulp/api/v2/content/units/rpm/c8e38d56-dd1b-4b12-a65f-d755805b8b8a/",
248
        "build_time": 1308257414, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
249
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14",
243
        [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index": "01-0.01-8",
244
        "summary": "A dummy package of lion", "relativepath": "lion-0.3-0.8.noarch.rpm",
245
        "release": "0.8", "_id": "a4647832-1195-4223-86bd-1d841337d8c0", "requires":
246
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
247
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/45d0b52e-5dba-4bfd-b861-6eaec94cf337/",
248
        "build_time": 1308257414, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
249
        "rpm", "vendor": null, "checksum": "f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14",
250 250
        "children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
251 251
        null, "filename": "giraffe-0.3-0.8.noarch.rpm", "relative_url_path": null,
252 252
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
266 266
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
267 267
        flags=\"EQ\" name=\"giraffe\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
268 268
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
269
        "description": "A dummy package of giraffe", "_last_updated": "2015-06-23T22:45:36Z",
269
        "description": "A dummy package of giraffe", "_last_updated": "2015-09-11T17:39:01Z",
270 270
        "time": 1321891027, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
271 271
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/giraffe/0.3/0.8/noarch/f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14/giraffe-0.3-0.8.noarch.rpm",
272 272
        "sourcerpm": "giraffe-0.3-0.8.src.rpm", "name": "giraffe", "license": "GPLv2",
273
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
274
        "giraffe-0.3-0.8.noarch.rpm", "summary": "A dummy package of giraffe", "release_sort_index":
275
        "01-0.01-8", "release": "0.8", "_id": "c8e38d56-dd1b-4b12-a65f-d755805b8b8a",
276
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
277
        "name": "/bin/sh"}]}]'
273
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
274
        "01-0.01-8", "summary": "A dummy package of giraffe", "relativepath": "giraffe-0.3-0.8.noarch.rpm",
275
        "release": "0.8", "_id": "45d0b52e-5dba-4bfd-b861-6eaec94cf337", "requires":
276
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
277
        "/bin/sh"}]}]'
278 278
    http_version: 
279
  recorded_at: Tue, 23 Jun 2015 22:45:36 GMT
279
  recorded_at: Fri, 11 Sep 2015 17:39:02 GMT
280 280
recorded_with: VCR 2.9.3
test/fixtures/vcr_cassettes/extensions/rpm/find_all_by_unit_ids.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: post
5
    uri: https://admin:admin@box.devel.com/pulp/api/v2/content/units/rpm/search/
5
    uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/content/units/rpm/search/
6 6
    body:
7 7
      encoding: US-ASCII
8
      string: '{"criteria":{"filters":{"_id":{"$in":["04b4358b-07cc-4605-9efe-cef8c67c413d","2d44f1d7-18d8-4787-b88a-77a448d33c05","46c7e598-52e5-4908-ba10-991fe363d08e"]}}},"include_repos":true}'
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      Content-Length:
17
      - '180'
18
      User-Agent:
19
      - Ruby
20
  response:
21
    status:
22
      code: 200
23
      message: OK
24
    headers:
25
      Date:
26
      - Wed, 15 Oct 2014 14:25:46 GMT
27
      Server:
28
      - Apache/2.2.15 (Red Hat)
29
      Vary:
30
      - Accept-Encoding
31
      Content-Length:
32
      - '9170'
33
      Connection:
34
      - close
35
      Content-Type:
36
      - application/json
37
    body:
38
      encoding: ASCII-8BIT
39
      string: '[{"repository_memberships": ["integration_test_id"], "_href": "/pulp/api/v2/content/units/rpm/04b4358b-07cc-4605-9efe-cef8c67c413d/",
40
        "build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
41
        "rpm", "relative_url_path": null, "children": {}, "size": 2236, "group": "Internet/Applications",
42
        "base_url": null, "filename": "walrus-0.3-0.8.noarch.rpm", "vendor": null,
43
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
44
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
45
        "walrus"}], "files": {"file": ["//walrus.txt"], "dir": []}, "repodata": {"filelists":
46
        "<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n    <version
47
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//walrus.txt</file>\n</package>\n\n",
48
        "other": "<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n    <version
49
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
50
        type=\"rpm\">\n  <name>walrus</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
51
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\n  <summary>A
52
        dummy package of walrus</summary>\n  <description>A dummy package of walrus</description>\n  <packager
53
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257449\"
54
        file=\"1321891030\" />\n  <size archive=\"292\" installed=\"42\" package=\"2236\"
55
        />\n<location href=\"walrus-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license
56
        >GPLv2</rpm:license>\n    <rpm:vendor />\n    <rpm:group >Internet/Applications</rpm:group>\n    <rpm:buildhost
57
        >dhcp-26-118.brq.redhat.com</rpm:buildhost>\n    <rpm:sourcerpm >walrus-0.3-0.8.src.rpm</rpm:sourcerpm>\n    <rpm:header-range
58
        end=\"2016\" start=\"280\" />\n    <rpm:provides >\n      <rpm:entry epoch=\"0\"
59
        flags=\"EQ\" name=\"walrus\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires
60
        >\n      <rpm:entry name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
61
        "description": "A dummy package of walrus", "_last_updated": "2014-10-15T14:25:45Z",
62
        "time": 1321891030, "header_range": {"start": 280, "end": 2016}, "release_sort_index":
63
        "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",
64
        "sourcerpm": "walrus-0.3-0.8.src.rpm", "checksumtype": "sha256", "license":
65
        "GPLv2", "changelog": [], "url": "http://tstrachota.fedorapeople.org", "checksum":
66
        "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd", "summary":
67
        "A dummy package of walrus", "relativepath": "walrus-0.3-0.8.noarch.rpm",
68
        "release": "0.8", "_id": "04b4358b-07cc-4605-9efe-cef8c67c413d", "requires":
69
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
70
        "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"], "_href":
71
        "/pulp/api/v2/content/units/rpm/2d44f1d7-18d8-4787-b88a-77a448d33c05/", "build_time":
72
        1308257414, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
73
        "rpm", "relative_url_path": null, "children": {}, "size": 2236, "group": "Internet/Applications",
74
        "base_url": null, "filename": "giraffe-0.3-0.8.noarch.rpm", "vendor": null,
75
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
76
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
77
        "giraffe"}], "files": {"file": ["//giraffe.txt"], "dir": []}, "repodata":
78
        {"filelists": "<package arch=\"noarch\" name=\"giraffe\" pkgid=\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\">\n    <version
79
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//giraffe.txt</file>\n</package>\n\n",
80
        "other": "<package arch=\"noarch\" name=\"giraffe\" pkgid=\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\">\n    <version
81
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
82
        type=\"rpm\">\n  <name>giraffe</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
83
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14</checksum>\n  <summary>A
84
        dummy package of giraffe</summary>\n  <description>A dummy package of giraffe</description>\n  <packager
85
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257414\"
86
        file=\"1321891027\" />\n  <size archive=\"292\" installed=\"42\" package=\"2236\"
87
        />\n<location href=\"giraffe-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license
88
        >GPLv2</rpm:license>\n    <rpm:vendor />\n    <rpm:group >Internet/Applications</rpm:group>\n    <rpm:buildhost
89
        >dhcp-26-118.brq.redhat.com</rpm:buildhost>\n    <rpm:sourcerpm >giraffe-0.3-0.8.src.rpm</rpm:sourcerpm>\n    <rpm:header-range
90
        end=\"2016\" start=\"280\" />\n    <rpm:provides >\n      <rpm:entry epoch=\"0\"
91
        flags=\"EQ\" name=\"giraffe\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires
92
        >\n      <rpm:entry name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
93
        "description": "A dummy package of giraffe", "_last_updated": "2014-10-15T14:25:45Z",
94
        "time": 1321891027, "header_range": {"start": 280, "end": 2016}, "release_sort_index":
95
        "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",
96
        "sourcerpm": "giraffe-0.3-0.8.src.rpm", "checksumtype": "sha256", "license":
97
        "GPLv2", "changelog": [], "url": "http://tstrachota.fedorapeople.org", "checksum":
98
        "f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14", "summary":
99
        "A dummy package of giraffe", "relativepath": "giraffe-0.3-0.8.noarch.rpm",
100
        "release": "0.8", "_id": "2d44f1d7-18d8-4787-b88a-77a448d33c05", "requires":
101
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
102
        "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"], "_href":
103
        "/pulp/api/v2/content/units/rpm/46c7e598-52e5-4908-ba10-991fe363d08e/", "build_time":
104
        1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
105
        "rpm", "relative_url_path": null, "children": {}, "size": 2232, "group": "Internet/Applications",
106
        "base_url": null, "filename": "penguin-0.3-0.8.noarch.rpm", "vendor": null,
107
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
108
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
109
        "penguin"}], "files": {"file": ["//penguin.txt"], "dir": []}, "repodata":
110
        {"filelists": "<package arch=\"noarch\" name=\"penguin\" pkgid=\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\">\n    <version
111
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//penguin.txt</file>\n</package>\n\n",
112
        "other": "<package arch=\"noarch\" name=\"penguin\" pkgid=\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\">\n    <version
113
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
114
        type=\"rpm\">\n  <name>penguin</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
115
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694</checksum>\n  <summary>A
116
        dummy package of penguin</summary>\n  <description>A dummy package of penguin</description>\n  <packager
117
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257460\"
118
        file=\"1321891029\" />\n  <size archive=\"292\" installed=\"42\" package=\"2232\"
119
        />\n<location href=\"penguin-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license
120
        >GPLv2</rpm:license>\n    <rpm:vendor />\n    <rpm:group >Internet/Applications</rpm:group>\n    <rpm:buildhost
121
        >dhcp-26-118.brq.redhat.com</rpm:buildhost>\n    <rpm:sourcerpm >penguin-0.3-0.8.src.rpm</rpm:sourcerpm>\n    <rpm:header-range
122
        end=\"2016\" start=\"280\" />\n    <rpm:provides >\n      <rpm:entry epoch=\"0\"
123
        flags=\"EQ\" name=\"penguin\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires
124
        >\n      <rpm:entry name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
125
        "description": "A dummy package of penguin", "_last_updated": "2014-10-15T14:25:45Z",
126
        "time": 1321891029, "header_range": {"start": 280, "end": 2016}, "release_sort_index":
127
        "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",
128
        "sourcerpm": "penguin-0.3-0.8.src.rpm", "checksumtype": "sha256", "license":
129
        "GPLv2", "changelog": [], "url": "http://tstrachota.fedorapeople.org", "checksum":
130
        "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694", "summary":
131
        "A dummy package of penguin", "relativepath": "penguin-0.3-0.8.noarch.rpm",
132
        "release": "0.8", "_id": "46c7e598-52e5-4908-ba10-991fe363d08e", "requires":
133
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
134
        "/bin/sh"}]}]'
135
    http_version: 
136
  recorded_at: Wed, 15 Oct 2014 14:25:46 GMT
137
- request:
138
    method: post
139
    uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/content/units/rpm/search/
140
    body:
141
      encoding: US-ASCII
142
      string: '{"criteria":{"filters":{"_id":{"$in":["00bfcbff-e9f3-4043-bb62-721402925bb2","014b33aa-5f5e-4a85-a77c-e9d786356014","017ed71c-c696-4999-94ee-8f0022530cb4"]}}},"include_repos":true}'
143
    headers:
144
      Accept:
145
      - application/json
146
      Accept-Encoding:
147
      - gzip, deflate
148
      Content-Type:
149
      - application/json
150
      Content-Length:
151
      - '180'
152
      User-Agent:
153
      - Ruby
154
  response:
155
    status:
156
      code: 200
157
      message: OK
158
    headers:
159
      Date:
160
      - Mon, 02 Feb 2015 06:40:01 GMT
161
      Server:
162
      - Apache/2.2.15 (Red Hat)
163
      Vary:
164
      - Accept-Encoding
165
      Content-Length:
166
      - '12930'
167
      Content-Type:
168
      - application/json
169
    body:
170
      encoding: ASCII-8BIT
171
      string: '[{"repository_memberships": ["Default_Organization-dev-v2111111-prod1-repo1",
172
        "Default_Organization-Library-v2111111-prod1-repo1", "Default_Organization-v2111111-1_0-prod1-repo1",
173
        "Default_Organization-prod1-repo1"], "_href": "/pulp/api/v2/content/units/rpm/00bfcbff-e9f3-4043-bb62-721402925bb2/",
174
        "build_time": 1370379976, "buildhost": "kona.pdx.redhat.com", "_content_type_id":
175
        "rpm", "vendor": null, "checksum": "9b0957a80b23cd42353306ea584bce6e05b29d5abc1d38bc6fad2993a1264556",
176
        "children": {}, "size": 37372, "group": "Development/Libraries", "base_url":
177
        null, "filename": "brandenburgs-1.10.8-1.elfake.noarch.rpm", "relative_url_path":
178
        null, "epoch": "0", "version": "1.10.8", "version_sort_index": "01-1.02-10.01-8",
179
        "provides": [{"release": "1.elfake", "epoch": "0", "version": "1.10.8", "flags":
180
        "EQ", "name": "brandenburgs"}, {"release": "1.elfake", "epoch": "0", "version":
181
        "1.10.8", "flags": "EQ", "name": "config(brandenburgs)"}], "files": {"file":
182
        ["/etc/brandenburgs/brandenburgs-test-file.txt", "/usr/sbin/brandenburgs",
183
        "/var/lib/brandenburgs/brandenburgs-dummy-data.dat"], "dir": ["/etc", "/etc/brandenburgs",
184
        "/var/lib/brandenburgs"]}, "repodata": {"filelists": "<package arch=\"noarch\"
185
        name=\"brandenburgs\" pkgid=\"9b0957a80b23cd42353306ea584bce6e05b29d5abc1d38bc6fad2993a1264556\">\n    <version
186
        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
187
        type=\"dir\">/etc</file>\n    <file type=\"dir\">/etc/brandenburgs</file>\n    <file
188
        type=\"dir\">/var/lib/brandenburgs</file>\n</package>\n\n", "other": "<package
189
        arch=\"noarch\" name=\"brandenburgs\" pkgid=\"9b0957a80b23cd42353306ea584bce6e05b29d5abc1d38bc6fad2993a1264556\">\n    <version
190
        epoch=\"0\" rel=\"1.elfake\" ver=\"1.10.8\" />\n\n<changelog author=\"&lt;mmccune@redhat.com&gt;
191
        - 1.10.8.1\" date=\"1273060800\">- Initial rev</changelog>\n\n</package>\n\n",
192
        "primary": "<package type=\"rpm\">\n  <name>brandenburgs</name>\n  <arch>noarch</arch>\n  <version
193
        epoch=\"0\" rel=\"1.elfake\" ver=\"1.10.8\" />\n  <checksum pkgid=\"YES\"
194
        type=\"sha256\">9b0957a80b23cd42353306ea584bce6e05b29d5abc1d38bc6fad2993a1264556</checksum>\n  <summary>brandenburgs
195
        package</summary>\n  <description>brandenburgs package.  Nothing to see here.</description>\n  <packager
196
        />\n  <url>https://example.com/brandenburgs</url>\n  <time build=\"1370379976\"
197
        file=\"1370379976\" />\n  <size archive=\"35000\" installed=\"34032\" package=\"37372\"
198
        />\n<location href=\"brandenburgs-1.10.8-1.elfake.noarch.rpm\"/>\n  <format>\n    <rpm:license
199
        >MIT</rpm:license>\n    <rpm:vendor />\n    <rpm:group >Development/Libraries</rpm:group>\n    <rpm:buildhost
200
        >kona.pdx.redhat.com</rpm:buildhost>\n    <rpm:sourcerpm >brandenburgs-1.10.8-1.elfake.src.rpm</rpm:sourcerpm>\n    <rpm:header-range
201
        end=\"2704\" start=\"280\" />\n    <rpm:provides >\n      <rpm:entry epoch=\"0\"
202
        flags=\"EQ\" name=\"brandenburgs\" rel=\"1.elfake\" ver=\"1.10.8\" />\n      <rpm:entry
203
        epoch=\"0\" flags=\"EQ\" name=\"config(brandenburgs)\" rel=\"1.elfake\" ver=\"1.10.8\"
204
        />\n    </rpm:provides>\n    <rpm:requires >\n      <rpm:entry name=\"/bin/bash\"
205
        />\n    </rpm:requires>\n    <file>/etc/brandenburgs/brandenburgs-test-file.txt</file>\n    <file>/usr/sbin/brandenburgs</file>\n    <file
206
        type=\"dir\">/etc/brandenburgs</file>\n  </format>\n</package>\n"}, "description":
207
        "brandenburgs package.  Nothing to see here.", "_last_updated": "2015-01-30T21:39:35Z",
208
        "time": 1370379976, "header_range": {"start": 280, "end": 2704}, "arch": "noarch",
209
        "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",
210
        "sourcerpm": "brandenburgs-1.10.8-1.elfake.src.rpm", "name": "brandenburgs",
211
        "license": "MIT", "changelog": [[1273060800, "<mmccune@redhat.com> - 1.10.8.1",
212
        "- Initial rev"]], "url": "https://example.com/brandenburgs", "release_sort_index":
213
        "01-1.$elfake", "summary": "brandenburgs package", "relativepath": "brandenburgs-1.10.8-1.elfake.noarch.rpm",
214
        "release": "1.elfake", "_id": "00bfcbff-e9f3-4043-bb62-721402925bb2", "requires":
215
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
216
        "/bin/bash"}]}, {"repository_memberships": ["Default_Organization-dev-v2111111-prod1-repo1",
217
        "Default_Organization-Library-v2111111-prod1-repo1", "Default_Organization-v2111111-1_0-prod1-repo1",
218
        "Default_Organization-prod1-repo1"], "_href": "/pulp/api/v2/content/units/rpm/014b33aa-5f5e-4a85-a77c-e9d786356014/",
219
        "build_time": 1370379997, "buildhost": "kona.pdx.redhat.com", "_content_type_id":
220
        "rpm", "vendor": null, "checksum": "afc24c19badde6ffa28b4186a8f33652ec557546454cf6837e23b549b11d6f8d",
221
        "children": {}, "size": 33204, "group": "Development/Libraries", "base_url":
222
        null, "filename": "prorealistic-7.1.0-1.elfake.noarch.rpm", "relative_url_path":
223
        null, "epoch": "0", "version": "7.1.0", "version_sort_index": "01-7.01-1.01-0",
224
        "provides": [{"release": "1.elfake", "epoch": "0", "version": "7.1.0", "flags":
225
        "EQ", "name": "config(prorealistic)"}, {"release": "1.elfake", "epoch": "0",
226
        "version": "7.1.0", "flags": "EQ", "name": "prorealistic"}], "files": {"file":
227
        ["/etc/prorealistic/prorealistic-test-file.txt", "/usr/sbin/prorealistic",
228
        "/var/lib/prorealistic/prorealistic-dummy-data.dat"], "dir": ["/etc", "/etc/prorealistic",
229
        "/var/lib/prorealistic"]}, "repodata": {"filelists": "<package arch=\"noarch\"
230
        name=\"prorealistic\" pkgid=\"afc24c19badde6ffa28b4186a8f33652ec557546454cf6837e23b549b11d6f8d\">\n    <version
231
        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
232
        type=\"dir\">/etc</file>\n    <file type=\"dir\">/etc/prorealistic</file>\n    <file
233
        type=\"dir\">/var/lib/prorealistic</file>\n</package>\n\n", "other": "<package
234
        arch=\"noarch\" name=\"prorealistic\" pkgid=\"afc24c19badde6ffa28b4186a8f33652ec557546454cf6837e23b549b11d6f8d\">\n    <version
235
        epoch=\"0\" rel=\"1.elfake\" ver=\"7.1.0\" />\n\n<changelog author=\"&lt;mmccune@redhat.com&gt;
236
        - 7.1.0.1\" date=\"1273060800\">- Initial rev</changelog>\n\n</package>\n\n",
237
        "primary": "<package type=\"rpm\">\n  <name>prorealistic</name>\n  <arch>noarch</arch>\n  <version
238
        epoch=\"0\" rel=\"1.elfake\" ver=\"7.1.0\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">afc24c19badde6ffa28b4186a8f33652ec557546454cf6837e23b549b11d6f8d</checksum>\n  <summary>prorealistic
239
        package</summary>\n  <description>prorealistic package.  Nothing to see here.</description>\n  <packager
240
        />\n  <url>https://example.com/prorealistic</url>\n  <time build=\"1370379997\"
241
        file=\"1370379997\" />\n  <size archive=\"30904\" installed=\"29935\" package=\"33204\"
242
        />\n<location href=\"prorealistic-7.1.0-1.elfake.noarch.rpm\"/>\n  <format>\n    <rpm:license
243
        >MIT</rpm:license>\n    <rpm:vendor />\n    <rpm:group >Development/Libraries</rpm:group>\n    <rpm:buildhost
244
        >kona.pdx.redhat.com</rpm:buildhost>\n    <rpm:sourcerpm >prorealistic-7.1.0-1.elfake.src.rpm</rpm:sourcerpm>\n    <rpm:header-range
245
        end=\"2696\" start=\"280\" />\n    <rpm:provides >\n      <rpm:entry epoch=\"0\"
246
        flags=\"EQ\" name=\"config(prorealistic)\" rel=\"1.elfake\" ver=\"7.1.0\"
247
        />\n      <rpm:entry epoch=\"0\" flags=\"EQ\" name=\"prorealistic\" rel=\"1.elfake\"
248
        ver=\"7.1.0\" />\n    </rpm:provides>\n    <rpm:requires >\n      <rpm:entry
249
        name=\"/bin/bash\" />\n    </rpm:requires>\n    <file>/etc/prorealistic/prorealistic-test-file.txt</file>\n    <file>/usr/sbin/prorealistic</file>\n    <file
250
        type=\"dir\">/etc/prorealistic</file>\n  </format>\n</package>\n"}, "description":
251
        "prorealistic package.  Nothing to see here.", "_last_updated": "2015-01-30T21:39:39Z",
252
        "time": 1370379997, "header_range": {"start": 280, "end": 2696}, "arch": "noarch",
253
        "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",
254
        "sourcerpm": "prorealistic-7.1.0-1.elfake.src.rpm", "name": "prorealistic",
255
        "license": "MIT", "changelog": [[1273060800, "<mmccune@redhat.com> - 7.1.0.1",
256
        "- Initial rev"]], "url": "https://example.com/prorealistic", "release_sort_index":
257
        "01-1.$elfake", "summary": "prorealistic package", "relativepath": "prorealistic-7.1.0-1.elfake.noarch.rpm",
258
        "release": "1.elfake", "_id": "014b33aa-5f5e-4a85-a77c-e9d786356014", "requires":
259
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
260
        "/bin/bash"}]}, {"repository_memberships": ["Default_Organization-dev-v2111111-prod1-repo1",
261
        "Default_Organization-Library-v2111111-prod1-repo1", "Default_Organization-v2111111-1_0-prod1-repo1",
262
        "Default_Organization-prod1-repo1"], "_href": "/pulp/api/v2/content/units/rpm/017ed71c-c696-4999-94ee-8f0022530cb4/",
263
        "build_time": 1370379949, "buildhost": "kona.pdx.redhat.com", "_content_type_id":
264
        "rpm", "vendor": null, "checksum": "9705f2b0a76f1610d8ae2f78152a26a0915fa78447facec927123c2aac01b33c",
265
        "children": {}, "size": 70416, "group": "Development/Libraries", "base_url":
266
        null, "filename": "bodings-6.2.6-1.elfake.noarch.rpm", "relative_url_path":
267
        null, "epoch": "0", "version": "6.2.6", "version_sort_index": "01-6.01-2.01-6",
268
        "provides": [{"release": "1.elfake", "epoch": "0", "version": "6.2.6", "flags":
269
        "EQ", "name": "bodings"}, {"release": "1.elfake", "epoch": "0", "version":
270
        "6.2.6", "flags": "EQ", "name": "config(bodings)"}], "files": {"file": ["/etc/bodings/bodings-test-file.txt",
271
        "/usr/sbin/bodings", "/var/lib/bodings/bodings-dummy-data.dat"], "dir": ["/etc",
272
        "/etc/bodings", "/var/lib/bodings"]}, "repodata": {"filelists": "<package
273
        arch=\"noarch\" name=\"bodings\" pkgid=\"9705f2b0a76f1610d8ae2f78152a26a0915fa78447facec927123c2aac01b33c\">\n    <version
274
        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
275
        type=\"dir\">/etc</file>\n    <file type=\"dir\">/etc/bodings</file>\n    <file
276
        type=\"dir\">/var/lib/bodings</file>\n</package>\n\n", "other": "<package
277
        arch=\"noarch\" name=\"bodings\" pkgid=\"9705f2b0a76f1610d8ae2f78152a26a0915fa78447facec927123c2aac01b33c\">\n    <version
278
        epoch=\"0\" rel=\"1.elfake\" ver=\"6.2.6\" />\n\n<changelog author=\"&lt;mmccune@redhat.com&gt;
279
        - 6.2.6.1\" date=\"1273060800\">- Initial rev</changelog>\n\n</package>\n\n",
280
        "primary": "<package type=\"rpm\">\n  <name>bodings</name>\n  <arch>noarch</arch>\n  <version
281
        epoch=\"0\" rel=\"1.elfake\" ver=\"6.2.6\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">9705f2b0a76f1610d8ae2f78152a26a0915fa78447facec927123c2aac01b33c</checksum>\n  <summary>bodings
282
        package</summary>\n  <description>bodings package.  Nothing to see here.</description>\n  <packager
283
        />\n  <url>https://example.com/bodings</url>\n  <time build=\"1370379949\"
284
        file=\"1370379949\" />\n  <size archive=\"67708\" installed=\"66784\" package=\"70416\"
285
        />\n<location href=\"bodings-6.2.6-1.elfake.noarch.rpm\"/>\n  <format>\n    <rpm:license
286
        >MIT</rpm:license>\n    <rpm:vendor />\n    <rpm:group >Development/Libraries</rpm:group>\n    <rpm:buildhost
287
        >kona.pdx.redhat.com</rpm:buildhost>\n    <rpm:sourcerpm >bodings-6.2.6-1.elfake.src.rpm</rpm:sourcerpm>\n    <rpm:header-range
288
        end=\"2620\" start=\"280\" />\n    <rpm:provides >\n      <rpm:entry epoch=\"0\"
289
        flags=\"EQ\" name=\"bodings\" rel=\"1.elfake\" ver=\"6.2.6\" />\n      <rpm:entry
290
        epoch=\"0\" flags=\"EQ\" name=\"config(bodings)\" rel=\"1.elfake\" ver=\"6.2.6\"
291
        />\n    </rpm:provides>\n    <rpm:requires >\n      <rpm:entry name=\"/bin/bash\"
292
        />\n    </rpm:requires>\n    <file>/etc/bodings/bodings-test-file.txt</file>\n    <file>/usr/sbin/bodings</file>\n    <file
293
        type=\"dir\">/etc/bodings</file>\n  </format>\n</package>\n"}, "description":
294
        "bodings package.  Nothing to see here.", "_last_updated": "2015-01-30T21:39:41Z",
295
        "time": 1370379949, "header_range": {"start": 280, "end": 2620}, "arch": "noarch",
296
        "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",
297
        "sourcerpm": "bodings-6.2.6-1.elfake.src.rpm", "name": "bodings", "license":
298
        "MIT", "changelog": [[1273060800, "<mmccune@redhat.com> - 6.2.6.1", "- Initial
299
        rev"]], "url": "https://example.com/bodings", "release_sort_index": "01-1.$elfake",
300
        "summary": "bodings package", "relativepath": "bodings-6.2.6-1.elfake.noarch.rpm",
301
        "release": "1.elfake", "_id": "017ed71c-c696-4999-94ee-8f0022530cb4", "requires":
302
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
303
        "/bin/bash"}]}]'
304
    http_version: 
305
  recorded_at: Mon, 02 Feb 2015 06:40:01 GMT
306
- request:
307
    method: post
308
    uri: https://admin:eYo5Dh2rR6jQayB4vFLEpqUwMcXosuXg@kt1.local/pulp/api/v2/content/units/rpm/search/
309
    body:
310
      encoding: US-ASCII
311
      string: '{"criteria":{"filters":{"_id":{"$in":["0fc046e9-56bf-4ad3-b614-f8de99eed65f","4776e17d-994d-4173-a1c9-419c4dbfe312","4dafbf06-e2b7-408a-80e5-13a60f8f8c91"]}}},"include_repos":true}'
312
    headers:
313
      Accept:
314
      - application/json
315
      Accept-Encoding:
316
      - gzip, deflate
317
      Content-Type:
318
      - application/json
319
      Content-Length:
320
      - '180'
321
      User-Agent:
322
      - Ruby
323
  response:
324
    status:
325
      code: 200
326
      message: OK
327
    headers:
328
      Date:
329
      - Tue, 03 Feb 2015 20:24:22 GMT
330
      Server:
331
      - Apache/2.2.15 (Red Hat)
332
      Vary:
333
      - Accept-Encoding
334
      Content-Length:
335
      - '9227'
336
      Connection:
337
      - close
338
      Content-Type:
339
      - application/json
340
    body:
341
      encoding: ASCII-8BIT
342
      string: '[{"repository_memberships": ["integration_test_id"], "_href": "/pulp/api/v2/content/units/rpm/0fc046e9-56bf-4ad3-b614-f8de99eed65f/",
343
        "build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
344
        "rpm", "relative_url_path": null, "children": {}, "size": 2248, "group": "Internet/Applications",
345
        "base_url": null, "filename": "squirrel-0.3-0.8.noarch.rpm", "vendor": null,
346
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
347
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
348
        "squirrel"}], "files": {"file": ["//squirrel.txt"], "dir": []}, "repodata":
349
        {"filelists": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n    <version
350
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//squirrel.txt</file>\n</package>\n\n",
351
        "other": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n    <version
352
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
353
        type=\"rpm\">\n  <name>squirrel</name>\n  <arch>noarch</arch>\n  <version
354
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\n  <summary>A
355
        dummy package of squirrel</summary>\n  <description>A dummy package of squirrel</description>\n  <packager
356
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257502\"
357
        file=\"1321891029\" />\n  <size archive=\"296\" installed=\"42\" package=\"2248\"
358
        />\n<location href=\"squirrel-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license
359
        >GPLv2</rpm:license>\n    <rpm:vendor />\n    <rpm:group >Internet/Applications</rpm:group>\n    <rpm:buildhost
360
        >dhcp-26-118.brq.redhat.com</rpm:buildhost>\n    <rpm:sourcerpm >squirrel-0.3-0.8.src.rpm</rpm:sourcerpm>\n    <rpm:header-range
361
        end=\"2028\" start=\"280\" />\n    <rpm:provides >\n      <rpm:entry epoch=\"0\"
362
        flags=\"EQ\" name=\"squirrel\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires
363
        >\n      <rpm:entry name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
364
        "description": "A dummy package of squirrel", "_last_updated": "2015-02-03T20:24:20Z",
365
        "time": 1321891029, "header_range": {"start": 280, "end": 2028}, "release_sort_index":
366
        "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",
367
        "sourcerpm": "squirrel-0.3-0.8.src.rpm", "checksumtype": "sha256", "license":
368
        "GPLv2", "changelog": [], "url": "http://tstrachota.fedorapeople.org", "checksum":
369
        "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2", "summary":
370
        "A dummy package of squirrel", "relativepath": "squirrel-0.3-0.8.noarch.rpm",
371
        "release": "0.8", "_id": "0fc046e9-56bf-4ad3-b614-f8de99eed65f", "requires":
372
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
373
        "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"], "_href":
374
        "/pulp/api/v2/content/units/rpm/4776e17d-994d-4173-a1c9-419c4dbfe312/", "build_time":
375
        1308257466, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
376
        "rpm", "relative_url_path": null, "children": {}, "size": 2244, "group": "Internet/Applications",
377
        "base_url": null, "filename": "elephant-0.3-0.8.noarch.rpm", "vendor": null,
378
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
379
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
380
        "elephant"}], "files": {"file": ["//elephant.txt"], "dir": []}, "repodata":
381
        {"filelists": "<package arch=\"noarch\" name=\"elephant\" pkgid=\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\">\n    <version
382
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//elephant.txt</file>\n</package>\n\n",
383
        "other": "<package arch=\"noarch\" name=\"elephant\" pkgid=\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\">\n    <version
384
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
385
        type=\"rpm\">\n  <name>elephant</name>\n  <arch>noarch</arch>\n  <version
386
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3</checksum>\n  <summary>A
387
        dummy package of elephant</summary>\n  <description>A dummy package of elephant</description>\n  <packager
388
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257466\"
389
        file=\"1321891027\" />\n  <size archive=\"296\" installed=\"42\" package=\"2244\"
390
        />\n<location href=\"elephant-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license
391
        >GPLv2</rpm:license>\n    <rpm:vendor />\n    <rpm:group >Internet/Applications</rpm:group>\n    <rpm:buildhost
392
        >dhcp-26-118.brq.redhat.com</rpm:buildhost>\n    <rpm:sourcerpm >elephant-0.3-0.8.src.rpm</rpm:sourcerpm>\n    <rpm:header-range
393
        end=\"2028\" start=\"280\" />\n    <rpm:provides >\n      <rpm:entry epoch=\"0\"
394
        flags=\"EQ\" name=\"elephant\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires
395
        >\n      <rpm:entry name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
396
        "description": "A dummy package of elephant", "_last_updated": "2015-02-03T20:24:20Z",
397
        "time": 1321891027, "header_range": {"start": 280, "end": 2028}, "release_sort_index":
398
        "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",
399
        "sourcerpm": "elephant-0.3-0.8.src.rpm", "checksumtype": "sha256", "license":
400
        "GPLv2", "changelog": [], "url": "http://tstrachota.fedorapeople.org", "checksum":
401
        "3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3", "summary":
402
        "A dummy package of elephant", "relativepath": "elephant-0.3-0.8.noarch.rpm",
403
        "release": "0.8", "_id": "4776e17d-994d-4173-a1c9-419c4dbfe312", "requires":
404
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
405
        "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"], "_href":
406
        "/pulp/api/v2/content/units/rpm/4dafbf06-e2b7-408a-80e5-13a60f8f8c91/", "build_time":
407
        1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
408
        "rpm", "relative_url_path": null, "children": {}, "size": 2232, "group": "Internet/Applications",
409
        "base_url": null, "filename": "cheetah-0.3-0.8.noarch.rpm", "vendor": null,
410
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
411
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
412
        "cheetah"}], "files": {"file": ["//cheetah.txt"], "dir": []}, "repodata":
413
        {"filelists": "<package arch=\"noarch\" name=\"cheetah\" pkgid=\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\">\n    <version
414
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//cheetah.txt</file>\n</package>\n\n",
415
        "other": "<package arch=\"noarch\" name=\"cheetah\" pkgid=\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\">\n    <version
416
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
417
        type=\"rpm\">\n  <name>cheetah</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
418
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae</checksum>\n  <summary>A
419
        dummy package of cheetah</summary>\n  <description>A dummy package of cheetah</description>\n  <packager
420
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257472\"
421
        file=\"1321891028\" />\n  <size archive=\"292\" installed=\"42\" package=\"2232\"
422
        />\n<location href=\"cheetah-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license
423
        >GPLv2</rpm:license>\n    <rpm:vendor />\n    <rpm:group >Internet/Applications</rpm:group>\n    <rpm:buildhost
424
        >dhcp-26-118.brq.redhat.com</rpm:buildhost>\n    <rpm:sourcerpm >cheetah-0.3-0.8.src.rpm</rpm:sourcerpm>\n    <rpm:header-range
425
        end=\"2016\" start=\"280\" />\n    <rpm:provides >\n      <rpm:entry epoch=\"0\"
426
        flags=\"EQ\" name=\"cheetah\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires
427
        >\n      <rpm:entry name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
428
        "description": "A dummy package of cheetah", "_last_updated": "2015-02-03T20:24:20Z",
429
        "time": 1321891028, "header_range": {"start": 280, "end": 2016}, "release_sort_index":
430
        "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",
431
        "sourcerpm": "cheetah-0.3-0.8.src.rpm", "checksumtype": "sha256", "license":
432
        "GPLv2", "changelog": [], "url": "http://tstrachota.fedorapeople.org", "checksum":
433
        "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae", "summary":
434
        "A dummy package of cheetah", "relativepath": "cheetah-0.3-0.8.noarch.rpm",
435
        "release": "0.8", "_id": "4dafbf06-e2b7-408a-80e5-13a60f8f8c91", "requires":
436
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
437
        "/bin/sh"}]}]'
438
    http_version: 
439
  recorded_at: Tue, 03 Feb 2015 20:24:22 GMT
440
- request:
441
    method: post
442
    uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/content/units/rpm/search/
443
    body:
444
      encoding: UTF-8
445
      string: '{"criteria":{"filters":{"_id":{"$in":["10a70259-1d4a-408d-8a6d-4bbad39e45c7","1d9fe072-50b9-43cf-b65a-691feb04d83a","4aff8a94-9abf-4518-9c2a-51711ab7c6eb"]}}},"include_repos":true}'
446
    headers:
447
      Accept:
448
      - application/json
449
      Accept-Encoding:
450
      - gzip, deflate
451
      Content-Type:
452
      - application/json
453
      Content-Length:
454
      - '180'
455
      User-Agent:
456
      - Ruby
457
  response:
458
    status:
459
      code: 200
460
      message: OK
461
    headers:
462
      Date:
463
      - Tue, 23 Jun 2015 22:38:11 GMT
464
      Server:
465
      - Apache/2.4.6 (CentOS)
466
      Content-Length:
467
      - '9249'
468
      Connection:
469
      - close
470
      Content-Type:
471
      - application/json
472
    body:
473
      encoding: UTF-8
474
      string: '[{"repository_memberships": ["integration_test_id"], "_href": "/pulp/api/v2/content/units/rpm/10a70259-1d4a-408d-8a6d-4bbad39e45c7/",
475
        "build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
476
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
477
        "children": {}, "size": 2248, "group": "Internet/Applications", "base_url":
478
        null, "filename": "squirrel-0.3-0.8.noarch.rpm", "relative_url_path": null,
479
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
480
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
481
        "squirrel"}], "files": {"file": ["//squirrel.txt"], "dir": []}, "repodata":
482
        {"filelists": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n    <version
483
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//squirrel.txt</file>\n</package>\n\n",
484
        "other": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n    <version
485
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
486
        type=\"rpm\">\n  <name>squirrel</name>\n  <arch>noarch</arch>\n  <version
487
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\n  <summary>A
488
        dummy package of squirrel</summary>\n  <description>A dummy package of squirrel</description>\n  <packager
489
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257502\"
490
        file=\"1321891029\" />\n  <size archive=\"296\" installed=\"42\" package=\"2248\"
491
        />\n<location href=\"squirrel-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
492
        />\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
493
        end=\"2028\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
494
        flags=\"EQ\" name=\"squirrel\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
495
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
496
        "description": "A dummy package of squirrel", "_last_updated": "2015-06-23T22:38:10Z",
497
        "time": 1321891029, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
498
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm",
499
        "sourcerpm": "squirrel-0.3-0.8.src.rpm", "name": "squirrel", "license": "GPLv2",
500
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
501
        "squirrel-0.3-0.8.noarch.rpm", "summary": "A dummy package of squirrel", "release_sort_index":
502
        "01-0.01-8", "release": "0.8", "_id": "10a70259-1d4a-408d-8a6d-4bbad39e45c7",
503
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
504
        "name": "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"],
505
        "_href": "/pulp/api/v2/content/units/rpm/1d9fe072-50b9-43cf-b65a-691feb04d83a/",
506
        "build_time": 1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
507
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694",
508
        "children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
509
        null, "filename": "penguin-0.3-0.8.noarch.rpm", "relative_url_path": null,
510
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
511
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
512
        "penguin"}], "files": {"file": ["//penguin.txt"], "dir": []}, "repodata":
513
        {"filelists": "<package arch=\"noarch\" name=\"penguin\" pkgid=\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\">\n    <version
514
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//penguin.txt</file>\n</package>\n\n",
515
        "other": "<package arch=\"noarch\" name=\"penguin\" pkgid=\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\">\n    <version
516
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
517
        type=\"rpm\">\n  <name>penguin</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
518
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694</checksum>\n  <summary>A
519
        dummy package of penguin</summary>\n  <description>A dummy package of penguin</description>\n  <packager
520
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257460\"
521
        file=\"1321891029\" />\n  <size archive=\"292\" installed=\"42\" package=\"2232\"
522
        />\n<location href=\"penguin-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
523
        />\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
524
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
525
        flags=\"EQ\" name=\"penguin\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
526
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
527
        "description": "A dummy package of penguin", "_last_updated": "2015-06-23T22:38:10Z",
528
        "time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
529
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm",
530
        "sourcerpm": "penguin-0.3-0.8.src.rpm", "name": "penguin", "license": "GPLv2",
531
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
532
        "penguin-0.3-0.8.noarch.rpm", "summary": "A dummy package of penguin", "release_sort_index":
533
        "01-0.01-8", "release": "0.8", "_id": "1d9fe072-50b9-43cf-b65a-691feb04d83a",
534
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
535
        "name": "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"],
536
        "_href": "/pulp/api/v2/content/units/rpm/4aff8a94-9abf-4518-9c2a-51711ab7c6eb/",
537
        "build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
538
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
539
        "children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
540
        null, "filename": "walrus-0.3-0.8.noarch.rpm", "relative_url_path": null,
541
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
542
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
543
        "walrus"}], "files": {"file": ["//walrus.txt"], "dir": []}, "repodata": {"filelists":
544
        "<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n    <version
545
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//walrus.txt</file>\n</package>\n\n",
546
        "other": "<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n    <version
547
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
548
        type=\"rpm\">\n  <name>walrus</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
549
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\n  <summary>A
550
        dummy package of walrus</summary>\n  <description>A dummy package of walrus</description>\n  <packager
551
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257449\"
552
        file=\"1321891030\" />\n  <size archive=\"292\" installed=\"42\" package=\"2236\"
553
        />\n<location href=\"walrus-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
554
        />\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
555
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
556
        flags=\"EQ\" name=\"walrus\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
557
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
558
        "description": "A dummy package of walrus", "_last_updated": "2015-06-23T22:38:10Z",
559
        "time": 1321891030, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
560
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm",
561
        "sourcerpm": "walrus-0.3-0.8.src.rpm", "name": "walrus", "license": "GPLv2",
562
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
563
        "walrus-0.3-0.8.noarch.rpm", "summary": "A dummy package of walrus", "release_sort_index":
564
        "01-0.01-8", "release": "0.8", "_id": "4aff8a94-9abf-4518-9c2a-51711ab7c6eb",
565
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
566
        "name": "/bin/sh"}]}]'
567
    http_version: 
568
  recorded_at: Tue, 23 Jun 2015 22:38:11 GMT
569
- request:
570
    method: post
571
    uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/content/units/rpm/search/
572
    body:
573
      encoding: UTF-8
574
      string: '{"criteria":{}}'
8
      string: ! '{"criteria":{}}'
575 9
    headers:
576 10
      Accept:
577 11
      - application/json
......
589 23
      message: OK
590 24
    headers:
591 25
      Date:
592
      - Tue, 23 Jun 2015 22:45:36 GMT
26
      - Fri, 11 Sep 2015 17:39:02 GMT
593 27
      Server:
594 28
      - Apache/2.4.6 (CentOS)
595 29
      Content-Length:
596
      - '24199'
30
      - '23991'
597 31
      Connection:
598 32
      - close
599 33
      Content-Type:
600 34
      - application/json
601 35
    body:
602
      encoding: UTF-8
603
      string: '[{"_href": "/pulp/api/v2/content/units/rpm/e186616e-5696-496b-abb0-d614b399ee47/",
604
        "build_time": 1308257260, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
605
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1",
36
      encoding: US-ASCII
37
      string: ! '[{"_href": "/pulp/api/v2/content/units/rpm/4ac68de1-34fd-4966-9b6c-8dfd620e6cf9/",
38
        "build_time": 1308257260, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
39
        "rpm", "vendor": null, "checksum": "0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1",
606 40
        "children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
607 41
        null, "filename": "monkey-0.3-0.8.noarch.rpm", "relative_url_path": null,
608 42
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
622 56
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
623 57
        flags=\"EQ\" name=\"monkey\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
624 58
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
625
        "description": "A dummy package of monkey", "_last_updated": "2015-06-23T22:45:36Z",
59
        "description": "A dummy package of monkey", "_last_updated": "2015-09-11T17:39:01Z",
626 60
        "time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
627 61
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/monkey/0.3/0.8/noarch/0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1/monkey-0.3-0.8.noarch.rpm",
628 62
        "sourcerpm": "monkey-0.3-0.8.src.rpm", "name": "monkey", "license": "GPLv2",
629
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
630
        "monkey-0.3-0.8.noarch.rpm", "summary": "A dummy package of monkey", "release_sort_index":
631
        "01-0.01-8", "release": "0.8", "_id": "e186616e-5696-496b-abb0-d614b399ee47",
632
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
633
        "name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/ecaf6c04-1788-4f5c-a198-0f08455f9a89/",
634
        "build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
635
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
63
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
64
        "01-0.01-8", "summary": "A dummy package of monkey", "relativepath": "monkey-0.3-0.8.noarch.rpm",
65
        "release": "0.8", "_id": "4ac68de1-34fd-4966-9b6c-8dfd620e6cf9", "requires":
66
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
67
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/043c4ac1-2bd7-4471-b178-2a400f519733/",
68
        "build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
69
        "rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
636 70
        "children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
637 71
        null, "filename": "walrus-0.3-0.8.noarch.rpm", "relative_url_path": null,
638 72
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
652 86
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
653 87
        flags=\"EQ\" name=\"walrus\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
654 88
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
655
        "description": "A dummy package of walrus", "_last_updated": "2015-06-23T22:45:36Z",
89
        "description": "A dummy package of walrus", "_last_updated": "2015-09-11T17:39:01Z",
656 90
        "time": 1321891030, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
657 91
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm",
658 92
        "sourcerpm": "walrus-0.3-0.8.src.rpm", "name": "walrus", "license": "GPLv2",
659
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
660
        "walrus-0.3-0.8.noarch.rpm", "summary": "A dummy package of walrus", "release_sort_index":
661
        "01-0.01-8", "release": "0.8", "_id": "ecaf6c04-1788-4f5c-a198-0f08455f9a89",
662
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
663
        "name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/d6baebf3-b06f-4aff-971a-a0b5977f4cdb/",
664
        "build_time": 1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
665
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694",
93
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
94
        "01-0.01-8", "summary": "A dummy package of walrus", "relativepath": "walrus-0.3-0.8.noarch.rpm",
95
        "release": "0.8", "_id": "043c4ac1-2bd7-4471-b178-2a400f519733", "requires":
96
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
97
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/fc2de0f6-d0b8-4ed6-ac23-38a3a74baa08/",
98
        "build_time": 1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
99
        "rpm", "vendor": null, "checksum": "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694",
666 100
        "children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
667 101
        null, "filename": "penguin-0.3-0.8.noarch.rpm", "relative_url_path": null,
668 102
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
682 116
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
683 117
        flags=\"EQ\" name=\"penguin\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
684 118
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
685
        "description": "A dummy package of penguin", "_last_updated": "2015-06-23T22:45:36Z",
119
        "description": "A dummy package of penguin", "_last_updated": "2015-09-11T17:39:01Z",
686 120
        "time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
687 121
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm",
688 122
        "sourcerpm": "penguin-0.3-0.8.src.rpm", "name": "penguin", "license": "GPLv2",
689
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
690
        "penguin-0.3-0.8.noarch.rpm", "summary": "A dummy package of penguin", "release_sort_index":
691
        "01-0.01-8", "release": "0.8", "_id": "d6baebf3-b06f-4aff-971a-a0b5977f4cdb",
692
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
693
        "name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/b4b5cffa-23e2-4053-adcb-5d902b88d63d/",
694
        "build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
695
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
123
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
124
        "01-0.01-8", "summary": "A dummy package of penguin", "relativepath": "penguin-0.3-0.8.noarch.rpm",
125
        "release": "0.8", "_id": "fc2de0f6-d0b8-4ed6-ac23-38a3a74baa08", "requires":
126
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
127
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/46323dea-50b2-4358-816f-2c582f909874/",
128
        "build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
129
        "rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
696 130
        "children": {}, "size": 2248, "group": "Internet/Applications", "base_url":
697 131
        null, "filename": "squirrel-0.3-0.8.noarch.rpm", "relative_url_path": null,
698 132
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
712 146
        end=\"2028\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
713 147
        flags=\"EQ\" name=\"squirrel\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
714 148
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
715
        "description": "A dummy package of squirrel", "_last_updated": "2015-06-23T22:45:36Z",
149
        "description": "A dummy package of squirrel", "_last_updated": "2015-09-11T17:39:01Z",
716 150
        "time": 1321891029, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
717 151
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm",
718 152
        "sourcerpm": "squirrel-0.3-0.8.src.rpm", "name": "squirrel", "license": "GPLv2",
719
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
720
        "squirrel-0.3-0.8.noarch.rpm", "summary": "A dummy package of squirrel", "release_sort_index":
721
        "01-0.01-8", "release": "0.8", "_id": "b4b5cffa-23e2-4053-adcb-5d902b88d63d",
722
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
723
        "name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/2341d02e-451c-4163-b719-62969b90075d/",
724
        "build_time": 1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
725
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae",
153
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
154
        "01-0.01-8", "summary": "A dummy package of squirrel", "relativepath": "squirrel-0.3-0.8.noarch.rpm",
155
        "release": "0.8", "_id": "46323dea-50b2-4358-816f-2c582f909874", "requires":
156
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
157
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/4a091ec2-0176-4177-83b6-7bf415e53370/",
158
        "build_time": 1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
159
        "rpm", "vendor": null, "checksum": "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae",
726 160
        "children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
727 161
        null, "filename": "cheetah-0.3-0.8.noarch.rpm", "relative_url_path": null,
728 162
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
742 176
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
743 177
        flags=\"EQ\" name=\"cheetah\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
744 178
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
745
        "description": "A dummy package of cheetah", "_last_updated": "2015-06-23T22:45:36Z",
179
        "description": "A dummy package of cheetah", "_last_updated": "2015-09-11T17:39:01Z",
746 180
        "time": 1321891028, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
747 181
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/cheetah/0.3/0.8/noarch/422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae/cheetah-0.3-0.8.noarch.rpm",
748 182
        "sourcerpm": "cheetah-0.3-0.8.src.rpm", "name": "cheetah", "license": "GPLv2",
749
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
750
        "cheetah-0.3-0.8.noarch.rpm", "summary": "A dummy package of cheetah", "release_sort_index":
751
        "01-0.01-8", "release": "0.8", "_id": "2341d02e-451c-4163-b719-62969b90075d",
752
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
753
        "name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/adfe8f4a-dc3d-4791-b3f0-6131458d21ab/",
754
        "build_time": 1308257466, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
755
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3",
183
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
184
        "01-0.01-8", "summary": "A dummy package of cheetah", "relativepath": "cheetah-0.3-0.8.noarch.rpm",
185
        "release": "0.8", "_id": "4a091ec2-0176-4177-83b6-7bf415e53370", "requires":
186
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
187
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/d38951e4-81be-45be-a772-5c676accaf83/",
188
        "build_time": 1308257466, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
189
        "rpm", "vendor": null, "checksum": "3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3",
756 190
        "children": {}, "size": 2244, "group": "Internet/Applications", "base_url":
757 191
        null, "filename": "elephant-0.3-0.8.noarch.rpm", "relative_url_path": null,
758 192
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
772 206
        end=\"2028\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
773 207
        flags=\"EQ\" name=\"elephant\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
774 208
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
775
        "description": "A dummy package of elephant", "_last_updated": "2015-06-23T22:45:36Z",
209
        "description": "A dummy package of elephant", "_last_updated": "2015-09-11T17:39:01Z",
776 210
        "time": 1321891027, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
777 211
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/elephant/0.3/0.8/noarch/3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3/elephant-0.3-0.8.noarch.rpm",
778 212
        "sourcerpm": "elephant-0.3-0.8.src.rpm", "name": "elephant", "license": "GPLv2",
779
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
780
        "elephant-0.3-0.8.noarch.rpm", "summary": "A dummy package of elephant", "release_sort_index":
781
        "01-0.01-8", "release": "0.8", "_id": "adfe8f4a-dc3d-4791-b3f0-6131458d21ab",
782
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
783
        "name": "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/b24dcec4-76a8-417a-9240-13c40cb1771c/",
784
        "build_time": 1308257455, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
785
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4",
213
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
214
        "01-0.01-8", "summary": "A dummy package of elephant", "relativepath": "elephant-0.3-0.8.noarch.rpm",
215
        "release": "0.8", "_id": "d38951e4-81be-45be-a772-5c676accaf83", "requires":
216
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
217
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/a4647832-1195-4223-86bd-1d841337d8c0/",
218
        "build_time": 1308257455, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
219
        "rpm", "vendor": null, "checksum": "12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4",
786 220
        "children": {}, "size": 2212, "group": "Internet/Applications", "base_url":
787 221
        null, "filename": "lion-0.3-0.8.noarch.rpm", "relative_url_path": null, "epoch":
788 222
        "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides": [{"release":
......
802 236
        end=\"2000\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
803 237
        flags=\"EQ\" name=\"lion\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
804 238
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
805
        "description": "A dummy package of lion", "_last_updated": "2015-06-23T22:45:36Z",
239
        "description": "A dummy package of lion", "_last_updated": "2015-09-11T17:39:01Z",
806 240
        "time": 1321891028, "header_range": {"start": 280, "end": 2000}, "arch": "noarch",
807 241
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/lion/0.3/0.8/noarch/12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4/lion-0.3-0.8.noarch.rpm",
808 242
        "sourcerpm": "lion-0.3-0.8.src.rpm", "name": "lion", "license": "GPLv2", "changelog":
809
        [], "url": "http://tstrachota.fedorapeople.org", "relativepath": "lion-0.3-0.8.noarch.rpm",
810
        "summary": "A dummy package of lion", "release_sort_index": "01-0.01-8", "release":
811
        "0.8", "_id": "b24dcec4-76a8-417a-9240-13c40cb1771c", "requires": [{"release":
812
        null, "epoch": null, "version": null, "flags": null, "name": "/bin/sh"}]},
813
        {"_href": "/pulp/api/v2/content/units/rpm/c8e38d56-dd1b-4b12-a65f-d755805b8b8a/",
814
        "build_time": 1308257414, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
815
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14",
243
        [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index": "01-0.01-8",
244
        "summary": "A dummy package of lion", "relativepath": "lion-0.3-0.8.noarch.rpm",
245
        "release": "0.8", "_id": "a4647832-1195-4223-86bd-1d841337d8c0", "requires":
246
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
247
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/45d0b52e-5dba-4bfd-b861-6eaec94cf337/",
248
        "build_time": 1308257414, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
249
        "rpm", "vendor": null, "checksum": "f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14",
816 250
        "children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
817 251
        null, "filename": "giraffe-0.3-0.8.noarch.rpm", "relative_url_path": null,
818 252
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
......
832 266
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
833 267
        flags=\"EQ\" name=\"giraffe\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
834 268
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
835
        "description": "A dummy package of giraffe", "_last_updated": "2015-06-23T22:45:36Z",
269
        "description": "A dummy package of giraffe", "_last_updated": "2015-09-11T17:39:01Z",
836 270
        "time": 1321891027, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
837 271
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/giraffe/0.3/0.8/noarch/f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14/giraffe-0.3-0.8.noarch.rpm",
838 272
        "sourcerpm": "giraffe-0.3-0.8.src.rpm", "name": "giraffe", "license": "GPLv2",
839
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
840
        "giraffe-0.3-0.8.noarch.rpm", "summary": "A dummy package of giraffe", "release_sort_index":
841
        "01-0.01-8", "release": "0.8", "_id": "c8e38d56-dd1b-4b12-a65f-d755805b8b8a",
842
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
843
        "name": "/bin/sh"}]}]'
273
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
274
        "01-0.01-8", "summary": "A dummy package of giraffe", "relativepath": "giraffe-0.3-0.8.noarch.rpm",
275
        "release": "0.8", "_id": "45d0b52e-5dba-4bfd-b861-6eaec94cf337", "requires":
276
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
277
        "/bin/sh"}]}]'
844 278
    http_version: 
845
  recorded_at: Tue, 23 Jun 2015 22:45:36 GMT
279
  recorded_at: Fri, 11 Sep 2015 17:39:02 GMT
846 280
- request:
847 281
    method: post
848
    uri: https://admin:7HLGDTSxNnAEEtqKgjecYCvftjzNmoRE@katello-kant.example.com/pulp/api/v2/content/units/rpm/search/
282
    uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/content/units/rpm/search/
849 283
    body:
850
      encoding: UTF-8
851
      string: '{"criteria":{"filters":{"_id":{"$in":["2341d02e-451c-4163-b719-62969b90075d","adfe8f4a-dc3d-4791-b3f0-6131458d21ab","b24dcec4-76a8-417a-9240-13c40cb1771c"]}}},"include_repos":true}'
284
      encoding: US-ASCII
285
      string: ! '{"criteria":{"filters":{"_id":{"$in":["043c4ac1-2bd7-4471-b178-2a400f519733","45d0b52e-5dba-4bfd-b861-6eaec94cf337","46323dea-50b2-4358-816f-2c582f909874"]}}},"include_repos":true}'
852 286
    headers:
853 287
      Accept:
854 288
      - application/json
......
866 300
      message: OK
867 301
    headers:
868 302
      Date:
869
      - Tue, 23 Jun 2015 22:45:36 GMT
303
      - Fri, 11 Sep 2015 17:39:02 GMT
870 304
      Server:
871 305
      - Apache/2.4.6 (CentOS)
872 306
      Content-Length:
873
      - '9211'
307
      - '9171'
874 308
      Connection:
875 309
      - close
876 310
      Content-Type:
877 311
      - application/json
878 312
    body:
879
      encoding: UTF-8
880
      string: '[{"repository_memberships": ["integration_test_id"], "_href": "/pulp/api/v2/content/units/rpm/2341d02e-451c-4163-b719-62969b90075d/",
881
        "build_time": 1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
882
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae",
883
        "children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
884
        null, "filename": "cheetah-0.3-0.8.noarch.rpm", "relative_url_path": null,
313
      encoding: US-ASCII
314
      string: ! '[{"repository_memberships": ["integration_test_id"], "_href": "/pulp/api/v2/content/units/rpm/043c4ac1-2bd7-4471-b178-2a400f519733/",
315
        "build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
316
        "rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
317
        "children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
318
        null, "filename": "walrus-0.3-0.8.noarch.rpm", "relative_url_path": null,
885 319
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
886 320
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
887
        "cheetah"}], "files": {"file": ["//cheetah.txt"], "dir": []}, "repodata":
888
        {"filelists": "<package arch=\"noarch\" name=\"cheetah\" pkgid=\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\">\n    <version
889
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//cheetah.txt</file>\n</package>\n\n",
890
        "other": "<package arch=\"noarch\" name=\"cheetah\" pkgid=\"422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae\">\n    <version
321
        "walrus"}], "files": {"file": ["//walrus.txt"], "dir": []}, "repodata": {"filelists":
322
        "<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n    <version
323
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//walrus.txt</file>\n</package>\n\n",
324
        "other": "<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n    <version
891 325
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
892
        type=\"rpm\">\n  <name>cheetah</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
893
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae</checksum>\n  <summary>A
894
        dummy package of cheetah</summary>\n  <description>A dummy package of cheetah</description>\n  <packager
895
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257472\"
896
        file=\"1321891028\" />\n  <size archive=\"292\" installed=\"42\" package=\"2232\"
897
        />\n<location href=\"cheetah-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
898
        />\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
326
        type=\"rpm\">\n  <name>walrus</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
327
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\n  <summary>A
328
        dummy package of walrus</summary>\n  <description>A dummy package of walrus</description>\n  <packager
329
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257449\"
330
        file=\"1321891030\" />\n  <size archive=\"292\" installed=\"42\" package=\"2236\"
331
        />\n<location href=\"walrus-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
332
        />\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
899 333
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
900
        flags=\"EQ\" name=\"cheetah\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
334
        flags=\"EQ\" name=\"walrus\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
901 335
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
902
        "description": "A dummy package of cheetah", "_last_updated": "2015-06-23T22:45:36Z",
903
        "time": 1321891028, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
904
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/cheetah/0.3/0.8/noarch/422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae/cheetah-0.3-0.8.noarch.rpm",
905
        "sourcerpm": "cheetah-0.3-0.8.src.rpm", "name": "cheetah", "license": "GPLv2",
906
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
907
        "cheetah-0.3-0.8.noarch.rpm", "summary": "A dummy package of cheetah", "release_sort_index":
908
        "01-0.01-8", "release": "0.8", "_id": "2341d02e-451c-4163-b719-62969b90075d",
909
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
910
        "name": "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"],
911
        "_href": "/pulp/api/v2/content/units/rpm/adfe8f4a-dc3d-4791-b3f0-6131458d21ab/",
912
        "build_time": 1308257466, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
913
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3",
914
        "children": {}, "size": 2244, "group": "Internet/Applications", "base_url":
915
        null, "filename": "elephant-0.3-0.8.noarch.rpm", "relative_url_path": null,
336
        "description": "A dummy package of walrus", "_last_updated": "2015-09-11T17:39:01Z",
337
        "time": 1321891030, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
338
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm",
339
        "sourcerpm": "walrus-0.3-0.8.src.rpm", "name": "walrus", "license": "GPLv2",
340
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
341
        "01-0.01-8", "summary": "A dummy package of walrus", "relativepath": "walrus-0.3-0.8.noarch.rpm",
342
        "release": "0.8", "_id": "043c4ac1-2bd7-4471-b178-2a400f519733", "requires":
343
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
344
        "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"], "_href":
345
        "/pulp/api/v2/content/units/rpm/45d0b52e-5dba-4bfd-b861-6eaec94cf337/", "build_time":
346
        1308257414, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
347
        "rpm", "vendor": null, "checksum": "f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14",
348
        "children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
349
        null, "filename": "giraffe-0.3-0.8.noarch.rpm", "relative_url_path": null,
916 350
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
917 351
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
918
        "elephant"}], "files": {"file": ["//elephant.txt"], "dir": []}, "repodata":
919
        {"filelists": "<package arch=\"noarch\" name=\"elephant\" pkgid=\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\">\n    <version
920
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//elephant.txt</file>\n</package>\n\n",
921
        "other": "<package arch=\"noarch\" name=\"elephant\" pkgid=\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\">\n    <version
352
        "giraffe"}], "files": {"file": ["//giraffe.txt"], "dir": []}, "repodata":
353
        {"filelists": "<package arch=\"noarch\" name=\"giraffe\" pkgid=\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\">\n    <version
354
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//giraffe.txt</file>\n</package>\n\n",
355
        "other": "<package arch=\"noarch\" name=\"giraffe\" pkgid=\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\">\n    <version
922 356
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
923
        type=\"rpm\">\n  <name>elephant</name>\n  <arch>noarch</arch>\n  <version
924
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3</checksum>\n  <summary>A
925
        dummy package of elephant</summary>\n  <description>A dummy package of elephant</description>\n  <packager
926
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257466\"
927
        file=\"1321891027\" />\n  <size archive=\"296\" installed=\"42\" package=\"2244\"
928
        />\n<location href=\"elephant-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
929
        />\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
930
        end=\"2028\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
931
        flags=\"EQ\" name=\"elephant\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
357
        type=\"rpm\">\n  <name>giraffe</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
358
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14</checksum>\n  <summary>A
359
        dummy package of giraffe</summary>\n  <description>A dummy package of giraffe</description>\n  <packager
360
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257414\"
361
        file=\"1321891027\" />\n  <size archive=\"292\" installed=\"42\" package=\"2236\"
362
        />\n<location href=\"giraffe-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
363
        />\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
364
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
365
        flags=\"EQ\" name=\"giraffe\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
932 366
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
933
        "description": "A dummy package of elephant", "_last_updated": "2015-06-23T22:45:36Z",
934
        "time": 1321891027, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
935
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/elephant/0.3/0.8/noarch/3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3/elephant-0.3-0.8.noarch.rpm",
936
        "sourcerpm": "elephant-0.3-0.8.src.rpm", "name": "elephant", "license": "GPLv2",
937
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "relativepath":
938
        "elephant-0.3-0.8.noarch.rpm", "summary": "A dummy package of elephant", "release_sort_index":
939
        "01-0.01-8", "release": "0.8", "_id": "adfe8f4a-dc3d-4791-b3f0-6131458d21ab",
940
        "requires": [{"release": null, "epoch": null, "version": null, "flags": null,
941
        "name": "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"],
942
        "_href": "/pulp/api/v2/content/units/rpm/b24dcec4-76a8-417a-9240-13c40cb1771c/",
943
        "build_time": 1308257455, "buildhost": "dhcp-26-118.brq.redhat.com", "pulp_user_metadata":
944
        {}, "_content_type_id": "rpm", "vendor": null, "checksum": "12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4",
945
        "children": {}, "size": 2212, "group": "Internet/Applications", "base_url":
946
        null, "filename": "lion-0.3-0.8.noarch.rpm", "relative_url_path": null, "epoch":
947
        "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides": [{"release":
948
        "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name": "lion"}], "files":
949
        {"file": ["//lion.txt"], "dir": []}, "repodata": {"filelists": "<package arch=\"noarch\"
950
        name=\"lion\" pkgid=\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\">\n    <version
951
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//lion.txt</file>\n</package>\n\n",
952
        "other": "<package arch=\"noarch\" name=\"lion\" pkgid=\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\">\n    <version
367
        "description": "A dummy package of giraffe", "_last_updated": "2015-09-11T17:39:01Z",
368
        "time": 1321891027, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
369
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/giraffe/0.3/0.8/noarch/f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14/giraffe-0.3-0.8.noarch.rpm",
370
        "sourcerpm": "giraffe-0.3-0.8.src.rpm", "name": "giraffe", "license": "GPLv2",
371
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
372
        "01-0.01-8", "summary": "A dummy package of giraffe", "relativepath": "giraffe-0.3-0.8.noarch.rpm",
373
        "release": "0.8", "_id": "45d0b52e-5dba-4bfd-b861-6eaec94cf337", "requires":
374
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
375
        "/bin/sh"}]}, {"repository_memberships": ["integration_test_id"], "_href":
376
        "/pulp/api/v2/content/units/rpm/46323dea-50b2-4358-816f-2c582f909874/", "build_time":
377
        1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
378
        "rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
379
        "children": {}, "size": 2248, "group": "Internet/Applications", "base_url":
380
        null, "filename": "squirrel-0.3-0.8.noarch.rpm", "relative_url_path": null,
381
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
382
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
383
        "squirrel"}], "files": {"file": ["//squirrel.txt"], "dir": []}, "repodata":
384
        {"filelists": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n    <version
385
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//squirrel.txt</file>\n</package>\n\n",
386
        "other": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n    <version
953 387
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
954
        type=\"rpm\">\n  <name>lion</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
955
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4</checksum>\n  <summary>A
956
        dummy package of lion</summary>\n  <description>A dummy package of lion</description>\n  <packager
957
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257455\"
958
        file=\"1321891028\" />\n  <size archive=\"292\" installed=\"42\" package=\"2212\"
959
        />\n<location href=\"lion-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
960
        />\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
961
        end=\"2000\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
962
        flags=\"EQ\" name=\"lion\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
388
        type=\"rpm\">\n  <name>squirrel</name>\n  <arch>noarch</arch>\n  <version
389
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\n  <summary>A
390
        dummy package of squirrel</summary>\n  <description>A dummy package of squirrel</description>\n  <packager
391
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257502\"
392
        file=\"1321891029\" />\n  <size archive=\"296\" installed=\"42\" package=\"2248\"
393
        />\n<location href=\"squirrel-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
394
        />\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
395
        end=\"2028\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
396
        flags=\"EQ\" name=\"squirrel\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
963 397
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
964
        "description": "A dummy package of lion", "_last_updated": "2015-06-23T22:45:36Z",
965
        "time": 1321891028, "header_range": {"start": 280, "end": 2000}, "arch": "noarch",
966
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/lion/0.3/0.8/noarch/12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4/lion-0.3-0.8.noarch.rpm",
967
        "sourcerpm": "lion-0.3-0.8.src.rpm", "name": "lion", "license": "GPLv2", "changelog":
968
        [], "url": "http://tstrachota.fedorapeople.org", "relativepath": "lion-0.3-0.8.noarch.rpm",
969
        "summary": "A dummy package of lion", "release_sort_index": "01-0.01-8", "release":
970
        "0.8", "_id": "b24dcec4-76a8-417a-9240-13c40cb1771c", "requires": [{"release":
971
        null, "epoch": null, "version": null, "flags": null, "name": "/bin/sh"}]}]'
398
        "description": "A dummy package of squirrel", "_last_updated": "2015-09-11T17:39:01Z",
399
        "time": 1321891029, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
400
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm",
401
        "sourcerpm": "squirrel-0.3-0.8.src.rpm", "name": "squirrel", "license": "GPLv2",
402
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
403
        "01-0.01-8", "summary": "A dummy package of squirrel", "relativepath": "squirrel-0.3-0.8.noarch.rpm",
404
        "release": "0.8", "_id": "46323dea-50b2-4358-816f-2c582f909874", "requires":
405
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
406
        "/bin/sh"}]}]'
972 407
    http_version: 
973
  recorded_at: Tue, 23 Jun 2015 22:45:36 GMT
408
  recorded_at: Fri, 11 Sep 2015 17:39:02 GMT
974 409
recorded_with: VCR 2.9.3
test/fixtures/vcr_cassettes/extensions/rpm/find_all_by_unit_ids_no_repos.yml
1
---
2
http_interactions:
3
- request:
4
    method: post
5
    uri: https://admin:BR3uiXAURH8xrhnyd4e2aiFfgqPzzj69@troy.usersys.redhat.com/pulp/api/v2/content/units/rpm/search/
6
    body:
7
      encoding: US-ASCII
8
      string: ! '{"criteria":{}}'
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      Content-Length:
17
      - '15'
18
      User-Agent:
19
      - Ruby
20
  response:
21
    status:
22
      code: 200
23
      message: OK
24
    headers:
25
      Date:
26
      - Fri, 11 Sep 2015 17:39:03 GMT
27
      Server:
28
      - Apache/2.4.6 (CentOS)
29
      Content-Length:
30
      - '23991'
31
      Connection:
32
      - close
33
      Content-Type:
34
      - application/json
35
    body:
36
      encoding: US-ASCII
37
      string: ! '[{"_href": "/pulp/api/v2/content/units/rpm/4ac68de1-34fd-4966-9b6c-8dfd620e6cf9/",
38
        "build_time": 1308257260, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
39
        "rpm", "vendor": null, "checksum": "0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1",
40
        "children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
41
        null, "filename": "monkey-0.3-0.8.noarch.rpm", "relative_url_path": null,
42
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
43
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
44
        "monkey"}], "files": {"file": ["//monkey.txt"], "dir": []}, "repodata": {"filelists":
45
        "<package arch=\"noarch\" name=\"monkey\" pkgid=\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\">\n    <version
46
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//monkey.txt</file>\n</package>\n\n",
47
        "other": "<package arch=\"noarch\" name=\"monkey\" pkgid=\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\">\n    <version
48
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
49
        type=\"rpm\">\n  <name>monkey</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
50
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1</checksum>\n  <summary>A
51
        dummy package of monkey</summary>\n  <description>A dummy package of monkey</description>\n  <packager
52
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257260\"
53
        file=\"1321891029\" />\n  <size archive=\"292\" installed=\"42\" package=\"2232\"
54
        />\n<location href=\"monkey-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
55
        />\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
56
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
57
        flags=\"EQ\" name=\"monkey\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
58
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
59
        "description": "A dummy package of monkey", "_last_updated": "2015-09-11T17:39:01Z",
60
        "time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
61
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/monkey/0.3/0.8/noarch/0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1/monkey-0.3-0.8.noarch.rpm",
62
        "sourcerpm": "monkey-0.3-0.8.src.rpm", "name": "monkey", "license": "GPLv2",
63
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
64
        "01-0.01-8", "summary": "A dummy package of monkey", "relativepath": "monkey-0.3-0.8.noarch.rpm",
65
        "release": "0.8", "_id": "4ac68de1-34fd-4966-9b6c-8dfd620e6cf9", "requires":
66
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
67
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/043c4ac1-2bd7-4471-b178-2a400f519733/",
68
        "build_time": 1308257449, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
69
        "rpm", "vendor": null, "checksum": "6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd",
70
        "children": {}, "size": 2236, "group": "Internet/Applications", "base_url":
71
        null, "filename": "walrus-0.3-0.8.noarch.rpm", "relative_url_path": null,
72
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
73
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
74
        "walrus"}], "files": {"file": ["//walrus.txt"], "dir": []}, "repodata": {"filelists":
75
        "<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n    <version
76
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//walrus.txt</file>\n</package>\n\n",
77
        "other": "<package arch=\"noarch\" name=\"walrus\" pkgid=\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\">\n    <version
78
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
79
        type=\"rpm\">\n  <name>walrus</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
80
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\n  <summary>A
81
        dummy package of walrus</summary>\n  <description>A dummy package of walrus</description>\n  <packager
82
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257449\"
83
        file=\"1321891030\" />\n  <size archive=\"292\" installed=\"42\" package=\"2236\"
84
        />\n<location href=\"walrus-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
85
        />\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
86
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
87
        flags=\"EQ\" name=\"walrus\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
88
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
89
        "description": "A dummy package of walrus", "_last_updated": "2015-09-11T17:39:01Z",
90
        "time": 1321891030, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
91
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm",
92
        "sourcerpm": "walrus-0.3-0.8.src.rpm", "name": "walrus", "license": "GPLv2",
93
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
94
        "01-0.01-8", "summary": "A dummy package of walrus", "relativepath": "walrus-0.3-0.8.noarch.rpm",
95
        "release": "0.8", "_id": "043c4ac1-2bd7-4471-b178-2a400f519733", "requires":
96
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
97
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/fc2de0f6-d0b8-4ed6-ac23-38a3a74baa08/",
98
        "build_time": 1308257460, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
99
        "rpm", "vendor": null, "checksum": "3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694",
100
        "children": {}, "size": 2232, "group": "Internet/Applications", "base_url":
101
        null, "filename": "penguin-0.3-0.8.noarch.rpm", "relative_url_path": null,
102
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
103
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
104
        "penguin"}], "files": {"file": ["//penguin.txt"], "dir": []}, "repodata":
105
        {"filelists": "<package arch=\"noarch\" name=\"penguin\" pkgid=\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\">\n    <version
106
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//penguin.txt</file>\n</package>\n\n",
107
        "other": "<package arch=\"noarch\" name=\"penguin\" pkgid=\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\">\n    <version
108
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
109
        type=\"rpm\">\n  <name>penguin</name>\n  <arch>noarch</arch>\n  <version epoch=\"0\"
110
        rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694</checksum>\n  <summary>A
111
        dummy package of penguin</summary>\n  <description>A dummy package of penguin</description>\n  <packager
112
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257460\"
113
        file=\"1321891029\" />\n  <size archive=\"292\" installed=\"42\" package=\"2232\"
114
        />\n<location href=\"penguin-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
115
        />\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
116
        end=\"2016\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
117
        flags=\"EQ\" name=\"penguin\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
118
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
119
        "description": "A dummy package of penguin", "_last_updated": "2015-09-11T17:39:01Z",
120
        "time": 1321891029, "header_range": {"start": 280, "end": 2016}, "arch": "noarch",
121
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm",
122
        "sourcerpm": "penguin-0.3-0.8.src.rpm", "name": "penguin", "license": "GPLv2",
123
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
124
        "01-0.01-8", "summary": "A dummy package of penguin", "relativepath": "penguin-0.3-0.8.noarch.rpm",
125
        "release": "0.8", "_id": "fc2de0f6-d0b8-4ed6-ac23-38a3a74baa08", "requires":
126
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
127
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/46323dea-50b2-4358-816f-2c582f909874/",
128
        "build_time": 1308257502, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
129
        "rpm", "vendor": null, "checksum": "251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2",
130
        "children": {}, "size": 2248, "group": "Internet/Applications", "base_url":
131
        null, "filename": "squirrel-0.3-0.8.noarch.rpm", "relative_url_path": null,
132
        "epoch": "0", "version": "0.3", "version_sort_index": "01-0.01-3", "provides":
133
        [{"release": "0.8", "epoch": "0", "version": "0.3", "flags": "EQ", "name":
134
        "squirrel"}], "files": {"file": ["//squirrel.txt"], "dir": []}, "repodata":
135
        {"filelists": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n    <version
136
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n    <file>//squirrel.txt</file>\n</package>\n\n",
137
        "other": "<package arch=\"noarch\" name=\"squirrel\" pkgid=\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\">\n    <version
138
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n\n</package>\n\n", "primary": "<package
139
        type=\"rpm\">\n  <name>squirrel</name>\n  <arch>noarch</arch>\n  <version
140
        epoch=\"0\" rel=\"0.8\" ver=\"0.3\" />\n  <checksum pkgid=\"YES\" type=\"sha256\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\n  <summary>A
141
        dummy package of squirrel</summary>\n  <description>A dummy package of squirrel</description>\n  <packager
142
        />\n  <url>http://tstrachota.fedorapeople.org</url>\n  <time build=\"1308257502\"
143
        file=\"1321891029\" />\n  <size archive=\"296\" installed=\"42\" package=\"2248\"
144
        />\n<location href=\"squirrel-0.3-0.8.noarch.rpm\"/>\n  <format>\n    <rpm:license>GPLv2</rpm:license>\n    <rpm:vendor
145
        />\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
146
        end=\"2028\" start=\"280\" />\n    <rpm:provides>\n      <rpm:entry epoch=\"0\"
147
        flags=\"EQ\" name=\"squirrel\" rel=\"0.8\" ver=\"0.3\" />\n    </rpm:provides>\n    <rpm:requires>\n      <rpm:entry
148
        name=\"/bin/sh\" pre=\"1\" />\n    </rpm:requires>\n  </format>\n</package>\n"},
149
        "description": "A dummy package of squirrel", "_last_updated": "2015-09-11T17:39:01Z",
150
        "time": 1321891029, "header_range": {"start": 280, "end": 2028}, "arch": "noarch",
151
        "checksumtype": "sha256", "_storage_path": "/var/lib/pulp/content/rpm/squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm",
152
        "sourcerpm": "squirrel-0.3-0.8.src.rpm", "name": "squirrel", "license": "GPLv2",
153
        "changelog": [], "url": "http://tstrachota.fedorapeople.org", "release_sort_index":
154
        "01-0.01-8", "summary": "A dummy package of squirrel", "relativepath": "squirrel-0.3-0.8.noarch.rpm",
155
        "release": "0.8", "_id": "46323dea-50b2-4358-816f-2c582f909874", "requires":
156
        [{"release": null, "epoch": null, "version": null, "flags": null, "name":
157
        "/bin/sh"}]}, {"_href": "/pulp/api/v2/content/units/rpm/4a091ec2-0176-4177-83b6-7bf415e53370/",
158
        "build_time": 1308257472, "buildhost": "dhcp-26-118.brq.redhat.com", "_content_type_id":
159
        "rpm", "vendor": null, "checksum": "422d0baa0cd9d7713ae796e886a23e17f578f924f74880debdbb7d65fb368dae",
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff