Project

General

Profile

Revision 1327c177

Added by Thomas McKay about 6 years ago

vcr - full recording

View differences:

test/fixtures/vcr_cassettes/resources/content_hosts/columns_config.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=999999
6
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept:
11
      - application/json;version=2
12
      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:56:18 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
      - c423f48b-4629-4780-98ac-f24d0ae67ba0
47
      X-Runtime:
48
      - '0.278197'
49
      X-Powered-By:
50
      - Phusion Passenger 4.0.18
51
      Etag:
52
      - '"f78da5fcb20e48bfcf5b097571b5f7e6-gzip"'
53
      Status:
54
      - 200 OK
55
      Vary:
56
      - Accept-Encoding
57
      Content-Length:
58
      - '4438'
59
      Content-Type:
60
      - application/json; charset=utf-8
61
      Set-Cookie:
62
      - _session_id=c4115c23ff1bfe799697ea23994f77e2; path=/; secure; HttpOnly
63
    body:
64
      encoding: ASCII-8BIT
65
      string: |
66
        {
67
          "total": 2,
68
          "subtotal": 2,
69
          "page": 1,
70
          "per_page": 999999,
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},{"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}]
77
        }
78
    http_version: 
79
  recorded_at: Wed, 30 Nov 2016 14:56:25 GMT
80
- request:
81
    method: get
82
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/76
83
    body:
84
      encoding: US-ASCII
85
      string: ''
86
    headers:
87
      Accept:
88
      - application/json;version=2
89
      Accept-Encoding:
90
      - gzip, deflate
91
      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
97
      Host:
98
      - katello.example.com:50083
99
  response:
100
    status:
101
      code: 200
102
      message: OK
103
    headers:
104
      Date:
105
      - Wed, 30 Nov 2016 14:56:18 GMT
106
      Server:
107
      - Apache/2.4.6 (Red Hat Enterprise Linux)
108
      X-Frame-Options:
109
      - SAMEORIGIN
110
      X-Xss-Protection:
111
      - 1; mode=block
112
      X-Content-Type-Options:
113
      - nosniff
114
      Foreman-Version:
115
      - 1.11.0.54
116
      Foreman-Api-Version:
117
      - '2'
118
      Apipie-Checksum:
119
      - ef9e7a17d630b8c2cc5b7e016c24efe7
120
      Cache-Control:
121
      - max-age=0, private, must-revalidate
122
      X-Request-Id:
123
      - 040894e0-7a72-4db1-85d4-c8e183eb4004
124
      X-Runtime:
125
      - '0.328100'
126
      X-Powered-By:
127
      - Phusion Passenger 4.0.18
128
      Etag:
129
      - '"a8d8460c5ab2bcf1b209ce031c3478af-gzip"'
130
      Status:
131
      - 200 OK
132
      Vary:
133
      - Accept-Encoding
134
      Content-Length:
135
      - '3855'
136
      Content-Type:
137
      - application/json; charset=utf-8
138
      Set-Cookie:
139
      - _session_id=ddc1dcdd75c5903ca10182be4ad6a5c0; path=/; secure; HttpOnly
140
    body:
141
      encoding: ASCII-8BIT
142
      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":"testphysical","image_id":null,"image_name":null,"created_at":"2016-11-28
143
        20:09:51 UTC","updated_at":"2016-11-28 21:27:19 UTC","last_compile":"2016-11-28
144
        20:09:52 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
145
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
146
        not calculate errata status, ensure host is registered and katello-agent is
147
        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
148
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
149
        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":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","last_checkin":"2016-11-28
150
        20:09:51 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28
151
        20:09:51 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff808081588d8f280158ac8edf4d0ab8","productId":"69","productName":"Red
152
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-11-28T20:09:54.253+0000","updated":"2016-11-28T20:09:54.253+0000"}]},"content_host_id":76,"parameters":[],"interfaces":[{"id":77,"name":"testphysical","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":"testphysical","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"8","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test
153
        Corporation/testphysical","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-11-28T20:09:52+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}}'
154
    http_version: 
155
  recorded_at: Wed, 30 Nov 2016 14:56:26 GMT
156
- request:
157
    method: get
158
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/75
159
    body:
160
      encoding: US-ASCII
161
      string: ''
162
    headers:
163
      Accept:
164
      - application/json;version=2
165
      Accept-Encoding:
166
      - gzip, deflate
167
      User-Agent:
168
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
169
      Content-Type:
170
      - application/json
171
      Accept-Language:
172
      - en
173
      Host:
174
      - katello.example.com:50083
175
  response:
176
    status:
177
      code: 200
178
      message: OK
179
    headers:
180
      Date:
181
      - Wed, 30 Nov 2016 14:56:19 GMT
182
      Server:
183
      - Apache/2.4.6 (Red Hat Enterprise Linux)
184
      X-Frame-Options:
185
      - SAMEORIGIN
186
      X-Xss-Protection:
187
      - 1; mode=block
188
      X-Content-Type-Options:
189
      - nosniff
190
      Foreman-Version:
191
      - 1.11.0.54
192
      Foreman-Api-Version:
193
      - '2'
194
      Apipie-Checksum:
195
      - ef9e7a17d630b8c2cc5b7e016c24efe7
196
      Cache-Control:
197
      - max-age=0, private, must-revalidate
198
      X-Request-Id:
199
      - 4eae421e-cb88-4bbb-811b-24b599c33902
200
      X-Runtime:
201
      - '0.365253'
202
      X-Powered-By:
203
      - Phusion Passenger 4.0.18
204
      Etag:
205
      - '"4b2cb7da45ed5b9e852d4c4d60aea7a3-gzip"'
206
      Status:
207
      - 200 OK
208
      Vary:
209
      - Accept-Encoding
210
      Content-Length:
211
      - '3825'
212
      Content-Type:
213
      - application/json; charset=utf-8
214
      Set-Cookie:
215
      - _session_id=b750bc2f8b6a0ccaac8395b005edb7d1; path=/; secure; HttpOnly
216
    body:
217
      encoding: ASCII-8BIT
218
      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":"testvm","image_id":null,"image_name":null,"created_at":"2016-11-28
219
        20:09:42 UTC","updated_at":"2016-11-28 21:27:09 UTC","last_compile":"2016-11-28
220
        20:09:44 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
221
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
222
        not calculate errata status, ensure host is registered and katello-agent is
223
        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
224
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
225
        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":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","last_checkin":"2016-11-28
226
        20:09:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28
227
        20:09:43 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff808081588d8f280158ac8ec7910aa4","productId":"69","productName":"Red
228
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-11-28T20:09:48.177+0000","updated":"2016-11-28T20:09:48.177+0000"}]},"content_host_id":75,"parameters":[],"interfaces":[{"id":76,"name":"testvm","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"virt::is_guest":"true","virt::uuid":"Test
229
        Corporation/testvm","cpu::cpu(s)":"1","system":null,"system::certificate_version":"3.2","network::hostname":"testvm","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"4","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-11-28T20:09:44+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}}'
230
    http_version: 
231
  recorded_at: Wed, 30 Nov 2016 14:56:26 GMT
232
- request:
233
    method: get
234
    uri: https://admin:changeme@katello.example.com:50083/api/status
5
    uri: https://admin:changeme@satlap.example.com/api/status
235 6
    body:
236 7
      encoding: US-ASCII
237 8
      string: ''
......
242 13
      - "*/*"
243 14
      User-Agent:
244 15
      - Ruby
16
      Host:
17
      - satlap.example.com
245 18
  response:
246 19
    status:
247 20
      code: 200
248 21
      message: OK
249 22
    headers:
250 23
      Date:
251
      - Thu, 01 Dec 2016 19:53:54 GMT
24
      - Tue, 13 Dec 2016 14:47:07 GMT
252 25
      Server:
253 26
      - Apache/2.4.6 (Red Hat Enterprise Linux)
254 27
      X-Frame-Options:
......
266 39
      Cache-Control:
267 40
      - max-age=0, private, must-revalidate
268 41
      X-Request-Id:
269
      - 5f8816ae-bca8-4ef9-88d8-53448c5247b9
42
      - 1db0fbb6-d596-4c92-b20a-18d7cbf3ca65
270 43
      X-Runtime:
271
      - '0.065177'
44
      - '0.039408'
272 45
      X-Powered-By:
273 46
      - Phusion Passenger 4.0.18
47
      Set-Cookie:
48
      - _session_id=de398b16d0381d00fb11f635f7f5d01e; path=/; secure; HttpOnly
274 49
      Etag:
275 50
      - '"8e3341d0a4cc328651f7391aed11fef8"'
276 51
      Status:
......
279 54
      - '66'
280 55
      Content-Type:
281 56
      - application/json; charset=utf-8
282
      Set-Cookie:
283
      - _session_id=da7ad6261a7d26a536ed81b3178b33d7; path=/; secure; HttpOnly
284 57
    body:
285 58
      encoding: UTF-8
286 59
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
287 60
    http_version: 
288
  recorded_at: Thu, 01 Dec 2016 19:54:02 GMT
61
  recorded_at: Tue, 13 Dec 2016 14:47:05 GMT
289 62
- request:
290 63
    method: get
291
    uri: https://admin:changeme@katello.example.com:50083/api/v2/plugins
64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
292 65
    body:
293 66
      encoding: US-ASCII
294 67
      string: ''
......
299 72
      - "*/*"
300 73
      User-Agent:
301 74
      - Ruby
75
      Host:
76
      - satlap.example.com
302 77
  response:
303 78
    status:
304 79
      code: 200
305 80
      message: OK
306 81
    headers:
307 82
      Date:
308
      - Thu, 01 Dec 2016 19:53:54 GMT
83
      - Tue, 13 Dec 2016 14:47:07 GMT
309 84
      Server:
310 85
      - Apache/2.4.6 (Red Hat Enterprise Linux)
311 86
      X-Frame-Options:
......
323 98
      Cache-Control:
324 99
      - max-age=0, private, must-revalidate
325 100
      X-Request-Id:
326
      - c13ab277-37ed-4586-8edb-362291817cbe
101
      - 8607fc66-d5c0-4a27-8091-3efc50e6cbc2
327 102
      X-Runtime:
328
      - '0.075686'
103
      - '0.036448'
329 104
      X-Powered-By:
330 105
      - Phusion Passenger 4.0.18
106
      Set-Cookie:
107
      - _session_id=96bdcd4e2d1c9e691b35aceb07bfdcda; path=/; secure; HttpOnly
331 108
      Etag:
332 109
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
333 110
      Status:
......
338 115
      - '1338'
339 116
      Content-Type:
340 117
      - application/json; charset=utf-8
341
      Set-Cookie:
342
      - _session_id=17bc1f74bc6bbedbb69827b00708381a; path=/; secure; HttpOnly
343 118
    body:
344 119
      encoding: ASCII-8BIT
345 120
      string: !binary |-
......
418 193
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
419 194
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
420 195
    http_version: 
421
  recorded_at: Thu, 01 Dec 2016 19:54:02 GMT
196
  recorded_at: Tue, 13 Dec 2016 14:47:05 GMT
422 197
- request:
423 198
    method: get
424
    uri: https://katello.example.com:50083/apidoc/v2.en.json
199
    uri: https://satlap.example.com/apidoc/v2.en.json
425 200
    body:
426 201
      encoding: US-ASCII
427 202
      string: ''
......
437 212
      Accept-Language:
438 213
      - en
439 214
      Host:
440
      - katello.example.com:50083
215
      - satlap.example.com
441 216
  response:
442 217
    status:
443 218
      code: 200
444 219
      message: OK
445 220
    headers:
446 221
      Date:
447
      - Thu, 01 Dec 2016 19:53:54 GMT
222
      - Tue, 13 Dec 2016 14:47:07 GMT
448 223
      Server:
449 224
      - Apache/2.4.6 (Red Hat Enterprise Linux)
450 225
      X-Frame-Options:
......
462 237
      Apipie-Checksum:
463 238
      - e1df2e8d43e22495b02a53b48e3b5298
464 239
      X-Request-Id:
465
      - 6bb7d642-9732-4c08-9b7a-3c2813aee3ee
240
      - ce44da94-f9e0-40ac-b752-9f1113b75876
466 241
      X-Runtime:
467
      - '0.005208'
242
      - '0.004416'
468 243
      X-Powered-By:
469 244
      - Phusion Passenger 4.0.18
470 245
      Status:
......
20103 19878
        Ijp0cnVlfV0sImhlYWRlcnMiOm51bGx9fSwibGlua19leHRlbnNpb24iOiIu
20104 19879
        ZW4uaHRtbCJ9fQ==
20105 19880
    http_version: 
20106
  recorded_at: Thu, 01 Dec 2016 19:54:02 GMT
19881
  recorded_at: Tue, 13 Dec 2016 14:47:05 GMT
20107 19882
- request:
20108 19883
    method: get
20109
    uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations?per_page=999999
19884
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?full_results=true
20110 19885
    body:
20111 19886
      encoding: US-ASCII
20112 19887
      string: ''
......
20122 19897
      Accept-Language:
20123 19898
      - en
20124 19899
      Host:
20125
      - katello.example.com:50083
19900
      - satlap.example.com
20126 19901
  response:
20127 19902
    status:
20128 19903
      code: 200
20129 19904
      message: OK
20130 19905
    headers:
20131 19906
      Date:
20132
      - Thu, 01 Dec 2016 19:53:54 GMT
19907
      - Tue, 13 Dec 2016 14:47:08 GMT
20133 19908
      Server:
20134 19909
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20135 19910
      X-Frame-Options:
......
20147 19922
      Cache-Control:
20148 19923
      - max-age=0, private, must-revalidate
20149 19924
      X-Request-Id:
20150
      - 13c8a7cb-2cd7-453d-8922-2f4efe23605b
19925
      - 4e42aec1-790a-42c1-84c2-e68a5592ce9f
20151 19926
      X-Runtime:
20152
      - '0.033943'
19927
      - '0.036306'
20153 19928
      X-Powered-By:
20154 19929
      - Phusion Passenger 4.0.18
19930
      Set-Cookie:
19931
      - _session_id=6b34158bd32805b4149a1e3ed8cd7b9b; path=/; secure; HttpOnly
20155 19932
      Etag:
20156
      - '"eb4279f4302ae26ee0d5569fa70ed751-gzip"'
19933
      - '"307661b689c047972a4830fc1c360f91-gzip"'
20157 19934
      Status:
20158 19935
      - 200 OK
20159 19936
      Vary:
20160 19937
      - Accept-Encoding
20161 19938
      Content-Length:
20162
      - '563'
19939
      - '559'
20163 19940
      Content-Type:
20164 19941
      - application/json; charset=utf-8
20165
      Set-Cookie:
20166
      - _session_id=ce329894fceae8172702c1818794498b; path=/; secure; HttpOnly
20167 19942
    body:
20168 19943
      encoding: ASCII-8BIT
20169 19944
      string: |
......
20171 19946
          "total": 2,
20172 19947
          "subtotal": 2,
20173 19948
          "page": 1,
20174
          "per_page": 999999,
19949
          "per_page": 20,
20175 19950
          "search": null,
20176 19951
          "sort": {
20177 19952
            "by": null,
20178 19953
            "order": null
20179 19954
          },
20180
          "results": [{"label":"Default_Organization","created_at":"2016-12-01 19:25:05 UTC","updated_at":"2016-12-01 19:25:08 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2016-12-01 19:45:39 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
19955
          "results": [{"label":"Default_Organization","created_at":"2016-12-07 03:03:54 UTC","updated_at":"2016-12-07 03:03:58 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-13 11:49:10 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20181 19956
        }
20182 19957
    http_version: 
20183
  recorded_at: Thu, 01 Dec 2016 19:54:02 GMT
19958
  recorded_at: Tue, 13 Dec 2016 14:47:05 GMT
20184 19959
- request:
20185 19960
    method: get
20186
    uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
19961
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
20187 19962
    body:
20188 19963
      encoding: US-ASCII
20189 19964
      string: ''
......
20199 19974
      Accept-Language:
20200 19975
      - en
20201 19976
      Host:
20202
      - katello.example.com:50083
19977
      - satlap.example.com
20203 19978
  response:
20204 19979
    status:
20205 19980
      code: 200
20206 19981
      message: OK
20207 19982
    headers:
20208 19983
      Date:
20209
      - Thu, 01 Dec 2016 19:53:54 GMT
19984
      - Tue, 13 Dec 2016 14:47:08 GMT
20210 19985
      Server:
20211 19986
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20212 19987
      X-Frame-Options:
......
20224 19999
      Cache-Control:
20225 20000
      - max-age=0, private, must-revalidate
20226 20001
      X-Request-Id:
20227
      - 0ee5b30c-6f19-4292-86b4-6eab5c46e7c8
20002
      - 04b3ba1c-3702-467a-a4f0-3d41517970ef
20228 20003
      X-Runtime:
20229
      - '0.048636'
20004
      - '0.035780'
20230 20005
      X-Powered-By:
20231 20006
      - Phusion Passenger 4.0.18
20007
      Set-Cookie:
20008
      - _session_id=7625fac9a19ac3616cb910bf0e9bc902; path=/; secure; HttpOnly
20232 20009
      Etag:
20233
      - '"2009333f9dea90f7e284b5ac7176fd38-gzip"'
20010
      - '"dece488d5a182a19a03a777e7a66a6cd-gzip"'
20234 20011
      Status:
20235 20012
      - 200 OK
20236 20013
      Vary:
......
20239 20016
      - '388'
20240 20017
      Content-Type:
20241 20018
      - application/json; charset=utf-8
20242
      Set-Cookie:
20243
      - _session_id=32a097c27a5f037b05a7015fda5420c1; path=/; secure; HttpOnly
20244 20019
    body:
20245 20020
      encoding: ASCII-8BIT
20246 20021
      string: |
......
20254 20029
            "by": null,
20255 20030
            "order": null
20256 20031
          },
20257
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2016-12-01 19:45:39 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20032
          "results": [{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-13 11:49:10 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20258 20033
        }
20259 20034
    http_version: 
20260
  recorded_at: Thu, 01 Dec 2016 19:54:02 GMT
20035
  recorded_at: Tue, 13 Dec 2016 14:47:05 GMT
20261 20036
- request:
20262 20037
    method: get
20263
    uri: https://admin:changeme@katello.example.com:50083/api/organizations/3/hosts?per_page=999999&search
20038
    uri: https://admin:changeme@satlap.example.com/api/organizations/8/hosts?full_results=true&search
20264 20039
    body:
20265 20040
      encoding: US-ASCII
20266 20041
      string: ''
......
20276 20051
      Accept-Language:
20277 20052
      - en
20278 20053
      Host:
20279
      - katello.example.com:50083
20054
      - satlap.example.com
20280 20055
  response:
20281 20056
    status:
20282 20057
      code: 200
20283 20058
      message: OK
20284 20059
    headers:
20285 20060
      Date:
20286
      - Thu, 01 Dec 2016 19:53:54 GMT
20061
      - Tue, 13 Dec 2016 14:47:08 GMT
20287 20062
      Server:
20288 20063
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20289 20064
      X-Frame-Options:
......
20301 20076
      Cache-Control:
20302 20077
      - max-age=0, private, must-revalidate
20303 20078
      X-Request-Id:
20304
      - fb5bc21f-3706-4da4-b077-2ffb61122d7c
20079
      - 4934a3f8-2bf3-47cc-9386-f0b600f4caaf
20305 20080
      X-Runtime:
20306
      - '0.205676'
20081
      - '0.155865'
20307 20082
      X-Powered-By:
20308 20083
      - Phusion Passenger 4.0.18
20084
      Set-Cookie:
20085
      - _session_id=eacf4943a39243d03fccb8171a72b968; path=/; secure; HttpOnly
20309 20086
      Etag:
20310
      - '"9effda062073f183f72d512484846af0-gzip"'
20087
      - '"0093e4891c5402618c30013556e3debc-gzip"'
20311 20088
      Status:
20312 20089
      - 200 OK
20313 20090
      Vary:
20314 20091
      - Accept-Encoding
20315 20092
      Content-Length:
20316
      - '4430'
20093
      - '4426'
20317 20094
      Content-Type:
20318 20095
      - application/json; charset=utf-8
20319
      Set-Cookie:
20320
      - _session_id=ea8d8c8adbd1da463158bccc903a64bc; path=/; secure; HttpOnly
20321 20096
    body:
20322 20097
      encoding: ASCII-8BIT
20323 20098
      string: |
......
20325 20100
          "total": 2,
20326 20101
          "subtotal": 2,
20327 20102
          "page": 1,
20328
          "per_page": 999999,
20103
          "per_page": 20,
20329 20104
          "search": null,
20330 20105
          "sort": {
20331 20106
            "by": null,
20332 20107
            "order": null
20333 20108
          },
20334
          "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-12-01 19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"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":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","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":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6},{"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-12-01 19:37:05 UTC","updated_at":"2016-12-01 19:43:43 UTC","last_compile":"2016-12-01 19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"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":6,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","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":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01 19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:37:05 UTC"},"content_host_id":5}]
20109
          "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-12-13 11:01:00 UTC","updated_at":"2016-12-13 11:49:06 UTC","last_compile":"2016-12-13 11:01:02 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":5,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","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":5,"uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","last_checkin":"2016-12-13 11:01:00 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13 11:01:01 UTC"},"content_host_id":5},{"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-12-13 10:58:55 UTC","updated_at":"2016-12-13 11:48:59 UTC","last_compile":"2016-12-13 10:58:57 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":4,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","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":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","last_checkin":"2016-12-13 10:58:55 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13 10:58:56 UTC"},"content_host_id":4}]
20335 20110
        }
20336 20111
    http_version: 
20337
  recorded_at: Thu, 01 Dec 2016 19:54:02 GMT
20112
  recorded_at: Tue, 13 Dec 2016 14:47:05 GMT
20338 20113
- request:
20339 20114
    method: get
20340
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/7
20115
    uri: https://admin:changeme@satlap.example.com/api/hosts/5
20341 20116
    body:
20342 20117
      encoding: US-ASCII
20343 20118
      string: ''
......
20353 20128
      Accept-Language:
20354 20129
      - en
20355 20130
      Host:
20356
      - katello.example.com:50083
20131
      - satlap.example.com
20357 20132
  response:
20358 20133
    status:
20359 20134
      code: 200
20360 20135
      message: OK
20361 20136
    headers:
20362 20137
      Date:
20363
      - Thu, 01 Dec 2016 19:53:55 GMT
20138
      - Tue, 13 Dec 2016 14:47:08 GMT
20364 20139
      Server:
20365 20140
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20366 20141
      X-Frame-Options:
......
20378 20153
      Cache-Control:
20379 20154
      - max-age=0, private, must-revalidate
20380 20155
      X-Request-Id:
20381
      - 2e8fd3ec-c0ef-452d-b9fb-901528ebe616
20156
      - f0e86ad6-f058-4ab8-9124-4a6a0fd8ca0a
20382 20157
      X-Runtime:
20383
      - '0.363014'
20158
      - '0.282069'
20384 20159
      X-Powered-By:
20385 20160
      - Phusion Passenger 4.0.18
20161
      Set-Cookie:
20162
      - _session_id=b03dd319c150252415bcd91d3a0db0bc; path=/; secure; HttpOnly
20386 20163
      Etag:
20387
      - '"e448a5d58bd7bf77d82743a538004059-gzip"'
20164
      - '"ad5c0377fc0b2c053648e4100b6ef71c-gzip"'
20388 20165
      Status:
20389 20166
      - 200 OK
20390 20167
      Vary:
......
20393 20170
      - '3850'
20394 20171
      Content-Type:
20395 20172
      - application/json; charset=utf-8
20396
      Set-Cookie:
20397
      - _session_id=de58feaf64bb822352bf50254ba8dbdc; path=/; secure; HttpOnly
20398 20173
    body:
20399 20174
      encoding: ASCII-8BIT
20400
      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":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01
20401
        19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01
20402
        19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
20175
      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":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-13
20176
        11:01:00 UTC","updated_at":"2016-12-13 11:49:06 UTC","last_compile":"2016-12-13
20177
        11:01:02 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
20403 20178
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20404 20179
        not calculate errata status, ensure host is registered and katello-agent is
20405
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default
20180
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":5,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","content_view_id":2,"content_view_name":"Default
20406 20181
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
20407
        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":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01
20408
        19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01
20409
        19:38:28 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff80808158bbd8b50158bbe53a530599","productId":"69","productName":"Red
20410
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-12-01T19:38:31.891+0000","updated":"2016-12-01T19:38:31.891+0000"}]},"content_host_id":6,"parameters":[],"interfaces":[{"id":7,"name":"testphysical","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":"testphysical","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"8","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test
20411
        Corporation/testphysical","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-01T19:38:30+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}}'
20182
        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":5,"uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","last_checkin":"2016-12-13
20183
        11:01:00 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13
20184
        11:01:01 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"4028f99158f378890158f7d7ccd506f2","productId":"69","productName":"Red
20185
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-12-13T11:01:04.853+0000","updated":"2016-12-13T11:01:04.853+0000"}]},"content_host_id":5,"parameters":[],"interfaces":[{"id":5,"name":"testphysical","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"8","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test
20186
        Corporation/testphysical","system::certificate_version":"3.2","network::hostname":"testphysical","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-13T11:01:02+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}}'
20412 20187
    http_version: 
20413
  recorded_at: Thu, 01 Dec 2016 19:54:03 GMT
20188
  recorded_at: Tue, 13 Dec 2016 14:47:06 GMT
20414 20189
- request:
20415 20190
    method: get
20416
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/6
20191
    uri: https://admin:changeme@satlap.example.com/api/hosts/4
20417 20192
    body:
20418 20193
      encoding: US-ASCII
20419 20194
      string: ''
......
20429 20204
      Accept-Language:
20430 20205
      - en
20431 20206
      Host:
20432
      - katello.example.com:50083
20207
      - satlap.example.com
20433 20208
  response:
20434 20209
    status:
20435 20210
      code: 200
20436 20211
      message: OK
20437 20212
    headers:
20438 20213
      Date:
20439
      - Thu, 01 Dec 2016 19:53:55 GMT
20214
      - Tue, 13 Dec 2016 14:47:08 GMT
20440 20215
      Server:
20441 20216
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20442 20217
      X-Frame-Options:
......
20454 20229
      Cache-Control:
20455 20230
      - max-age=0, private, must-revalidate
20456 20231
      X-Request-Id:
20457
      - 4644de13-6460-4ce9-bae5-29b32aeda61e
20232
      - 373203d2-6ca6-4f46-adf4-68fe866f1a43
20458 20233
      X-Runtime:
20459
      - '0.334244'
20234
      - '0.282592'
20460 20235
      X-Powered-By:
20461 20236
      - Phusion Passenger 4.0.18
20237
      Set-Cookie:
20238
      - _session_id=ec8e6b460e4d2d429f3aaa2b95a52020; path=/; secure; HttpOnly
20462 20239
      Etag:
20463
      - '"e46e20167be651c7a23bc7ab096d6df7-gzip"'
20240
      - '"6450bb45f7cdc8ae0fdc6a0fb74f6bd7-gzip"'
20464 20241
      Status:
20465 20242
      - 200 OK
20466 20243
      Vary:
......
20469 20246
      - '3820'
20470 20247
      Content-Type:
20471 20248
      - application/json; charset=utf-8
20472
      Set-Cookie:
20473
      - _session_id=f15b08bd6e8d1ba44b00c6b38783535c; path=/; secure; HttpOnly
20474 20249
    body:
20475 20250
      encoding: ASCII-8BIT
20476
      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":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-01
20477
        19:37:05 UTC","updated_at":"2016-12-01 19:43:43 UTC","last_compile":"2016-12-01
20478
        19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
20251
      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":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-13
20252
        10:58:55 UTC","updated_at":"2016-12-13 11:48:59 UTC","last_compile":"2016-12-13
20253
        10:58:57 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
20479 20254
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20480 20255
        not calculate errata status, ensure host is registered and katello-agent is
20481
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":6,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","content_view_id":2,"content_view_name":"Default
20256
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":4,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","content_view_id":2,"content_view_name":"Default
20482 20257
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
20483
        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":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01
20484
        19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01
20485
        19:37:05 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff80808158bbd8b50158bbe41f0e03f7","productId":"69","productName":"Red
20486
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-12-01T19:37:19.374+0000","updated":"2016-12-01T19:37:19.374+0000"}]},"content_host_id":5,"parameters":[],"interfaces":[{"id":6,"name":"testvm","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":"testvm","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"4","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test
20487
        Corporation/testvm","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-01T19:37:06+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}}'
20258
        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":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","last_checkin":"2016-12-13
20259
        10:58:55 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13
20260
        10:58:56 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"4028f99158f378890158f7d7a08106d8","productId":"69","productName":"Red
20261
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-12-13T11:00:53.505+0000","updated":"2016-12-13T11:00:53.505+0000"}]},"content_host_id":4,"parameters":[],"interfaces":[{"id":4,"name":"testvm","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":"testvm","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"4","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test
20262
        Corporation/testvm","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-13T10:58:57+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}}'
20488 20263
    http_version: 
20489
  recorded_at: Thu, 01 Dec 2016 19:54:03 GMT
20264
  recorded_at: Tue, 13 Dec 2016 14:47:06 GMT
20490 20265
recorded_with: VCR 3.0.3

Also available in: Unified diff