Project

General

Profile

Revision ff467024

Added by Thomas McKay almost 6 years ago

vcr - full re-record

View differences:

test/fixtures/vcr_cassettes/resources/content_hosts/columns_config.yml
327 327
      message: OK
328 328
    headers:
329 329
      Date:
330
      - Mon, 27 Mar 2017 18:04:32 GMT
330
      - Mon, 27 Mar 2017 18:34:42 GMT
331 331
      Server:
332 332
      - Apache/2.4.6 (Red Hat Enterprise Linux)
333 333
      X-Frame-Options:
......
345 345
      Cache-Control:
346 346
      - max-age=0, private, must-revalidate
347 347
      X-Request-Id:
348
      - 434e61ee-2ddc-4553-8d22-62a542f1f3fc
348
      - 715e78d3-0b45-4bd4-858f-bd6fbe7078d7
349 349
      X-Runtime:
350
      - '0.065815'
350
      - '0.066427'
351 351
      X-Powered-By:
352 352
      - Phusion Passenger 4.0.18
353 353
      Etag:
......
359 359
      Content-Type:
360 360
      - application/json; charset=utf-8
361 361
      Set-Cookie:
362
      - _session_id=b148f974ec67f6dee03accf142fc4d9f; path=/; secure; HttpOnly
362
      - _session_id=ce141da4c10ae6a3e74c9fd2f3d49c93; path=/; secure; HttpOnly
363 363
    body:
364 364
      encoding: UTF-8
365 365
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
366 366
    http_version: 
367
  recorded_at: Mon, 27 Mar 2017 18:04:38 GMT
367
  recorded_at: Mon, 27 Mar 2017 18:34:48 GMT
368 368
- request:
369 369
    method: get
370 370
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
......
386 386
      message: OK
387 387
    headers:
388 388
      Date:
389
      - Mon, 27 Mar 2017 18:04:32 GMT
389
      - Mon, 27 Mar 2017 18:34:42 GMT
390 390
      Server:
391 391
      - Apache/2.4.6 (Red Hat Enterprise Linux)
392 392
      X-Frame-Options:
......
404 404
      Cache-Control:
405 405
      - max-age=0, private, must-revalidate
406 406
      X-Request-Id:
407
      - 15602104-02bb-4fef-b997-c8165c1f3cfa
407
      - 585fac09-904f-4de4-8ae8-ed343fabf8e6
408 408
      X-Runtime:
409
      - '0.049145'
409
      - '0.055173'
410 410
      X-Powered-By:
411 411
      - Phusion Passenger 4.0.18
412 412
      Etag:
......
420 420
      Content-Type:
421 421
      - application/json; charset=utf-8
422 422
      Set-Cookie:
423
      - _session_id=04237f127bd3253fe5f24bbfcaedbc01; path=/; secure; HttpOnly
423
      - _session_id=872572a513eab94ca6e0a9182a2f4a52; path=/; secure; HttpOnly
424 424
    body:
425 425
      encoding: ASCII-8BIT
426 426
      string: !binary |-
......
499 499
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
500 500
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
501 501
    http_version: 
502
  recorded_at: Mon, 27 Mar 2017 18:04:38 GMT
502
  recorded_at: Mon, 27 Mar 2017 18:34:48 GMT
503 503
- request:
504 504
    method: get
505 505
    uri: https://devel.example.com:50083/apidoc/v2.en.json
......
525 525
      message: OK
526 526
    headers:
527 527
      Date:
528
      - Mon, 27 Mar 2017 18:04:32 GMT
528
      - Mon, 27 Mar 2017 18:34:42 GMT
529 529
      Server:
530 530
      - Apache/2.4.6 (Red Hat Enterprise Linux)
531 531
      X-Frame-Options:
......
543 543
      Apipie-Checksum:
544 544
      - e1df2e8d43e22495b02a53b48e3b5298
545 545
      X-Request-Id:
546
      - 056cf2b3-02e5-4fac-9f39-aeb4ff52f090
546
      - cd833293-1c10-46b0-9145-ac7e86555484
547 547
      X-Runtime:
548
      - '0.004947'
548
      - '0.008595'
549 549
      X-Powered-By:
550 550
      - Phusion Passenger 4.0.18
551 551
      Status:
......
20184 20184
        Ijp0cnVlfV0sImhlYWRlcnMiOm51bGx9fSwibGlua19leHRlbnNpb24iOiIu
20185 20185
        ZW4uaHRtbCJ9fQ==
20186 20186
    http_version: 
20187
  recorded_at: Mon, 27 Mar 2017 18:04:38 GMT
20187
  recorded_at: Mon, 27 Mar 2017 18:34:48 GMT
20188 20188
- request:
20189 20189
    method: get
20190 20190
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?full_results=true
......
20210 20210
      message: OK
20211 20211
    headers:
20212 20212
      Date:
20213
      - Mon, 27 Mar 2017 18:04:32 GMT
20213
      - Mon, 27 Mar 2017 18:34:42 GMT
20214 20214
      Server:
20215 20215
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20216 20216
      X-Frame-Options:
......
20228 20228
      Cache-Control:
20229 20229
      - max-age=0, private, must-revalidate
20230 20230
      X-Request-Id:
20231
      - 06e087c1-3531-476b-95e0-37519c4d2882
20231
      - b5885984-e448-4c97-9d94-0076b251cab8
20232 20232
      X-Runtime:
20233
      - '0.046705'
20233
      - '0.084732'
20234 20234
      X-Powered-By:
20235 20235
      - Phusion Passenger 4.0.18
20236 20236
      Etag:
20237
      - '"c19a9ec0c44c3ce2af3dae673f2a45e0-gzip"'
20237
      - '"73a5bc88d138c8b8b28447e7d89ee3cd-gzip"'
20238 20238
      Status:
20239 20239
      - 200 OK
20240 20240
      Vary:
......
20244 20244
      Content-Type:
20245 20245
      - application/json; charset=utf-8
20246 20246
      Set-Cookie:
20247
      - _session_id=a107b3bf2b37adee68efa2f700e2ba17; path=/; secure; HttpOnly
20247
      - _session_id=dbcd46e5a3e4d2441055770617420093; path=/; secure; HttpOnly
20248 20248
    body:
20249 20249
      encoding: ASCII-8BIT
20250 20250
      string: |
......
20258 20258
            "by": null,
20259 20259
            "order": null
20260 20260
          },
20261
          "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"}]
20261
          "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":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20262 20262
        }
20263 20263
    http_version: 
20264
  recorded_at: Mon, 27 Mar 2017 18:04:38 GMT
20264
  recorded_at: Mon, 27 Mar 2017 18:34:48 GMT
20265 20265
- request:
20266 20266
    method: get
20267 20267
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
20287 20287
      message: OK
20288 20288
    headers:
20289 20289
      Date:
20290
      - Mon, 27 Mar 2017 18:04:32 GMT
20290
      - Mon, 27 Mar 2017 18:34:42 GMT
20291 20291
      Server:
20292 20292
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20293 20293
      X-Frame-Options:
......
20305 20305
      Cache-Control:
20306 20306
      - max-age=0, private, must-revalidate
20307 20307
      X-Request-Id:
20308
      - 6e95bb29-4eaf-4204-a5ae-98932c03ce79
20308
      - 6053ed01-9091-4b60-a38b-c05c077518f7
20309 20309
      X-Runtime:
20310
      - '0.080299'
20310
      - '0.083738'
20311 20311
      X-Powered-By:
20312 20312
      - Phusion Passenger 4.0.18
20313 20313
      Etag:
20314
      - '"2009333f9dea90f7e284b5ac7176fd38-gzip"'
20314
      - '"45c0a1d1908621d8a984de3fe2b76754-gzip"'
20315 20315
      Status:
20316 20316
      - 200 OK
20317 20317
      Vary:
......
20321 20321
      Content-Type:
20322 20322
      - application/json; charset=utf-8
20323 20323
      Set-Cookie:
20324
      - _session_id=21fc39accb1959b4eb10b3bc57d33f7f; path=/; secure; HttpOnly
20324
      - _session_id=fc63cf55bed776b4fcfb36ef0f3122bc; path=/; secure; HttpOnly
20325 20325
    body:
20326 20326
      encoding: ASCII-8BIT
20327 20327
      string: |
......
20335 20335
            "by": null,
20336 20336
            "order": null
20337 20337
          },
20338
          "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"}]
20338
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20339 20339
        }
20340 20340
    http_version: 
20341
  recorded_at: Mon, 27 Mar 2017 18:04:39 GMT
20341
  recorded_at: Mon, 27 Mar 2017 18:34:49 GMT
20342 20342
- request:
20343 20343
    method: get
20344 20344
    uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?per_page=1&search
......
20364 20364
      message: OK
20365 20365
    headers:
20366 20366
      Date:
20367
      - Mon, 27 Mar 2017 18:04:32 GMT
20367
      - Mon, 27 Mar 2017 18:34:42 GMT
20368 20368
      Server:
20369 20369
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20370 20370
      X-Frame-Options:
......
20382 20382
      Cache-Control:
20383 20383
      - max-age=0, private, must-revalidate
20384 20384
      X-Request-Id:
20385
      - acd96299-bc7f-4eac-8295-6e3076cabacc
20385
      - 3d87a96a-06bf-4615-8606-8735f05b4f4b
20386 20386
      X-Runtime:
20387
      - '0.139179'
20387
      - '0.140942'
20388 20388
      X-Powered-By:
20389 20389
      - Phusion Passenger 4.0.18
20390 20390
      Etag:
20391
      - '"c7b5f9500f4b16e2a0ccdab75fa46175-gzip"'
20391
      - '"aa071a3b0682e7e6e0310fa5e49927ac-gzip"'
20392 20392
      Status:
20393 20393
      - 200 OK
20394 20394
      Vary:
......
20398 20398
      Content-Type:
20399 20399
      - application/json; charset=utf-8
20400 20400
      Set-Cookie:
20401
      - _session_id=b13692cd4c101be8dacdfd8c9599ed83; path=/; secure; HttpOnly
20401
      - _session_id=af1c81f75d0aa7d5a4e319da3c6e4086; path=/; secure; HttpOnly
20402 20402
    body:
20403 20403
      encoding: ASCII-8BIT
20404 20404
      string: |
......
20412 20412
            "by": null,
20413 20413
            "order": null
20414 20414
          },
20415
          "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}]
20415
          "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":"2017-03-27 18:21:56 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}]
20416 20416
        }
20417 20417
    http_version: 
20418
  recorded_at: Mon, 27 Mar 2017 18:04:39 GMT
20418
  recorded_at: Mon, 27 Mar 2017 18:34:49 GMT
20419 20419
- request:
20420 20420
    method: get
20421 20421
    uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?page=1&per_page=20&search
......
20441 20441
      message: OK
20442 20442
    headers:
20443 20443
      Date:
20444
      - Mon, 27 Mar 2017 18:04:33 GMT
20444
      - Mon, 27 Mar 2017 18:34:43 GMT
20445 20445
      Server:
20446 20446
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20447 20447
      X-Frame-Options:
......
20459 20459
      Cache-Control:
20460 20460
      - max-age=0, private, must-revalidate
20461 20461
      X-Request-Id:
20462
      - eda9a848-6594-4f83-ae2d-0f68513022be
20462
      - d022c414-02a9-425d-bf7b-b6adb010c1d2
20463 20463
      X-Runtime:
20464
      - '0.242259'
20464
      - '0.256706'
20465 20465
      X-Powered-By:
20466 20466
      - Phusion Passenger 4.0.18
20467 20467
      Etag:
20468
      - '"45ecf6e7a477c9531ef71cc8635b2810-gzip"'
20468
      - '"790c22d6d1fcf8c0b08afacb06f8909f-gzip"'
20469 20469
      Status:
20470 20470
      - 200 OK
20471 20471
      Vary:
......
20475 20475
      Content-Type:
20476 20476
      - application/json; charset=utf-8
20477 20477
      Set-Cookie:
20478
      - _session_id=2d171c104ea624b4b26c72aec3829834; path=/; secure; HttpOnly
20478
      - _session_id=7a3d9d67e4493bb5fb7fef9d90c60d69; path=/; secure; HttpOnly
20479 20479
    body:
20480 20480
      encoding: ASCII-8BIT
20481 20481
      string: |
......
20489 20489
            "by": null,
20490 20490
            "order": null
20491 20491
          },
20492
          "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}]
20492
          "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":"2017-03-27 18:21:56 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":"2017-03-27 18:28:09 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}]
20493 20493
        }
20494 20494
    http_version: 
20495
  recorded_at: Mon, 27 Mar 2017 18:04:39 GMT
20495
  recorded_at: Mon, 27 Mar 2017 18:34:49 GMT
20496 20496
- request:
20497 20497
    method: get
20498 20498
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/7
......
20518 20518
      message: OK
20519 20519
    headers:
20520 20520
      Date:
20521
      - Mon, 27 Mar 2017 18:04:33 GMT
20521
      - Mon, 27 Mar 2017 18:34:43 GMT
20522 20522
      Server:
20523 20523
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20524 20524
      X-Frame-Options:
......
20536 20536
      Cache-Control:
20537 20537
      - max-age=0, private, must-revalidate
20538 20538
      X-Request-Id:
20539
      - 2c7280ca-b7d1-4ab4-8d6e-ab64da1a89d6
20539
      - fe530435-7f7d-4051-a8e1-b9bab7cb985e
20540 20540
      X-Runtime:
20541
      - '0.429255'
20541
      - '0.381230'
20542 20542
      X-Powered-By:
20543 20543
      - Phusion Passenger 4.0.18
20544 20544
      Etag:
20545
      - '"e448a5d58bd7bf77d82743a538004059-gzip"'
20545
      - '"f06552997466e07602f8d7e5d026e2db-gzip"'
20546 20546
      Status:
20547 20547
      - 200 OK
20548 20548
      Vary:
......
20552 20552
      Content-Type:
20553 20553
      - application/json; charset=utf-8
20554 20554
      Set-Cookie:
20555
      - _session_id=2d27e97b3e87d7a396006b50d2eeff89; path=/; secure; HttpOnly
20555
      - _session_id=3139a19ce8e77938c15aa9a374ac51d4; path=/; secure; HttpOnly
20556 20556
    body:
20557 20557
      encoding: ASCII-8BIT
20558 20558
      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
20559
        19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01
20559
        19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01
20560 20560
        19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
20561 20561
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20562 20562
        not calculate errata status, ensure host is registered and katello-agent is
......
20568 20568
        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
20569 20569
        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}}'
20570 20570
    http_version: 
20571
  recorded_at: Mon, 27 Mar 2017 18:04:39 GMT
20571
  recorded_at: Mon, 27 Mar 2017 18:34:49 GMT
20572 20572
- request:
20573 20573
    method: get
20574 20574
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/6
......
20594 20594
      message: OK
20595 20595
    headers:
20596 20596
      Date:
20597
      - Mon, 27 Mar 2017 18:04:33 GMT
20597
      - Mon, 27 Mar 2017 18:34:43 GMT
20598 20598
      Server:
20599 20599
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20600 20600
      X-Frame-Options:
......
20612 20612
      Cache-Control:
20613 20613
      - max-age=0, private, must-revalidate
20614 20614
      X-Request-Id:
20615
      - fce280eb-62fb-4308-9140-c88bfe0793f7
20615
      - f0a2e71d-f856-452d-b033-8d3fa23ff83a
20616 20616
      X-Runtime:
20617
      - '0.391717'
20617
      - '0.329250'
20618 20618
      X-Powered-By:
20619 20619
      - Phusion Passenger 4.0.18
20620 20620
      Etag:
20621
      - '"e46e20167be651c7a23bc7ab096d6df7-gzip"'
20621
      - '"645c7a2212b1806ef5700003b42abd8f-gzip"'
20622 20622
      Status:
20623 20623
      - 200 OK
20624 20624
      Vary:
......
20628 20628
      Content-Type:
20629 20629
      - application/json; charset=utf-8
20630 20630
      Set-Cookie:
20631
      - _session_id=30ae790347cd9103dc0d660b11022a2b; path=/; secure; HttpOnly
20631
      - _session_id=a356797228a03302817fd193c1d44bfd; path=/; secure; HttpOnly
20632 20632
    body:
20633 20633
      encoding: ASCII-8BIT
20634 20634
      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
20635
        19:37:05 UTC","updated_at":"2016-12-01 19:43:43 UTC","last_compile":"2016-12-01
20635
        19:37:05 UTC","updated_at":"2017-03-27 18:28:09 UTC","last_compile":"2016-12-01
20636 20636
        19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
20637 20637
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20638 20638
        not calculate errata status, ensure host is registered and katello-agent is
......
20644 20644
        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
20645 20645
        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}}'
20646 20646
    http_version: 
20647
  recorded_at: Mon, 27 Mar 2017 18:04:40 GMT
20647
  recorded_at: Mon, 27 Mar 2017 18:34:50 GMT
20648 20648
recorded_with: VCR 3.0.3

Also available in: Unified diff