Project

General

Profile

Revision 2bf1b05c

Added by Thomas McKay over 5 years ago

recorded test=setup/setup

View differences:

test/fixtures/vcr_cassettes/setup/setup_subscriptions/setup.yml
272 272
      message: 'OK '
273 273
    headers:
274 274
      Date:
275
      - Fri, 30 Sep 2016 15:40:11 GMT
275
      - Wed, 12 Oct 2016 14:11:27 GMT
276 276
      Server:
277 277
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
278 278
      Foreman-Version:
......
288 288
      Cache-Control:
289 289
      - max-age=0, private, must-revalidate
290 290
      X-Request-Id:
291
      - 6495c008-c2e6-4030-99ca-f874d5abdce7
291
      - c6e1fafa-59cb-487a-a21b-7a49f8f95d99
292 292
      X-Runtime:
293
      - '0.063115'
293
      - '0.081399'
294 294
      Content-Security-Policy:
295 295
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
296 296
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
314 314
      Content-Length:
315 315
      - '81'
316 316
      Set-Cookie:
317
      - _session_id=e0bb9e4d97611f5612401cee55ba54b0; path=/; HttpOnly
317
      - _session_id=85e1f5067933b4f510394dc7c372c0f5; path=/; HttpOnly
318 318
    body:
319 319
      encoding: UTF-8
320 320
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
321 321
    http_version: 
322
  recorded_at: Fri, 30 Sep 2016 15:40:12 GMT
322
  recorded_at: Wed, 12 Oct 2016 14:11:27 GMT
323 323
- request:
324 324
    method: get
325 325
    uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
......
339 339
      message: 'OK '
340 340
    headers:
341 341
      Date:
342
      - Fri, 30 Sep 2016 15:40:11 GMT
342
      - Wed, 12 Oct 2016 14:11:27 GMT
343 343
      Server:
344 344
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
345 345
      Foreman-Version:
......
355 355
      Cache-Control:
356 356
      - max-age=0, private, must-revalidate
357 357
      X-Request-Id:
358
      - 68ed4e1f-8060-425b-ba07-722a30ab686a
358
      - acb3bea2-835a-41ea-8933-0b14612c4d80
359 359
      X-Runtime:
360
      - '0.067810'
360
      - '0.069202'
361 361
      Content-Security-Policy:
362 362
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
363 363
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
381 381
      Content-Length:
382 382
      - '565'
383 383
      Set-Cookie:
384
      - _session_id=ea8cf838ed73f23e356c7035169bced5; path=/; HttpOnly
384
      - _session_id=a52067d8fa99314ec313bf9da9d6f92e; path=/; HttpOnly
385 385
    body:
386 386
      encoding: ASCII-8BIT
387 387
      string: !binary |-
......
411 411
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
412 412
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
413 413
    http_version: 
414
  recorded_at: Fri, 30 Sep 2016 15:40:12 GMT
414
  recorded_at: Wed, 12 Oct 2016 14:11:27 GMT
415 415
- request:
416 416
    method: get
417 417
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999
......
437 437
      message: 'OK '
438 438
    headers:
439 439
      Date:
440
      - Fri, 30 Sep 2016 15:40:11 GMT
440
      - Wed, 12 Oct 2016 14:11:27 GMT
441 441
      Server:
442 442
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
443 443
      Foreman-Version:
......
453 453
      Cache-Control:
454 454
      - max-age=0, private, must-revalidate
455 455
      X-Request-Id:
456
      - 10301bde-4924-4486-b8ef-930c05f14c6d
456
      - e85cdf29-fd82-448c-85e2-943de8b223de
457 457
      X-Runtime:
458
      - '0.083312'
458
      - '0.080751'
459 459
      Content-Security-Policy:
460 460
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
461 461
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
479 479
      Content-Length:
480 480
      - '563'
481 481
      Set-Cookie:
482
      - _session_id=9abf44b82978e6b79fd2bf9d480281f6; path=/; HttpOnly
482
      - _session_id=032164fd9e82e0623fba39f40546e088; path=/; HttpOnly
483 483
    body:
484 484
      encoding: ASCII-8BIT
485 485
      string: |
......
496 496
          "results": [{"label":"Default_Organization","created_at":"2016-09-30 14:47:05 UTC","updated_at":"2016-09-30 14:47:05 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30 15:10:48 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
497 497
        }
498 498
    http_version: 
499
  recorded_at: Fri, 30 Sep 2016 15:40:12 GMT
499
  recorded_at: Wed, 12 Oct 2016 14:11:27 GMT
500 500
- request:
501 501
    method: get
502 502
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8
......
522 522
      message: 'OK '
523 523
    headers:
524 524
      Date:
525
      - Fri, 30 Sep 2016 15:40:11 GMT
525
      - Wed, 12 Oct 2016 14:11:28 GMT
526 526
      Server:
527 527
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
528 528
      Foreman-Version:
......
538 538
      Cache-Control:
539 539
      - max-age=0, private, must-revalidate
540 540
      X-Request-Id:
541
      - f54f61f3-a8c7-426d-b261-f2250e2f66b8
541
      - 3d423272-f038-444c-acd3-7eaf10e740a4
542 542
      X-Runtime:
543
      - '0.369487'
543
      - '1.389512'
544 544
      Content-Security-Policy:
545 545
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
546 546
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
564 564
      Content-Length:
565 565
      - '21677'
566 566
      Set-Cookie:
567
      - _session_id=63752383ed17bdcf6fcdfa7f765afbb1; path=/; HttpOnly
567
      - _session_id=aa6a40b82e4e2612bd822ebf13189d9a; path=/; HttpOnly
568 568
    body:
569 569
      encoding: ASCII-8BIT
570 570
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff808081577b8f0201577ba5d9850003","key":"testcorp","displayName":"Test
......
699 699
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
700 700
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[],"default_content_view_id":2,"library_id":2}'
701 701
    http_version: 
702
  recorded_at: Fri, 30 Sep 2016 15:40:12 GMT
702
  recorded_at: Wed, 12 Oct 2016 14:11:28 GMT
703 703
- request:
704 704
    method: get
705 705
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8/subscriptions?per_page=999999
......
725 725
      message: 'OK '
726 726
    headers:
727 727
      Date:
728
      - Fri, 30 Sep 2016 15:40:13 GMT
728
      - Wed, 12 Oct 2016 14:11:31 GMT
729 729
      Server:
730 730
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
731 731
      Foreman-Version:
......
741 741
      Cache-Control:
742 742
      - max-age=0, private, must-revalidate
743 743
      X-Request-Id:
744
      - 3476277f-000d-4cde-9981-628275b2687e
744
      - d2eaa71b-8ebb-4e6f-baf5-21739c184c44
745 745
      X-Runtime:
746
      - '1.649381'
746
      - '2.139245'
747 747
      Content-Security-Policy:
748 748
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
749 749
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
......
767 767
      Content-Length:
768 768
      - '1972'
769 769
      Set-Cookie:
770
      - _session_id=49589b6d1414c6d82bfabe4682045e60; path=/; HttpOnly
770
      - _session_id=ec89f290defceb9c9c6f6c59bf413f77; path=/; HttpOnly
771 771
    body:
772 772
      encoding: ASCII-8BIT
773 773
      string: |
774 774
        {"organization":{},"total":3,"subtotal":3,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":1,"cp_id":"ff808081577bae9001577bb702c100da","subscription_id":1,"name":"Red Hat Enterprise Linux for Virtual Datacenters, Premium","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999116,"support_level":"Premium","product_id":"RH00001","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux for Virtual Datacenters, Premium","unmapped_guest":false,"virt_only":false},{"id":4,"cp_id":"ff808081577bae9001577bb703900138","subscription_id":2,"name":"Red Hat Enterprise Linux for Virtual Datacenters, Standard","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999110,"support_level":"Standard","product_id":"RH00002","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux for Virtual Datacenters, Standard","unmapped_guest":false,"virt_only":false},{"id":2,"cp_id":"ff808081577bae9001577bb70420018a","subscription_id":3,"name":"Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":200,"quantity":200,"consumed":0,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
775 775
    http_version: 
776
  recorded_at: Fri, 30 Sep 2016 15:40:14 GMT
776
  recorded_at: Wed, 12 Oct 2016 14:11:30 GMT
777 777
recorded_with: VCR 3.0.3

Also available in: Unified diff