Revision 1327c177
Added by Thomas McKay about 6 years ago
test/fixtures/vcr_cassettes/resources/content_hosts/import_search.yml | ||
---|---|---|
2 | 2 |
http_interactions: |
3 | 3 |
- request: |
4 | 4 |
method: get |
5 |
uri: https://admin:changeme@katello.example.com:50083/api/organizations/8/hosts?per_page=1
|
|
5 |
uri: https://admin:changeme@satlap.example.com/api/status
|
|
6 | 6 |
body: |
7 | 7 |
encoding: US-ASCII |
8 | 8 |
string: '' |
9 | 9 |
headers: |
10 |
Accept: |
|
11 |
- application/json;version=2 |
|
12 | 10 |
Accept-Encoding: |
13 |
- gzip, deflate |
|
14 |
User-Agent: |
|
15 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
16 |
Content-Type: |
|
17 |
- application/json |
|
18 |
Accept-Language: |
|
19 |
- en |
|
20 |
Host: |
|
21 |
- katello.example.com:50083 |
|
22 |
response: |
|
23 |
status: |
|
24 |
code: 200 |
|
25 |
message: OK |
|
26 |
headers: |
|
27 |
Date: |
|
28 |
- Wed, 30 Nov 2016 14:55:45 GMT |
|
29 |
Server: |
|
30 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
31 |
X-Frame-Options: |
|
32 |
- SAMEORIGIN |
|
33 |
X-Xss-Protection: |
|
34 |
- 1; mode=block |
|
35 |
X-Content-Type-Options: |
|
36 |
- nosniff |
|
37 |
Foreman-Version: |
|
38 |
- 1.11.0.54 |
|
39 |
Foreman-Api-Version: |
|
40 |
- '2' |
|
41 |
Apipie-Checksum: |
|
42 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
43 |
Cache-Control: |
|
44 |
- max-age=0, private, must-revalidate |
|
45 |
X-Request-Id: |
|
46 |
- 787d9368-87f4-4db3-bea5-eeda5969121c |
|
47 |
X-Runtime: |
|
48 |
- '0.157686' |
|
49 |
X-Powered-By: |
|
50 |
- Phusion Passenger 4.0.18 |
|
51 |
Etag: |
|
52 |
- '"9dddf58603bb6b0c90eb10fb3fc11092-gzip"' |
|
53 |
Status: |
|
54 |
- 200 OK |
|
55 |
Vary: |
|
56 |
- Accept-Encoding |
|
57 |
Content-Length: |
|
58 |
- '2297' |
|
59 |
Content-Type: |
|
60 |
- application/json; charset=utf-8 |
|
61 |
Set-Cookie: |
|
62 |
- _session_id=d3dada89bc52a0ea2ba6d6f839f484fa; path=/; secure; HttpOnly |
|
63 |
body: |
|
64 |
encoding: ASCII-8BIT |
|
65 |
string: | |
|
66 |
{ |
|
67 |
"total": 2, |
|
68 |
"subtotal": 2, |
|
69 |
"page": 1, |
|
70 |
"per_page": 1, |
|
71 |
"search": null, |
|
72 |
"sort": { |
|
73 |
"by": null, |
|
74 |
"order": null |
|
75 |
}, |
|
76 |
"results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-11-28 20:09:51 UTC","updated_at":"2016-11-28 21:27:19 UTC","last_compile":"2016-11-28 20:09:52 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":76,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","last_checkin":"2016-11-28 20:09:51 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:51 UTC"},"content_host_id":76}] |
|
77 |
} |
|
78 |
http_version: |
|
79 |
recorded_at: Wed, 30 Nov 2016 14:55:53 GMT |
|
80 |
- request: |
|
81 |
method: get |
|
82 |
uri: https://admin:changeme@katello.example.com:50083/api/organizations/8/hosts?page=1&per_page=20 |
|
83 |
body: |
|
84 |
encoding: US-ASCII |
|
85 |
string: '' |
|
86 |
headers: |
|
11 |
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 |
|
87 | 12 |
Accept: |
88 |
- application/json;version=2 |
|
89 |
Accept-Encoding: |
|
90 |
- gzip, deflate |
|
13 |
- "*/*" |
|
91 | 14 |
User-Agent: |
92 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
93 |
Content-Type: |
|
94 |
- application/json |
|
95 |
Accept-Language: |
|
96 |
- en |
|
15 |
- Ruby |
|
97 | 16 |
Host: |
98 |
- katello.example.com:50083
|
|
17 |
- satlap.example.com
|
|
99 | 18 |
response: |
100 | 19 |
status: |
101 | 20 |
code: 200 |
102 | 21 |
message: OK |
103 | 22 |
headers: |
104 | 23 |
Date: |
105 |
- Wed, 30 Nov 2016 14:55:46 GMT
|
|
24 |
- Tue, 13 Dec 2016 14:46:43 GMT
|
|
106 | 25 |
Server: |
107 | 26 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
108 | 27 |
X-Frame-Options: |
... | ... | |
116 | 35 |
Foreman-Api-Version: |
117 | 36 |
- '2' |
118 | 37 |
Apipie-Checksum: |
119 |
- ef9e7a17d630b8c2cc5b7e016c24efe7
|
|
38 |
- e1df2e8d43e22495b02a53b48e3b5298
|
|
120 | 39 |
Cache-Control: |
121 | 40 |
- max-age=0, private, must-revalidate |
122 | 41 |
X-Request-Id: |
123 |
- f3273f51-76b7-4627-96d8-7605631a5d77
|
|
42 |
- 567ebaa7-b34f-4ba8-9c68-d5de55563823
|
|
124 | 43 |
X-Runtime: |
125 |
- '0.183999'
|
|
44 |
- '0.036735'
|
|
126 | 45 |
X-Powered-By: |
127 | 46 |
- Phusion Passenger 4.0.18 |
128 |
Etag: |
|
129 |
- '"c93296bc0fd6bf7ae5e03a09de91b598-gzip"' |
|
130 |
Status: |
|
131 |
- 200 OK |
|
132 |
Vary: |
|
133 |
- Accept-Encoding |
|
134 |
Content-Length: |
|
135 |
- '4434' |
|
136 |
Content-Type: |
|
137 |
- application/json; charset=utf-8 |
|
138 | 47 |
Set-Cookie: |
139 |
- _session_id=24327c06ed890a2964b6662c3cf6eb20; path=/; secure; HttpOnly |
|
140 |
body: |
|
141 |
encoding: ASCII-8BIT |
|
142 |
string: | |
|
143 |
{ |
|
144 |
"total": 2, |
|
145 |
"subtotal": 2, |
|
146 |
"page": 1, |
|
147 |
"per_page": 20, |
|
148 |
"search": null, |
|
149 |
"sort": { |
|
150 |
"by": null, |
|
151 |
"order": null |
|
152 |
}, |
|
153 |
"results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-11-28 20:09:51 UTC","updated_at":"2016-11-28 21:27:19 UTC","last_compile":"2016-11-28 20:09:52 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":76,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","last_checkin":"2016-11-28 20:09:51 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:51 UTC"},"content_host_id":76},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-11-28 20:09:42 UTC","updated_at":"2016-11-28 21:27:09 UTC","last_compile":"2016-11-28 20:09:44 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":75,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","last_checkin":"2016-11-28 20:09:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:43 UTC"},"content_host_id":75}] |
|
154 |
} |
|
155 |
http_version: |
|
156 |
recorded_at: Wed, 30 Nov 2016 14:55:53 GMT |
|
157 |
- request: |
|
158 |
method: get |
|
159 |
uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations/8/environments?per_page=999999 |
|
160 |
body: |
|
161 |
encoding: US-ASCII |
|
162 |
string: '' |
|
163 |
headers: |
|
164 |
Accept: |
|
165 |
- application/json;version=2 |
|
166 |
Accept-Encoding: |
|
167 |
- gzip, deflate |
|
168 |
User-Agent: |
|
169 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
170 |
Content-Type: |
|
171 |
- application/json |
|
172 |
Accept-Language: |
|
173 |
- en |
|
174 |
Host: |
|
175 |
- katello.example.com:50083 |
|
176 |
response: |
|
177 |
status: |
|
178 |
code: 200 |
|
179 |
message: OK |
|
180 |
headers: |
|
181 |
Date: |
|
182 |
- Wed, 30 Nov 2016 14:55:46 GMT |
|
183 |
Server: |
|
184 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
185 |
X-Frame-Options: |
|
186 |
- SAMEORIGIN |
|
187 |
X-Xss-Protection: |
|
188 |
- 1; mode=block |
|
189 |
X-Content-Type-Options: |
|
190 |
- nosniff |
|
191 |
Foreman-Version: |
|
192 |
- 1.11.0.54 |
|
193 |
Foreman-Api-Version: |
|
194 |
- '2' |
|
195 |
Apipie-Checksum: |
|
196 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
197 |
Cache-Control: |
|
198 |
- max-age=0, private, must-revalidate |
|
199 |
X-Request-Id: |
|
200 |
- 26705992-13b2-437a-875f-972daaac4ab3 |
|
201 |
X-Runtime: |
|
202 |
- '0.172911' |
|
203 |
X-Powered-By: |
|
204 |
- Phusion Passenger 4.0.18 |
|
48 |
- _session_id=65667ed9cb9d6110be7ca951a56438bb; path=/; secure; HttpOnly |
|
205 | 49 |
Etag: |
206 |
- '"4e1a31696592f5deed5a104bca695f4a-gzip"'
|
|
50 |
- '"8e3341d0a4cc328651f7391aed11fef8"'
|
|
207 | 51 |
Status: |
208 | 52 |
- 200 OK |
209 |
Vary: |
|
210 |
- Accept-Encoding |
|
211 | 53 |
Content-Length: |
212 |
- '3019'
|
|
54 |
- '66'
|
|
213 | 55 |
Content-Type: |
214 | 56 |
- application/json; charset=utf-8 |
215 |
Set-Cookie: |
|
216 |
- _session_id=7e06f0aae0f1869d9cb459867b05f34a; path=/; secure; HttpOnly |
|
217 | 57 |
body: |
218 |
encoding: ASCII-8BIT |
|
219 |
string: '{"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":4,"name":"Test","label":"Test","description":"Test, |
|
220 |
manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 |
|
221 |
13:20:48 UTC","updated_at":"2016-11-22 13:20:48 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":5,"name":"Production","label":"Production","description":"Production, |
|
222 |
manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 |
|
223 |
13:20:48 UTC","updated_at":"2016-11-22 13:20:48 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":2,"name":"Library","label":"Library","description":null,"organization":{"name":"Test |
|
224 |
Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 13:20:04 |
|
225 |
UTC","updated_at":"2016-11-22 13:20:04 UTC","prior":null,"successor":null,"counts":{"content_hosts":2,"content_views":1,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":1,"docker_repositories":0,"ostree_repositories":0,"products":3},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":3,"name":"Development","label":"Development","description":"Development, |
|
226 |
automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 |
|
227 |
13:20:47 UTC","updated_at":"2016-11-22 13:20:47 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive, |
|
228 |
no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 |
|
229 |
13:20:48 UTC","updated_at":"2016-11-22 13:20:48 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]} |
|
230 |
|
|
231 |
' |
|
58 |
encoding: UTF-8 |
|
59 |
string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}' |
|
232 | 60 |
http_version: |
233 |
recorded_at: Wed, 30 Nov 2016 14:55:53 GMT
|
|
61 |
recorded_at: Tue, 13 Dec 2016 14:46:41 GMT
|
|
234 | 62 |
- request: |
235 | 63 |
method: get |
236 |
uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations/8/content_views?per_page=999999
|
|
64 |
uri: https://admin:changeme@satlap.example.com/api/v2/plugins
|
|
237 | 65 |
body: |
238 | 66 |
encoding: US-ASCII |
239 | 67 |
string: '' |
240 | 68 |
headers: |
241 |
Accept: |
|
242 |
- application/json;version=2 |
|
243 | 69 |
Accept-Encoding: |
244 |
- gzip, deflate |
|
245 |
User-Agent: |
|
246 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
247 |
Content-Type: |
|
248 |
- application/json |
|
249 |
Accept-Language: |
|
250 |
- en |
|
251 |
Host: |
|
252 |
- katello.example.com:50083 |
|
253 |
response: |
|
254 |
status: |
|
255 |
code: 200 |
|
256 |
message: OK |
|
257 |
headers: |
|
258 |
Date: |
|
259 |
- Wed, 30 Nov 2016 14:55:46 GMT |
|
260 |
Server: |
|
261 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
262 |
X-Frame-Options: |
|
263 |
- SAMEORIGIN |
|
264 |
X-Xss-Protection: |
|
265 |
- 1; mode=block |
|
266 |
X-Content-Type-Options: |
|
267 |
- nosniff |
|
268 |
Foreman-Version: |
|
269 |
- 1.11.0.54 |
|
270 |
Foreman-Api-Version: |
|
271 |
- '2' |
|
272 |
Apipie-Checksum: |
|
273 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
274 |
Cache-Control: |
|
275 |
- max-age=0, private, must-revalidate |
|
276 |
X-Request-Id: |
|
277 |
- 6dc56d5b-9a5e-4356-b29c-ae1c8ab72951 |
|
278 |
X-Runtime: |
|
279 |
- '0.143789' |
|
280 |
X-Powered-By: |
|
281 |
- Phusion Passenger 4.0.18 |
|
282 |
Etag: |
|
283 |
- '"aa9fa1da1e6ef54d281880ce5c59cc70-gzip"' |
|
284 |
Status: |
|
285 |
- 200 OK |
|
286 |
Vary: |
|
287 |
- Accept-Encoding |
|
288 |
Content-Length: |
|
289 |
- '1743' |
|
290 |
Content-Type: |
|
291 |
- application/json; charset=utf-8 |
|
292 |
Set-Cookie: |
|
293 |
- _session_id=7d83ead0ff990119ee5b312ee599c405; path=/; secure; HttpOnly |
|
294 |
body: |
|
295 |
encoding: ASCII-8BIT |
|
296 |
string: '{"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test |
|
297 |
Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test |
|
298 |
Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 13:20:40 |
|
299 |
UTC","updated_at":"2016-11-22 13:20:42 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-11-22 |
|
300 |
13:20:42 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-11-22 |
|
301 |
13:20:42 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}},{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":2,"name":"Default |
|
302 |
Organization View","label":"2abb245e-7fd3-4087-bea5-31ff5fb1ce95","description":null,"organization":{"name":"Test |
|
303 |
Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 13:20:04 |
|
304 |
UTC","updated_at":"2016-11-22 13:20:04 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":2,"version":"1.0","published":"2016-11-22 |
|
305 |
13:20:04 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-11-22 |
|
306 |
13:20:04 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]} |
|
307 |
|
|
308 |
' |
|
309 |
http_version: |
|
310 |
recorded_at: Wed, 30 Nov 2016 14:55:53 GMT |
|
311 |
- request: |
|
312 |
method: get |
|
313 |
uri: https://admin:changeme@katello.example.com:50083/api/hosts/154/subscriptions |
|
314 |
body: |
|
315 |
encoding: US-ASCII |
|
316 |
string: '' |
|
317 |
headers: |
|
70 |
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 |
|
318 | 71 |
Accept: |
319 |
- application/json;version=2 |
|
320 |
Accept-Encoding: |
|
321 |
- gzip, deflate |
|
72 |
- "*/*" |
|
322 | 73 |
User-Agent: |
323 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
324 |
Content-Type: |
|
325 |
- application/json |
|
326 |
Accept-Language: |
|
327 |
- en |
|
74 |
- Ruby |
|
328 | 75 |
Host: |
329 |
- katello.example.com:50083
|
|
76 |
- satlap.example.com
|
|
330 | 77 |
response: |
331 | 78 |
status: |
332 | 79 |
code: 200 |
333 | 80 |
message: OK |
334 | 81 |
headers: |
335 | 82 |
Date: |
336 |
- Wed, 30 Nov 2016 14:55:48 GMT
|
|
83 |
- Tue, 13 Dec 2016 14:46:43 GMT
|
|
337 | 84 |
Server: |
338 | 85 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
339 | 86 |
X-Frame-Options: |
... | ... | |
347 | 94 |
Foreman-Api-Version: |
348 | 95 |
- '2' |
349 | 96 |
Apipie-Checksum: |
350 |
- ef9e7a17d630b8c2cc5b7e016c24efe7
|
|
97 |
- e1df2e8d43e22495b02a53b48e3b5298
|
|
351 | 98 |
Cache-Control: |
352 | 99 |
- max-age=0, private, must-revalidate |
353 | 100 |
X-Request-Id: |
354 |
- ae491f23-14bf-499b-9b00-ab3aa167ef74
|
|
101 |
- 49a0c416-0047-4adb-8197-51b13d2781d0
|
|
355 | 102 |
X-Runtime: |
356 |
- '0.132228'
|
|
103 |
- '0.032364'
|
|
357 | 104 |
X-Powered-By: |
358 | 105 |
- Phusion Passenger 4.0.18 |
359 |
Etag: |
|
360 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
361 |
Status: |
|
362 |
- 200 OK |
|
363 |
Vary: |
|
364 |
- Accept-Encoding |
|
365 |
Content-Length: |
|
366 |
- '119' |
|
367 |
Content-Type: |
|
368 |
- application/json; charset=utf-8 |
|
369 | 106 |
Set-Cookie: |
370 |
- _session_id=b4e831018bb3369828443425fd40f3bf; path=/; secure; HttpOnly |
|
371 |
body: |
|
372 |
encoding: ASCII-8BIT |
|
373 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
374 |
|
|
375 |
' |
|
376 |
http_version: |
|
377 |
recorded_at: Wed, 30 Nov 2016 14:55:55 GMT |
|
378 |
- request: |
|
379 |
method: get |
|
380 |
uri: https://admin:changeme@katello.example.com:50083/api/hosts/155/subscriptions |
|
381 |
body: |
|
382 |
encoding: US-ASCII |
|
383 |
string: '' |
|
384 |
headers: |
|
385 |
Accept: |
|
386 |
- application/json;version=2 |
|
387 |
Accept-Encoding: |
|
388 |
- gzip, deflate |
|
389 |
User-Agent: |
|
390 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
391 |
Content-Type: |
|
392 |
- application/json |
|
393 |
Accept-Language: |
|
394 |
- en |
|
395 |
Host: |
|
396 |
- katello.example.com:50083 |
|
397 |
response: |
|
398 |
status: |
|
399 |
code: 200 |
|
400 |
message: OK |
|
401 |
headers: |
|
402 |
Date: |
|
403 |
- Wed, 30 Nov 2016 14:55:50 GMT |
|
404 |
Server: |
|
405 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
406 |
X-Frame-Options: |
|
407 |
- SAMEORIGIN |
|
408 |
X-Xss-Protection: |
|
409 |
- 1; mode=block |
|
410 |
X-Content-Type-Options: |
|
411 |
- nosniff |
|
412 |
Foreman-Version: |
|
413 |
- 1.11.0.54 |
|
414 |
Foreman-Api-Version: |
|
415 |
- '2' |
|
416 |
Apipie-Checksum: |
|
417 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
418 |
Cache-Control: |
|
419 |
- max-age=0, private, must-revalidate |
|
420 |
X-Request-Id: |
|
421 |
- 01396038-4e60-4ff5-a5f9-ccef0ba50c5c |
|
422 |
X-Runtime: |
|
423 |
- '0.106523' |
|
424 |
X-Powered-By: |
|
425 |
- Phusion Passenger 4.0.18 |
|
107 |
- _session_id=e335d8965e82c97ed1e2b797fc794781; path=/; secure; HttpOnly |
|
426 | 108 |
Etag: |
427 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
|
|
109 |
- '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
|
|
428 | 110 |
Status: |
429 | 111 |
- 200 OK |
430 | 112 |
Vary: |
431 | 113 |
- Accept-Encoding |
432 | 114 |
Content-Length: |
433 |
- '119'
|
|
115 |
- '1338'
|
|
434 | 116 |
Content-Type: |
435 | 117 |
- application/json; charset=utf-8 |
436 |
Set-Cookie: |
|
437 |
- _session_id=31d56d8c6d68e5bf5fa0e649cc1329b8; path=/; secure; HttpOnly |
|
438 | 118 |
body: |
439 | 119 |
encoding: ASCII-8BIT |
440 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
441 |
|
|
442 |
' |
|
120 |
string: !binary |- |
|
121 |
ewogICJ0b3RhbCI6IDEwLAogICJzdWJ0b3RhbCI6IDEwLAogICJwYWdlIjog |
|
122 |
MSwKICAicGVyX3BhZ2UiOiAyMCwKICAic2VhcmNoIjogbnVsbCwKICAic29y |
|
123 |
dCI6IHsKICAgICJieSI6IG51bGwsCiAgICAib3JkZXIiOiBudWxsCiAgfSwK |
|
124 |
ICAicmVzdWx0cyI6IFt7ImlkIjoiZm9yZW1hbi10YXNrcyIsIm5hbWUiOiJm |
|
125 |
b3JlbWFuLXRhc2tzIiwiYXV0aG9yIjoiSXZhbiBOZcSNYXMiLCJkZXNjcmlw |
|
126 |
dGlvbiI6IlRoZSBnb2FsIG9mIHRoaXMgcGx1Z2luIGlzIHRvIHVuaWZ5IHRo |
|
127 |
ZSB3YXkgb2Ygc2hvd2luZyB0YXNrIHN0YXR1c2VzIGFjcm9zcyB0aGUgRm9y |
|
128 |
ZW1hbiBpbnN0YW5jZS5cbkl0IGRlZmluZXMgVGFzayBtb2RlbCBmb3Iga2Vl |
|
129 |
cGluZyB0aGUgaW5mb3JtYXRpb24gYWJvdXQgdGhlIHRhc2tzIGFuZCBMb2Nr |
|
130 |
IGZvciBhc3NpZ25pbmcgdGhlIHRhc2tzXG50byByZXNvdXJjZXMuIFRoZSBs |
|
131 |
b2NraW5nIGFsbG93cyBkZWFsaW5nIHdpdGggcHJldmVudGluZyBtdWx0aXBs |
|
132 |
ZSBjb2xsaWRpbmcgdGFza3MgdG8gYmUgcnVuIG9uIHRoZVxuc2FtZSByZXNv |
|
133 |
dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m |
|
134 |
cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz |
|
135 |
a3MuXG4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9m |
|
136 |
b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv |
|
137 |
cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1 |
|
138 |
dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm |
|
139 |
b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz |
|
140 |
IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg |
|
141 |
aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl |
|
142 |
Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi |
|
143 |
fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k |
|
144 |
aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5 |
|
145 |
LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p |
|
146 |
YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm |
|
147 |
ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs |
|
148 |
ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN |
|
149 |
b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2 |
|
150 |
eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi |
|
151 |
YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op |
|
152 |
emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu |
|
153 |
Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro |
|
154 |
ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu |
|
155 |
OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv |
|
156 |
Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi |
|
157 |
ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u |
|
158 |
dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw |
|
159 |
Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy |
|
160 |
c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l |
|
161 |
IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk |
|
162 |
ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl |
|
163 |
bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu |
|
164 |
IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v |
|
165 |
Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y |
|
166 |
ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0 |
|
167 |
aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs |
|
168 |
YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn |
|
169 |
LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi |
|
170 |
LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v |
|
171 |
cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu |
|
172 |
X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl |
|
173 |
Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl |
|
174 |
YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl |
|
175 |
eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp |
|
176 |
ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl |
|
177 |
bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv |
|
178 |
bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp |
|
179 |
b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0 |
|
180 |
ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6 |
|
181 |
IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi |
|
182 |
VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt |
|
183 |
ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv |
|
184 |
bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6 |
|
185 |
IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh |
|
186 |
dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj |
|
187 |
cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6 |
|
188 |
Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi |
|
189 |
fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz |
|
190 |
IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp |
|
191 |
cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz |
|
192 |
ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y |
|
193 |
ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2 |
|
194 |
ZXJzaW9uIjoiMS4wLjEzIn1dCn0K |
|
443 | 195 |
http_version: |
444 |
recorded_at: Wed, 30 Nov 2016 14:55:57 GMT
|
|
196 |
recorded_at: Tue, 13 Dec 2016 14:46:41 GMT
|
|
445 | 197 |
- request: |
446 | 198 |
method: get |
447 |
uri: https://admin:changeme@katello.example.com:50083/api/hosts/156/subscriptions
|
|
199 |
uri: https://satlap.example.com/apidoc/v2.en.json
|
|
448 | 200 |
body: |
449 | 201 |
encoding: US-ASCII |
450 | 202 |
string: '' |
451 | 203 |
headers: |
452 | 204 |
Accept: |
453 |
- application/json;version=2 |
|
454 |
Accept-Encoding: |
|
455 |
- gzip, deflate |
|
456 |
User-Agent: |
|
457 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
458 |
Content-Type: |
|
459 | 205 |
- application/json |
460 |
Accept-Language: |
|
461 |
- en |
|
462 |
Host: |
|
463 |
- katello.example.com:50083 |
|
464 |
response: |
|
465 |
status: |
|
466 |
code: 200 |
|
467 |
message: OK |
|
468 |
headers: |
|
469 |
Date: |
|
470 |
- Wed, 30 Nov 2016 14:55:52 GMT |
|
471 |
Server: |
|
472 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
473 |
X-Frame-Options: |
|
474 |
- SAMEORIGIN |
|
475 |
X-Xss-Protection: |
|
476 |
- 1; mode=block |
|
477 |
X-Content-Type-Options: |
|
478 |
- nosniff |
|
479 |
Foreman-Version: |
|
480 |
- 1.11.0.54 |
|
481 |
Foreman-Api-Version: |
|
482 |
- '2' |
|
483 |
Apipie-Checksum: |
|
484 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
485 |
Cache-Control: |
|
486 |
- max-age=0, private, must-revalidate |
|
487 |
X-Request-Id: |
|
488 |
- 6ba11e60-d409-4eb8-b12f-f65f8e89ab12 |
|
489 |
X-Runtime: |
|
490 |
- '0.146248' |
|
491 |
X-Powered-By: |
|
492 |
- Phusion Passenger 4.0.18 |
|
493 |
Etag: |
|
494 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
495 |
Status: |
|
496 |
- 200 OK |
|
497 |
Vary: |
|
498 |
- Accept-Encoding |
|
499 |
Content-Length: |
|
500 |
- '119' |
|
501 |
Content-Type: |
|
502 |
- application/json; charset=utf-8 |
|
503 |
Set-Cookie: |
|
504 |
- _session_id=9ca2103f2087b642843d9b9c2f205993; path=/; secure; HttpOnly |
|
505 |
body: |
|
506 |
encoding: ASCII-8BIT |
|
507 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
508 |
|
|
509 |
' |
|
510 |
http_version: |
|
511 |
recorded_at: Wed, 30 Nov 2016 14:55:59 GMT |
|
512 |
- request: |
|
513 |
method: get |
|
514 |
uri: https://admin:changeme@katello.example.com:50083/api/hosts/157/subscriptions |
|
515 |
body: |
|
516 |
encoding: US-ASCII |
|
517 |
string: '' |
|
518 |
headers: |
|
519 |
Accept: |
|
520 |
- application/json;version=2 |
|
521 | 206 |
Accept-Encoding: |
522 | 207 |
- gzip, deflate |
523 | 208 |
User-Agent: |
... | ... | |
527 | 212 |
Accept-Language: |
528 | 213 |
- en |
529 | 214 |
Host: |
530 |
- katello.example.com:50083
|
|
215 |
- satlap.example.com
|
|
531 | 216 |
response: |
532 | 217 |
status: |
533 | 218 |
code: 200 |
534 | 219 |
message: OK |
535 | 220 |
headers: |
536 | 221 |
Date: |
537 |
- Wed, 30 Nov 2016 14:55:54 GMT
|
|
222 |
- Tue, 13 Dec 2016 14:46:43 GMT
|
|
538 | 223 |
Server: |
539 | 224 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
540 | 225 |
X-Frame-Options: |
... | ... | |
543 | 228 |
- 1; mode=block |
544 | 229 |
X-Content-Type-Options: |
545 | 230 |
- nosniff |
546 |
Foreman-Version: |
|
547 |
- 1.11.0.54 |
|
548 |
Foreman-Api-Version: |
|
549 |
- '2' |
|
550 |
Apipie-Checksum: |
|
551 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
231 |
Content-Disposition: |
|
232 |
- inline; filename="v2.en.json" |
|
233 |
Content-Transfer-Encoding: |
|
234 |
- binary |
|
552 | 235 |
Cache-Control: |
553 |
- max-age=0, private, must-revalidate |
|
554 |
X-Request-Id: |
|
555 |
- 2f1a7073-9bd7-4a9b-9247-83f72991113e |
|
556 |
X-Runtime: |
|
557 |
- '0.100807' |
|
558 |
X-Powered-By: |
|
559 |
- Phusion Passenger 4.0.18 |
|
560 |
Etag: |
|
561 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
562 |
Status: |
|
563 |
- 200 OK |
|
564 |
Vary: |
|
565 |
- Accept-Encoding |
|
566 |
Content-Length: |
|
567 |
- '119' |
|
568 |
Content-Type: |
|
569 |
- application/json; charset=utf-8 |
|
570 |
Set-Cookie: |
|
571 |
- _session_id=a3d7ddbd65ae771014c8da4cef4ec7f4; path=/; secure; HttpOnly |
|
572 |
body: |
|
573 |
encoding: ASCII-8BIT |
|
574 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
575 |
|
|
576 |
' |
|
577 |
http_version: |
|
578 |
recorded_at: Wed, 30 Nov 2016 14:56:01 GMT |
|
579 |
- request: |
|
580 |
method: get |
|
581 |
uri: https://admin:changeme@katello.example.com:50083/api/hosts/158/subscriptions |
|
582 |
body: |
|
583 |
encoding: US-ASCII |
|
584 |
string: '' |
|
585 |
headers: |
|
586 |
Accept: |
|
587 |
- application/json;version=2 |
|
588 |
Accept-Encoding: |
|
589 |
- gzip, deflate |
|
590 |
User-Agent: |
|
591 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
592 |
Content-Type: |
|
593 |
- application/json |
|
594 |
Accept-Language: |
|
595 |
- en |
|
596 |
Host: |
|
597 |
- katello.example.com:50083 |
|
598 |
response: |
|
599 |
status: |
|
600 |
code: 200 |
|
601 |
message: OK |
|
602 |
headers: |
|
603 |
Date: |
|
604 |
- Wed, 30 Nov 2016 14:55:56 GMT |
|
605 |
Server: |
|
606 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
607 |
X-Frame-Options: |
|
608 |
- SAMEORIGIN |
|
609 |
X-Xss-Protection: |
|
610 |
- 1; mode=block |
|
611 |
X-Content-Type-Options: |
|
612 |
- nosniff |
|
613 |
Foreman-Version: |
|
614 |
- 1.11.0.54 |
|
615 |
Foreman-Api-Version: |
|
616 |
- '2' |
|
236 |
- private |
|
617 | 237 |
Apipie-Checksum: |
618 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
619 |
Cache-Control: |
|
620 |
- max-age=0, private, must-revalidate |
|
238 |
- e1df2e8d43e22495b02a53b48e3b5298 |
|
621 | 239 |
X-Request-Id: |
622 |
- 36976c51-d334-43cb-a215-94ed1aaba478
|
|
240 |
- 7c1d0b08-8e49-4b8a-a80e-48d897008f12
|
|
623 | 241 |
X-Runtime: |
624 |
- '0.125244'
|
|
242 |
- '0.004606'
|
|
625 | 243 |
X-Powered-By: |
626 | 244 |
- Phusion Passenger 4.0.18 |
627 |
Etag: |
|
628 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
629 | 245 |
Status: |
630 | 246 |
- 200 OK |
631 | 247 |
Vary: |
632 | 248 |
- Accept-Encoding |
633 | 249 |
Content-Length: |
634 |
- '119'
|
|
250 |
- '883045'
|
|
635 | 251 |
Content-Type: |
636 |
- application/json; charset=utf-8 |
|
637 |
Set-Cookie: |
|
638 |
- _session_id=ed398dad1c599b1665008ad3f9c4e0dd; path=/; secure; HttpOnly |
|
639 |
body: |
|
640 |
encoding: ASCII-8BIT |
|
641 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
642 |
|
|
643 |
' |
|
644 |
http_version: |
|
645 |
recorded_at: Wed, 30 Nov 2016 14:56:03 GMT |
|
646 |
- request: |
|
647 |
method: get |
|
648 |
uri: https://admin:changeme@katello.example.com:50083/api/organizations/8/hosts?per_page=1 |
|
649 |
body: |
|
650 |
encoding: US-ASCII |
|
651 |
string: '' |
|
652 |
headers: |
|
653 |
Accept: |
|
654 |
- application/json;version=2 |
|
655 |
Accept-Encoding: |
|
656 |
- gzip, deflate |
|
657 |
User-Agent: |
|
658 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
659 |
Content-Type: |
|
660 |
- application/json |
|
661 |
Accept-Language: |
|
662 |
- en |
|
663 |
Host: |
|
664 |
- katello.example.com:50083 |
|
665 |
response: |
|
666 |
status: |
|
667 |
code: 200 |
|
668 |
message: OK |
|
669 |
headers: |
|
670 |
Date: |
|
671 |
- Wed, 30 Nov 2016 14:55:56 GMT |
|
672 |
Server: |
|
673 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
674 |
X-Frame-Options: |
|
675 |
- SAMEORIGIN |
|
676 |
X-Xss-Protection: |
|
677 |
- 1; mode=block |
|
678 |
X-Content-Type-Options: |
|
679 |
- nosniff |
|
680 |
Foreman-Version: |
|
681 |
- 1.11.0.54 |
|
682 |
Foreman-Api-Version: |
|
683 |
- '2' |
|
684 |
Apipie-Checksum: |
|
685 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
686 |
Cache-Control: |
|
687 |
- max-age=0, private, must-revalidate |
|
688 |
X-Request-Id: |
|
689 |
- 4e6312f8-634a-4159-93e1-40bfae9f6281 |
|
690 |
X-Runtime: |
|
691 |
- '0.240809' |
|
692 |
X-Powered-By: |
|
693 |
- Phusion Passenger 4.0.18 |
|
694 |
Etag: |
|
695 |
- '"7a19f5c16256a9ba899348cef9a768cc-gzip"' |
|
696 |
Status: |
|
697 |
- 200 OK |
|
698 |
Vary: |
|
699 |
- Accept-Encoding |
|
700 |
Content-Length: |
|
701 |
- '2293' |
|
702 |
Content-Type: |
|
703 |
- application/json; charset=utf-8 |
|
704 |
Set-Cookie: |
|
705 |
- _session_id=1156e78dbf5c381dccd74f836f742e1b; path=/; secure; HttpOnly |
|
706 |
body: |
|
707 |
encoding: ASCII-8BIT |
|
708 |
string: | |
|
709 |
{ |
|
710 |
"total": 7, |
|
711 |
"subtotal": 7, |
|
712 |
"page": 1, |
|
713 |
"per_page": 1, |
|
714 |
"search": null, |
|
715 |
"sort": { |
|
716 |
"by": null, |
|
717 |
"order": null |
|
718 |
}, |
|
719 |
"results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testaaa0","image_id":null,"image_name":null,"created_at":"2016-11-30 14:55:46 UTC","updated_at":"2016-11-30 14:55:48 UTC","last_compile":"2016-11-30 14:55:48 UTC","global_status":2,"global_status_label":"Error","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testaaa0","id":154,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":154,"uuid":"38ced2aa-0cf9-4e97-acd9-5cbf4f3cfbf0","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":154,"uuid":"38ced2aa-0cf9-4e97-acd9-5cbf4f3cfbf0","last_checkin":"2016-11-30 14:55:47 UTC","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2016-11-30 14:55:47 UTC"},"content_host_id":154}] |
|
720 |
} |
|
721 |
http_version: |
|
722 |
recorded_at: Wed, 30 Nov 2016 14:56:04 GMT |
|
723 |
- request: |
|
724 |
method: get |
|
725 |
uri: https://admin:changeme@katello.example.com:50083/api/organizations/8/hosts?page=1&per_page=20 |
|
726 |
body: |
|
727 |
encoding: US-ASCII |
|
728 |
string: '' |
|
729 |
headers: |
|
730 |
Accept: |
|
731 |
- application/json;version=2 |
|
732 |
Accept-Encoding: |
|
733 |
- gzip, deflate |
|
734 |
User-Agent: |
|
735 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
736 |
Content-Type: |
|
737 |
- application/json |
|
738 |
Accept-Language: |
|
739 |
- en |
|
740 |
Host: |
|
741 |
- katello.example.com:50083 |
|
742 |
response: |
|
743 |
status: |
|
744 |
code: 200 |
|
745 |
message: OK |
|
746 |
headers: |
|
747 |
Date: |
|
748 |
- Wed, 30 Nov 2016 14:55:57 GMT |
|
749 |
Server: |
|
750 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
751 |
X-Frame-Options: |
|
752 |
- SAMEORIGIN |
|
753 |
X-Xss-Protection: |
|
754 |
- 1; mode=block |
|
755 |
X-Content-Type-Options: |
|
756 |
- nosniff |
|
757 |
Foreman-Version: |
|
758 |
- 1.11.0.54 |
|
759 |
Foreman-Api-Version: |
|
760 |
- '2' |
|
761 |
Apipie-Checksum: |
|
762 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
763 |
Cache-Control: |
|
764 |
- max-age=0, private, must-revalidate |
|
765 |
X-Request-Id: |
|
766 |
- 202bf958-c43b-4eae-aab3-569467c6a8a8 |
|
767 |
X-Runtime: |
|
768 |
- '0.430480' |
|
769 |
X-Powered-By: |
|
770 |
- Phusion Passenger 4.0.18 |
|
771 |
Etag: |
|
772 |
- '"babee4e6c622924a93507ea80d4fb246-gzip"' |
|
773 |
Status: |
|
774 |
- 200 OK |
|
775 |
Vary: |
|
776 |
- Accept-Encoding |
|
777 |
Content-Length: |
|
778 |
- '15151' |
|
779 |
Content-Type: |
|
780 |
- application/json; charset=utf-8 |
|
781 |
Set-Cookie: |
|
782 |
- _session_id=fc2f562bc79bbc1fccbd7fc32eea53ef; path=/; secure; HttpOnly |
|
783 |
body: |
|
784 |
encoding: ASCII-8BIT |
|
785 |
string: | |
|
786 |
{ |
|
787 |
"total": 7, |
|
788 |
"subtotal": 7, |
|
789 |
"page": 1, |
|
790 |
"per_page": 20, |
|
791 |
"search": null, |
|
792 |
"sort": { |
|
793 |
"by": null, |
|
794 |
"order": null |
|
795 |
}, |
|
796 |
"results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testaaa0","image_id":null,"image_name":null,"created_at":"2016-11-30 14:55:46 UTC","updated_at":"2016-11-30 14:55:48 UTC","last_compile":"2016-11-30 14:55:48 UTC","global_status":2,"global_status_label":"Error","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testaaa0","id":154,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":154,"uuid":"38ced2aa-0cf9-4e97-acd9-5cbf4f3cfbf0","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":154,"uuid":"38ced2aa-0cf9-4e97-acd9-5cbf4f3cfbf0","last_checkin":"2016-11-30 14:55:47 UTC","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2016-11-30 14:55:47 UTC"},"content_host_id":154},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testaaa1","image_id":null,"image_name":null,"created_at":"2016-11-30 14:55:48 UTC","updated_at":"2016-11-30 14:55:50 UTC","last_compile":"2016-11-30 14:55:50 UTC","global_status":2,"global_status_label":"Error","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testaaa1","id":155,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":155,"uuid":"23d2412b-dc82-44f6-8aff-6deef4eb94ee","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":155,"uuid":"23d2412b-dc82-44f6-8aff-6deef4eb94ee","last_checkin":"2016-11-30 14:55:48 UTC","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2016-11-30 14:55:49 UTC"},"content_host_id":155},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testbbb0","image_id":null,"image_name":null,"created_at":"2016-11-30 14:55:50 UTC","updated_at":"2016-11-30 14:55:52 UTC","last_compile":"2016-11-30 14:55:52 UTC","global_status":2,"global_status_label":"Error","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testbbb0","id":156,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":156,"uuid":"4c373805-6c7d-4e6a-855e-ee5cb6bbe527","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":156,"uuid":"4c373805-6c7d-4e6a-855e-ee5cb6bbe527","last_checkin":"2016-11-30 14:55:50 UTC","service_level":"Premium","release_version":null,"autoheal":true,"registered_at":"2016-11-30 14:55:51 UTC"},"content_host_id":156},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testbbb1","image_id":null,"image_name":null,"created_at":"2016-11-30 14:55:52 UTC","updated_at":"2016-11-30 14:55:54 UTC","last_compile":"2016-11-30 14:55:54 UTC","global_status":2,"global_status_label":"Error","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testbbb1","id":157,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":157,"uuid":"903b4f15-aa6c-4f1a-a767-a88af4874e1d","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":157,"uuid":"903b4f15-aa6c-4f1a-a767-a88af4874e1d","last_checkin":"2016-11-30 14:55:52 UTC","service_level":"Premium","release_version":null,"autoheal":true,"registered_at":"2016-11-30 14:55:53 UTC"},"content_host_id":157},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testbbb2","image_id":null,"image_name":null,"created_at":"2016-11-30 14:55:54 UTC","updated_at":"2016-11-30 14:55:56 UTC","last_compile":"2016-11-30 14:55:56 UTC","global_status":2,"global_status_label":"Error","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testbbb2","id":158,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":158,"uuid":"3c7c7eff-6850-4226-b4f0-47cd9b5cf047","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":158,"uuid":"3c7c7eff-6850-4226-b4f0-47cd9b5cf047","last_checkin":"2016-11-30 14:55:54 UTC","service_level":"Premium","release_version":null,"autoheal":true,"registered_at":"2016-11-30 14:55:55 UTC"},"content_host_id":158},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-11-28 20:09:51 UTC","updated_at":"2016-11-28 21:27:19 UTC","last_compile":"2016-11-28 20:09:52 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":76,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","last_checkin":"2016-11-28 20:09:51 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:51 UTC"},"content_host_id":76},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-11-28 20:09:42 UTC","updated_at":"2016-11-28 21:27:09 UTC","last_compile":"2016-11-28 20:09:44 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":75,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","last_checkin":"2016-11-28 20:09:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:43 UTC"},"content_host_id":75}] |
|
797 |
} |
|
798 |
http_version: |
|
799 |
recorded_at: Wed, 30 Nov 2016 14:56:04 GMT |
|
800 |
- request: |
|
801 |
method: get |
|
802 |
uri: https://admin:changeme@katello.example.com:50083/api/organizations/8/hosts?search=name%20~%20testaaa |
|
803 |
body: |
|
804 |
encoding: US-ASCII |
|
805 |
string: '' |
|
806 |
headers: |
|
807 |
Accept: |
|
808 |
- application/json;version=2 |
|
809 |
Accept-Encoding: |
|
810 |
- gzip, deflate |
|
811 |
User-Agent: |
|
812 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
813 |
Content-Type: |
|
814 |
- application/json |
|
815 |
Accept-Language: |
|
816 |
- en |
|
817 |
Host: |
|
818 |
- katello.example.com:50083 |
|
819 |
response: |
|
820 |
status: |
|
821 |
code: 200 |
|
822 |
message: OK |
|
823 |
headers: |
|
824 |
Date: |
|
825 |
- Wed, 30 Nov 2016 14:55:57 GMT |
|
826 |
Server: |
|
827 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
828 |
X-Frame-Options: |
|
829 |
- SAMEORIGIN |
|
830 |
X-Xss-Protection: |
|
831 |
- 1; mode=block |
|
832 |
X-Content-Type-Options: |
|
833 |
- nosniff |
|
834 |
Foreman-Version: |
|
835 |
- 1.11.0.54 |
|
836 |
Foreman-Api-Version: |
|
837 |
- '2' |
|
838 |
Apipie-Checksum: |
|
839 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
840 |
Cache-Control: |
|
841 |
- max-age=0, private, must-revalidate |
|
842 |
X-Request-Id: |
|
843 |
- 4afea9b1-7a3a-4115-99b7-5f76041c83ee |
|
844 |
X-Runtime: |
|
845 |
- '0.179436' |
|
846 |
X-Powered-By: |
|
847 |
- Phusion Passenger 4.0.18 |
|
848 |
Etag: |
|
849 |
- '"babc30a804e719189e14cafa66f0670c-gzip"' |
|
850 |
Status: |
|
851 |
- 200 OK |
|
852 |
Vary: |
|
853 |
- Accept-Encoding |
|
854 |
Content-Length: |
|
855 |
- '4450' |
|
856 |
Content-Type: |
|
857 |
- application/json; charset=utf-8 |
|
858 |
Set-Cookie: |
|
859 |
- _session_id=44d5c284e6daf0c4051ba87a59190d09; path=/; secure; HttpOnly |
|
860 |
body: |
|
861 |
encoding: ASCII-8BIT |
|
862 |
string: | |
|
863 |
{ |
|
864 |
"total": 7, |
|
865 |
"subtotal": 2, |
|
866 |
"page": 1, |
|
867 |
"per_page": 20, |
|
868 |
"search": "name ~ testaaa", |
|
869 |
"sort": { |
|
870 |
"by": null, |
|
871 |
"order": null |
|
872 |
}, |
|
873 |
"results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testaaa0","image_id":null,"image_name":null,"created_at":"2016-11-30 14:55:46 UTC","updated_at":"2016-11-30 14:55:48 UTC","last_compile":"2016-11-30 14:55:48 UTC","global_status":2,"global_status_label":"Error","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testaaa0","id":154,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":154,"uuid":"38ced2aa-0cf9-4e97-acd9-5cbf4f3cfbf0","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":154,"uuid":"38ced2aa-0cf9-4e97-acd9-5cbf4f3cfbf0","last_checkin":"2016-11-30 14:55:47 UTC","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2016-11-30 14:55:47 UTC"},"content_host_id":154},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testaaa1","image_id":null,"image_name":null,"created_at":"2016-11-30 14:55:48 UTC","updated_at":"2016-11-30 14:55:50 UTC","last_compile":"2016-11-30 14:55:50 UTC","global_status":2,"global_status_label":"Error","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testaaa1","id":155,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":155,"uuid":"23d2412b-dc82-44f6-8aff-6deef4eb94ee","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":155,"uuid":"23d2412b-dc82-44f6-8aff-6deef4eb94ee","last_checkin":"2016-11-30 14:55:48 UTC","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2016-11-30 14:55:49 UTC"},"content_host_id":155}] |
|
874 |
} |
|
875 |
http_version: |
|
876 |
recorded_at: Wed, 30 Nov 2016 14:56:04 GMT |
|
877 |
- request: |
|
878 |
method: get |
|
879 |
uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations/8/environments?per_page=999999 |
|
880 |
body: |
|
881 |
encoding: US-ASCII |
|
882 |
string: '' |
|
883 |
headers: |
|
884 |
Accept: |
|
885 |
- application/json;version=2 |
|
886 |
Accept-Encoding: |
|
887 |
- gzip, deflate |
|
888 |
User-Agent: |
|
889 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
890 |
Content-Type: |
|
891 |
- application/json |
|
892 |
Accept-Language: |
|
893 |
- en |
|
894 |
Host: |
|
895 |
- katello.example.com:50083 |
|
896 |
response: |
|
897 |
status: |
|
898 |
code: 200 |
|
899 |
message: OK |
|
900 |
headers: |
|
901 |
Date: |
|
902 |
- Wed, 30 Nov 2016 14:55:57 GMT |
|
903 |
Server: |
|
904 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
905 |
X-Frame-Options: |
|
906 |
- SAMEORIGIN |
|
907 |
X-Xss-Protection: |
|
908 |
- 1; mode=block |
|
909 |
X-Content-Type-Options: |
|
910 |
- nosniff |
|
911 |
Foreman-Version: |
|
912 |
- 1.11.0.54 |
|
913 |
Foreman-Api-Version: |
|
914 |
- '2' |
|
915 |
Apipie-Checksum: |
|
916 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
917 |
Cache-Control: |
|
918 |
- max-age=0, private, must-revalidate |
|
919 |
X-Request-Id: |
|
920 |
- a5956918-f327-424f-9762-921a414a3b58 |
|
921 |
X-Runtime: |
|
922 |
- '0.104125' |
|
923 |
X-Powered-By: |
|
924 |
- Phusion Passenger 4.0.18 |
|
925 |
Etag: |
|
926 |
- '"590cf0878371ddef5393fadfc1835933-gzip"' |
|
927 |
Status: |
|
928 |
- 200 OK |
|
929 |
Vary: |
|
930 |
- Accept-Encoding |
|
931 |
Content-Length: |
|
932 |
- '3019' |
|
933 |
Content-Type: |
|
934 |
- application/json; charset=utf-8 |
|
935 |
Set-Cookie: |
|
936 |
- _session_id=01d99cdcdb5facf2c5e61181707342ff; path=/; secure; HttpOnly |
|
937 |
body: |
|
938 |
encoding: ASCII-8BIT |
|
939 |
string: '{"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":4,"name":"Test","label":"Test","description":"Test, |
|
940 |
manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 |
|
941 |
13:20:48 UTC","updated_at":"2016-11-22 13:20:48 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":5,"name":"Production","label":"Production","description":"Production, |
|
942 |
manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 |
|
943 |
13:20:48 UTC","updated_at":"2016-11-22 13:20:48 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":2,"name":"Library","label":"Library","description":null,"organization":{"name":"Test |
|
944 |
Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 13:20:04 |
|
945 |
UTC","updated_at":"2016-11-22 13:20:04 UTC","prior":null,"successor":null,"counts":{"content_hosts":7,"content_views":1,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":1,"docker_repositories":0,"ostree_repositories":0,"products":3},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":3,"name":"Development","label":"Development","description":"Development, |
|
946 |
automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 |
|
947 |
13:20:47 UTC","updated_at":"2016-11-22 13:20:47 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive, |
|
948 |
no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 |
|
949 |
13:20:48 UTC","updated_at":"2016-11-22 13:20:48 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]} |
|
950 |
|
|
951 |
' |
|
952 |
http_version: |
|
953 |
recorded_at: Wed, 30 Nov 2016 14:56:04 GMT |
|
954 |
- request: |
|
955 |
method: get |
|
956 |
uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations/8/content_views?per_page=999999 |
|
957 |
body: |
|
958 |
encoding: US-ASCII |
|
959 |
string: '' |
|
960 |
headers: |
|
961 |
Accept: |
|
962 |
- application/json;version=2 |
|
963 |
Accept-Encoding: |
|
964 |
- gzip, deflate |
|
965 |
User-Agent: |
|
966 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
967 |
Content-Type: |
|
968 |
- application/json |
|
969 |
Accept-Language: |
|
970 |
- en |
|
971 |
Host: |
|
972 |
- katello.example.com:50083 |
|
973 |
response: |
|
974 |
status: |
|
975 |
code: 200 |
|
976 |
message: OK |
|
977 |
headers: |
|
978 |
Date: |
|
979 |
- Wed, 30 Nov 2016 14:55:57 GMT |
|
980 |
Server: |
|
981 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
982 |
X-Frame-Options: |
|
983 |
- SAMEORIGIN |
|
984 |
X-Xss-Protection: |
|
985 |
- 1; mode=block |
|
986 |
X-Content-Type-Options: |
|
987 |
- nosniff |
|
988 |
Foreman-Version: |
|
989 |
- 1.11.0.54 |
|
990 |
Foreman-Api-Version: |
|
991 |
- '2' |
|
992 |
Apipie-Checksum: |
|
993 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
994 |
Cache-Control: |
|
995 |
- max-age=0, private, must-revalidate |
|
996 |
X-Request-Id: |
|
997 |
- f3e13769-4a47-4857-9e87-00145ec3148c |
|
998 |
X-Runtime: |
|
999 |
- '0.100402' |
|
1000 |
X-Powered-By: |
|
1001 |
- Phusion Passenger 4.0.18 |
|
1002 |
Etag: |
|
1003 |
- '"aa9fa1da1e6ef54d281880ce5c59cc70-gzip"' |
|
1004 |
Status: |
|
1005 |
- 200 OK |
|
1006 |
Vary: |
|
1007 |
- Accept-Encoding |
|
1008 |
Content-Length: |
|
1009 |
- '1743' |
|
1010 |
Content-Type: |
|
1011 |
- application/json; charset=utf-8 |
|
1012 |
Set-Cookie: |
|
1013 |
- _session_id=d5391fd2f137ccc4afe38c9efc6a4e7d; path=/; secure; HttpOnly |
|
1014 |
body: |
|
1015 |
encoding: ASCII-8BIT |
|
1016 |
string: '{"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test |
|
1017 |
Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test |
|
1018 |
Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 13:20:40 |
|
1019 |
UTC","updated_at":"2016-11-22 13:20:42 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-11-22 |
|
1020 |
13:20:42 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-11-22 |
|
1021 |
13:20:42 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}},{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":2,"name":"Default |
|
1022 |
Organization View","label":"2abb245e-7fd3-4087-bea5-31ff5fb1ce95","description":null,"organization":{"name":"Test |
|
1023 |
Corporation","label":"testcorp","id":8},"created_at":"2016-11-22 13:20:04 |
|
1024 |
UTC","updated_at":"2016-11-22 13:20:04 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":2,"version":"1.0","published":"2016-11-22 |
|
1025 |
13:20:04 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-11-22 |
|
1026 |
13:20:04 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]} |
|
1027 |
|
|
1028 |
' |
|
1029 |
http_version: |
|
1030 |
recorded_at: Wed, 30 Nov 2016 14:56:05 GMT |
|
1031 |
- request: |
|
1032 |
method: put |
|
1033 |
uri: https://admin:changeme@katello.example.com:50083/api/hosts/154 |
|
1034 |
body: |
|
1035 |
encoding: UTF-8 |
|
1036 |
string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":2,"content_view_id":2},"subscription_facet_attributes":{"installed_products":[{"product_id":"69","product_name":"Red |
|
1037 |
Hat Enterprise Linux Server","arch":"x86_64","version":"6.4"}],"service_level":"Standard"}}}' |
|
1038 |
headers: |
|
1039 |
Accept: |
|
1040 |
- application/json;version=2 |
|
1041 |
Accept-Encoding: |
|
1042 |
- gzip, deflate |
|
1043 |
User-Agent: |
|
1044 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
1045 |
Content-Type: |
|
1046 |
- application/json |
|
1047 |
Accept-Language: |
|
1048 |
- en |
|
1049 |
Content-Length: |
|
1050 |
- '273' |
|
1051 |
Host: |
|
1052 |
- katello.example.com:50083 |
|
1053 |
response: |
|
1054 |
status: |
|
1055 |
code: 200 |
|
1056 |
message: OK |
|
1057 |
headers: |
|
1058 |
Date: |
|
1059 |
- Wed, 30 Nov 2016 14:55:58 GMT |
|
1060 |
Server: |
|
1061 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
1062 |
X-Frame-Options: |
|
1063 |
- SAMEORIGIN |
|
1064 |
X-Xss-Protection: |
|
1065 |
- 1; mode=block |
|
1066 |
X-Content-Type-Options: |
|
1067 |
- nosniff |
|
1068 |
Foreman-Version: |
|
1069 |
- 1.11.0.54 |
|
1070 |
Foreman-Api-Version: |
|
1071 |
- '2' |
|
1072 |
Apipie-Checksum: |
|
1073 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
1074 |
Cache-Control: |
|
1075 |
- max-age=0, private, must-revalidate |
|
1076 |
X-Request-Id: |
|
1077 |
- d96847b3-3fbf-43cb-9f2e-72f8b834c97a |
|
1078 |
X-Runtime: |
|
1079 |
- '0.694816' |
|
1080 |
X-Powered-By: |
|
1081 |
- Phusion Passenger 4.0.18 |
|
1082 |
Etag: |
|
1083 |
- '"e559b85797d701cc7a072cbee3c4b560-gzip"' |
|
1084 |
Status: |
|
1085 |
- 200 OK |
|
1086 |
Vary: |
|
1087 |
- Accept-Encoding |
|
1088 |
Content-Length: |
|
1089 |
- '3820' |
|
1090 |
Content-Type: |
|
1091 |
- application/json; charset=utf-8 |
|
1092 |
Set-Cookie: |
|
1093 |
- _session_id=42818960956680c3a97e724e76c60fb6; path=/; secure; HttpOnly |
|
1094 |
- request_method=PUT; path=/ |
|
1095 |
body: |
|
1096 |
encoding: ASCII-8BIT |
|
1097 |
string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testaaa0","image_id":null,"image_name":null,"created_at":"2016-11-30 |
|
1098 |
14:55:46 UTC","updated_at":"2016-11-30 14:55:48 UTC","last_compile":"2016-11-30 |
|
1099 |
14:55:48 UTC","global_status":2,"global_status_label":"Error","organization_id":8,"organization_name":"Test |
|
1100 |
Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could |
|
1101 |
not calculate errata status, ensure host is registered and katello-agent is |
|
1102 |
installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testaaa0","id":154,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":154,"uuid":"38ced2aa-0cf9-4e97-acd9-5cbf4f3cfbf0","content_view_id":2,"content_view_name":"Default |
|
1103 |
Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default |
|
1104 |
Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":154,"uuid":"38ced2aa-0cf9-4e97-acd9-5cbf4f3cfbf0","last_checkin":"2016-11-30 |
|
1105 |
14:55:47 UTC","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2016-11-30 |
|
1106 |
14:55:47 UTC","activation_keys":[],"compliance_reasons":["Red Hat Enterprise |
|
1107 |
Linux Server: Not supported by a valid subscription."],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff808081588d8f280158b5bc021f0f9c","productId":"69","productName":"Red |
|
1108 |
Hat Enterprise Linux Server","version":null,"arch":"x86_64,ia64,x86","status":"red","startDate":null,"endDate":null,"created":"2016-11-30T14:55:47.231+0000","updated":"2016-11-30T14:55:47.231+0000"}]},"content_host_id":154,"parameters":[],"interfaces":[{"id":155,"name":"testaaa0","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"system::certificate_version":"3.2","network::hostname":"testaaa0","cpu::core(s)_per_socket":"4","cpu::cpu_socket(s)":"2","memory::memtotal":"4 |
|
1109 |
GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"6.4","virt::is_guest":"false","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-11-30T14:55:48+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}' |
|
1110 |
http_version: |
|
1111 |
recorded_at: Wed, 30 Nov 2016 14:56:05 GMT |
|
1112 |
- request: |
|
1113 |
method: get |
|
1114 |
uri: https://admin:changeme@katello.example.com:50083/api/hosts/154/subscriptions |
|
1115 |
body: |
|
1116 |
encoding: US-ASCII |
|
1117 |
string: '' |
|
1118 |
headers: |
|
1119 |
Accept: |
|
1120 |
- application/json;version=2 |
|
1121 |
Accept-Encoding: |
|
1122 |
- gzip, deflate |
|
1123 |
User-Agent: |
|
1124 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
1125 |
Content-Type: |
|
1126 |
- application/json |
|
1127 |
Accept-Language: |
|
1128 |
- en |
|
1129 |
Host: |
|
1130 |
- katello.example.com:50083 |
|
1131 |
response: |
|
1132 |
status: |
|
1133 |
code: 200 |
|
1134 |
message: OK |
|
1135 |
headers: |
|
1136 |
Date: |
|
1137 |
- Wed, 30 Nov 2016 14:55:58 GMT |
|
1138 |
Server: |
|
1139 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
1140 |
X-Frame-Options: |
|
1141 |
- SAMEORIGIN |
|
1142 |
X-Xss-Protection: |
|
1143 |
- 1; mode=block |
|
1144 |
X-Content-Type-Options: |
|
1145 |
- nosniff |
|
1146 |
Foreman-Version: |
|
1147 |
- 1.11.0.54 |
|
1148 |
Foreman-Api-Version: |
|
1149 |
- '2' |
|
1150 |
Apipie-Checksum: |
|
1151 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
1152 |
Cache-Control: |
|
1153 |
- max-age=0, private, must-revalidate |
|
1154 |
X-Request-Id: |
|
1155 |
- 7df4fa64-8ea6-468b-ae56-9f10d2c88583 |
|
1156 |
X-Runtime: |
|
1157 |
- '0.089234' |
|
1158 |
X-Powered-By: |
|
1159 |
- Phusion Passenger 4.0.18 |
|
1160 |
Etag: |
|
1161 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
1162 |
Status: |
|
1163 |
- 200 OK |
|
1164 |
Vary: |
|
1165 |
- Accept-Encoding |
|
1166 |
Content-Length: |
|
1167 |
- '119' |
|
1168 |
Content-Type: |
|
1169 |
- application/json; charset=utf-8 |
|
1170 |
Set-Cookie: |
|
1171 |
- _session_id=7abb8121d1930dc32b5dd3c813870f38; path=/; secure; HttpOnly |
|
1172 |
body: |
|
1173 |
encoding: ASCII-8BIT |
|
1174 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
1175 |
|
|
1176 |
' |
|
1177 |
http_version: |
|
1178 |
recorded_at: Wed, 30 Nov 2016 14:56:05 GMT |
|
1179 |
- request: |
|
1180 |
method: get |
|
1181 |
uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations/8/subscriptions?per_page=999999&search=name%20=%20%22Red%20Hat%20Enterprise%20Linux%20Server,%20Standard%20(Physical%20or%20Virtual%20Nodes)%22 |
|
1182 |
body: |
|
1183 |
encoding: US-ASCII |
|
1184 |
string: '' |
|
1185 |
headers: |
|
1186 |
Accept: |
|
1187 |
- application/json;version=2 |
|
1188 |
Accept-Encoding: |
|
1189 |
- gzip, deflate |
|
1190 |
User-Agent: |
|
1191 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
1192 |
Content-Type: |
|
1193 |
- application/json |
|
1194 |
Accept-Language: |
|
1195 |
- en |
|
1196 |
Host: |
|
1197 |
- katello.example.com:50083 |
|
1198 |
response: |
|
1199 |
status: |
|
1200 |
code: 200 |
|
1201 |
message: OK |
|
1202 |
headers: |
|
1203 |
Date: |
|
1204 |
- Wed, 30 Nov 2016 14:55:58 GMT |
|
1205 |
Server: |
|
1206 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
1207 |
X-Frame-Options: |
|
1208 |
- SAMEORIGIN |
|
1209 |
X-Xss-Protection: |
|
1210 |
- 1; mode=block |
|
1211 |
X-Content-Type-Options: |
|
1212 |
- nosniff |
|
1213 |
Foreman-Version: |
|
1214 |
- 1.11.0.54 |
|
1215 |
Foreman-Api-Version: |
|
1216 |
- '2' |
|
1217 |
Apipie-Checksum: |
|
1218 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
1219 |
Cache-Control: |
|
1220 |
- max-age=0, private, must-revalidate |
|
1221 |
X-Request-Id: |
|
1222 |
- df51973e-a02b-45f1-9b1e-e5affb39ec18 |
|
1223 |
X-Runtime: |
|
1224 |
- '0.258782' |
|
1225 |
X-Powered-By: |
|
1226 |
- Phusion Passenger 4.0.18 |
|
1227 |
Etag: |
|
1228 |
- '"1b94183e205d678cbef2bf148548d007-gzip"' |
|
1229 |
Status: |
|
1230 |
- 200 OK |
|
1231 |
Vary: |
|
1232 |
- Accept-Encoding |
|
1233 |
Content-Length: |
|
1234 |
- '851' |
|
1235 |
Content-Type: |
|
1236 |
- application/json; charset=utf-8 |
|
1237 |
Set-Cookie: |
|
1238 |
- _session_id=1494f7a765151e0ee33d3cd58d555527; path=/; secure; HttpOnly |
|
1239 |
body: |
|
1240 |
encoding: ASCII-8BIT |
|
1241 |
string: '{"organization":{},"total":6,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":"name |
|
1242 |
= \"Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)\"","sort":{"by":null,"order":null},"results":[{"id":24,"cp_id":"ff808081588d8f280158abc773a40588","subscription_id":16,"name":"Red |
|
1243 |
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":198,"quantity":200,"consumed":2,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red |
|
1244 |
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]} |
|
1245 |
|
|
1246 |
' |
|
1247 |
http_version: |
|
1248 |
recorded_at: Wed, 30 Nov 2016 14:56:06 GMT |
|
1249 |
- request: |
|
1250 |
method: put |
|
1251 |
uri: https://admin:changeme@katello.example.com:50083/api/hosts/154/subscriptions/add_subscriptions |
|
1252 |
body: |
|
1253 |
encoding: UTF-8 |
|
1254 |
string: '{"subscriptions":[{"id":24,"quantity":2}]}' |
|
1255 |
headers: |
|
1256 |
Accept: |
|
1257 |
- application/json;version=2 |
|
1258 |
Accept-Encoding: |
|
1259 |
- gzip, deflate |
|
1260 |
User-Agent: |
|
1261 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
1262 |
Content-Type: |
|
1263 |
- application/json |
|
1264 |
Accept-Language: |
|
1265 |
- en |
|
1266 |
Content-Length: |
|
1267 |
- '42' |
|
1268 |
Host: |
|
1269 |
- katello.example.com:50083 |
|
1270 |
response: |
|
1271 |
status: |
|
1272 |
code: 200 |
|
1273 |
message: OK |
|
1274 |
headers: |
|
1275 |
Date: |
|
1276 |
- Wed, 30 Nov 2016 14:55:59 GMT |
|
1277 |
Server: |
|
1278 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
1279 |
X-Frame-Options: |
|
1280 |
- SAMEORIGIN |
|
1281 |
X-Xss-Protection: |
|
1282 |
- 1; mode=block |
|
1283 |
X-Content-Type-Options: |
|
1284 |
- nosniff |
|
1285 |
Foreman-Version: |
|
1286 |
- 1.11.0.54 |
|
1287 |
Foreman-Api-Version: |
|
1288 |
- '2' |
|
1289 |
Apipie-Checksum: |
|
1290 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
1291 |
Cache-Control: |
|
1292 |
- max-age=0, private, must-revalidate |
|
1293 |
X-Request-Id: |
|
1294 |
- 42dd96ee-1b05-44a6-b32b-e27b361979c5 |
|
1295 |
X-Runtime: |
|
1296 |
- '0.844865' |
|
1297 |
X-Powered-By: |
|
1298 |
- Phusion Passenger 4.0.18 |
|
1299 |
Etag: |
|
1300 |
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"' |
|
1301 |
Status: |
|
1302 |
- 200 OK |
|
1303 |
Vary: |
|
1304 |
- Accept-Encoding |
|
1305 |
Content-Length: |
|
1306 |
- '119' |
|
1307 |
Content-Type: |
|
1308 |
- application/json; charset=utf-8 |
|
1309 |
Set-Cookie: |
|
1310 |
- _session_id=1091f44cc7c69b1a47cdbe639ef76e45; path=/; secure; HttpOnly |
|
1311 |
- request_method=PUT; path=/ |
|
1312 |
body: |
|
1313 |
encoding: ASCII-8BIT |
|
1314 |
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]} |
|
1315 |
|
|
1316 |
' |
|
1317 |
http_version: |
|
1318 |
recorded_at: Wed, 30 Nov 2016 14:56:07 GMT |
|
1319 |
- request: |
|
1320 |
method: put |
|
1321 |
uri: https://admin:changeme@katello.example.com:50083/api/hosts/155 |
|
1322 |
body: |
|
1323 |
encoding: UTF-8 |
|
1324 |
string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":2,"content_view_id":2},"subscription_facet_attributes":{"installed_products":[{"product_id":"69","product_name":"Red |
|
1325 |
Hat Enterprise Linux Server","arch":"x86_64","version":"6.4"}],"service_level":"Standard"}}}' |
|
1326 |
headers: |
|
1327 |
Accept: |
|
1328 |
- application/json;version=2 |
|
1329 |
Accept-Encoding: |
|
1330 |
- gzip, deflate |
|
1331 |
User-Agent: |
|
1332 |
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112 |
|
1333 |
Content-Type: |
|
1334 |
- application/json |
|
1335 |
Accept-Language: |
|
1336 |
- en |
|
1337 |
Content-Length: |
|
1338 |
- '273' |
|
1339 |
Host: |
|
1340 |
- katello.example.com:50083 |
|
1341 |
response: |
|
1342 |
status: |
|
1343 |
code: 200 |
|
1344 |
message: OK |
|
1345 |
headers: |
|
1346 |
Date: |
|
1347 |
- Wed, 30 Nov 2016 14:56:00 GMT |
|
1348 |
Server: |
|
1349 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
|
1350 |
X-Frame-Options: |
|
1351 |
- SAMEORIGIN |
|
1352 |
X-Xss-Protection: |
|
1353 |
- 1; mode=block |
|
1354 |
X-Content-Type-Options: |
|
1355 |
- nosniff |
|
1356 |
Foreman-Version: |
|
1357 |
- 1.11.0.54 |
|
1358 |
Foreman-Api-Version: |
|
1359 |
- '2' |
|
1360 |
Apipie-Checksum: |
|
1361 |
- ef9e7a17d630b8c2cc5b7e016c24efe7 |
|
1362 |
Cache-Control: |
|
1363 |
- max-age=0, private, must-revalidate |
|
1364 |
X-Request-Id: |
|
1365 |
- 23d50476-9cab-4a9a-8967-d11693c57062 |
|
1366 |
X-Runtime: |
|
1367 |
- '0.632056' |
|
1368 |
X-Powered-By: |
|
1369 |
- Phusion Passenger 4.0.18 |
|
1370 |
Etag: |
|
1371 |
- '"6cb8ead37048f7ca50cdf1565de6e1ef-gzip"' |
|
1372 |
Status: |
|
1373 |
- 200 OK |
|
1374 |
Vary: |
|
1375 |
- Accept-Encoding |
|
1376 |
Content-Length: |
|
1377 |
- '3812' |
|
1378 |
Content-Type: |
|
1379 |
- application/json; charset=utf-8 |
|
1380 |
Set-Cookie: |
|
1381 |
- _session_id=79f45995fbf4c7cd569b1d8309a9c2b8; path=/; secure; HttpOnly |
|
1382 |
- request_method=PUT; path=/ |
|
1383 |
body: |
|
1384 |
encoding: ASCII-8BIT |
|
1385 |
string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testaaa1","image_id":null,"image_name":null,"created_at":"2016-11-30 |
|
1386 |
14:55:48 UTC","updated_at":"2016-11-30 14:55:50 UTC","last_compile":"2016-11-30 |
|
1387 |
14:55:50 UTC","global_status":2,"global_status_label":"Error","organization_id":8,"organization_name":"Test |
|
1388 |
Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could |
|
1389 |
not calculate errata status, ensure host is registered and katello-agent is |
|
1390 |
installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testaaa1","id":155,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":155,"uuid":"23d2412b-dc82-44f6-8aff-6deef4eb94ee","content_view_id":2,"content_view_name":"Default |
|
1391 |
Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default |
Also available in: Unified diff
vcr - full recording