Project

General

Profile

Download (10.8 KB) Statistics
| Branch: | Tag: | Revision:

runcible / test / fixtures / vcr_cassettes / resources / consumer_bindings / unbind.yml @ df1b6e2a

1
---
2
http_interactions:
3
- request:
4
    method: get
5
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
6
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept:
11
      - application/json
12
      Accept-Encoding:
13
      - gzip, deflate
14
      User-Agent:
15
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
16
      Content-Type:
17
      - application/json
18
      Host:
19
      - obelix.example.com
20
  response:
21
    status:
22
      code: 200
23
      message: OK
24
    headers:
25
      Date:
26
      - Tue, 14 Nov 2017 20:18:48 GMT
27
      Server:
28
      - Apache/2.4.6 (CentOS)
29
      Vary:
30
      - Accept-Encoding
31
      Content-Length:
32
      - '1438'
33
      Connection:
34
      - close
35
      Content-Type:
36
      - application/json; charset=utf-8
37
    body:
38
      encoding: ASCII-8BIT
39
      string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "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/"}'
56
    http_version: 
57
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
58
- request:
59
    method: post
60
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
61
    body:
62
      encoding: UTF-8
63
      string: '{"repo_id":"integration_test_id","distributor_id":"yum_dist","notify_agent":false}'
64
    headers:
65
      Accept:
66
      - application/json
67
      Accept-Encoding:
68
      - gzip, deflate
69
      User-Agent:
70
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
71
      Content-Type:
72
      - application/json
73
      Content-Length:
74
      - '82'
75
      Host:
76
      - obelix.example.com
77
  response:
78
    status:
79
      code: 200
80
      message: OK
81
    headers:
82
      Date:
83
      - Tue, 14 Nov 2017 20:18:48 GMT
84
      Server:
85
      - Apache/2.4.6 (CentOS)
86
      Vary:
87
      - Accept-Encoding
88
      Content-Length:
89
      - '358'
90
      Connection:
91
      - close
92
      Content-Type:
93
      - application/json; charset=utf-8
94
    body:
95
      encoding: ASCII-8BIT
96
      string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id":
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}'
101
    http_version: 
102
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
103
- request:
104
    method: get
105
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/repositories/integration_test_id/?details=true
106
    body:
107
      encoding: US-ASCII
108
      string: ''
109
    headers:
110
      Accept:
111
      - application/json
112
      Accept-Encoding:
113
      - gzip, deflate
114
      User-Agent:
115
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
116
      Content-Type:
117
      - application/json
118
      Host:
119
      - obelix.example.com
120
  response:
121
    status:
122
      code: 200
123
      message: OK
124
    headers:
125
      Date:
126
      - Tue, 14 Nov 2017 20:18:48 GMT
127
      Server:
128
      - Apache/2.4.6 (CentOS)
129
      Vary:
130
      - Accept-Encoding
131
      Content-Length:
132
      - '1438'
133
      Connection:
134
      - close
135
      Content-Type:
136
      - application/json; charset=utf-8
137
    body:
138
      encoding: ASCII-8BIT
139
      string: '{"scratchpad": {"checksum_type": "sha256"}, "display_name": "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/"}'
156
    http_version: 
157
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
158
- request:
159
    method: get
160
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings//
161
    body:
162
      encoding: US-ASCII
163
      string: ''
164
    headers:
165
      Accept:
166
      - application/json
167
      Accept-Encoding:
168
      - gzip, deflate
169
      User-Agent:
170
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
171
      Content-Type:
172
      - application/json
173
      Host:
174
      - obelix.example.com
175
  response:
176
    status:
177
      code: 200
178
      message: OK
179
    headers:
180
      Date:
181
      - Tue, 14 Nov 2017 20:18:48 GMT
182
      Server:
183
      - Apache/2.4.6 (CentOS)
184
      Vary:
185
      - Accept-Encoding
186
      Content-Length:
187
      - '2445'
188
      Connection:
189
      - close
190
      Content-Type:
191
      - application/json; charset=utf-8
192
    body:
193
      encoding: ASCII-8BIT
194
      string: '[{"notify_agent": false, "repo_id": "integration_test_id", "_href":
195
        "/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/yum_dist/",
196
        "type_id": "yum_distributor", "deleted": false, "_ns": "consumer_bindings",
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\nWhcNMzYwNDE4MjM1OTM5WjAsMRswGQYDVQQDDBJvYmVsaXguZXhhbXB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cN66eCDxKTYXTE6IgOyWs0WKvbawkmPahz2ZeaB0EQF\n7oGheNLclaOle3rLSRBrlMqXncKQPWSRQ8Krgt2sjWN0ZyyuhsMkclI0Z/QtXQ+E\nDcGfQqfT+lsCc0HU+dRQeJEcAh+ZmfgDIz65kkVWRy0QklUFHHkIS9sMKvA+NOGF\nOjOKjN7os6Vtrc6Eoe81GT8hybA0+AUR77EoFmH0VFHEs6pzG6R6cWMY+HbB6RTx\nacW3LbqNPSVcfBjMYRCqNO4AlOFalhSQDb1DmK/9uGcRYADpikEKFkk/e4ilTsVe\nP53jeIwc/svbspdGeyRzqqzaBexo615mXtVVRFrLqxxRMUBrOEom67PaR1CP6vG0\n4Go/5QV5sVEfCKvak8lZ0pRQD0nEru78uA+4A19ze330/2cylAP5Qw==\n-----END
200
        CERTIFICATE-----\n", "relative_path": "/pulp/repos/path", "gpg_keys": [],
201
        "client_cert": null, "protocols": ["http", "https"], "repo_name": "integration_test_id"},
202
        "_id": {"$oid": "5a0b4fa770be6f049ee2a554"}, "id": "5a0b4fa770be6f049ee2a554"}]'
203
    http_version: 
204
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
205
- request:
206
    method: delete
207
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer_support/bindings/integration_test_id/yum_dist/
208
    body:
209
      encoding: US-ASCII
210
      string: ''
211
    headers:
212
      Accept:
213
      - application/json
214
      Accept-Encoding:
215
      - gzip, deflate
216
      User-Agent:
217
      - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
218
      Content-Type:
219
      - application/json
220
      Host:
221
      - obelix.example.com
222
  response:
223
    status:
224
      code: 200
225
      message: OK
226
    headers:
227
      Date:
228
      - Tue, 14 Nov 2017 20:18:48 GMT
229
      Server:
230
      - Apache/2.4.6 (CentOS)
231
      Vary:
232
      - Accept-Encoding
233
      Content-Length:
234
      - '358'
235
      Connection:
236
      - close
237
      Content-Type:
238
      - application/json; charset=utf-8
239
    body:
240
      encoding: ASCII-8BIT
241
      string: '{"spawned_tasks": [], "result": {"notify_agent": false, "repo_id":
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}'
246
    http_version: 
247
  recorded_at: Tue, 14 Nov 2017 20:18:48 GMT
248
recorded_with: VCR 3.0.3