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/itemized_columns_options.yml
465 465
      message: OK
466 466
    headers:
467 467
      Date:
468
      - Mon, 27 Mar 2017 18:04:37 GMT
468
      - Mon, 27 Mar 2017 18:35:19 GMT
469 469
      Server:
470 470
      - Apache/2.4.6 (Red Hat Enterprise Linux)
471 471
      X-Frame-Options:
......
483 483
      Cache-Control:
484 484
      - max-age=0, private, must-revalidate
485 485
      X-Request-Id:
486
      - 82ce25b5-4b0b-4c9e-a8a8-ef4c90758fad
486
      - a773ecd6-8d37-40bc-a65c-b8f6a8bb4e2f
487 487
      X-Runtime:
488
      - '0.057693'
488
      - '0.067013'
489 489
      X-Powered-By:
490 490
      - Phusion Passenger 4.0.18
491 491
      Etag:
......
497 497
      Content-Type:
498 498
      - application/json; charset=utf-8
499 499
      Set-Cookie:
500
      - _session_id=2ca7bdab602326900febd0f5cecec0dd; path=/; secure; HttpOnly
500
      - _session_id=ee8942eef69235a3eaefbfacf020a14a; path=/; secure; HttpOnly
501 501
    body:
502 502
      encoding: UTF-8
503 503
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
504 504
    http_version: 
505
  recorded_at: Mon, 27 Mar 2017 18:04:43 GMT
505
  recorded_at: Mon, 27 Mar 2017 18:35:26 GMT
506 506
- request:
507 507
    method: get
508 508
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
......
524 524
      message: OK
525 525
    headers:
526 526
      Date:
527
      - Mon, 27 Mar 2017 18:04:37 GMT
527
      - Mon, 27 Mar 2017 18:35:19 GMT
528 528
      Server:
529 529
      - Apache/2.4.6 (Red Hat Enterprise Linux)
530 530
      X-Frame-Options:
......
542 542
      Cache-Control:
543 543
      - max-age=0, private, must-revalidate
544 544
      X-Request-Id:
545
      - fa0bc730-bea1-4594-979d-48f8e51d5425
545
      - b2ee8453-c2fa-43d2-8723-96eb44cf3f7b
546 546
      X-Runtime:
547
      - '0.037231'
547
      - '0.033064'
548 548
      X-Powered-By:
549 549
      - Phusion Passenger 4.0.18
550 550
      Etag:
......
558 558
      Content-Type:
559 559
      - application/json; charset=utf-8
560 560
      Set-Cookie:
561
      - _session_id=1e5683c0a4abe79b32a08c24d4f9d941; path=/; secure; HttpOnly
561
      - _session_id=35834e790810df2a159b5e82629172a4; path=/; secure; HttpOnly
562 562
    body:
563 563
      encoding: ASCII-8BIT
564 564
      string: !binary |-
......
637 637
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
638 638
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
639 639
    http_version: 
640
  recorded_at: Mon, 27 Mar 2017 18:04:43 GMT
640
  recorded_at: Mon, 27 Mar 2017 18:35:26 GMT
641 641
- request:
642 642
    method: get
643 643
    uri: https://devel.example.com:50083/apidoc/v2.en.json
......
663 663
      message: OK
664 664
    headers:
665 665
      Date:
666
      - Mon, 27 Mar 2017 18:04:37 GMT
666
      - Mon, 27 Mar 2017 18:35:19 GMT
667 667
      Server:
668 668
      - Apache/2.4.6 (Red Hat Enterprise Linux)
669 669
      X-Frame-Options:
......
681 681
      Apipie-Checksum:
682 682
      - e1df2e8d43e22495b02a53b48e3b5298
683 683
      X-Request-Id:
684
      - 0b630a10-e06b-4cc6-90e3-7b968c2ddf48
684
      - 0de93746-824a-41e9-8fd0-ccbc48a099a5
685 685
      X-Runtime:
686
      - '0.012225'
686
      - '0.006312'
687 687
      X-Powered-By:
688 688
      - Phusion Passenger 4.0.18
689 689
      Status:
......
20322 20322
        Ijp0cnVlfV0sImhlYWRlcnMiOm51bGx9fSwibGlua19leHRlbnNpb24iOiIu
20323 20323
        ZW4uaHRtbCJ9fQ==
20324 20324
    http_version: 
20325
  recorded_at: Mon, 27 Mar 2017 18:04:43 GMT
20325
  recorded_at: Mon, 27 Mar 2017 18:35:26 GMT
20326 20326
- request:
20327 20327
    method: get
20328 20328
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?full_results=true
......
20348 20348
      message: OK
20349 20349
    headers:
20350 20350
      Date:
20351
      - Mon, 27 Mar 2017 18:04:37 GMT
20351
      - Mon, 27 Mar 2017 18:35:19 GMT
20352 20352
      Server:
20353 20353
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20354 20354
      X-Frame-Options:
......
20366 20366
      Cache-Control:
20367 20367
      - max-age=0, private, must-revalidate
20368 20368
      X-Request-Id:
20369
      - 03090665-3291-4479-9584-c5c7b80d5468
20369
      - c837aa7e-5f52-4617-8862-1930a6c92d0a
20370 20370
      X-Runtime:
20371
      - '0.060467'
20371
      - '0.060249'
20372 20372
      X-Powered-By:
20373 20373
      - Phusion Passenger 4.0.18
20374 20374
      Etag:
20375
      - '"c19a9ec0c44c3ce2af3dae673f2a45e0-gzip"'
20375
      - '"73a5bc88d138c8b8b28447e7d89ee3cd-gzip"'
20376 20376
      Status:
20377 20377
      - 200 OK
20378 20378
      Vary:
......
20382 20382
      Content-Type:
20383 20383
      - application/json; charset=utf-8
20384 20384
      Set-Cookie:
20385
      - _session_id=fbf0d08559bdf4e967c5f6aec44c1ba7; path=/; secure; HttpOnly
20385
      - _session_id=47e56afcdd367ad259fdbb9e0b20386c; path=/; secure; HttpOnly
20386 20386
    body:
20387 20387
      encoding: ASCII-8BIT
20388 20388
      string: |
......
20396 20396
            "by": null,
20397 20397
            "order": null
20398 20398
          },
20399
          "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"}]
20399
          "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"}]
20400 20400
        }
20401 20401
    http_version: 
20402
  recorded_at: Mon, 27 Mar 2017 18:04:44 GMT
20402
  recorded_at: Mon, 27 Mar 2017 18:35:26 GMT
20403 20403
- request:
20404 20404
    method: get
20405 20405
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
20425 20425
      message: OK
20426 20426
    headers:
20427 20427
      Date:
20428
      - Mon, 27 Mar 2017 18:04:37 GMT
20428
      - Mon, 27 Mar 2017 18:35:20 GMT
20429 20429
      Server:
20430 20430
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20431 20431
      X-Frame-Options:
......
20443 20443
      Cache-Control:
20444 20444
      - max-age=0, private, must-revalidate
20445 20445
      X-Request-Id:
20446
      - 7367ad32-8c59-4c56-b49d-ebd7af63996f
20446
      - 86cac9f7-2b35-45b6-8a92-b53463ccada0
20447 20447
      X-Runtime:
20448
      - '0.054639'
20448
      - '0.059502'
20449 20449
      X-Powered-By:
20450 20450
      - Phusion Passenger 4.0.18
20451 20451
      Etag:
20452
      - '"2009333f9dea90f7e284b5ac7176fd38-gzip"'
20452
      - '"45c0a1d1908621d8a984de3fe2b76754-gzip"'
20453 20453
      Status:
20454 20454
      - 200 OK
20455 20455
      Vary:
......
20459 20459
      Content-Type:
20460 20460
      - application/json; charset=utf-8
20461 20461
      Set-Cookie:
20462
      - _session_id=a758c287d6bbf3597a48093f72cefbe6; path=/; secure; HttpOnly
20462
      - _session_id=08e5b3950775ef177d960ca9a90b6d9d; path=/; secure; HttpOnly
20463 20463
    body:
20464 20464
      encoding: ASCII-8BIT
20465 20465
      string: |
......
20473 20473
            "by": null,
20474 20474
            "order": null
20475 20475
          },
20476
          "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"}]
20476
          "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"}]
20477 20477
        }
20478 20478
    http_version: 
20479
  recorded_at: Mon, 27 Mar 2017 18:04:44 GMT
20479
  recorded_at: Mon, 27 Mar 2017 18:35:26 GMT
20480 20480
- request:
20481 20481
    method: get
20482 20482
    uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?per_page=1&search
......
20502 20502
      message: OK
20503 20503
    headers:
20504 20504
      Date:
20505
      - Mon, 27 Mar 2017 18:04:37 GMT
20505
      - Mon, 27 Mar 2017 18:35:20 GMT
20506 20506
      Server:
20507 20507
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20508 20508
      X-Frame-Options:
......
20520 20520
      Cache-Control:
20521 20521
      - max-age=0, private, must-revalidate
20522 20522
      X-Request-Id:
20523
      - b7cab090-9162-42e8-afad-007908b0774b
20523
      - 556b8964-c862-494d-a8bd-34abf0322123
20524 20524
      X-Runtime:
20525
      - '0.152215'
20525
      - '0.157093'
20526 20526
      X-Powered-By:
20527 20527
      - Phusion Passenger 4.0.18
20528 20528
      Etag:
20529
      - '"c7b5f9500f4b16e2a0ccdab75fa46175-gzip"'
20529
      - '"aa071a3b0682e7e6e0310fa5e49927ac-gzip"'
20530 20530
      Status:
20531 20531
      - 200 OK
20532 20532
      Vary:
......
20536 20536
      Content-Type:
20537 20537
      - application/json; charset=utf-8
20538 20538
      Set-Cookie:
20539
      - _session_id=a90dbc3821715a740fe6d49ee29acc73; path=/; secure; HttpOnly
20539
      - _session_id=97df2ddb717ddfbe197bbcc3cc2fa4f7; path=/; secure; HttpOnly
20540 20540
    body:
20541 20541
      encoding: ASCII-8BIT
20542 20542
      string: |
......
20550 20550
            "by": null,
20551 20551
            "order": null
20552 20552
          },
20553
          "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}]
20553
          "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}]
20554 20554
        }
20555 20555
    http_version: 
20556
  recorded_at: Mon, 27 Mar 2017 18:04:44 GMT
20556
  recorded_at: Mon, 27 Mar 2017 18:35:26 GMT
20557 20557
- request:
20558 20558
    method: get
20559 20559
    uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?page=1&per_page=20&search
......
20579 20579
      message: OK
20580 20580
    headers:
20581 20581
      Date:
20582
      - Mon, 27 Mar 2017 18:04:38 GMT
20582
      - Mon, 27 Mar 2017 18:35:20 GMT
20583 20583
      Server:
20584 20584
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20585 20585
      X-Frame-Options:
......
20597 20597
      Cache-Control:
20598 20598
      - max-age=0, private, must-revalidate
20599 20599
      X-Request-Id:
20600
      - d0f2c7bb-e5c7-4492-b7ba-c8e522248dbb
20600
      - 9e5dba29-034d-4fff-9ed4-f7596120fa29
20601 20601
      X-Runtime:
20602
      - '0.177698'
20602
      - '0.240830'
20603 20603
      X-Powered-By:
20604 20604
      - Phusion Passenger 4.0.18
20605 20605
      Etag:
20606
      - '"45ecf6e7a477c9531ef71cc8635b2810-gzip"'
20606
      - '"790c22d6d1fcf8c0b08afacb06f8909f-gzip"'
20607 20607
      Status:
20608 20608
      - 200 OK
20609 20609
      Vary:
......
20613 20613
      Content-Type:
20614 20614
      - application/json; charset=utf-8
20615 20615
      Set-Cookie:
20616
      - _session_id=671a558bcb8603eaab7953594e83f1ef; path=/; secure; HttpOnly
20616
      - _session_id=166d844b4890950a01bd619cf3920d97; path=/; secure; HttpOnly
20617 20617
    body:
20618 20618
      encoding: ASCII-8BIT
20619 20619
      string: |
......
20627 20627
            "by": null,
20628 20628
            "order": null
20629 20629
          },
20630
          "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}]
20630
          "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}]
20631 20631
        }
20632 20632
    http_version: 
20633
  recorded_at: Mon, 27 Mar 2017 18:04:44 GMT
20633
  recorded_at: Mon, 27 Mar 2017 18:35:26 GMT
20634 20634
- request:
20635 20635
    method: get
20636 20636
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/7
......
20656 20656
      message: OK
20657 20657
    headers:
20658 20658
      Date:
20659
      - Mon, 27 Mar 2017 18:04:38 GMT
20659
      - Mon, 27 Mar 2017 18:35:20 GMT
20660 20660
      Server:
20661 20661
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20662 20662
      X-Frame-Options:
......
20674 20674
      Cache-Control:
20675 20675
      - max-age=0, private, must-revalidate
20676 20676
      X-Request-Id:
20677
      - c4e5fcfd-a43b-44ed-9a22-ecf37ad4a683
20677
      - 2fcdbe03-a759-4129-a2d0-f8bf92927a1c
20678 20678
      X-Runtime:
20679
      - '0.330774'
20679
      - '0.379202'
20680 20680
      X-Powered-By:
20681 20681
      - Phusion Passenger 4.0.18
20682 20682
      Etag:
20683
      - '"e448a5d58bd7bf77d82743a538004059-gzip"'
20683
      - '"f06552997466e07602f8d7e5d026e2db-gzip"'
20684 20684
      Status:
20685 20685
      - 200 OK
20686 20686
      Vary:
......
20690 20690
      Content-Type:
20691 20691
      - application/json; charset=utf-8
20692 20692
      Set-Cookie:
20693
      - _session_id=cf442369122f2025f85aa3ebb6aa604b; path=/; secure; HttpOnly
20693
      - _session_id=1d203b27b7c8cbd55ac3474ff2ba00d6; path=/; secure; HttpOnly
20694 20694
    body:
20695 20695
      encoding: ASCII-8BIT
20696 20696
      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
20697
        19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01
20697
        19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01
20698 20698
        19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
20699 20699
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20700 20700
        not calculate errata status, ensure host is registered and katello-agent is
......
20706 20706
        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
20707 20707
        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}}'
20708 20708
    http_version: 
20709
  recorded_at: Mon, 27 Mar 2017 18:04:44 GMT
20709
  recorded_at: Mon, 27 Mar 2017 18:35:27 GMT
20710 20710
- request:
20711 20711
    method: get
20712 20712
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/6
......
20732 20732
      message: OK
20733 20733
    headers:
20734 20734
      Date:
20735
      - Mon, 27 Mar 2017 18:04:38 GMT
20735
      - Mon, 27 Mar 2017 18:35:21 GMT
20736 20736
      Server:
20737 20737
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20738 20738
      X-Frame-Options:
......
20750 20750
      Cache-Control:
20751 20751
      - max-age=0, private, must-revalidate
20752 20752
      X-Request-Id:
20753
      - ebe1d087-bc98-4052-9062-27b4aaa085d0
20753
      - db6df83b-5a9d-4995-ac0a-1ace419df798
20754 20754
      X-Runtime:
20755
      - '0.334459'
20755
      - '0.305915'
20756 20756
      X-Powered-By:
20757 20757
      - Phusion Passenger 4.0.18
20758 20758
      Etag:
20759
      - '"e46e20167be651c7a23bc7ab096d6df7-gzip"'
20759
      - '"645c7a2212b1806ef5700003b42abd8f-gzip"'
20760 20760
      Status:
20761 20761
      - 200 OK
20762 20762
      Vary:
......
20766 20766
      Content-Type:
20767 20767
      - application/json; charset=utf-8
20768 20768
      Set-Cookie:
20769
      - _session_id=d8045553d9fe27ed17f7a5fbfc19aaa5; path=/; secure; HttpOnly
20769
      - _session_id=e4c52a4fcf7cde91e824e9019ce53ea7; path=/; secure; HttpOnly
20770 20770
    body:
20771 20771
      encoding: ASCII-8BIT
20772 20772
      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
20773
        19:37:05 UTC","updated_at":"2016-12-01 19:43:43 UTC","last_compile":"2016-12-01
20773
        19:37:05 UTC","updated_at":"2017-03-27 18:28:09 UTC","last_compile":"2016-12-01
20774 20774
        19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
20775 20775
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20776 20776
        not calculate errata status, ensure host is registered and katello-agent is
......
20782 20782
        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
20783 20783
        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}}'
20784 20784
    http_version: 
20785
  recorded_at: Mon, 27 Mar 2017 18:04:45 GMT
20785
  recorded_at: Mon, 27 Mar 2017 18:35:27 GMT
20786 20786
- request:
20787 20787
    method: get
20788 20788
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/7/subscriptions?full_results=true&organization_id=3
......
20808 20808
      message: OK
20809 20809
    headers:
20810 20810
      Date:
20811
      - Mon, 27 Mar 2017 18:04:39 GMT
20811
      - Mon, 27 Mar 2017 18:35:21 GMT
20812 20812
      Server:
20813 20813
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20814 20814
      X-Frame-Options:
......
20826 20826
      Cache-Control:
20827 20827
      - max-age=0, private, must-revalidate
20828 20828
      X-Request-Id:
20829
      - ea6cb90a-c3b1-4233-a9d8-d64a1733b7d5
20829
      - e46b1b59-9375-46dd-845d-96cece727df3
20830 20830
      X-Runtime:
20831
      - '0.279691'
20831
      - '0.244838'
20832 20832
      X-Powered-By:
20833 20833
      - Phusion Passenger 4.0.18
20834 20834
      Etag:
......
20842 20842
      Content-Type:
20843 20843
      - application/json; charset=utf-8
20844 20844
      Set-Cookie:
20845
      - _session_id=db909b3a01224ba07595dfdd72e6f5e1; path=/; secure; HttpOnly
20845
      - _session_id=f9210a2f901acd5036f70fb0f0bc3c9f; path=/; secure; HttpOnly
20846 20846
    body:
20847 20847
      encoding: ASCII-8BIT
20848 20848
      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
......
20851 20851

  
20852 20852
'
20853 20853
    http_version: 
20854
  recorded_at: Mon, 27 Mar 2017 18:04:45 GMT
20854
  recorded_at: Mon, 27 Mar 2017 18:35:27 GMT
20855 20855
- request:
20856 20856
    method: get
20857 20857
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/6/subscriptions?full_results=true&organization_id=3
......
20877 20877
      message: OK
20878 20878
    headers:
20879 20879
      Date:
20880
      - Mon, 27 Mar 2017 18:04:39 GMT
20880
      - Mon, 27 Mar 2017 18:35:21 GMT
20881 20881
      Server:
20882 20882
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20883 20883
      X-Frame-Options:
......
20895 20895
      Cache-Control:
20896 20896
      - max-age=0, private, must-revalidate
20897 20897
      X-Request-Id:
20898
      - 81a8fa1e-fed5-40a7-86bf-c76cabb5c270
20898
      - 10ca1051-5f4f-4e5d-b530-ebfe5c5c2191
20899 20899
      X-Runtime:
20900
      - '0.310804'
20900
      - '0.240165'
20901 20901
      X-Powered-By:
20902 20902
      - Phusion Passenger 4.0.18
20903 20903
      Etag:
......
20911 20911
      Content-Type:
20912 20912
      - application/json; charset=utf-8
20913 20913
      Set-Cookie:
20914
      - _session_id=33244b7d01726f285b6c7d765dd457ca; path=/; secure; HttpOnly
20914
      - _session_id=fb0080e04168b1e7041fa137c47663db; path=/; secure; HttpOnly
20915 20915
    body:
20916 20916
      encoding: ASCII-8BIT
20917 20917
      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
......
20920 20920

  
20921 20921
'
20922 20922
    http_version: 
20923
  recorded_at: Mon, 27 Mar 2017 18:04:45 GMT
20923
  recorded_at: Mon, 27 Mar 2017 18:35:28 GMT
20924 20924
recorded_with: VCR 3.0.3

Also available in: Unified diff