1
|
---
|
2
|
http_interactions:
|
3
|
- request:
|
4
|
method: get
|
5
|
uri: https://admin:HeQSzZgm6ZEKG8aHrJEGW7aGD85Wrj57@runcible.example.com/pulp/api/v2/tasks/8313cf90-9119-42aa-a809-9340fc73911e/
|
6
|
body:
|
7
|
encoding: US-ASCII
|
8
|
string: ''
|
9
|
headers:
|
10
|
Accept:
|
11
|
- application/json
|
12
|
Accept-Encoding:
|
13
|
- gzip, deflate
|
14
|
Content-Type:
|
15
|
- application/json
|
16
|
User-Agent:
|
17
|
- Ruby
|
18
|
response:
|
19
|
status:
|
20
|
code: 200
|
21
|
message: OK
|
22
|
headers:
|
23
|
Date:
|
24
|
- Fri, 29 Apr 2016 16:26:48 GMT
|
25
|
Server:
|
26
|
- Apache/2.4.6 (CentOS)
|
27
|
Vary:
|
28
|
- Accept-Encoding
|
29
|
Content-Length:
|
30
|
- '720'
|
31
|
Content-Type:
|
32
|
- application/json; charset=utf-8
|
33
|
body:
|
34
|
encoding: ASCII-8BIT
|
35
|
string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers",
|
36
|
"_href": "/pulp/api/v2/tasks/8313cf90-9119-42aa-a809-9340fc73911e/", "task_id":
|
37
|
"8313cf90-9119-42aa-a809-9340fc73911e", "tags": ["pulp:action:content_applicability_regeneration"],
|
38
|
"finish_time": "2016-04-29T16:26:48Z", "_ns": "task_status", "start_time":
|
39
|
"2016-04-29T16:26:48Z", "traceback": null, "spawned_tasks": [], "progress_report":
|
40
|
{}, "queue": "reserved_resource_worker-0@runcible.example.com.dq", "state":
|
41
|
"finished", "worker_name": "reserved_resource_worker-0@runcible.example.com",
|
42
|
"result": null, "error": null, "_id": {"$oid": "57238b48898f5c862fa3ebe6"},
|
43
|
"id": "57238b48898f5c862fa3ebe6"}'
|
44
|
http_version:
|
45
|
recorded_at: Fri, 29 Apr 2016 16:26:48 GMT
|
46
|
- request:
|
47
|
method: post
|
48
|
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/
|
49
|
body:
|
50
|
encoding: UTF-8
|
51
|
string: '{"id":"integration_test_consumer","name":"boo"}'
|
52
|
headers:
|
53
|
Accept:
|
54
|
- application/json
|
55
|
Accept-Encoding:
|
56
|
- gzip, deflate
|
57
|
User-Agent:
|
58
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
59
|
Content-Type:
|
60
|
- application/json
|
61
|
Content-Length:
|
62
|
- '47'
|
63
|
Host:
|
64
|
- obelix.example.com
|
65
|
response:
|
66
|
status:
|
67
|
code: 201
|
68
|
message: CREATED
|
69
|
headers:
|
70
|
Date:
|
71
|
- Tue, 14 Nov 2017 20:18:40 GMT
|
72
|
Server:
|
73
|
- Apache/2.4.6 (CentOS)
|
74
|
Content-Length:
|
75
|
- '2497'
|
76
|
Location:
|
77
|
- https://obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/
|
78
|
Connection:
|
79
|
- close
|
80
|
Content-Type:
|
81
|
- application/json; charset=utf-8
|
82
|
body:
|
83
|
encoding: UTF-8
|
84
|
string: '{"consumer": {"display_name": "integration_test_consumer", "description":
|
85
|
null, "_ns": "consumers", "notes": {}, "rsa_pub": null, "capabilities": {},
|
86
|
"_id": {"$oid": "5a0b4fa070be6f049ca06fbc"}, "id": "integration_test_consumer",
|
87
|
"_href": "/pulp/api/v2/consumers/integration_test_consumer/"}, "certificate":
|
88
|
"-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQDMjm4j1n7KSiuXSpm5xmWnnI5epMXaTfUWNvjMdQI2Q+Kal1xn\nwDjWNQK3xp5i9AWs6+XSCVN+jfppRBxWFiMmypK0DsH+rfIDhMOEqs8zLwUgkKQ/\nznziW1ZkZ9oISg/D43cmtMuta6wrJ7zvAuQD4W/OI8NWnbLpr+IeHTzcgQIDAQAB\nAoGBAJjQAmnVcIywkhYIzgShuQlZBGah04i9Wk2JLZ6X/toJJrz0PDzptcwYd/pQ\nb7xereq7o8mf2/ccG6kOD9kj2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Hh083IECAwEAATANBgkqhkiG9w0BAQUFAAOCAgEAgxVQ\nLkFwhJpLK21yBC0IMT8R4u+CjLWefelGCo+Nqevrp+9nL+wyEI7KibjYIMBQ5/ez\n6Hybd9OfqwTCknEhk3B1kzI+6aQQ58LreIxfvVd2Izisgbrm7TWi3ntZTZPpVs/M\ny7N4knaUSt0XrteDDP/okcK/unrbdE92g+miD94RsLzy5KizPQTzkhmAsYb/o9Sd\n9MfNoqOpsF5CM7qEXVEVACBFHhe8vNY0xy1VPkpzroqsjouyuQ1fM9zwZM0GGGde\n9ZWwJEnS9SpwRdeQc1Cdx9BzwzYYtCmQZNH8/melb32UCP6BZZYMWjqSBAo3BDWq\n4r66vhWuv1WZMjtH3p7hfru+dKRgpLAyBLyOOUKS0WCaPKB/6d0/0OQXUpLJB22y\ni2BAQNF6ruAP6rIsq7mgmz+UmZur9EPlekgcrUw9Z2J6lgnGIdjnfO3O1chzaeHM\nmza57/ZyK6ynwROh9UcUPqm3YhxDWgaE0XYZqRyYvIxfQBaLMyltRN24WN9oTMY9\n0ivHuFqMleEYkiWqry3l0vsvehfeH6eSMuC8aadS4cRgpdSJeH/9+hyBI9KcRk6L\ngHEBYfpn2Gp2qGCi8kV8j01hZ2mdTSYS5Mlbd9/YhcHonnkNykgZx4gV2ySNpewA\nckvALW9cKT/PQcVbjJ6apNk2dPn99Ls5uMxVrmI=\n-----END
|
90
|
CERTIFICATE-----"}'
|
91
|
http_version:
|
92
|
recorded_at: Tue, 14 Nov 2017 20:18:40 GMT
|
93
|
- request:
|
94
|
method: post
|
95
|
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/actions/content/regenerate_applicability//
|
96
|
body:
|
97
|
encoding: UTF-8
|
98
|
string: '{"consumer_criteria":{"filters":{"id":{"$in":["integration_test_consumer"]}}}}'
|
99
|
headers:
|
100
|
Accept:
|
101
|
- application/json
|
102
|
Accept-Encoding:
|
103
|
- gzip, deflate
|
104
|
User-Agent:
|
105
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
106
|
Content-Type:
|
107
|
- application/json
|
108
|
Content-Length:
|
109
|
- '78'
|
110
|
Host:
|
111
|
- obelix.example.com
|
112
|
response:
|
113
|
status:
|
114
|
code: 202
|
115
|
message: ACCEPTED
|
116
|
headers:
|
117
|
Date:
|
118
|
- Tue, 14 Nov 2017 20:18:40 GMT
|
119
|
Server:
|
120
|
- Apache/2.4.6 (CentOS)
|
121
|
Content-Length:
|
122
|
- '172'
|
123
|
Connection:
|
124
|
- close
|
125
|
Content-Type:
|
126
|
- application/json; charset=utf-8
|
127
|
body:
|
128
|
encoding: UTF-8
|
129
|
string: '{"spawned_tasks": [{"_href": "/pulp/api/v2/tasks/9b9da808-df37-488e-8768-948893df08ae/",
|
130
|
"task_id": "9b9da808-df37-488e-8768-948893df08ae"}], "result": null, "error":
|
131
|
null}'
|
132
|
http_version:
|
133
|
recorded_at: Tue, 14 Nov 2017 20:18:40 GMT
|
134
|
- request:
|
135
|
method: get
|
136
|
uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/9b9da808-df37-488e-8768-948893df08ae/
|
137
|
body:
|
138
|
encoding: US-ASCII
|
139
|
string: ''
|
140
|
headers:
|
141
|
Accept:
|
142
|
- application/json
|
143
|
Accept-Encoding:
|
144
|
- gzip, deflate
|
145
|
User-Agent:
|
146
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
147
|
Content-Type:
|
148
|
- application/json
|
149
|
Host:
|
150
|
- obelix.example.com
|
151
|
response:
|
152
|
status:
|
153
|
code: 200
|
154
|
message: OK
|
155
|
headers:
|
156
|
Date:
|
157
|
- Tue, 14 Nov 2017 20:18:41 GMT
|
158
|
Server:
|
159
|
- Apache/2.4.6 (CentOS)
|
160
|
Vary:
|
161
|
- Accept-Encoding
|
162
|
Content-Length:
|
163
|
- '716'
|
164
|
Connection:
|
165
|
- close
|
166
|
Content-Type:
|
167
|
- application/json; charset=utf-8
|
168
|
body:
|
169
|
encoding: ASCII-8BIT
|
170
|
string: '{"exception": null, "task_type": "pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers",
|
171
|
"_href": "/pulp/api/v2/tasks/9b9da808-df37-488e-8768-948893df08ae/", "task_id":
|
172
|
"9b9da808-df37-488e-8768-948893df08ae", "tags": ["pulp:action:content_applicability_regeneration"],
|
173
|
"finish_time": "2017-11-14T20:18:40Z", "_ns": "task_status", "start_time":
|
174
|
"2017-11-14T20:18:40Z", "traceback": null, "spawned_tasks": [], "progress_report":
|
175
|
{}, "queue": "reserved_resource_worker-1@obelix.example.com.dq", "state":
|
176
|
"finished", "worker_name": "reserved_resource_worker-1@obelix.example.com",
|
177
|
"result": null, "error": null, "_id": {"$oid": "5a0b4fa01fbc3e9fdb584dfc"},
|
178
|
"id": "5a0b4fa01fbc3e9fdb584dfc"}'
|
179
|
http_version:
|
180
|
recorded_at: Tue, 14 Nov 2017 20:18:41 GMT
|
181
|
- request:
|
182
|
method: delete
|
183
|
uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/
|
184
|
body:
|
185
|
encoding: US-ASCII
|
186
|
string: ''
|
187
|
headers:
|
188
|
Accept:
|
189
|
- application/json
|
190
|
Accept-Encoding:
|
191
|
- gzip, deflate
|
192
|
User-Agent:
|
193
|
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.2.4p230
|
194
|
Content-Type:
|
195
|
- application/json
|
196
|
Host:
|
197
|
- obelix.example.com
|
198
|
response:
|
199
|
status:
|
200
|
code: 200
|
201
|
message: OK
|
202
|
headers:
|
203
|
Date:
|
204
|
- Tue, 14 Nov 2017 20:18:41 GMT
|
205
|
Server:
|
206
|
- Apache/2.4.6 (CentOS)
|
207
|
Content-Length:
|
208
|
- '4'
|
209
|
Connection:
|
210
|
- close
|
211
|
Content-Type:
|
212
|
- application/json; charset=utf-8
|
213
|
body:
|
214
|
encoding: UTF-8
|
215
|
string: 'null'
|
216
|
http_version:
|
217
|
recorded_at: Tue, 14 Nov 2017 20:18:41 GMT
|
218
|
recorded_with: VCR 3.0.3
|