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/itemized_columns_options.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:28 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
      - 941e75fa-2a9c-42de-8679-315e02c6abf5
47
      X-Runtime:
48
      - '0.406865'
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=42b7cc1a465c410f2c3e4f1291043212; 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:35 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:28 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
      - 1f809c3f-3518-4249-9e2f-5acb4d4e94b9
124
      X-Runtime:
125
      - '0.369820'
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=deb336b2f5282c6bf98dfc2328c6c102; 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:35 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:28 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
      - d6d7cd7f-9e71-4313-9ca9-184add474051
200
      X-Runtime:
201
      - '0.404627'
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=fdb25fb6b36fa4c7ef0856a46321051a; 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:36 GMT
232
- request:
233
    method: get
234
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/76/subscriptions?organization_id=8
235
    body:
236
      encoding: US-ASCII
237
      string: ''
238
    headers:
239
      Accept:
240
      - application/json;version=2
241
      Accept-Encoding:
242
      - gzip, deflate
243
      User-Agent:
244
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
245
      Content-Type:
246
      - application/json
247
      Accept-Language:
248
      - en
249
      Host:
250
      - katello.example.com:50083
251
  response:
252
    status:
253
      code: 200
254
      message: OK
255
    headers:
256
      Date:
257
      - Wed, 30 Nov 2016 14:56:29 GMT
258
      Server:
259
      - Apache/2.4.6 (Red Hat Enterprise Linux)
260
      X-Frame-Options:
261
      - SAMEORIGIN
262
      X-Xss-Protection:
263
      - 1; mode=block
264
      X-Content-Type-Options:
265
      - nosniff
266
      Foreman-Version:
267
      - 1.11.0.54
268
      Foreman-Api-Version:
269
      - '2'
270
      Apipie-Checksum:
271
      - ef9e7a17d630b8c2cc5b7e016c24efe7
272
      Cache-Control:
273
      - max-age=0, private, must-revalidate
274
      X-Request-Id:
275
      - 514a267d-a919-4cf0-b304-768094ea6dc6
276
      X-Runtime:
277
      - '0.271233'
278
      X-Powered-By:
279
      - Phusion Passenger 4.0.18
280
      Etag:
281
      - '"282aa0baf77a223896b2bbaec7347468-gzip"'
282
      Status:
283
      - 200 OK
284
      Vary:
285
      - Accept-Encoding
286
      Content-Length:
287
      - '770'
288
      Content-Type:
289
      - application/json; charset=utf-8
290
      Set-Cookie:
291
      - _session_id=eb4fb73831617fdb7984982bfd209d7e; path=/; secure; HttpOnly
292
    body:
293
      encoding: ASCII-8BIT
294
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":24,"cp_id":"ff808081588d8f280158abc773a40588","subscription_id":16,"name":"Red
295
        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
296
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
297

  
298
'
299
    http_version: 
300
  recorded_at: Wed, 30 Nov 2016 14:56:36 GMT
301
- request:
302
    method: get
303
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/75/subscriptions?organization_id=8
304
    body:
305
      encoding: US-ASCII
306
      string: ''
307
    headers:
308
      Accept:
309
      - application/json;version=2
310
      Accept-Encoding:
311
      - gzip, deflate
312
      User-Agent:
313
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
314
      Content-Type:
315
      - application/json
316
      Accept-Language:
317
      - en
318
      Host:
319
      - katello.example.com:50083
320
  response:
321
    status:
322
      code: 200
323
      message: OK
324
    headers:
325
      Date:
326
      - Wed, 30 Nov 2016 14:56:29 GMT
327
      Server:
328
      - Apache/2.4.6 (Red Hat Enterprise Linux)
329
      X-Frame-Options:
330
      - SAMEORIGIN
331
      X-Xss-Protection:
332
      - 1; mode=block
333
      X-Content-Type-Options:
334
      - nosniff
335
      Foreman-Version:
336
      - 1.11.0.54
337
      Foreman-Api-Version:
338
      - '2'
339
      Apipie-Checksum:
340
      - ef9e7a17d630b8c2cc5b7e016c24efe7
341
      Cache-Control:
342
      - max-age=0, private, must-revalidate
343
      X-Request-Id:
344
      - 7d9c6212-6a67-4955-915d-aa7a883763f5
345
      X-Runtime:
346
      - '0.258669'
347
      X-Powered-By:
348
      - Phusion Passenger 4.0.18
349
      Etag:
350
      - '"282aa0baf77a223896b2bbaec7347468-gzip"'
351
      Status:
352
      - 200 OK
353
      Vary:
354
      - Accept-Encoding
355
      Content-Length:
356
      - '770'
357
      Content-Type:
358
      - application/json; charset=utf-8
359
      Set-Cookie:
360
      - _session_id=a1901d0d43b9b44f25341adb8386c35b; path=/; secure; HttpOnly
361
    body:
362
      encoding: ASCII-8BIT
363
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":24,"cp_id":"ff808081588d8f280158abc773a40588","subscription_id":16,"name":"Red
364
        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
365
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
366

  
367
'
368
    http_version: 
369
  recorded_at: Wed, 30 Nov 2016 14:56:36 GMT
370
- request:
371
    method: get
372
    uri: https://admin:changeme@katello.example.com:50083/api/status
5
    uri: https://admin:changeme@satlap.example.com/api/status
373 6
    body:
374 7
      encoding: US-ASCII
375 8
      string: ''
......
380 13
      - "*/*"
381 14
      User-Agent:
382 15
      - Ruby
16
      Host:
17
      - satlap.example.com
383 18
  response:
384 19
    status:
385 20
      code: 200
386 21
      message: OK
387 22
    headers:
388 23
      Date:
389
      - Thu, 01 Dec 2016 19:53:58 GMT
24
      - Tue, 13 Dec 2016 14:47:08 GMT
390 25
      Server:
391 26
      - Apache/2.4.6 (Red Hat Enterprise Linux)
392 27
      X-Frame-Options:
......
404 39
      Cache-Control:
405 40
      - max-age=0, private, must-revalidate
406 41
      X-Request-Id:
407
      - 8ac491c9-0aec-466d-83a5-932f457fef57
42
      - 152ccdc2-2e98-4c74-b0ef-470772751a81
408 43
      X-Runtime:
409
      - '0.053946'
44
      - '0.063607'
410 45
      X-Powered-By:
411 46
      - Phusion Passenger 4.0.18
47
      Set-Cookie:
48
      - _session_id=85fd93215576c04193b3ebcaedb07e77; path=/; secure; HttpOnly
412 49
      Etag:
413 50
      - '"8e3341d0a4cc328651f7391aed11fef8"'
414 51
      Status:
......
417 54
      - '66'
418 55
      Content-Type:
419 56
      - application/json; charset=utf-8
420
      Set-Cookie:
421
      - _session_id=173cf40d4d692f4267bfaf691c6da082; path=/; secure; HttpOnly
422 57
    body:
423 58
      encoding: UTF-8
424 59
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
425 60
    http_version: 
426
  recorded_at: Thu, 01 Dec 2016 19:54:05 GMT
61
  recorded_at: Tue, 13 Dec 2016 14:47:06 GMT
427 62
- request:
428 63
    method: get
429
    uri: https://admin:changeme@katello.example.com:50083/api/v2/plugins
64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
430 65
    body:
431 66
      encoding: US-ASCII
432 67
      string: ''
......
437 72
      - "*/*"
438 73
      User-Agent:
439 74
      - Ruby
75
      Host:
76
      - satlap.example.com
440 77
  response:
441 78
    status:
442 79
      code: 200
443 80
      message: OK
444 81
    headers:
445 82
      Date:
446
      - Thu, 01 Dec 2016 19:53:58 GMT
83
      - Tue, 13 Dec 2016 14:47:09 GMT
447 84
      Server:
448 85
      - Apache/2.4.6 (Red Hat Enterprise Linux)
449 86
      X-Frame-Options:
......
461 98
      Cache-Control:
462 99
      - max-age=0, private, must-revalidate
463 100
      X-Request-Id:
464
      - 7a440e4b-baa0-4556-831f-a1bf7a82a8d3
101
      - 0b007fd4-4a14-40c3-b49b-cda7efa74beb
465 102
      X-Runtime:
466
      - '0.048808'
103
      - '0.033835'
467 104
      X-Powered-By:
468 105
      - Phusion Passenger 4.0.18
106
      Set-Cookie:
107
      - _session_id=78acb75d76d073151f0e66066c33714b; path=/; secure; HttpOnly
469 108
      Etag:
470 109
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
471 110
      Status:
......
476 115
      - '1338'
477 116
      Content-Type:
478 117
      - application/json; charset=utf-8
479
      Set-Cookie:
480
      - _session_id=332088e9f08820d6ccb942d7ae8d5088; path=/; secure; HttpOnly
481 118
    body:
482 119
      encoding: ASCII-8BIT
483 120
      string: !binary |-
......
556 193
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
557 194
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
558 195
    http_version: 
559
  recorded_at: Thu, 01 Dec 2016 19:54:06 GMT
196
  recorded_at: Tue, 13 Dec 2016 14:47:06 GMT
560 197
- request:
561 198
    method: get
562
    uri: https://katello.example.com:50083/apidoc/v2.en.json
199
    uri: https://satlap.example.com/apidoc/v2.en.json
563 200
    body:
564 201
      encoding: US-ASCII
565 202
      string: ''
......
575 212
      Accept-Language:
576 213
      - en
577 214
      Host:
578
      - katello.example.com:50083
215
      - satlap.example.com
579 216
  response:
580 217
    status:
581 218
      code: 200
582 219
      message: OK
583 220
    headers:
584 221
      Date:
585
      - Thu, 01 Dec 2016 19:53:58 GMT
222
      - Tue, 13 Dec 2016 14:47:09 GMT
586 223
      Server:
587 224
      - Apache/2.4.6 (Red Hat Enterprise Linux)
588 225
      X-Frame-Options:
......
600 237
      Apipie-Checksum:
601 238
      - e1df2e8d43e22495b02a53b48e3b5298
602 239
      X-Request-Id:
603
      - 9b10bce1-43d1-4f18-92fd-f94cad842d7e
240
      - 93680091-5aa5-46b4-ac71-d3d71b172668
604 241
      X-Runtime:
605
      - '0.008322'
242
      - '0.005427'
606 243
      X-Powered-By:
607 244
      - Phusion Passenger 4.0.18
608 245
      Status:
......
20241 19878
        Ijp0cnVlfV0sImhlYWRlcnMiOm51bGx9fSwibGlua19leHRlbnNpb24iOiIu
20242 19879
        ZW4uaHRtbCJ9fQ==
20243 19880
    http_version: 
20244
  recorded_at: Thu, 01 Dec 2016 19:54:06 GMT
19881
  recorded_at: Tue, 13 Dec 2016 14:47:06 GMT
20245 19882
- request:
20246 19883
    method: get
20247
    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
20248 19885
    body:
20249 19886
      encoding: US-ASCII
20250 19887
      string: ''
......
20260 19897
      Accept-Language:
20261 19898
      - en
20262 19899
      Host:
20263
      - katello.example.com:50083
19900
      - satlap.example.com
20264 19901
  response:
20265 19902
    status:
20266 19903
      code: 200
20267 19904
      message: OK
20268 19905
    headers:
20269 19906
      Date:
20270
      - Thu, 01 Dec 2016 19:53:58 GMT
19907
      - Tue, 13 Dec 2016 14:47:09 GMT
20271 19908
      Server:
20272 19909
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20273 19910
      X-Frame-Options:
......
20285 19922
      Cache-Control:
20286 19923
      - max-age=0, private, must-revalidate
20287 19924
      X-Request-Id:
20288
      - 2b43fcf5-cb42-4cbc-bb39-a2865c57ffbf
19925
      - c45cd854-397f-40d6-be70-0753991a5edc
20289 19926
      X-Runtime:
20290
      - '0.082809'
19927
      - '0.036347'
20291 19928
      X-Powered-By:
20292 19929
      - Phusion Passenger 4.0.18
19930
      Set-Cookie:
19931
      - _session_id=0305a07953cba522ea78f0a393c67584; path=/; secure; HttpOnly
20293 19932
      Etag:
20294
      - '"eb4279f4302ae26ee0d5569fa70ed751-gzip"'
19933
      - '"307661b689c047972a4830fc1c360f91-gzip"'
20295 19934
      Status:
20296 19935
      - 200 OK
20297 19936
      Vary:
20298 19937
      - Accept-Encoding
20299 19938
      Content-Length:
20300
      - '563'
19939
      - '559'
20301 19940
      Content-Type:
20302 19941
      - application/json; charset=utf-8
20303
      Set-Cookie:
20304
      - _session_id=2b9831c8aefa399a07e61cb5fc698248; path=/; secure; HttpOnly
20305 19942
    body:
20306 19943
      encoding: ASCII-8BIT
20307 19944
      string: |
......
20309 19946
          "total": 2,
20310 19947
          "subtotal": 2,
20311 19948
          "page": 1,
20312
          "per_page": 999999,
19949
          "per_page": 20,
20313 19950
          "search": null,
20314 19951
          "sort": {
20315 19952
            "by": null,
20316 19953
            "order": null
20317 19954
          },
20318
          "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"}]
20319 19956
        }
20320 19957
    http_version: 
20321
  recorded_at: Thu, 01 Dec 2016 19:54:06 GMT
19958
  recorded_at: Tue, 13 Dec 2016 14:47:06 GMT
20322 19959
- request:
20323 19960
    method: get
20324
    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
20325 19962
    body:
20326 19963
      encoding: US-ASCII
20327 19964
      string: ''
......
20337 19974
      Accept-Language:
20338 19975
      - en
20339 19976
      Host:
20340
      - katello.example.com:50083
19977
      - satlap.example.com
20341 19978
  response:
20342 19979
    status:
20343 19980
      code: 200
20344 19981
      message: OK
20345 19982
    headers:
20346 19983
      Date:
20347
      - Thu, 01 Dec 2016 19:53:58 GMT
19984
      - Tue, 13 Dec 2016 14:47:09 GMT
20348 19985
      Server:
20349 19986
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20350 19987
      X-Frame-Options:
......
20362 19999
      Cache-Control:
20363 20000
      - max-age=0, private, must-revalidate
20364 20001
      X-Request-Id:
20365
      - b3bb7913-6607-4845-9729-1de4b24f5307
20002
      - 4cd3f387-e829-4009-97c6-59000b179210
20366 20003
      X-Runtime:
20367
      - '0.047320'
20004
      - '0.034483'
20368 20005
      X-Powered-By:
20369 20006
      - Phusion Passenger 4.0.18
20007
      Set-Cookie:
20008
      - _session_id=996f4c5a896031641961b70eb64a2dcf; path=/; secure; HttpOnly
20370 20009
      Etag:
20371
      - '"2009333f9dea90f7e284b5ac7176fd38-gzip"'
20010
      - '"dece488d5a182a19a03a777e7a66a6cd-gzip"'
20372 20011
      Status:
20373 20012
      - 200 OK
20374 20013
      Vary:
......
20377 20016
      - '388'
20378 20017
      Content-Type:
20379 20018
      - application/json; charset=utf-8
20380
      Set-Cookie:
20381
      - _session_id=a2b339939e8cd811376825a0d8a40d89; path=/; secure; HttpOnly
20382 20019
    body:
20383 20020
      encoding: ASCII-8BIT
20384 20021
      string: |
......
20392 20029
            "by": null,
20393 20030
            "order": null
20394 20031
          },
20395
          "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"}]
20396 20033
        }
20397 20034
    http_version: 
20398
  recorded_at: Thu, 01 Dec 2016 19:54:06 GMT
20035
  recorded_at: Tue, 13 Dec 2016 14:47:06 GMT
20399 20036
- request:
20400 20037
    method: get
20401
    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
20402 20039
    body:
20403 20040
      encoding: US-ASCII
20404 20041
      string: ''
......
20414 20051
      Accept-Language:
20415 20052
      - en
20416 20053
      Host:
20417
      - katello.example.com:50083
20054
      - satlap.example.com
20418 20055
  response:
20419 20056
    status:
20420 20057
      code: 200
20421 20058
      message: OK
20422 20059
    headers:
20423 20060
      Date:
20424
      - Thu, 01 Dec 2016 19:53:58 GMT
20061
      - Tue, 13 Dec 2016 14:47:09 GMT
20425 20062
      Server:
20426 20063
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20427 20064
      X-Frame-Options:
......
20439 20076
      Cache-Control:
20440 20077
      - max-age=0, private, must-revalidate
20441 20078
      X-Request-Id:
20442
      - a606e51d-0220-4ad8-8541-1def222d92b7
20079
      - d7578726-6e5a-4aab-8c71-fbc8d0e16aa1
20443 20080
      X-Runtime:
20444
      - '0.178150'
20081
      - '0.205310'
20445 20082
      X-Powered-By:
20446 20083
      - Phusion Passenger 4.0.18
20084
      Set-Cookie:
20085
      - _session_id=27803bfe5573965739744b97db97004f; path=/; secure; HttpOnly
20447 20086
      Etag:
20448
      - '"9effda062073f183f72d512484846af0-gzip"'
20087
      - '"0093e4891c5402618c30013556e3debc-gzip"'
20449 20088
      Status:
20450 20089
      - 200 OK
20451 20090
      Vary:
20452 20091
      - Accept-Encoding
20453 20092
      Content-Length:
20454
      - '4430'
20093
      - '4426'
20455 20094
      Content-Type:
20456 20095
      - application/json; charset=utf-8
20457
      Set-Cookie:
20458
      - _session_id=e2c150ef7fbebee143b23c880eb83596; path=/; secure; HttpOnly
20459 20096
    body:
20460 20097
      encoding: ASCII-8BIT
20461 20098
      string: |
......
20463 20100
          "total": 2,
20464 20101
          "subtotal": 2,
20465 20102
          "page": 1,
20466
          "per_page": 999999,
20103
          "per_page": 20,
20467 20104
          "search": null,
20468 20105
          "sort": {
20469 20106
            "by": null,
20470 20107
            "order": null
20471 20108
          },
20472
          "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}]
20473 20110
        }
20474 20111
    http_version: 
20475
  recorded_at: Thu, 01 Dec 2016 19:54:06 GMT
20112
  recorded_at: Tue, 13 Dec 2016 14:47:07 GMT
20476 20113
- request:
20477 20114
    method: get
20478
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/7
20115
    uri: https://admin:changeme@satlap.example.com/api/hosts/5
20479 20116
    body:
20480 20117
      encoding: US-ASCII
20481 20118
      string: ''
......
20491 20128
      Accept-Language:
20492 20129
      - en
20493 20130
      Host:
20494
      - katello.example.com:50083
20131
      - satlap.example.com
20495 20132
  response:
20496 20133
    status:
20497 20134
      code: 200
20498 20135
      message: OK
20499 20136
    headers:
20500 20137
      Date:
20501
      - Thu, 01 Dec 2016 19:53:58 GMT
20138
      - Tue, 13 Dec 2016 14:47:09 GMT
20502 20139
      Server:
20503 20140
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20504 20141
      X-Frame-Options:
......
20516 20153
      Cache-Control:
20517 20154
      - max-age=0, private, must-revalidate
20518 20155
      X-Request-Id:
20519
      - 3e070572-0b30-45b7-ba47-4d4ad861502f
20156
      - 44902ad9-3151-4460-a29d-4f33ad753b81
20520 20157
      X-Runtime:
20521
      - '0.386951'
20158
      - '0.286257'
20522 20159
      X-Powered-By:
20523 20160
      - Phusion Passenger 4.0.18
20161
      Set-Cookie:
20162
      - _session_id=1b36b2cf8c5e352b46fd57f372645560; path=/; secure; HttpOnly
20524 20163
      Etag:
20525
      - '"e448a5d58bd7bf77d82743a538004059-gzip"'
20164
      - '"ad5c0377fc0b2c053648e4100b6ef71c-gzip"'
20526 20165
      Status:
20527 20166
      - 200 OK
20528 20167
      Vary:
......
20531 20170
      - '3850'
20532 20171
      Content-Type:
20533 20172
      - application/json; charset=utf-8
20534
      Set-Cookie:
20535
      - _session_id=16c9fb3faf670c77b7f4ec98cd6d0b7c; path=/; secure; HttpOnly
20536 20173
    body:
20537 20174
      encoding: ASCII-8BIT
20538
      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
20539
        19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01
20540
        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
20541 20178
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20542 20179
        not calculate errata status, ensure host is registered and katello-agent is
20543
        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
20544 20181
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
20545
        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
20546
        19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01
20547
        19:38:28 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff80808158bbd8b50158bbe53a530599","productId":"69","productName":"Red
20548
        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
20549
        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}}'
20550 20187
    http_version: 
20551
  recorded_at: Thu, 01 Dec 2016 19:54:06 GMT
20188
  recorded_at: Tue, 13 Dec 2016 14:47:07 GMT
20552 20189
- request:
20553 20190
    method: get
20554
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/6
20191
    uri: https://admin:changeme@satlap.example.com/api/hosts/4
20555 20192
    body:
20556 20193
      encoding: US-ASCII
20557 20194
      string: ''
......
20567 20204
      Accept-Language:
20568 20205
      - en
20569 20206
      Host:
20570
      - katello.example.com:50083
20207
      - satlap.example.com
20571 20208
  response:
20572 20209
    status:
20573 20210
      code: 200
20574 20211
      message: OK
20575 20212
    headers:
20576 20213
      Date:
20577
      - Thu, 01 Dec 2016 19:53:59 GMT
20214
      - Tue, 13 Dec 2016 14:47:09 GMT
20578 20215
      Server:
20579 20216
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20580 20217
      X-Frame-Options:
......
20592 20229
      Cache-Control:
20593 20230
      - max-age=0, private, must-revalidate
20594 20231
      X-Request-Id:
20595
      - 057916a4-0650-4ceb-8652-a121d6009257
20232
      - b135775c-9b33-4dbc-a17e-dd25fd9f275a
20596 20233
      X-Runtime:
20597
      - '0.325874'
20234
      - '0.302707'
20598 20235
      X-Powered-By:
20599 20236
      - Phusion Passenger 4.0.18
20237
      Set-Cookie:
20238
      - _session_id=f6fa341bd87dd1ab781c8f513d3320f6; path=/; secure; HttpOnly
20600 20239
      Etag:
20601
      - '"e46e20167be651c7a23bc7ab096d6df7-gzip"'
20240
      - '"6450bb45f7cdc8ae0fdc6a0fb74f6bd7-gzip"'
20602 20241
      Status:
20603 20242
      - 200 OK
20604 20243
      Vary:
......
20607 20246
      - '3820'
20608 20247
      Content-Type:
20609 20248
      - application/json; charset=utf-8
20610
      Set-Cookie:
20611
      - _session_id=ab258f81bdd6e4cb7eca600ca800a5a5; path=/; secure; HttpOnly
20612 20249
    body:
20613 20250
      encoding: ASCII-8BIT
20614
      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
20615
        19:37:05 UTC","updated_at":"2016-12-01 19:43:43 UTC","last_compile":"2016-12-01
20616
        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
20617 20254
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20618 20255
        not calculate errata status, ensure host is registered and katello-agent is
20619
        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
20620 20257
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
20621
        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
20622
        19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01
20623
        19:37:05 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff80808158bbd8b50158bbe41f0e03f7","productId":"69","productName":"Red
20624
        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
20625
        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}}'
20626 20263
    http_version: 
20627
  recorded_at: Thu, 01 Dec 2016 19:54:07 GMT
20264
  recorded_at: Tue, 13 Dec 2016 14:47:07 GMT
20628 20265
- request:
20629 20266
    method: get
20630
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/7/subscriptions?organization_id=3
20267
    uri: https://admin:changeme@satlap.example.com/api/hosts/5/subscriptions?organization_id=8
20631 20268
    body:
20632 20269
      encoding: US-ASCII
20633 20270
      string: ''
......
20643 20280
      Accept-Language:
20644 20281
      - en
20645 20282
      Host:
20646
      - katello.example.com:50083
20283
      - satlap.example.com
20647 20284
  response:
20648 20285
    status:
20649 20286
      code: 200
20650 20287
      message: OK
20651 20288
    headers:
20652 20289
      Date:
20653
      - Thu, 01 Dec 2016 19:53:59 GMT
20290
      - Tue, 13 Dec 2016 14:47:10 GMT
20654 20291
      Server:
20655 20292
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20656 20293
      X-Frame-Options:
......
20668 20305
      Cache-Control:
20669 20306
      - max-age=0, private, must-revalidate
20670 20307
      X-Request-Id:
20671
      - ddb2462b-77fb-4314-8a1a-8af50bab71b1
20308
      - 76744452-7707-4ee8-97f7-cd3ac3ac8458
20672 20309
      X-Runtime:
20673
      - '0.268509'
20310
      - '0.238808'
20674 20311
      X-Powered-By:
20675 20312
      - Phusion Passenger 4.0.18
20313
      Set-Cookie:
20314
      - _session_id=bc1b1bb734f831bdf8b278025ec8cdc4; path=/; secure; HttpOnly
20676 20315
      Etag:
20677
      - '"432a2ddf33f52f81d9755d5ede670c43-gzip"'
20316
      - '"08063d363b63add4fe3c07b6a2f5ee13-gzip"'
20678 20317
      Status:
20679 20318
      - 200 OK
20680 20319
      Vary:
......
20683 20322
      - '770'
20684 20323
      Content-Type:
20685 20324
      - application/json; charset=utf-8
20686
      Set-Cookie:
20687
      - _session_id=3e56f692ccde4c1481c87299fa69154a; path=/; secure; HttpOnly
20688 20325
    body:
20689 20326
      encoding: ASCII-8BIT
20690
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":19,"cp_id":"ff80808158bbd8b50158bbe4a4a204a3","subscription_id":13,"name":"Red
20327
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":37,"cp_id":"4028f99158f378890158f7d685490550","subscription_id":21,"name":"Red
20691 20328
        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
20692 20329
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
20693 20330

  
20694 20331
'
20695 20332
    http_version: 
20696
  recorded_at: Thu, 01 Dec 2016 19:54:07 GMT
20333
  recorded_at: Tue, 13 Dec 2016 14:47:07 GMT
20697 20334
- request:
20698 20335
    method: get
20699
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/6/subscriptions?organization_id=3
20336
    uri: https://admin:changeme@satlap.example.com/api/hosts/4/subscriptions?organization_id=8
20700 20337
    body:
20701 20338
      encoding: US-ASCII
20702 20339
      string: ''
......
20712 20349
      Accept-Language:
20713 20350
      - en
20714 20351
      Host:
20715
      - katello.example.com:50083
20352
      - satlap.example.com
20716 20353
  response:
20717 20354
    status:
20718 20355
      code: 200
20719 20356
      message: OK
20720 20357
    headers:
20721 20358
      Date:
20722
      - Thu, 01 Dec 2016 19:53:59 GMT
20359
      - Tue, 13 Dec 2016 14:47:10 GMT
20723 20360
      Server:
20724 20361
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20725 20362
      X-Frame-Options:
......
20737 20374
      Cache-Control:
20738 20375
      - max-age=0, private, must-revalidate
20739 20376
      X-Request-Id:
20740
      - fc8f6e13-8054-438c-a4ad-161fac298e75
20377
      - 36a80605-e6d0-4ed8-93e1-913864b132ec
20741 20378
      X-Runtime:
20742
      - '0.243609'
20379
      - '0.227350'
20743 20380
      X-Powered-By:
20744 20381
      - Phusion Passenger 4.0.18
20382
      Set-Cookie:
20383
      - _session_id=ad3cebe5572b7b2b9a6a24a3d087e075; path=/; secure; HttpOnly
20745 20384
      Etag:
20746
      - '"432a2ddf33f52f81d9755d5ede670c43-gzip"'
20385
      - '"08063d363b63add4fe3c07b6a2f5ee13-gzip"'
20747 20386
      Status:
20748 20387
      - 200 OK
20749 20388
      Vary:
......
20752 20391
      - '770'
20753 20392
      Content-Type:
20754 20393
      - application/json; charset=utf-8
20755
      Set-Cookie:
20756
      - _session_id=f4bd6780622545eb8fa281888972667b; path=/; secure; HttpOnly
20757 20394
    body:
20758 20395
      encoding: ASCII-8BIT
20759
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":19,"cp_id":"ff80808158bbd8b50158bbe4a4a204a3","subscription_id":13,"name":"Red
20396
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":37,"cp_id":"4028f99158f378890158f7d685490550","subscription_id":21,"name":"Red
20760 20397
        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
20761 20398
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
20762 20399

  
20763 20400
'
20764 20401
    http_version: 
20765
  recorded_at: Thu, 01 Dec 2016 19:54:07 GMT
20402
  recorded_at: Tue, 13 Dec 2016 14:47:08 GMT
20766 20403
recorded_with: VCR 3.0.3

Also available in: Unified diff