Project

General

Profile

Revision f370cc85

Added by Thomas McKay almost 6 years ago

fixes #16501 - subnets import not setting proxies

Changed the vcr recording by adding --reload-cache to all the hammer commands. This hopefully will avoid the intermittent failures due to fetching the v2.json.

View differences:

test/fixtures/vcr_cassettes/resources/activation_keys_import/create_and_update.yml
48 48
      - chunked
49 49
    body:
50 50
      encoding: UTF-8
51
      string: '{"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
52

  
53
'
51
      string: |
52
        {"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
54 53
    http_version: 
55 54
  recorded_at: Fri, 26 Aug 2016 15:54:22 GMT
56 55
- request:
......
101 100
      - chunked
102 101
    body:
103 102
      encoding: UTF-8
104
      string: '{"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":5,"name":"Test
105
        Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test
106
        Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 15:07:07
107
        UTC","updated_at":"2016-08-16 15:07:10 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":5,"version":"1.0","published":"2016-08-16
108
        15:07:10 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-08-16
109
        15:07:10 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}},{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":4,"name":"Default
110
        Organization View","label":"fb70f149-819c-4307-a904-65de05450eb0","description":null,"organization":{"name":"Test
111
        Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:46:29
112
        UTC","updated_at":"2016-08-16 12:46:29 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":4,"version":"1.0","published":"2016-08-16
113
        12:46:29 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-08-16
114
        12:46:29 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
115

  
116
'
103
      string: |
104
        {"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":5,"name":"Test Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 15:07:07 UTC","updated_at":"2016-08-16 15:07:10 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":5,"version":"1.0","published":"2016-08-16 15:07:10 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-08-16 15:07:10 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}},{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":4,"name":"Default Organization View","label":"fb70f149-819c-4307-a904-65de05450eb0","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:46:29 UTC","updated_at":"2016-08-16 12:46:29 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":4,"version":"1.0","published":"2016-08-16 12:46:29 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-08-16 12:46:29 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
117 105
    http_version: 
118 106
  recorded_at: Fri, 26 Aug 2016 15:54:23 GMT
119 107
- request:
......
167 155
      - chunked
168 156
    body:
169 157
      encoding: UTF-8
170
      string: '  {"id":8,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test
171
        Corporation","label":"testcorp","id":4},"created_at":"2016-08-26 15:54:52
172
        UTC","updated_at":"2016-08-26 15:54:52 UTC","content_view":{"id":4,"name":"Default
173
        Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}
174

  
175
'
158
      string: |2
159
          {"id":8,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-26 15:54:52 UTC","updated_at":"2016-08-26 15:54:52 UTC","content_view":{"id":4,"name":"Default Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}
176 160
    http_version: 
177 161
  recorded_at: Fri, 26 Aug 2016 15:54:25 GMT
178 162
- request:
......
223 207
      - chunked
224 208
    body:
225 209
      encoding: UTF-8
226
      string: '{"organization":{},"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
227

  
228
'
210
      string: |
211
        {"organization":{},"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
229 212
    http_version: 
230 213
  recorded_at: Fri, 26 Aug 2016 15:54:26 GMT
231 214
- request:
......
276 259
      - chunked
277 260
    body:
278 261
      encoding: UTF-8
279
      string: '{"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":8,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test
280
        Corporation","label":"testcorp","id":4},"created_at":"2016-08-26 15:54:52
281
        UTC","updated_at":"2016-08-26 15:54:52 UTC","content_view":{"id":4,"name":"Default
282
        Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}]}
283

  
284
'
262
      string: |
263
        {"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":8,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-26 15:54:52 UTC","updated_at":"2016-08-26 15:54:52 UTC","content_view":{"id":4,"name":"Default Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}]}
285 264
    http_version: 
286 265
  recorded_at: Fri, 26 Aug 2016 15:54:29 GMT
287 266
- request:
......
332 311
      - chunked
333 312
    body:
334 313
      encoding: UTF-8
335
      string: '{"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":5,"name":"Test
336
        Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test
337
        Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 15:07:07
338
        UTC","updated_at":"2016-08-16 15:07:10 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":5,"version":"1.0","published":"2016-08-16
339
        15:07:10 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-08-16
340
        15:07:10 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}},{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":4,"name":"Default
341
        Organization View","label":"fb70f149-819c-4307-a904-65de05450eb0","description":null,"organization":{"name":"Test
342
        Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:46:29
343
        UTC","updated_at":"2016-08-16 12:46:29 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":4,"version":"1.0","published":"2016-08-16
344
        12:46:29 UTC","environment_ids":[7]}],"components":[],"activation_keys":[{"id":8,"name":"testakey1"}],"last_published":"2016-08-16
345
        12:46:29 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
346

  
347
'
314
      string: |
315
        {"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":5,"name":"Test Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 15:07:07 UTC","updated_at":"2016-08-16 15:07:10 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":5,"version":"1.0","published":"2016-08-16 15:07:10 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-08-16 15:07:10 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}},{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":4,"name":"Default Organization View","label":"fb70f149-819c-4307-a904-65de05450eb0","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:46:29 UTC","updated_at":"2016-08-16 12:46:29 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":4,"version":"1.0","published":"2016-08-16 12:46:29 UTC","environment_ids":[7]}],"components":[],"activation_keys":[{"id":8,"name":"testakey1"}],"last_published":"2016-08-16 12:46:29 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
348 316
    http_version: 
349 317
  recorded_at: Fri, 26 Aug 2016 15:54:30 GMT
350 318
- request:
......
398 366
      - chunked
399 367
    body:
400 368
      encoding: UTF-8
401
      string: '  {"id":8,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test
402
        Corporation","label":"testcorp","id":4},"created_at":"2016-08-26 15:54:52
403
        UTC","updated_at":"2016-08-26 15:54:52 UTC","content_view":{"id":4,"name":"Default
404
        Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}
405

  
406
'
369
      string: |2
370
          {"id":8,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-26 15:54:52 UTC","updated_at":"2016-08-26 15:54:52 UTC","content_view":{"id":4,"name":"Default Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}
407 371
    http_version: 
408 372
  recorded_at: Fri, 26 Aug 2016 15:54:32 GMT
409 373
- request:
......
454 418
      - chunked
455 419
    body:
456 420
      encoding: UTF-8
457
      string: '{"organization":{},"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
458

  
459
'
421
      string: |
422
        {"organization":{},"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
460 423
    http_version: 
461 424
  recorded_at: Fri, 26 Aug 2016 15:54:33 GMT
462 425
- request:
......
509 472
      - chunked
510 473
    body:
511 474
      encoding: UTF-8
512
      string: '{"total":1,"subtotal":1,"page":"1","per_page":"20","error":null,"search":"name=testakey1","sort":{"by":null,"order":null},"results":[{"id":8,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test
513
        Corporation","label":"testcorp","id":4},"created_at":"2016-08-26 15:54:52
514
        UTC","updated_at":"2016-08-26 15:54:52 UTC","content_view":{"id":4,"name":"Default
515
        Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}]}
516

  
517
'
475
      string: |
476
        {"total":1,"subtotal":1,"page":"1","per_page":"20","error":null,"search":"name=testakey1","sort":{"by":null,"order":null},"results":[{"id":8,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-26 15:54:52 UTC","updated_at":"2016-08-26 15:54:52 UTC","content_view":{"id":4,"name":"Default Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}]}
518 477
    http_version: 
519 478
  recorded_at: Fri, 26 Aug 2016 15:54:36 GMT
520 479
- request:
480
    method: get
481
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys/2/subscriptions?organization_id=9&per_page=999999
482
    body:
483
      encoding: US-ASCII
484
      string: ''
485
    headers:
486
      Accept:
487
      - application/json;version=2
488
      Accept-Encoding:
489
      - gzip, deflate
490
      User-Agent:
491
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
492
      Content-Type:
493
      - application/json
494
      Host:
495
      - katello.example.com:50191
496
  response:
497
    status:
498
      code: 200
499
      message: OK
500
    headers:
501
      Date:
502
      - Wed, 07 Sep 2016 01:40:25 GMT
503
      Server:
504
      - Apache/2.4.6 (CentOS)
505
      X-Frame-Options:
506
      - SAMEORIGIN
507
      X-Xss-Protection:
508
      - 1; mode=block
509
      X-Content-Type-Options:
510
      - nosniff
511
      Foreman-Version:
512
      - 1.13.0-develop
513
      Foreman-Api-Version:
514
      - '2'
515
      Content-Type:
516
      - application/json; charset=utf-8
517
      Apipie-Checksum:
518
      - 9544abef9cf8343005f07ed8c9f1f8e7
519
      Etag:
520
      - W/"e9b0e78fa986476bd289d042d2e61463-gzip"
521
      Cache-Control:
522
      - max-age=0, private, must-revalidate
523
      X-Request-Id:
524
      - a5ca0677-3292-433d-a3f9-8fe90fe8f30a
525
      X-Runtime:
526
      - '0.387346'
527
      Via:
528
      - 1.1 katello.example.com:50191
529
      Vary:
530
      - Accept-Encoding
531
      Content-Length:
532
      - '144'
533
      Set-Cookie:
534
      - _session_id=4f8baecfb02d10aa8500371f3b9fccf2; path=/; HttpOnly
535
    body:
536
      encoding: ASCII-8BIT
537
      string: |
538
        {"organization":{},"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
539
    http_version: 
540
  recorded_at: Wed, 07 Sep 2016 01:40:26 GMT
541
- request:
542
    method: put
543
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys/2
544
    body:
545
      encoding: UTF-8
546
      string: '{"organization_id":9,"name":"testakey1","environment_id":null,"content_view_id":4,"description":null,"unlimited_content_hosts":false,"max_content_hosts":0,"service_level":null,"release_version":null}'
547
    headers:
548
      Accept:
549
      - application/json;version=2
550
      Accept-Encoding:
551
      - gzip, deflate
552
      User-Agent:
553
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
554
      Content-Type:
555
      - application/json
556
      Content-Length:
557
      - '199'
558
      Host:
559
      - katello.example.com:50191
560
  response:
561
    status:
562
      code: 200
563
      message: OK
564
    headers:
565
      Date:
566
      - Wed, 07 Sep 2016 01:40:28 GMT
567
      Server:
568
      - Apache/2.4.6 (CentOS)
569
      X-Frame-Options:
570
      - SAMEORIGIN
571
      X-Xss-Protection:
572
      - 1; mode=block
573
      X-Content-Type-Options:
574
      - nosniff
575
      Foreman-Version:
576
      - 1.13.0-develop
577
      Foreman-Api-Version:
578
      - '2'
579
      Content-Type:
580
      - application/json; charset=utf-8
581
      Apipie-Checksum:
582
      - 9544abef9cf8343005f07ed8c9f1f8e7
583
      Etag:
584
      - W/"c24be5ed00685c20545c7596122ae889-gzip"
585
      Cache-Control:
586
      - max-age=0, private, must-revalidate
587
      X-Request-Id:
588
      - 3d1a690f-6f58-4c49-99fa-7fee727cc7db
589
      X-Runtime:
590
      - '1.949798'
591
      Via:
592
      - 1.1 katello.example.com:50191
593
      Vary:
594
      - Accept-Encoding
595
      Content-Length:
596
      - '611'
597
      Set-Cookie:
598
      - _session_id=1d83b02f7fd9d81c18dfe06b5d4b7fb0; path=/; HttpOnly
599
      - request_method=PUT; path=/
600
    body:
601
      encoding: ASCII-8BIT
602
      string: |2
603
          {"id":2,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:40:24 UTC","updated_at":"2016-09-07 01:40:25 UTC","content_view":{"id":4,"name":"Default Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}
604
    http_version: 
605
  recorded_at: Wed, 07 Sep 2016 01:40:31 GMT
606
- request:
607
    method: get
608
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys/2/subscriptions?organization_id=9&per_page=999999
609
    body:
610
      encoding: US-ASCII
611
      string: ''
612
    headers:
613
      Accept:
614
      - application/json;version=2
615
      Accept-Encoding:
616
      - gzip, deflate
617
      User-Agent:
618
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
619
      Content-Type:
620
      - application/json
621
      Host:
622
      - katello.example.com:50191
623
  response:
624
    status:
625
      code: 200
626
      message: OK
627
    headers:
628
      Date:
629
      - Wed, 07 Sep 2016 01:40:30 GMT
630
      Server:
631
      - Apache/2.4.6 (CentOS)
632
      X-Frame-Options:
633
      - SAMEORIGIN
634
      X-Xss-Protection:
635
      - 1; mode=block
636
      X-Content-Type-Options:
637
      - nosniff
638
      Foreman-Version:
639
      - 1.13.0-develop
640
      Foreman-Api-Version:
641
      - '2'
642
      Content-Type:
643
      - application/json; charset=utf-8
644
      Apipie-Checksum:
645
      - 9544abef9cf8343005f07ed8c9f1f8e7
646
      Etag:
647
      - W/"e9b0e78fa986476bd289d042d2e61463-gzip"
648
      Cache-Control:
649
      - max-age=0, private, must-revalidate
650
      X-Request-Id:
651
      - 9d93a925-aa05-49a2-b5e2-a0d051a1152f
652
      X-Runtime:
653
      - '1.440024'
654
      Via:
655
      - 1.1 katello.example.com:50191
656
      Vary:
657
      - Accept-Encoding
658
      Content-Length:
659
      - '144'
660
      Set-Cookie:
661
      - _session_id=a984e9039c24a294e6a45b3a9e486cbc; path=/; HttpOnly
662
    body:
663
      encoding: ASCII-8BIT
664
      string: |
665
        {"organization":{},"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
666
    http_version: 
667
  recorded_at: Wed, 07 Sep 2016 01:40:32 GMT
668
- request:
521 669
    method: delete
522
    uri: http://admin:changeme@katello:3000/katello/api/activation_keys/8
670
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys/2
523 671
    body:
524 672
      encoding: US-ASCII
525 673
      string: ''
......
528 676
      - application/json;version=2
529 677
      Accept-Encoding:
530 678
      - gzip, deflate
679
      User-Agent:
680
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
531 681
      Content-Type:
532 682
      - application/json
533 683
      Accept-Language:
534 684
      - en
535
      User-Agent:
536
      - Ruby
685
      Host:
686
      - katello.example.com:50191
537 687
  response:
538 688
    status:
539 689
      code: 202
540 690
      message: Accepted
541 691
    headers:
692
      Date:
693
      - Wed, 07 Sep 2016 01:40:34 GMT
694
      Server:
695
      - Apache/2.4.6 (CentOS)
542 696
      X-Frame-Options:
543 697
      - SAMEORIGIN
544 698
      X-Xss-Protection:
......
552 706
      Content-Type:
553 707
      - application/json; charset=utf-8
554 708
      Apipie-Checksum:
555
      - e98945ba1db6bdbb4c25ce4988912344
709
      - 9544abef9cf8343005f07ed8c9f1f8e7
556 710
      Cache-Control:
557 711
      - no-cache
712
      X-Request-Id:
713
      - 08021fbe-3d8b-4243-8a62-68442edd255e
714
      X-Runtime:
715
      - '2.116575'
716
      Via:
717
      - 1.1 katello.example.com:50191
558 718
      Set-Cookie:
559
      - _session_id=6992c111653b107c1db0a2bcb47679b4; path=/; HttpOnly
719
      - _session_id=289bd84ab856aaded41014b984579c30; path=/; HttpOnly
560 720
      - request_method=DELETE; path=/
721
      Transfer-Encoding:
722
      - chunked
723
    body:
724
      encoding: UTF-8
725
      string: |2
726
          {"id":"ff91f377-4b74-48ab-a3d8-3c76188ca5cd","label":"Actions::Katello::ActivationKey::Destroy","pending":false,"username":"admin","started_at":"2016-09-07 01:40:34 UTC","ended_at":"2016-09-07 01:40:36 UTC","state":"stopped","result":"success","progress":1.0,"input":{"activation_key":{"id":2,"name":"testakey1"},"organization":{"id":9,"name":"Test Corporation","label":"testcorp"},"services_checked":["candlepin","candlepin_auth"],"locale":"en"},"output":{},"humanized":{"action":"Delete Activation Key","input":[["activation_key",{"text":"activation key 'testakey1'","link":"/activation_keys/2/info"}],["organization",{"text":"organization 'Test Corporation'","link":"/organizations/9/edit"}]],"output":"","errors":[]},"cli_example":null}
727
    http_version: 
728
  recorded_at: Wed, 07 Sep 2016 01:40:37 GMT
729
- request:
730
    method: get
731
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys/8/subscriptions?organization_id=9&per_page=999999
732
    body:
733
      encoding: US-ASCII
734
      string: ''
735
    headers:
736
      Accept:
737
      - application/json;version=2
738
      Accept-Encoding:
739
      - gzip, deflate
740
      User-Agent:
741
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
742
      Content-Type:
743
      - application/json
744
      Host:
745
      - katello.example.com:50191
746
  response:
747
    status:
748
      code: 200
749
      message: OK
750
    headers:
751
      Date:
752
      - Fri, 09 Sep 2016 19:53:11 GMT
753
      Server:
754
      - Apache/2.4.6 (CentOS)
755
      X-Frame-Options:
756
      - SAMEORIGIN
757
      X-Xss-Protection:
758
      - 1; mode=block
759
      X-Content-Type-Options:
760
      - nosniff
761
      Foreman-Version:
762
      - 1.14.0-develop
763
      Foreman-Api-Version:
764
      - '2'
765
      Content-Type:
766
      - application/json; charset=utf-8
767
      Apipie-Checksum:
768
      - 9544abef9cf8343005f07ed8c9f1f8e7
769
      Etag:
770
      - W/"e9b0e78fa986476bd289d042d2e61463-gzip"
771
      Cache-Control:
772
      - max-age=0, private, must-revalidate
773
      X-Request-Id:
774
      - 973a4074-dff6-492a-92ec-56b22953b425
775
      X-Runtime:
776
      - '0.434515'
777
      Via:
778
      - 1.1 katello.example.com:50191
779
      Vary:
780
      - Accept-Encoding
781
      Content-Length:
782
      - '144'
783
      Set-Cookie:
784
      - _session_id=2937129974a6ac064437cde5c2aa819b; path=/; HttpOnly
785
    body:
786
      encoding: ASCII-8BIT
787
      string: |
788
        {"organization":{},"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
789
    http_version: 
790
  recorded_at: Fri, 09 Sep 2016 19:53:12 GMT
791
- request:
792
    method: put
793
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys/8
794
    body:
795
      encoding: UTF-8
796
      string: '{"organization_id":9,"name":"testakey1","environment_id":null,"content_view_id":4,"description":null,"unlimited_content_hosts":false,"max_content_hosts":0,"service_level":null,"release_version":null}'
797
    headers:
798
      Accept:
799
      - application/json;version=2
800
      Accept-Encoding:
801
      - gzip, deflate
802
      User-Agent:
803
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
804
      Content-Type:
805
      - application/json
806
      Content-Length:
807
      - '199'
808
      Host:
809
      - katello.example.com:50191
810
  response:
811
    status:
812
      code: 200
813
      message: OK
814
    headers:
815
      Date:
816
      - Fri, 09 Sep 2016 19:53:15 GMT
817
      Server:
818
      - Apache/2.4.6 (CentOS)
819
      X-Frame-Options:
820
      - SAMEORIGIN
821
      X-Xss-Protection:
822
      - 1; mode=block
823
      X-Content-Type-Options:
824
      - nosniff
825
      Foreman-Version:
826
      - 1.14.0-develop
827
      Foreman-Api-Version:
828
      - '2'
829
      Content-Type:
830
      - application/json; charset=utf-8
831
      Apipie-Checksum:
832
      - 9544abef9cf8343005f07ed8c9f1f8e7
833
      Etag:
834
      - W/"9e9bfed30eb2cf61bbf1d322f58ce7ea-gzip"
835
      Cache-Control:
836
      - max-age=0, private, must-revalidate
837
      X-Request-Id:
838
      - 4d2882fd-a3f7-40f6-aa17-9651d8f3076f
839
      X-Runtime:
840
      - '1.984337'
841
      Via:
842
      - 1.1 katello.example.com:50191
843
      Vary:
844
      - Accept-Encoding
845
      Content-Length:
846
      - '611'
847
      Set-Cookie:
848
      - _session_id=1f9d3d08cbcc3d21e6ed38912be9effe; path=/; HttpOnly
849
      - request_method=PUT; path=/
850
    body:
851
      encoding: ASCII-8BIT
852
      string: |2
853
          {"id":8,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-09 19:53:10 UTC","updated_at":"2016-09-09 19:53:10 UTC","content_view":{"id":4,"name":"Default Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}
854
    http_version: 
855
  recorded_at: Fri, 09 Sep 2016 19:53:18 GMT
856
- request:
857
    method: get
858
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys/8/subscriptions?organization_id=9&per_page=999999
859
    body:
860
      encoding: US-ASCII
861
      string: ''
862
    headers:
863
      Accept:
864
      - application/json;version=2
865
      Accept-Encoding:
866
      - gzip, deflate
867
      User-Agent:
868
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
869
      Content-Type:
870
      - application/json
871
      Host:
872
      - katello.example.com:50191
873
  response:
874
    status:
875
      code: 200
876
      message: OK
877
    headers:
878
      Date:
879
      - Fri, 09 Sep 2016 19:53:17 GMT
880
      Server:
881
      - Apache/2.4.6 (CentOS)
882
      X-Frame-Options:
883
      - SAMEORIGIN
884
      X-Xss-Protection:
885
      - 1; mode=block
886
      X-Content-Type-Options:
887
      - nosniff
888
      Foreman-Version:
889
      - 1.14.0-develop
890
      Foreman-Api-Version:
891
      - '2'
892
      Content-Type:
893
      - application/json; charset=utf-8
894
      Apipie-Checksum:
895
      - 9544abef9cf8343005f07ed8c9f1f8e7
896
      Etag:
897
      - W/"e9b0e78fa986476bd289d042d2e61463-gzip"
898
      Cache-Control:
899
      - max-age=0, private, must-revalidate
900
      X-Request-Id:
901
      - 41337dd7-e2e7-48f0-9c69-d9969ad8b24a
902
      X-Runtime:
903
      - '1.443974'
904
      Via:
905
      - 1.1 katello.example.com:50191
906
      Vary:
907
      - Accept-Encoding
908
      Content-Length:
909
      - '144'
910
      Set-Cookie:
911
      - _session_id=f4d1b388e56f30766c187f912e126b99; path=/; HttpOnly
912
    body:
913
      encoding: ASCII-8BIT
914
      string: |
915
        {"organization":{},"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
916
    http_version: 
917
  recorded_at: Fri, 09 Sep 2016 19:53:19 GMT
918
- request:
919
    method: delete
920
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys/8
921
    body:
922
      encoding: US-ASCII
923
      string: ''
924
    headers:
925
      Accept:
926
      - application/json;version=2
927
      Accept-Encoding:
928
      - gzip, deflate
929
      User-Agent:
930
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
931
      Content-Type:
932
      - application/json
933
      Accept-Language:
934
      - en
935
      Host:
936
      - katello.example.com:50191
937
  response:
938
    status:
939
      code: 202
940
      message: Accepted
941
    headers:
942
      Date:
943
      - Fri, 09 Sep 2016 19:53:21 GMT
944
      Server:
945
      - Apache/2.4.6 (CentOS)
946
      X-Frame-Options:
947
      - SAMEORIGIN
948
      X-Xss-Protection:
949
      - 1; mode=block
950
      X-Content-Type-Options:
951
      - nosniff
952
      Foreman-Version:
953
      - 1.14.0-develop
954
      Foreman-Api-Version:
955
      - '2'
956
      Content-Type:
957
      - application/json; charset=utf-8
958
      Apipie-Checksum:
959
      - 9544abef9cf8343005f07ed8c9f1f8e7
960
      Cache-Control:
961
      - no-cache
561 962
      X-Request-Id:
562
      - 0d920523-7521-4197-a8f9-c8c396b1ff2c
963
      - 8655eed3-79cb-49a1-a7aa-e6845bfbd5e8
563 964
      X-Runtime:
564
      - '1.972848'
965
      - '2.091153'
966
      Via:
967
      - 1.1 katello.example.com:50191
968
      Set-Cookie:
969
      - _session_id=fe9966b403bff6681b474c3a89af4445; path=/; HttpOnly
970
      - request_method=DELETE; path=/
565 971
      Transfer-Encoding:
566 972
      - chunked
567 973
    body:
568 974
      encoding: UTF-8
569
      string: '  {"id":"6f80f957-dc00-4dba-b699-add512cf1671","label":"Actions::Katello::ActivationKey::Destroy","pending":false,"username":"admin","started_at":"2016-08-26
570
        15:55:04 UTC","ended_at":"2016-08-26 15:55:05 UTC","state":"stopped","result":"success","progress":1.0,"input":{"activation_key":{"id":8,"name":"testakey1"},"organization":{"id":4,"name":"Test
571
        Corporation","label":"testcorp"},"services_checked":["candlepin","candlepin_auth"],"locale":"en"},"output":{},"humanized":{"action":"Delete
572
        Activation Key","input":[["activation_key",{"text":"activation key ''testakey1''","link":"/activation_keys/8/info"}],["organization",{"text":"organization
573
        ''Test Corporation''","link":"/organizations/4/edit"}]],"output":"","errors":[]},"cli_example":null}
574

  
575
'
975
      string: |2
976
          {"id":"899bd8f4-8df4-43ec-8a8e-9ef22fb19abc","label":"Actions::Katello::ActivationKey::Destroy","pending":false,"username":"admin","started_at":"2016-09-09 19:53:23 UTC","ended_at":"2016-09-09 19:53:23 UTC","state":"stopped","result":"success","progress":1.0,"input":{"activation_key":{"id":8,"name":"testakey1"},"organization":{"id":9,"name":"Test Corporation","label":"testcorp"},"services_checked":["candlepin","candlepin_auth"],"locale":"en"},"output":{},"humanized":{"action":"Delete Activation Key","input":[["activation_key",{"text":"activation key 'testakey1'","link":"/activation_keys/8/info"}],["organization",{"text":"organization 'Test Corporation'","link":"/organizations/9/edit"}]],"output":"","errors":[]},"cli_example":null}
576 977
    http_version: 
577
  recorded_at: Fri, 26 Aug 2016 15:54:38 GMT
978
  recorded_at: Fri, 09 Sep 2016 19:53:24 GMT
578 979
- request:
579 980
    method: get
580 981
    uri: https://admin:changeme@katello.example.com:50191/api/status
......
594 995
      message: OK
595 996
    headers:
596 997
      Date:
597
      - Wed, 07 Sep 2016 01:40:19 GMT
998
      - Fri, 09 Sep 2016 20:02:12 GMT
598 999
      Server:
599 1000
      - Apache/2.4.6 (CentOS)
600 1001
      X-Frame-Options:
......
604 1005
      X-Content-Type-Options:
605 1006
      - nosniff
606 1007
      Foreman-Version:
607
      - 1.13.0-develop
1008
      - 1.14.0-develop
608 1009
      Foreman-Api-Version:
609 1010
      - '2'
610 1011
      Content-Type:
......
612 1013
      Apipie-Checksum:
613 1014
      - 9544abef9cf8343005f07ed8c9f1f8e7
614 1015
      Etag:
615
      - W/"f536fd8685b76bb26a943d472593c93e-gzip"
1016
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
616 1017
      Cache-Control:
617 1018
      - max-age=0, private, must-revalidate
618 1019
      X-Request-Id:
619
      - 321790ca-969a-4238-aa45-060f8d817ab6
1020
      - 6821ef94-9bd1-427b-9c98-5d21ccf9de40
620 1021
      X-Runtime:
621
      - '0.352074'
1022
      - '0.188831'
622 1023
      Via:
623 1024
      - 1.1 katello.example.com:50191
624 1025
      Vary:
......
626 1027
      Content-Length:
627 1028
      - '81'
628 1029
      Set-Cookie:
629
      - _session_id=6b870416a7fcf92d3f5a3f6f55101f71; path=/; HttpOnly
1030
      - _session_id=70c66e0cadc05c6a1ca1e33052419b0b; path=/; HttpOnly
630 1031
    body:
631
      encoding: ASCII-8BIT
632
      string: '{"result":"ok","status":200,"version":"1.13.0-develop","api_version":2}'
1032
      encoding: UTF-8
1033
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
633 1034
    http_version: 
634
  recorded_at: Wed, 07 Sep 2016 01:40:21 GMT
1035
  recorded_at: Fri, 09 Sep 2016 20:02:14 GMT
635 1036
- request:
636 1037
    method: get
637 1038
    uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
......
651 1052
      message: OK
652 1053
    headers:
653 1054
      Date:
654
      - Wed, 07 Sep 2016 01:40:21 GMT
1055
      - Fri, 09 Sep 2016 20:02:13 GMT
655 1056
      Server:
656 1057
      - Apache/2.4.6 (CentOS)
657 1058
      X-Frame-Options:
......
661 1062
      X-Content-Type-Options:
662 1063
      - nosniff
663 1064
      Foreman-Version:
664
      - 1.13.0-develop
1065
      - 1.14.0-develop
665 1066
      Foreman-Api-Version:
666 1067
      - '2'
667 1068
      Content-Type:
......
669 1070
      Apipie-Checksum:
670 1071
      - 9544abef9cf8343005f07ed8c9f1f8e7
671 1072
      Etag:
672
      - W/"de0a55a439f41ab6fcd72b3d74503dcc-gzip"
1073
      - W/"c547959b2afaff0cf0a8d731005e9365-gzip"
673 1074
      Cache-Control:
674 1075
      - max-age=0, private, must-revalidate
675 1076
      X-Request-Id:
676
      - 2fcd2585-21c9-45c8-8a8a-4591c96a63a6
1077
      - 5a21c7ed-89bf-42d1-a1bc-afcfefb23cd5
677 1078
      X-Runtime:
678
      - '0.203871'
1079
      - '0.178573'
679 1080
      Via:
680 1081
      - 1.1 katello.example.com:50191
681 1082
      Vary:
682 1083
      - Accept-Encoding
683 1084
      Content-Length:
684
      - '564'
1085
      - '566'
685 1086
      Set-Cookie:
686
      - _session_id=4da6ae84a62deb67fcbef882b145d643; path=/; HttpOnly
1087
      - _session_id=ccba2f2dce433bcd7b68456f0ea31e05; path=/; HttpOnly
687 1088
    body:
688 1089
      encoding: ASCII-8BIT
689 1090
      string: !binary |-
......
702 1103
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
703 1104
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
704 1105
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
705
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMCJ9LHsiaWQiOiJmb3JlbWFu
1106
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMSJ9LHsiaWQiOiJmb3JlbWFu
706 1107
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
707 1108
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
708 1109
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
......
713 1114
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
714 1115
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
715 1116
    http_version: 
716
  recorded_at: Wed, 07 Sep 2016 01:40:21 GMT
1117
  recorded_at: Fri, 09 Sep 2016 20:02:14 GMT
717 1118
- request:
718 1119
    method: get
719 1120
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
726 1127
      Accept-Encoding:
727 1128
      - gzip, deflate
728 1129
      User-Agent:
729
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1130
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
730 1131
      Content-Type:
731 1132
      - application/json
732 1133
      Host:
......
737 1138
      message: OK
738 1139
    headers:
739 1140
      Date:
740
      - Wed, 07 Sep 2016 01:40:21 GMT
1141
      - Fri, 09 Sep 2016 20:02:14 GMT
741 1142
      Server:
742 1143
      - Apache/2.4.6 (CentOS)
743 1144
      X-Frame-Options:
......
747 1148
      X-Content-Type-Options:
748 1149
      - nosniff
749 1150
      Foreman-Version:
750
      - 1.13.0-develop
1151
      - 1.14.0-develop
751 1152
      Foreman-Api-Version:
752 1153
      - '2'
753 1154
      Content-Type:
......
759 1160
      Cache-Control:
760 1161
      - max-age=0, private, must-revalidate
761 1162
      X-Request-Id:
762
      - 4a4230a2-d0a2-4eda-b4b6-cfef3effa9c9
1163
      - 1aa9ba30-0144-4ba4-87cd-39632519d1eb
763 1164
      X-Runtime:
764
      - '0.213095'
1165
      - '0.242752'
765 1166
      Via:
766 1167
      - 1.1 katello.example.com:50191
767 1168
      Vary:
......
769 1170
      Content-Length:
770 1171
      - '388'
771 1172
      Set-Cookie:
772
      - _session_id=c794acd8a89778047ef4563b7070a922; path=/; HttpOnly
1173
      - _session_id=13f18edf8274bd7cf08775521693d91d; path=/; HttpOnly
773 1174
    body:
774 1175
      encoding: ASCII-8BIT
775 1176
      string: |
......
786 1187
          "results": [{"label":"testcorp","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","id":9,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
787 1188
        }
788 1189
    http_version: 
789
  recorded_at: Wed, 07 Sep 2016 01:40:22 GMT
1190
  recorded_at: Fri, 09 Sep 2016 20:02:14 GMT
790 1191
- request:
791 1192
    method: get
792 1193
    uri: https://admin:changeme@katello.example.com:50191/apidoc/v2.json
......
799 1200
      Accept-Encoding:
800 1201
      - gzip, deflate
801 1202
      User-Agent:
802
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
1203
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
803 1204
      Content-Type:
804 1205
      - application/json
805 1206
      Host:
......
810 1211
      message: OK
811 1212
    headers:
812 1213
      Date:
813
      - Wed, 07 Sep 2016 01:40:21 GMT
1214
      - Fri, 09 Sep 2016 20:02:14 GMT
814 1215
      Server:
815 1216
      - Apache/2.4.6 (CentOS)
816 1217
      X-Frame-Options:
......
830 1231
      Apipie-Checksum:
831 1232
      - 9544abef9cf8343005f07ed8c9f1f8e7
832 1233
      X-Request-Id:
833
      - 91eded60-33bb-4ede-962f-f0cc3e210393
1234
      - 670cad1e-0e97-436e-bfaf-6037728e019d
834 1235
      X-Runtime:
835
      - '1.111055'
1236
      - '0.106058'
836 1237
      Via:
837 1238
      - 1.1 katello.example.com:50191
838 1239
      Vary:
......
18434 18835
        ZX1dLCJoZWFkZXJzIjpudWxsfX0sImxpbmtfZXh0ZW5zaW9uIjoiLmh0bWwi
18435 18836
        fX0=
18436 18837
    http_version: 
18437
  recorded_at: Wed, 07 Sep 2016 01:40:23 GMT
18838
  recorded_at: Fri, 09 Sep 2016 20:02:15 GMT
18438 18839
- request:
18439 18840
    method: get
18440 18841
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/activation_keys?per_page=999999
......
18447 18848
      Accept-Encoding:
18448 18849
      - gzip, deflate
18449 18850
      User-Agent:
18450
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
18851
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
18451 18852
      Content-Type:
18452 18853
      - application/json
18453 18854
      Host:
......
18458 18859
      message: OK
18459 18860
    headers:
18460 18861
      Date:
18461
      - Wed, 07 Sep 2016 01:40:22 GMT
18862
      - Fri, 09 Sep 2016 20:02:14 GMT
18462 18863
      Server:
18463 18864
      - Apache/2.4.6 (CentOS)
18464 18865
      X-Frame-Options:
......
18468 18869
      X-Content-Type-Options:
18469 18870
      - nosniff
18470 18871
      Foreman-Version:
18471
      - 1.13.0-develop
18872
      - 1.14.0-develop
18472 18873
      Foreman-Api-Version:
18473 18874
      - '2'
18474 18875
      Content-Type:
......
18480 18881
      Cache-Control:
18481 18882
      - max-age=0, private, must-revalidate
18482 18883
      X-Request-Id:
18483
      - 722587fd-728a-4f04-9beb-9efd363b3276
18884
      - b8f4d684-82d9-4f8e-8f58-b64b09b4fc04
18484 18885
      X-Runtime:
18485
      - '0.268684'
18886
      - '1.291153'
18486 18887
      Via:
18487 18888
      - 1.1 katello.example.com:50191
18488 18889
      Vary:
......
18490 18891
      Content-Length:
18491 18892
      - '126'
18492 18893
      Set-Cookie:
18493
      - _session_id=1ddf3e7161c0e083872315ca5b43486e; path=/; HttpOnly
18894
      - _session_id=9826b65d9ba05ece6497b8eb4c48f5c8; path=/; HttpOnly
18494 18895
    body:
18495 18896
      encoding: ASCII-8BIT
18496
      string: '{"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
18497

  
18498
'
18897
      string: |
18898
        {"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
18499 18899
    http_version: 
18500
  recorded_at: Wed, 07 Sep 2016 01:40:23 GMT
18900
  recorded_at: Fri, 09 Sep 2016 20:02:16 GMT
18501 18901
- request:
18502 18902
    method: get
18503 18903
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/content_views?per_page=999999
......
18510 18910
      Accept-Encoding:
18511 18911
      - gzip, deflate
18512 18912
      User-Agent:
18513
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
18913
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
18514 18914
      Content-Type:
18515 18915
      - application/json
18516 18916
      Host:
......
18521 18921
      message: OK
18522 18922
    headers:
18523 18923
      Date:
18524
      - Wed, 07 Sep 2016 01:40:23 GMT
18924
      - Fri, 09 Sep 2016 20:02:16 GMT
18525 18925
      Server:
18526 18926
      - Apache/2.4.6 (CentOS)
18527 18927
      X-Frame-Options:
......
18531 18931
      X-Content-Type-Options:
18532 18932
      - nosniff
18533 18933
      Foreman-Version:
18534
      - 1.13.0-develop
18934
      - 1.14.0-develop
18535 18935
      Foreman-Api-Version:
18536 18936
      - '2'
18537 18937
      Content-Type:
......
18539 18939
      Apipie-Checksum:
18540 18940
      - 9544abef9cf8343005f07ed8c9f1f8e7
18541 18941
      Etag:
18542
      - W/"743c4dd5d90a19943d91f0ad8dc36aff-gzip"
18942
      - W/"a52550d7b5fb64c9f5aa0fcba24b3738-gzip"
18543 18943
      Cache-Control:
18544 18944
      - max-age=0, private, must-revalidate
18545 18945
      X-Request-Id:
18546
      - 59dd8121-cfc7-46be-aee8-ebb99b2bc731
18946
      - f74146fa-c14e-4a90-9f8a-077c85cf0833
18547 18947
      X-Runtime:
18548
      - '0.320315'
18948
      - '0.430389'
18549 18949
      Via:
18550 18950
      - 1.1 katello.example.com:50191
18551 18951
      Vary:
18552 18952
      - Accept-Encoding
18553 18953
      Content-Length:
18554
      - '945'
18954
      - '1743'
18555 18955
      Set-Cookie:
18556
      - _session_id=19dae7785b0a95e2785285190367595c; path=/; HttpOnly
18956
      - _session_id=3c7b0ced2e9368b5c2032665e6bc32ce; path=/; HttpOnly
18557 18957
    body:
18558 18958
      encoding: ASCII-8BIT
18559
      string: '{"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":4,"name":"Default
18560
        Organization View","label":"bd072dcb-fc48-4a08-87c5-4f09acf4c936","description":null,"organization":{"name":"Test
18561
        Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:06
18562
        UTC","updated_at":"2016-09-07 01:39:06 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":4,"version":"1.0","published":"2016-09-07
18563
        01:39:06 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-09-07
18564
        01:39:06 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
18565

  
18566
'
18959
      string: |
18960
        {"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":5,"name":"Test Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:30 UTC","updated_at":"2016-09-08 17:34:33 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":5,"version":"1.0","published":"2016-09-08 17:34:33 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-09-08 17:34:33 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}},{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":4,"name":"Default Organization View","label":"bd072dcb-fc48-4a08-87c5-4f09acf4c936","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:06 UTC","updated_at":"2016-09-07 01:39:06 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":4,"version":"1.0","published":"2016-09-07 01:39:06 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-09-07 01:39:06 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
18567 18961
    http_version: 
18568
  recorded_at: Wed, 07 Sep 2016 01:40:24 GMT
18962
  recorded_at: Fri, 09 Sep 2016 20:02:16 GMT
18569 18963
- request:
18570 18964
    method: post
18571 18965
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys
......
18578 18972
      Accept-Encoding:
18579 18973
      - gzip, deflate
18580 18974
      User-Agent:
18581
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
18975
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
18582 18976
      Content-Type:
18583 18977
      - application/json
18584 18978
      Content-Length:
......
18591 18985
      message: OK
18592 18986
    headers:
18593 18987
      Date:
18594
      - Wed, 07 Sep 2016 01:40:23 GMT
18988
      - Fri, 09 Sep 2016 20:02:16 GMT
18595 18989
      Server:
18596 18990
      - Apache/2.4.6 (CentOS)
18597 18991
      X-Frame-Options:
......
18601 18995
      X-Content-Type-Options:
18602 18996
      - nosniff
18603 18997
      Foreman-Version:
18604
      - 1.13.0-develop
18998
      - 1.14.0-develop
18605 18999
      Foreman-Api-Version:
18606 19000
      - '2'
18607 19001
      Content-Type:
......
18609 19003
      Apipie-Checksum:
18610 19004
      - 9544abef9cf8343005f07ed8c9f1f8e7
18611 19005
      Etag:
18612
      - W/"c24be5ed00685c20545c7596122ae889-gzip"
19006
      - W/"6acefffc135897ba77c715ed3025aa91-gzip"
18613 19007
      Cache-Control:
18614 19008
      - max-age=0, private, must-revalidate
18615 19009
      X-Request-Id:
18616
      - 8f00c561-8b2d-48a6-8347-438a223ba13f
19010
      - 55be1153-7f01-42bd-a996-d4950326319a
18617 19011
      X-Runtime:
18618
      - '2.080597'
19012
      - '2.203431'
18619 19013
      Via:
18620 19014
      - 1.1 katello.example.com:50191
18621 19015
      Vary:
......
18623 19017
      Content-Length:
18624 19018
      - '611'
18625 19019
      Set-Cookie:
18626
      - _session_id=ef1da9301408c23a92166a0838170143; path=/; HttpOnly
19020
      - _session_id=2c23a3b64039f54dd66e18005a35e50b; path=/; HttpOnly
18627 19021
      - request_method=POST; path=/
18628 19022
    body:
18629 19023
      encoding: ASCII-8BIT
18630
      string: '  {"id":2,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test
18631
        Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:40:24
18632
        UTC","updated_at":"2016-09-07 01:40:25 UTC","content_view":{"id":4,"name":"Default
18633
        Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}
18634

  
18635
'
19024
      string: |2
19025
          {"id":9,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-09 20:02:16 UTC","updated_at":"2016-09-09 20:02:18 UTC","content_view":{"id":4,"name":"Default Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}
18636 19026
    http_version: 
18637
  recorded_at: Wed, 07 Sep 2016 01:40:26 GMT
19027
  recorded_at: Fri, 09 Sep 2016 20:02:19 GMT
18638 19028
- request:
18639 19029
    method: get
18640
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys/2/subscriptions?organization_id=9&per_page=999999
19030
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys/9/subscriptions?organization_id=9&per_page=999999
18641 19031
    body:
18642 19032
      encoding: US-ASCII
18643 19033
      string: ''
......
18647 19037
      Accept-Encoding:
18648 19038
      - gzip, deflate
18649 19039
      User-Agent:
18650
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
19040
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
18651 19041
      Content-Type:
18652 19042
      - application/json
18653 19043
      Host:
......
18658 19048
      message: OK
18659 19049
    headers:
18660 19050
      Date:
18661
      - Wed, 07 Sep 2016 01:40:25 GMT
19051
      - Fri, 09 Sep 2016 20:02:18 GMT
18662 19052
      Server:
18663 19053
      - Apache/2.4.6 (CentOS)
18664 19054
      X-Frame-Options:
......
18668 19058
      X-Content-Type-Options:
18669 19059
      - nosniff
18670 19060
      Foreman-Version:
18671
      - 1.13.0-develop
19061
      - 1.14.0-develop
18672 19062
      Foreman-Api-Version:
18673 19063
      - '2'
18674 19064
      Content-Type:
......
18680 19070
      Cache-Control:
18681 19071
      - max-age=0, private, must-revalidate
18682 19072
      X-Request-Id:
18683
      - a5ca0677-3292-433d-a3f9-8fe90fe8f30a
19073
      - 28130e70-ac3f-4fd3-a1a0-a10d057aa8f6
18684 19074
      X-Runtime:
18685
      - '0.387346'
19075
      - '0.419178'
18686 19076
      Via:
18687 19077
      - 1.1 katello.example.com:50191
18688 19078
      Vary:
......
18690 19080
      Content-Length:
18691 19081
      - '144'
18692 19082
      Set-Cookie:
18693
      - _session_id=4f8baecfb02d10aa8500371f3b9fccf2; path=/; HttpOnly
19083
      - _session_id=2ad368011150a0a53901bca74688424a; path=/; HttpOnly
18694 19084
    body:
18695 19085
      encoding: ASCII-8BIT
18696
      string: '{"organization":{},"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
18697

  
18698
'
19086
      string: |
19087
        {"organization":{},"total":0,"subtotal":0,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
18699 19088
    http_version: 
18700
  recorded_at: Wed, 07 Sep 2016 01:40:26 GMT
19089
  recorded_at: Fri, 09 Sep 2016 20:02:19 GMT
18701 19090
- request:
18702 19091
    method: get
18703 19092
    uri: https://admin:changeme@katello.example.com:50191/api/status
......
18717 19106
      message: OK
18718 19107
    headers:
18719 19108
      Date:
18720
      - Wed, 07 Sep 2016 01:40:26 GMT
19109
      - Fri, 09 Sep 2016 20:02:19 GMT
18721 19110
      Server:
18722 19111
      - Apache/2.4.6 (CentOS)
18723 19112
      X-Frame-Options:
......
18727 19116
      X-Content-Type-Options:
18728 19117
      - nosniff
18729 19118
      Foreman-Version:
18730
      - 1.13.0-develop
19119
      - 1.14.0-develop
18731 19120
      Foreman-Api-Version:
18732 19121
      - '2'
18733 19122
      Content-Type:
......
18735 19124
      Apipie-Checksum:
18736 19125
      - 9544abef9cf8343005f07ed8c9f1f8e7
18737 19126
      Etag:
18738
      - W/"f536fd8685b76bb26a943d472593c93e-gzip"
19127
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
18739 19128
      Cache-Control:
18740 19129
      - max-age=0, private, must-revalidate
18741 19130
      X-Request-Id:
18742
      - 41103752-9108-40cb-a694-29f282790a38
19131
      - 14fa2589-8aaa-4e2a-a9f8-e84b90ecc34b
18743 19132
      X-Runtime:
18744
      - '0.179913'
19133
      - '0.172457'
18745 19134
      Via:
18746 19135
      - 1.1 katello.example.com:50191
18747 19136
      Vary:
......
18749 19138
      Content-Length:
18750 19139
      - '81'
18751 19140
      Set-Cookie:
18752
      - _session_id=72fdac58af6d88e506f645bacd9938b4; path=/; HttpOnly
19141
      - _session_id=442221056cb10ab730bd785fa62df135; path=/; HttpOnly
18753 19142
    body:
18754
      encoding: ASCII-8BIT
18755
      string: '{"result":"ok","status":200,"version":"1.13.0-develop","api_version":2}'
19143
      encoding: UTF-8
19144
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
18756 19145
    http_version: 
18757
  recorded_at: Wed, 07 Sep 2016 01:40:26 GMT
19146
  recorded_at: Fri, 09 Sep 2016 20:02:19 GMT
18758 19147
- request:
18759 19148
    method: get
18760 19149
    uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
......
18774 19163
      message: OK
18775 19164
    headers:
18776 19165
      Date:
18777
      - Wed, 07 Sep 2016 01:40:26 GMT
19166
      - Fri, 09 Sep 2016 20:02:19 GMT
18778 19167
      Server:
18779 19168
      - Apache/2.4.6 (CentOS)
18780 19169
      X-Frame-Options:
......
18784 19173
      X-Content-Type-Options:
18785 19174
      - nosniff
18786 19175
      Foreman-Version:
18787
      - 1.13.0-develop
19176
      - 1.14.0-develop
18788 19177
      Foreman-Api-Version:
18789 19178
      - '2'
18790 19179
      Content-Type:
......
18792 19181
      Apipie-Checksum:
18793 19182
      - 9544abef9cf8343005f07ed8c9f1f8e7
18794 19183
      Etag:
18795
      - W/"de0a55a439f41ab6fcd72b3d74503dcc-gzip"
19184
      - W/"c547959b2afaff0cf0a8d731005e9365-gzip"
18796 19185
      Cache-Control:
18797 19186
      - max-age=0, private, must-revalidate
18798 19187
      X-Request-Id:
18799
      - 202fc2a2-140d-48e9-bf17-0e3dbedd30f0
19188
      - ba0cf349-358a-4257-ac57-8bf2f9c9a4e7
18800 19189
      X-Runtime:
18801
      - '0.169536'
19190
      - '0.180713'
18802 19191
      Via:
18803 19192
      - 1.1 katello.example.com:50191
18804 19193
      Vary:
18805 19194
      - Accept-Encoding
18806 19195
      Content-Length:
18807
      - '564'
19196
      - '566'
18808 19197
      Set-Cookie:
18809
      - _session_id=0c91e9af0003f212f0f58b1be9b77ce6; path=/; HttpOnly
19198
      - _session_id=8db23f47e9ec3f871b501201bde074db; path=/; HttpOnly
18810 19199
    body:
18811 19200
      encoding: ASCII-8BIT
18812 19201
      string: !binary |-
......
18825 19214
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
18826 19215
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
18827 19216
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
18828
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMCJ9LHsiaWQiOiJmb3JlbWFu
19217
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMSJ9LHsiaWQiOiJmb3JlbWFu
18829 19218
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
18830 19219
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
18831 19220
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
......
18836 19225
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
18837 19226
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
18838 19227
    http_version: 
18839
  recorded_at: Wed, 07 Sep 2016 01:40:27 GMT
19228
  recorded_at: Fri, 09 Sep 2016 20:02:20 GMT
18840 19229
- request:
18841 19230
    method: get
18842 19231
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
18849 19238
      Accept-Encoding:
18850 19239
      - gzip, deflate
18851 19240
      User-Agent:
18852
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
19241
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
18853 19242
      Content-Type:
18854 19243
      - application/json
18855 19244
      Host:
......
18860 19249
      message: OK
18861 19250
    headers:
18862 19251
      Date:
18863
      - Wed, 07 Sep 2016 01:40:26 GMT
19252
      - Fri, 09 Sep 2016 20:02:19 GMT
18864 19253
      Server:
18865 19254
      - Apache/2.4.6 (CentOS)
18866 19255
      X-Frame-Options:
......
18870 19259
      X-Content-Type-Options:
18871 19260
      - nosniff
18872 19261
      Foreman-Version:
18873
      - 1.13.0-develop
19262
      - 1.14.0-develop
18874 19263
      Foreman-Api-Version:
18875 19264
      - '2'
18876 19265
      Content-Type:
......
18882 19271
      Cache-Control:
18883 19272
      - max-age=0, private, must-revalidate
18884 19273
      X-Request-Id:
18885
      - 6b83e995-7acb-4136-8acd-7cadf7445aa7
19274
      - 3477c3cb-5119-437b-ac71-3e3793c5f1f1
18886 19275
      X-Runtime:
18887
      - '0.239257'
19276
      - '1.249870'
18888 19277
      Via:
18889 19278
      - 1.1 katello.example.com:50191
18890 19279
      Vary:
......
18892 19281
      Content-Length:
18893 19282
      - '388'
18894 19283
      Set-Cookie:
18895
      - _session_id=124fd4719f02ce7c658d1980c0a48237; path=/; HttpOnly
19284
      - _session_id=1b7c0bc6bb51ed205ed19cf1966fe6cf; path=/; HttpOnly
18896 19285
    body:
18897 19286
      encoding: ASCII-8BIT
18898 19287
      string: |
......
18909 19298
          "results": [{"label":"testcorp","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","id":9,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
18910 19299
        }
18911 19300
    http_version: 
18912
  recorded_at: Wed, 07 Sep 2016 01:40:27 GMT
19301
  recorded_at: Fri, 09 Sep 2016 20:02:21 GMT
18913 19302
- request:
18914 19303
    method: get
18915 19304
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/activation_keys?per_page=999999
......
18922 19311
      Accept-Encoding:
18923 19312
      - gzip, deflate
18924 19313
      User-Agent:
18925
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
19314
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
18926 19315
      Content-Type:
18927 19316
      - application/json
18928 19317
      Host:
......
18933 19322
      message: OK
18934 19323
    headers:
18935 19324
      Date:
18936
      - Wed, 07 Sep 2016 01:40:26 GMT
19325
      - Fri, 09 Sep 2016 20:02:21 GMT
18937 19326
      Server:
18938 19327
      - Apache/2.4.6 (CentOS)
18939 19328
      X-Frame-Options:
......
18943 19332
      X-Content-Type-Options:
18944 19333
      - nosniff
18945 19334
      Foreman-Version:
18946
      - 1.13.0-develop
19335
      - 1.14.0-develop
18947 19336
      Foreman-Api-Version:
18948 19337
      - '2'
18949 19338
      Content-Type:
......
18951 19340
      Apipie-Checksum:
18952 19341
      - 9544abef9cf8343005f07ed8c9f1f8e7
18953 19342
      Etag:
18954
      - W/"228d4bebc1d416a4b42ccf283b70924d-gzip"
19343
      - W/"c122d4f2304096df8312ec66aa71d39a-gzip"
18955 19344
      Cache-Control:
18956 19345
      - max-age=0, private, must-revalidate
18957 19346
      X-Request-Id:
18958
      - 35fada03-932b-409b-bab5-3b082f603502
19347
      - ee28c739-5ae9-49e1-8746-aa74902dfcb7
18959 19348
      X-Runtime:
18960
      - '1.457884'
19349
      - '0.439935'
18961 19350
      Via:
18962 19351
      - 1.1 katello.example.com:50191
18963 19352
      Vary:
......
18965 19354
      Content-Length:
18966 19355
      - '734'
18967 19356
      Set-Cookie:
18968
      - _session_id=85247f914acbd0042dd179be45c42a0a; path=/; HttpOnly
19357
      - _session_id=f5b2d38519b2fe85bb4da3871c6575fb; path=/; HttpOnly
18969 19358
    body:
18970 19359
      encoding: ASCII-8BIT
18971
      string: '{"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":2,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test
18972
        Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:40:24
18973
        UTC","updated_at":"2016-09-07 01:40:25 UTC","content_view":{"id":4,"name":"Default
18974
        Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}]}
18975

  
18976
'
19360
      string: |
19361
        {"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":9,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-09 20:02:16 UTC","updated_at":"2016-09-09 20:02:18 UTC","content_view":{"id":4,"name":"Default Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}]}
18977 19362
    http_version: 
18978
  recorded_at: Wed, 07 Sep 2016 01:40:28 GMT
19363
  recorded_at: Fri, 09 Sep 2016 20:02:21 GMT
18979 19364
- request:
18980 19365
    method: get
18981 19366
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/content_views?per_page=999999
......
18988 19373
      Accept-Encoding:
18989 19374
      - gzip, deflate
18990 19375
      User-Agent:
18991
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
19376
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
18992 19377
      Content-Type:
18993 19378
      - application/json
18994 19379
      Host:
......
18999 19384
      message: OK
19000 19385
    headers:
19001 19386
      Date:
19002
      - Wed, 07 Sep 2016 01:40:28 GMT
19387
      - Fri, 09 Sep 2016 20:02:21 GMT
19003 19388
      Server:
19004 19389
      - Apache/2.4.6 (CentOS)
19005 19390
      X-Frame-Options:
......
19009 19394
      X-Content-Type-Options:
19010 19395
      - nosniff
19011 19396
      Foreman-Version:
19012
      - 1.13.0-develop
19397
      - 1.14.0-develop
19013 19398
      Foreman-Api-Version:
19014 19399
      - '2'
19015 19400
      Content-Type:
......
19017 19402
      Apipie-Checksum:
19018 19403
      - 9544abef9cf8343005f07ed8c9f1f8e7
19019 19404
      Etag:
19020
      - W/"03f38d8af9b5fd97ac1abdabbb6859cb-gzip"
19405
      - W/"3734bfdd6a7a2f63dc3287517cd52e78-gzip"
19021 19406
      Cache-Control:
19022 19407
      - max-age=0, private, must-revalidate
19023 19408
      X-Request-Id:
19024
      - 45e06d49-71ee-4ab8-bb6c-845b0db0424f
19409
      - bc379be4-47df-4ad7-8baa-4e34b0797916
19025 19410
      X-Runtime:
19026
      - '0.333950'
19411
      - '1.469005'
19027 19412
      Via:
19028 19413
      - 1.1 katello.example.com:50191
19029 19414
      Vary:
19030 19415
      - Accept-Encoding
19031 19416
      Content-Length:
19032
      - '972'
19417
      - '1770'
19033 19418
      Set-Cookie:
19034
      - _session_id=87136be50ca847172c73dfed193c59ac; path=/; HttpOnly
19419
      - _session_id=467861c61cdfe4a866187a983e6430ef; path=/; HttpOnly
19035 19420
    body:
19036 19421
      encoding: ASCII-8BIT
19037
      string: '{"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":4,"name":"Default
19038
        Organization View","label":"bd072dcb-fc48-4a08-87c5-4f09acf4c936","description":null,"organization":{"name":"Test
19039
        Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:06
19040
        UTC","updated_at":"2016-09-07 01:39:06 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":4,"version":"1.0","published":"2016-09-07
19041
        01:39:06 UTC","environment_ids":[7]}],"components":[],"activation_keys":[{"id":2,"name":"testakey1"}],"last_published":"2016-09-07
19042
        01:39:06 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
19043

  
19044
'
19422
      string: |
19423
        {"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":5,"name":"Test Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:30 UTC","updated_at":"2016-09-08 17:34:33 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":5,"version":"1.0","published":"2016-09-08 17:34:33 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-09-08 17:34:33 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}},{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":4,"name":"Default Organization View","label":"bd072dcb-fc48-4a08-87c5-4f09acf4c936","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:06 UTC","updated_at":"2016-09-07 01:39:06 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":4,"version":"1.0","published":"2016-09-07 01:39:06 UTC","environment_ids":[7]}],"components":[],"activation_keys":[{"id":9,"name":"testakey1"}],"last_published":"2016-09-07 01:39:06 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
19045 19424
    http_version: 
19046
  recorded_at: Wed, 07 Sep 2016 01:40:29 GMT
19425
  recorded_at: Fri, 09 Sep 2016 20:02:23 GMT
19047 19426
- request:
19048 19427
    method: put
19049
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys/2
19428
    uri: https://admin:changeme@katello.example.com:50191/katello/api/activation_keys/9
19050 19429
    body:
19051 19430
      encoding: UTF-8
19052 19431
      string: '{"organization_id":9,"name":"testakey1","environment_id":null,"content_view_id":4,"description":null,"unlimited_content_hosts":false,"max_content_hosts":0,"service_level":null,"release_version":null}'
......
19056 19435
      Accept-Encoding:
19057 19436
      - gzip, deflate
19058 19437
      User-Agent:
19059
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
19438
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
19060 19439
      Content-Type:
19061 19440
      - application/json
19062 19441
      Content-Length:
......
19069 19448
      message: OK
19070 19449
    headers:
19071 19450
      Date:
19072
      - Wed, 07 Sep 2016 01:40:28 GMT
19451
      - Fri, 09 Sep 2016 20:02:22 GMT
19073 19452
      Server:
19074 19453
      - Apache/2.4.6 (CentOS)
19075 19454
      X-Frame-Options:
......
19079 19458
      X-Content-Type-Options:
19080 19459
      - nosniff
19081 19460
      Foreman-Version:
19082
      - 1.13.0-develop
19461
      - 1.14.0-develop
19083 19462
      Foreman-Api-Version:
19084 19463
      - '2'
19085 19464
      Content-Type:
......
19087 19466
      Apipie-Checksum:
19088 19467
      - 9544abef9cf8343005f07ed8c9f1f8e7
19089 19468
      Etag:
19090
      - W/"c24be5ed00685c20545c7596122ae889-gzip"
19469
      - W/"6acefffc135897ba77c715ed3025aa91-gzip"
19091 19470
      Cache-Control:
19092 19471
      - max-age=0, private, must-revalidate
19093 19472
      X-Request-Id:
19094
      - 3d1a690f-6f58-4c49-99fa-7fee727cc7db
19473
      - 86506d30-a575-4677-afb8-6f0eb5a44cac
19095 19474
      X-Runtime:
19096
      - '1.949798'
19475
      - '1.971303'
19097 19476
      Via:
19098 19477
      - 1.1 katello.example.com:50191
19099 19478
      Vary:
......
19101 19480
      Content-Length:
19102 19481
      - '611'
19103 19482
      Set-Cookie:
19104
      - _session_id=1d83b02f7fd9d81c18dfe06b5d4b7fb0; path=/; HttpOnly
19483
      - _session_id=628ddd90f5a00bfb4dffb8a617b40ff1; path=/; HttpOnly
19105 19484
      - request_method=PUT; path=/
19106 19485
    body:
19107 19486
      encoding: ASCII-8BIT
19108
      string: '  {"id":2,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test
19109
        Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:40:24
19110
        UTC","updated_at":"2016-09-07 01:40:25 UTC","content_view":{"id":4,"name":"Default
19111
        Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}
19112

  
19113
'
19487
      string: |2
19488
          {"id":9,"name":"testakey1","description":null,"unlimited_hosts":true,"auto_attach":true,"content_view_id":4,"environment_id":null,"usage_count":0,"user_id":3,"max_hosts":null,"release_version":null,"service_level":null,"content_overrides":[],"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-09 20:02:16 UTC","updated_at":"2016-09-09 20:02:18 UTC","content_view":{"id":4,"name":"Default Organization View"},"environment":null,"products":null,"host_collections":[],"permissions":{"view_activation_keys":true,"edit_activation_keys":true,"destroy_activation_keys":true}}
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff