Project

General

Profile

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

runcible / test / fixtures / vcr_cassettes / resources / consumer_applicability / generate_applicability_one_id.yml @ df1b6e2a

1
---
2
http_interactions:
3
- request:
4
    method: get
5
    uri: https://admin:oAoExV2f7EKidTk982PyfAnMCSioNdem@runcible.example.com/pulp/api/v2/tasks/0414f076-90bb-4b73-8dfc-cb3d1be12ede/
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
      - Tue, 28 Mar 2017 22:34:28 GMT
25
      Server:
26
      - Apache/2.4.6 (CentOS)
27
      Vary:
28
      - Accept-Encoding
29
      Content-Length:
30
      - '729'
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/0414f076-90bb-4b73-8dfc-cb3d1be12ede/", "task_id":
37
        "0414f076-90bb-4b73-8dfc-cb3d1be12ede", "tags": ["pulp:action:consumer_content_applicability_regeneration"],
38
        "finish_time": "2017-03-28T22:34:27Z", "_ns": "task_status", "start_time":
39
        "2017-03-28T22:34:27Z", "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": "58dae4f37b90bd635ef00a5f"},
43
        "id": "58dae4f37b90bd635ef00a5f"}'
44
    http_version: 
45
  recorded_at: Tue, 28 Mar 2017 22:34:28 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:41 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": "5a0b4fa170be6f049ca06fc1"}, "id": "integration_test_consumer",
87
        "_href": "/pulp/api/v2/consumers/integration_test_consumer/"}, "certificate":
88
        "-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQDYLmn3LTVyT0DpNaHJUS2UFRjLrP7v/aRHZIYHPnEP85Sdk33T\nmIMp0JeXyyXjs0K5/NALDIk9wSOq/9Q/X0Zy+1iKoyVmq/23Yvrrh2YiS7GBXNJR\nmcTKBoyX7jJRzr4cz6RNkaou6x88R1QHkWy1jm71J1x0thkb4anqz30IMQIDAQAB\nAoGBAK4Z0yVJt31z7mbi1oT3Z6mWw/1kOXy13RPSFU7ILu4V0V6GZhN/BEMsxqls\n5frXZ6m5vSLo2a5uWXdhyWGwLV75SXpuswBKzoAU6H/NjpequX5Muh/gnPYcOBK8\nJuZqu+STf+vyYrBXwBhxd0u+3q6CQDWGdyqvlXzRHwlU9NsBAkEA9tfNjkeoRJWi\ncdhhgleCzeYf5Z4bkS4zJsxp8ocmznIWxPuyNRRHdPCccCvw5MY76OHmcHo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zvxhc8t9eNPe\nK+STe3lVU/imSBl0s8BOI4VJ9ooSnFSZQ2b8A0O3mv/wBcuviLObBqD8lAiaoqbe\n2zfmadwVHOgt20UMpDNse8uUzdzs0rUwscNlsqkZM5cMSiRk2yL/EqecForFGSJu\nkDZsWAQRGeT+JWI2kSZ3gKX8s3jJF/Bqr0/S2gXuQGp8haCAATw+wSs+/reKjkZd\nzkskWld8FQ1+LalDTcLR28kP6Pxl0zQzW2y/V12JMYoyE5Imx5tXznZoAmw9p+wt\nEXqdMbUz/5Ln8J+9iYbGXB2vHdfOqkVA5n0h/Y/Ik1R6Rb5TWZ93Faqh/7uHDx1c\nY8GPEB3xfZbvBopgrYPHcbV9gz39kWhZjmoEVI0o67D0Abi87aXO29jhLaGGSx2q\n7n2xqoS1edXah4PX4K6rpgB7wyzPje1bDZ4WOTC7k4q8xnS/Bqb9fEosXKYjN74f\n6DJAQjyBeRQMCDdKS7s0qdvZuVNqXuSnTTEliK4dFLY78po0aQWNi2JlsNRAGMSX\nFmvKaDwe2MxdInWRaV4lZnNBMvaYvYzBvFEyLQQC\n-----END
90
        CERTIFICATE-----"}'
91
    http_version: 
92
  recorded_at: Tue, 14 Nov 2017 20:18:41 GMT
93
- request:
94
    method: post
95
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/consumers/integration_test_consumer/actions/content/regenerate_applicability/
96
    body:
97
      encoding: UTF-8
98
      string: "{}"
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
      - '2'
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:41 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/33545c8c-cd01-4171-978b-45cca0336dfd/",
130
        "task_id": "33545c8c-cd01-4171-978b-45cca0336dfd"}], "result": null, "error":
131
        null}'
132
    http_version: 
133
  recorded_at: Tue, 14 Nov 2017 20:18:41 GMT
134
- request:
135
    method: get
136
    uri: https://admin:admin@obelix.example.com/pulp/api/v2/tasks/33545c8c-cd01-4171-978b-45cca0336dfd/
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:42 GMT
158
      Server:
159
      - Apache/2.4.6 (CentOS)
160
      Vary:
161
      - Accept-Encoding
162
      Content-Length:
163
      - '725'
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/33545c8c-cd01-4171-978b-45cca0336dfd/", "task_id":
172
        "33545c8c-cd01-4171-978b-45cca0336dfd", "tags": ["pulp:action:consumer_content_applicability_regeneration"],
173
        "finish_time": "2017-11-14T20:18:41Z", "_ns": "task_status", "start_time":
174
        "2017-11-14T20:18:41Z", "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": "5a0b4fa11fbc3e9fdb584dfe"},
178
        "id": "5a0b4fa11fbc3e9fdb584dfe"}'
179
    http_version: 
180
  recorded_at: Tue, 14 Nov 2017 20:18:42 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:42 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:42 GMT
218
recorded_with: VCR 3.0.3