Project

General

Profile

Revision df1b6e2a

Added by Partha Aji about 5 years ago

Fixes #21661 - Retrieve All for consumers

This commit adds a couple of methods to retrieve all consumers in one
go.

View differences:

test/fixtures/vcr_cassettes/resources/consumer_bindings/unbind.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: get
5
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
5
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
6 6
    body:
7 7
      encoding: US-ASCII
8 8
      string: ''
......
11 11
      - application/json
12 12
      Accept-Encoding:
13 13
      - gzip, deflate
14
      User-Agent:
15
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
14 16
      Content-Type:
15 17
      - application/json
16
      User-Agent:
17
      - Ruby
18
      Host:
19
      - obelix.example.com
18 20
  response:
19 21
    status:
20 22
      code: 200
21 23
      message: OK
22 24
    headers:
23 25
      Date:
24
      - Fri, 29 Apr 2016 16:26:51 GMT
26
      - Tue, 14 Nov 2017 20:18:48 GMT
25 27
      Server:
26 28
      - Apache/2.4.6 (CentOS)
27 29
      Vary:
28 30
      - Accept-Encoding
29 31
      Content-Length:
30
      - '1310'
32
      - '1438'
33
      Connection:
34
      - close
31 35
      Content-Type:
32 36
      - application/json; charset=utf-8
33 37
    body:
34 38
      encoding: ASCII-8BIT
35 39
      string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id",
36
        "description": null, "distributors": [{"repo_id": "integration_test_id", "_href":
37
        "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "_ns":
38
        "repo_distributors", "last_publish": null, "distributor_type_id": "yum_distributor",
39
        "auto_publish": false, "scratchpad": {}, "_id": {"$oid": "57238b4aaca4886d979905fc"},
40
        "config": {"http": true, "https": true, "relative_url": "path"}, "id": "yum_dist"}],
41
        "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
42
        {"package_group": 2, "distribution": 1, "package_category": 1, "rpm": 8, "erratum":
43
        2}, "_ns": "repos", "importers": [{"scratchpad": {"repomd_revision": 1321893800,
44
        "previous_skip_list": []}, "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/",
45
        "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_sync":
46
        "2016-04-29T16:26:51Z", "repo_id": "integration_test_id", "_id": {"$oid":
47
        "57238b4aaca4886d979905fb"}, "config": {"feed": "file:///var/www/repositories/zoo5"},
48
        "id": "yum_importer"}], "locally_stored_units": 14, "_id": {"$oid": "57238b4aaca4886d979905fa"},
49
        "total_repository_units": 14, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
40
        "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated":
41
        "2017-11-14T20:18:42Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/",
42
        "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor",
43
        "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id":
44
        {"$oid": "5a0b4fa270be6f049ca06fca"}, "config": {"http": true, "https": true,
45
        "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2017-11-14T20:18:47Z",
46
        "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group":
47
        2, "distribution": 1, "package_category": 1, "rpm": 8, "erratum": 2}, "_ns":
48
        "repos", "importers": [{"repo_id": "integration_test_id", "last_updated":
49
        "2017-11-14T20:18:42Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/",
50
        "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config":
51
        {}, "last_sync": "2017-11-14T20:18:47Z", "scratchpad": {"repomd_revision":
52
        1321893800}, "_id": {"$oid": "5a0b4fa270be6f049ca06fc9"}, "config": {"feed":
53
        "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units":
54
        14, "_id": {"$oid": "5a0b4fa270be6f049ca06fc8"}, "total_repository_units":
55
        14, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
50 56
    http_version: 
51
  recorded_at: Fri, 29 Apr 2016 16:26:52 GMT
57
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
52 58
- request:
53 59
    method: post
54
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
60
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
55 61
    body:
56 62
      encoding: UTF-8
57 63
      string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}'
......
60 66
      - application/json
61 67
      Accept-Encoding:
62 68
      - gzip, deflate
69
      User-Agent:
70
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
63 71
      Content-Type:
64 72
      - application/json
65 73
      Content-Length:
66 74
      - '82'
67
      User-Agent:
68
      - Ruby
75
      Host:
76
      - obelix.example.com
69 77
  response:
70 78
    status:
71 79
      code: 200
72 80
      message: OK
73 81
    headers:
74 82
      Date:
75
      - Fri, 29 Apr 2016 16:26:52 GMT
83
      - Tue, 14 Nov 2017 20:18:48 GMT
76 84
      Server:
77 85
      - Apache/2.4.6 (CentOS)
78 86
      Vary:
79 87
      - Accept-Encoding
80 88
      Content-Length:
81 89
      - '358'
90
      Connection:
91
      - close
82 92
      Content-Type:
83 93
      - application/json; charset=utf-8
84 94
    body:
85 95
      encoding: ASCII-8BIT
86 96
      string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id":
87
        "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id":
88
        "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions":
89
        [], "binding_config": {}, "_id": {"$oid": "57238b4caca4886d979905fd"}, "id":
90
        "57238b4caca4886d979905fd"}, "error": null}'
97
        "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "_id":
98
        {"$oid": "5a0b4fa770be6f049ee2a554"}, "consumer_actions": [], "binding_config":
99
        {}, "consumer_id": "integration_test_consumer_support", "distributor_id":
100
        "yum_dist", "id": "5a0b4fa770be6f049ee2a554"}, "error": null}'
91 101
    http_version: 
92
  recorded_at: Fri, 29 Apr 2016 16:26:52 GMT
102
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
93 103
- request:
94 104
    method: get
95
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
105
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
96 106
    body:
97 107
      encoding: US-ASCII
98 108
      string: ''
......
101 111
      - application/json
102 112
      Accept-Encoding:
103 113
      - gzip, deflate
114
      User-Agent:
115
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
104 116
      Content-Type:
105 117
      - application/json
106
      User-Agent:
107
      - Ruby
118
      Host:
119
      - obelix.example.com
108 120
  response:
109 121
    status:
110 122
      code: 200
111 123
      message: OK
112 124
    headers:
113 125
      Date:
114
      - Fri, 29 Apr 2016 16:26:52 GMT
126
      - Tue, 14 Nov 2017 20:18:48 GMT
115 127
      Server:
116 128
      - Apache/2.4.6 (CentOS)
117 129
      Vary:
118 130
      - Accept-Encoding
119 131
      Content-Length:
120
      - '1310'
132
      - '1438'
133
      Connection:
134
      - close
121 135
      Content-Type:
122 136
      - application/json; charset=utf-8
123 137
    body:
124 138
      encoding: ASCII-8BIT
125 139
      string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "integration_test_id",
126
        "description": null, "distributors": [{"repo_id": "integration_test_id", "_href":
127
        "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/", "_ns":
128
        "repo_distributors", "last_publish": null, "distributor_type_id": "yum_distributor",
129
        "auto_publish": false, "scratchpad": {}, "_id": {"$oid": "57238b4aaca4886d979905fc"},
130
        "config": {"http": true, "https": true, "relative_url": "path"}, "id": "yum_dist"}],
131
        "last_unit_added": null, "notes": {}, "last_unit_removed": null, "content_unit_counts":
132
        {"package_group": 2, "distribution": 1, "package_category": 1, "rpm": 8, "erratum":
133
        2}, "_ns": "repos", "importers": [{"scratchpad": {"repomd_revision": 1321893800,
134
        "previous_skip_list": []}, "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/",
135
        "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_sync":
136
        "2016-04-29T16:26:51Z", "repo_id": "integration_test_id", "_id": {"$oid":
137
        "57238b4aaca4886d979905fb"}, "config": {"feed": "file:///var/www/repositories/zoo5"},
138
        "id": "yum_importer"}], "locally_stored_units": 14, "_id": {"$oid": "57238b4aaca4886d979905fa"},
139
        "total_repository_units": 14, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
140
        "description": null, "distributors": [{"repo_id": "integration_test_id", "last_updated":
141
        "2017-11-14T20:18:42Z", "_href": "/pulp/api/v2/repositories/integration_test_id/distributors/yum_dist/",
142
        "last_override_config": {}, "last_publish": null, "distributor_type_id": "yum_distributor",
143
        "auto_publish": false, "scratchpad": {}, "_ns": "repo_distributors", "_id":
144
        {"$oid": "5a0b4fa270be6f049ca06fca"}, "config": {"http": true, "https": true,
145
        "relative_url": "path"}, "id": "yum_dist"}], "last_unit_added": "2017-11-14T20:18:47Z",
146
        "notes": {}, "last_unit_removed": null, "content_unit_counts": {"package_group":
147
        2, "distribution": 1, "package_category": 1, "rpm": 8, "erratum": 2}, "_ns":
148
        "repos", "importers": [{"repo_id": "integration_test_id", "last_updated":
149
        "2017-11-14T20:18:42Z", "_href": "/pulp/api/v2/repositories/integration_test_id/importers/yum_importer/",
150
        "_ns": "repo_importers", "importer_type_id": "yum_importer", "last_override_config":
151
        {}, "last_sync": "2017-11-14T20:18:47Z", "scratchpad": {"repomd_revision":
152
        1321893800}, "_id": {"$oid": "5a0b4fa270be6f049ca06fc9"}, "config": {"feed":
153
        "file:///var/www/repositories/zoo5"}, "id": "yum_importer"}], "locally_stored_units":
154
        14, "_id": {"$oid": "5a0b4fa270be6f049ca06fc8"}, "total_repository_units":
155
        14, "id": "integration_test_id", "_href": "/pulp/api/v2/repositories/integration_test_id/"}'
140 156
    http_version: 
141
  recorded_at: Fri, 29 Apr 2016 16:26:52 GMT
157
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
142 158
- request:
143 159
    method: get
144
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
160
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
145 161
    body:
146 162
      encoding: US-ASCII
147 163
      string: ''
......
150 166
      - application/json
151 167
      Accept-Encoding:
152 168
      - gzip, deflate
169
      User-Agent:
170
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
153 171
      Content-Type:
154 172
      - application/json
155
      User-Agent:
156
      - Ruby
173
      Host:
174
      - obelix.example.com
157 175
  response:
158 176
    status:
159 177
      code: 200
160 178
      message: OK
161 179
    headers:
162 180
      Date:
163
      - Fri, 29 Apr 2016 16:26:52 GMT
181
      - Tue, 14 Nov 2017 20:18:48 GMT
164 182
      Server:
165 183
      - Apache/2.4.6 (CentOS)
166 184
      Vary:
167 185
      - Accept-Encoding
168 186
      Content-Length:
169
      - '2451'
187
      - '2445'
188
      Connection:
189
      - close
170 190
      Content-Type:
171 191
      - application/json; charset=utf-8
172 192
    body:
......
174 194
      string: '[{"notify_agent": false, "repo_id": "integration_test_id", "_href":
175 195
        "/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/yum_dist/",
176 196
        "type_id": "yum_distributor", "deleted": false, "_ns": "consumer_bindings",
177
        "_id": {"$oid": "57238b4caca4886d979905fd"}, "consumer_id": "integration_test_consumer_support",
178
        "consumer_actions": [], "binding_config": {}, "details": {"server_name": "runcible.example.com",
179
        "ca_cert": null, "global_auth_ca": "-----BEGIN CERTIFICATE-----\nMI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iCPO+nOig8AMkVuFZRUr8tMhY9eJYfuUTwW6U9zWtrCAr0UoV\nv2wHWLmDg/MMEpz6YsYjYBW6w2cn5aH8kw8x/vu86lG+m0UVfrAielZiBLMWBIF2\nw2856koS9P7rdWbUZg1mjXJogEVAJ7r9gYHFWI0zuq3bNDsYQuz5GLFd5ercbMbV\n0br16V6SMtGtgb4eYEe3sfd+rl6RtucHKf3O3xFuEJtyHvh4LcRRenvH4Y+eq9QN\nQpkgYwUeQikMh0cT9T/AJTj6RLyIbiMBGJxKLmeMTdGS3izvmiIxXEnxpWVuJiIg\nKPrh3Z7PfAjWa7NqM/tLQgZSqmDPeCXBuGmCXYU6k+jYl8Gx4NfAkVGalRbSR45G\nMd0Zlnwn8io7V5ac9VHePpbkChtxs8UKAp9v8CjNL0g1MotWjQYqrT1DfGhqJ+V7\noGcK8S1s75J6wV+QN3KV+fwSIVJSOFiOBaqJDvxPIplBLq3vveKKqax1+cKdHOEB\nRpa5JmSYxBkAhyqjuh909NBB70J8aAXwUBCmeOjoExke3ZlGKaWd9BP8LqoT3kaE\n2nbxD3JhnPZuHckET1A2GC3wLzrnFcoy6CUus09egIpaEmh3vFgdFOTMKDg=\n-----END
197
        "distributor_id": "yum_dist", "consumer_id": "integration_test_consumer_support",
198
        "consumer_actions": [], "binding_config": {}, "details": {"server_name": "obelix.example.com",
199
        "ca_cert": null, "global_auth_ca": "-----BEGIN CERTIFICATE-----\nMIIE1DCCArwCCQDqsMJ7V9y2CDANBgkqhkiG9w0BAQUFADAsMRswGQYDVQQDDBJv\nYmVsaXguZXhhbXBsZS5jb20xDTALBgNVBAoMBFBVTFAwHhcNMTcwMTEzMjM1OTM5\nWhcNMzYwNDE4MjM1OTM5WjAsMRswGQYDVQQDDBJvYmVsaXguZXhhbXBsZS5jb20x\nDTALBgNVBAoMBFBVTFAwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDV\nVbeCCRV+CdircY7KM6nEhl1NvMU5bk69lSO3om7OoG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GfQqfT+lsCc0HU+dRQeJEcAh+ZmfgDIz65kkVWRy0QklUFHHkIS9sMKvA+NOGF\nOjOKjN7os6Vtrc6Eoe81GT8hybA0+AUR77EoFmH0VFHEs6pzG6R6cWMY+HbB6RTx\nacW3LbqNPSVcfBjMYRCqNO4AlOFalhSQDb1DmK/9uGcRYADpikEKFkk/e4ilTsVe\nP53jeIwc/svbspdGeyRzqqzaBexo615mXtVVRFrLqxxRMUBrOEom67PaR1CP6vG0\n4Go/5QV5sVEfCKvak8lZ0pRQD0nEru78uA+4A19ze330/2cylAP5Qw==\n-----END
180 200
        CERTIFICATE-----\n", "relative_path": "/pulp/repos/path", "gpg_keys": [],
181 201
        "client_cert": null, "protocols": ["http", "https"], "repo_name": "integration_test_id"},
182
        "distributor_id": "yum_dist", "id": "57238b4caca4886d979905fd"}]'
202
        "_id": {"$oid": "5a0b4fa770be6f049ee2a554"}, "id": "5a0b4fa770be6f049ee2a554"}]'
183 203
    http_version: 
184
  recorded_at: Fri, 29 Apr 2016 16:26:52 GMT
204
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
185 205
- request:
186 206
    method: delete
187
    uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/yum_dist/
207
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/yum_dist/
188 208
    body:
189 209
      encoding: US-ASCII
190 210
      string: ''
......
193 213
      - application/json
194 214
      Accept-Encoding:
195 215
      - gzip, deflate
216
      User-Agent:
217
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
196 218
      Content-Type:
197 219
      - application/json
198
      User-Agent:
199
      - Ruby
220
      Host:
221
      - obelix.example.com
200 222
  response:
201 223
    status:
202 224
      code: 200
203 225
      message: OK
204 226
    headers:
205 227
      Date:
206
      - Fri, 29 Apr 2016 16:26:52 GMT
228
      - Tue, 14 Nov 2017 20:18:48 GMT
207 229
      Server:
208 230
      - Apache/2.4.6 (CentOS)
209 231
      Vary:
210 232
      - Accept-Encoding
211 233
      Content-Length:
212 234
      - '358'
235
      Connection:
236
      - close
213 237
      Content-Type:
214 238
      - application/json; charset=utf-8
215 239
    body:
216 240
      encoding: ASCII-8BIT
217 241
      string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id":
218
        "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "distributor_id":
219
        "yum_dist", "consumer_id": "integration_test_consumer_support", "consumer_actions":
220
        [], "binding_config": {}, "_id": {"$oid": "57238b4caca4886d979905fd"}, "id":
221
        "57238b4caca4886d979905fd"}, "error": null}'
242
        "integration_test_id", "deleted": false, "_ns": "consumer_bindings", "_id":
243
        {"$oid": "5a0b4fa770be6f049ee2a554"}, "consumer_actions": [], "binding_config":
244
        {}, "consumer_id": "integration_test_consumer_support", "distributor_id":
245
        "yum_dist", "id": "5a0b4fa770be6f049ee2a554"}, "error": null}'
222 246
    http_version: 
223
  recorded_at: Fri, 29 Apr 2016 16:26:52 GMT
224
recorded_with: VCR 3.0.1
247
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
248
recorded_with: VCR 3.0.3

Also available in: Unified diff