Project

General

Profile

Revision 400832c6

Added by Thomas McKay over 5 years ago

fixes #16493 - create manifest in portal

View differences:

test/fixtures/vcr_cassettes/setup/setup_lifecycle_environments/setup.yml
19 19
      message: OK
20 20
    headers:
21 21
      Date:
22
      - Fri, 09 Sep 2016 20:04:32 GMT
22
      - Mon, 12 Sep 2016 15:39:41 GMT
23 23
      Server:
24 24
      - Apache/2.4.6 (CentOS)
25 25
      X-Frame-Options:
......
41 41
      Cache-Control:
42 42
      - max-age=0, private, must-revalidate
43 43
      X-Request-Id:
44
      - 5e78e7bc-9ac2-4efc-b4cc-7c120795d660
44
      - f411da2d-82ff-4e7e-9a40-101c5dac12c1
45 45
      X-Runtime:
46
      - '0.196733'
46
      - '0.209871'
47 47
      Via:
48 48
      - 1.1 katello.example.com:50191
49 49
      Vary:
......
51 51
      Content-Length:
52 52
      - '81'
53 53
      Set-Cookie:
54
      - _session_id=f5fa05806ada8b520cf7446769a096d0; path=/; HttpOnly
54
      - _session_id=823247ac70fd77eae451215027f619e8; path=/; HttpOnly
55 55
    body:
56 56
      encoding: UTF-8
57 57
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
58 58
    http_version: 
59
  recorded_at: Fri, 09 Sep 2016 20:04:33 GMT
59
  recorded_at: Mon, 12 Sep 2016 15:39:42 GMT
60 60
- request:
61 61
    method: get
62 62
    uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
......
76 76
      message: OK
77 77
    headers:
78 78
      Date:
79
      - Fri, 09 Sep 2016 20:04:32 GMT
79
      - Mon, 12 Sep 2016 15:39:42 GMT
80 80
      Server:
81 81
      - Apache/2.4.6 (CentOS)
82 82
      X-Frame-Options:
......
98 98
      Cache-Control:
99 99
      - max-age=0, private, must-revalidate
100 100
      X-Request-Id:
101
      - f8e8fe7e-7ff5-4e4c-8842-c0ad4d3d71b8
101
      - e285274a-6ea0-4665-965c-464cc30d48c4
102 102
      X-Runtime:
103
      - '0.178158'
103
      - '0.181014'
104 104
      Via:
105 105
      - 1.1 katello.example.com:50191
106 106
      Vary:
......
108 108
      Content-Length:
109 109
      - '566'
110 110
      Set-Cookie:
111
      - _session_id=fbfd3f225496515121b6f0e3ea4c6553; path=/; HttpOnly
111
      - _session_id=64ba03c8d03f03adc3377578c49d6fa0; path=/; HttpOnly
112 112
    body:
113 113
      encoding: ASCII-8BIT
114 114
      string: !binary |-
......
138 138
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
139 139
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
140 140
    http_version: 
141
  recorded_at: Fri, 09 Sep 2016 20:04:33 GMT
141
  recorded_at: Mon, 12 Sep 2016 15:39:42 GMT
142 142
- request:
143 143
    method: get
144 144
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999
......
162 162
      message: OK
163 163
    headers:
164 164
      Date:
165
      - Fri, 09 Sep 2016 20:04:32 GMT
165
      - Mon, 12 Sep 2016 15:39:42 GMT
166 166
      Server:
167 167
      - Apache/2.4.6 (CentOS)
168 168
      X-Frame-Options:
......
184 184
      Cache-Control:
185 185
      - max-age=0, private, must-revalidate
186 186
      X-Request-Id:
187
      - a76a3d61-aed3-4aeb-90c5-d8d3a9efbcfc
187
      - 78121692-d37b-40a2-8f57-5c4bb9a9bf13
188 188
      X-Runtime:
189
      - '0.220072'
189
      - '1.255230'
190 190
      Via:
191 191
      - 1.1 katello.example.com:50191
192 192
      Vary:
......
194 194
      Content-Length:
195 195
      - '792'
196 196
      Set-Cookie:
197
      - _session_id=091e0cd198cb7a9a843b02c8d4dcb388; path=/; HttpOnly
197
      - _session_id=904045ae21de1f46fd1b39559e487a7a; path=/; HttpOnly
198 198
    body:
199 199
      encoding: ASCII-8BIT
200 200
      string: |
......
211 211
          "results": [{"label":"Default_Organization","created_at":"2016-09-02 14:00:59 UTC","updated_at":"2016-09-02 14:00:59 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"examplecorp","created_at":"2016-09-02 15:00:24 UTC","updated_at":"2016-09-02 15:00:24 UTC","id":3,"name":"Example Corporation","title":"Example Corporation","description":"The number one example company in the world!"},{"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"}]
212 212
        }
213 213
    http_version: 
214
  recorded_at: Fri, 09 Sep 2016 20:04:33 GMT
214
  recorded_at: Mon, 12 Sep 2016 15:39:44 GMT
215 215
- request:
216 216
    method: get
217 217
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
......
235 235
      message: OK
236 236
    headers:
237 237
      Date:
238
      - Fri, 09 Sep 2016 20:04:33 GMT
238
      - Mon, 12 Sep 2016 15:39:43 GMT
239 239
      Server:
240 240
      - Apache/2.4.6 (CentOS)
241 241
      X-Frame-Options:
......
257 257
      Cache-Control:
258 258
      - max-age=0, private, must-revalidate
259 259
      X-Request-Id:
260
      - cbd26007-2002-44b6-868e-b53f0838068e
260
      - f493c50b-c32e-4485-9cb4-c19ab7315507
261 261
      X-Runtime:
262
      - '1.277271'
262
      - '0.358378'
263 263
      Via:
264 264
      - 1.1 katello.example.com:50191
265 265
      Vary:
......
267 267
      Content-Length:
268 268
      - '379'
269 269
      Set-Cookie:
270
      - _session_id=4661d43342244c01e38fcf97c0dc4fd2; path=/; HttpOnly
270
      - _session_id=33583744cc7f930e21508d79101d7602; path=/; HttpOnly
271 271
    body:
272 272
      encoding: ASCII-8BIT
273 273
      string: |
......
284 284
          "results": [{"label":"Default_Organization","created_at":"2016-09-02 14:00:59 UTC","updated_at":"2016-09-02 14:00:59 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null}]
285 285
        }
286 286
    http_version: 
287
  recorded_at: Fri, 09 Sep 2016 20:04:34 GMT
287
  recorded_at: Mon, 12 Sep 2016 15:39:44 GMT
288 288
- request:
289 289
    method: get
290 290
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/1/environments?per_page=999999
......
308 308
      message: OK
309 309
    headers:
310 310
      Date:
311
      - Fri, 09 Sep 2016 20:04:34 GMT
311
      - Mon, 12 Sep 2016 15:39:44 GMT
312 312
      Server:
313 313
      - Apache/2.4.6 (CentOS)
314 314
      X-Frame-Options:
......
330 330
      Cache-Control:
331 331
      - max-age=0, private, must-revalidate
332 332
      X-Request-Id:
333
      - 0bd45bcc-e416-41b2-b96c-7829503c15c4
333
      - ce0538a5-1a10-405c-8a75-67d6ecf62e86
334 334
      X-Runtime:
335
      - '0.379026'
335
      - '1.396106'
336 336
      Via:
337 337
      - 1.1 katello.example.com:50191
338 338
      Vary:
......
340 340
      Content-Length:
341 341
      - '835'
342 342
      Set-Cookie:
343
      - _session_id=22aa0f16d9dcd99e83e35b55279a6eb3; path=/; HttpOnly
343
      - _session_id=d2d62b89a27e73f51b62b220b4b3e24a; path=/; HttpOnly
344 344
    body:
345 345
      encoding: ASCII-8BIT
346 346
      string: |
347 347
        {"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":true,"id":1,"name":"Library","label":"Library","description":null,"organization":{"name":"Default Organization","label":"Default_Organization","id":1},"created_at":"2016-09-02 14:01:04 UTC","updated_at":"2016-09-02 14:01:04 UTC","prior":null,"successor":null,"counts":{"content_hosts":1,"content_views":0,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":0,"docker_repositories":0,"ostree_repositories":0,"products":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}]}
348 348
    http_version: 
349
  recorded_at: Fri, 09 Sep 2016 20:04:35 GMT
349
  recorded_at: Mon, 12 Sep 2016 15:39:45 GMT
350 350
- request:
351 351
    method: get
352 352
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Example%20Corporation%22
......
370 370
      message: OK
371 371
    headers:
372 372
      Date:
373
      - Fri, 09 Sep 2016 20:04:34 GMT
373
      - Mon, 12 Sep 2016 15:39:45 GMT
374 374
      Server:
375 375
      - Apache/2.4.6 (CentOS)
376 376
      X-Frame-Options:
......
392 392
      Cache-Control:
393 393
      - max-age=0, private, must-revalidate
394 394
      X-Request-Id:
395
      - 26f251d7-e5ae-4446-8b77-4cb3604c4a87
395
      - cb381b9c-a5ce-4e7f-8a95-60e68c709d95
396 396
      X-Runtime:
397
      - '0.215495'
397
      - '0.223449'
398 398
      Via:
399 399
      - 1.1 katello.example.com:50191
400 400
      Vary:
......
402 402
      Content-Length:
403 403
      - '409'
404 404
      Set-Cookie:
405
      - _session_id=f1abb7c46848a4f0525a559bf1a38adb; path=/; HttpOnly
405
      - _session_id=56296a09ca52e4bfff2b0fc5a42f501e; path=/; HttpOnly
406 406
    body:
407 407
      encoding: ASCII-8BIT
408 408
      string: |
......
419 419
          "results": [{"label":"examplecorp","created_at":"2016-09-02 15:00:24 UTC","updated_at":"2016-09-02 15:00:24 UTC","id":3,"name":"Example Corporation","title":"Example Corporation","description":"The number one example company in the world!"}]
420 420
        }
421 421
    http_version: 
422
  recorded_at: Fri, 09 Sep 2016 20:04:35 GMT
422
  recorded_at: Mon, 12 Sep 2016 15:39:46 GMT
423 423
- request:
424 424
    method: get
425 425
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/3/environments?per_page=999999
......
443 443
      message: OK
444 444
    headers:
445 445
      Date:
446
      - Fri, 09 Sep 2016 20:04:35 GMT
446
      - Mon, 12 Sep 2016 15:39:45 GMT
447 447
      Server:
448 448
      - Apache/2.4.6 (CentOS)
449 449
      X-Frame-Options:
......
465 465
      Cache-Control:
466 466
      - max-age=0, private, must-revalidate
467 467
      X-Request-Id:
468
      - b71f5ece-96d7-4e8f-8b21-25fd299157ab
468
      - bd703f33-37ec-4ba1-a162-3e22928e45a4
469 469
      X-Runtime:
470
      - '1.817325'
470
      - '1.884815'
471 471
      Via:
472 472
      - 1.1 katello.example.com:50191
473 473
      Vary:
......
475 475
      Content-Length:
476 476
      - '3238'
477 477
      Set-Cookie:
478
      - _session_id=203c62d9f2535db08a63afb7bbab5818; path=/; HttpOnly
478
      - _session_id=179f745211e7e8f056a784ec68433617; path=/; HttpOnly
479 479
    body:
480 480
      encoding: ASCII-8BIT
481 481
      string: |
482 482
        {"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":4,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-09-02 18:20:05 UTC","updated_at":"2016-09-02 18:20:05 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":1},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":5,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-09-02 18:20:08 UTC","updated_at":"2016-09-02 18:20:08 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":1},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":2,"name":"Library","label":"Library","description":null,"organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-09-02 15:00:26 UTC","updated_at":"2016-09-02 15:00:26 UTC","prior":null,"successor":null,"counts":{"content_hosts":9,"content_views":1,"packages":595,"puppet_modules":0,"errata":{"security":5,"bugfix":18,"enhancement":5,"total":28},"yum_repositories":1,"docker_repositories":0,"ostree_repositories":1,"products":2},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":3,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-09-02 18:20:03 UTC","updated_at":"2016-09-02 18:20:03 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":1},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-09-02 18:20:11 UTC","updated_at":"2016-09-02 18:20:11 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
483 483
    http_version: 
484
  recorded_at: Fri, 09 Sep 2016 20:04:37 GMT
484
  recorded_at: Mon, 12 Sep 2016 15:39:48 GMT
485 485
- request:
486 486
    method: get
487 487
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
505 505
      message: OK
506 506
    headers:
507 507
      Date:
508
      - Fri, 09 Sep 2016 20:04:36 GMT
508
      - Mon, 12 Sep 2016 15:39:47 GMT
509 509
      Server:
510 510
      - Apache/2.4.6 (CentOS)
511 511
      X-Frame-Options:
......
527 527
      Cache-Control:
528 528
      - max-age=0, private, must-revalidate
529 529
      X-Request-Id:
530
      - 85d91851-7e36-46fb-9bfc-46fa4be0920e
530
      - 7ae3011e-5659-42af-8c4d-67953ccf1def
531 531
      X-Runtime:
532
      - '0.222561'
532
      - '0.241815'
533 533
      Via:
534 534
      - 1.1 katello.example.com:50191
535 535
      Vary:
......
537 537
      Content-Length:
538 538
      - '388'
539 539
      Set-Cookie:
540
      - _session_id=416d90624b0aa06040aaecb219928ab1; path=/; HttpOnly
540
      - _session_id=7ce2e9dd1c07dd5862c45968f5c5fe12; path=/; HttpOnly
541 541
    body:
542 542
      encoding: ASCII-8BIT
543 543
      string: |
......
554 554
          "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"}]
555 555
        }
556 556
    http_version: 
557
  recorded_at: Fri, 09 Sep 2016 20:04:37 GMT
557
  recorded_at: Mon, 12 Sep 2016 15:39:48 GMT
558 558
- request:
559 559
    method: get
560 560
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/environments?per_page=999999
......
578 578
      message: OK
579 579
    headers:
580 580
      Date:
581
      - Fri, 09 Sep 2016 20:04:37 GMT
581
      - Mon, 12 Sep 2016 15:39:47 GMT
582 582
      Server:
583 583
      - Apache/2.4.6 (CentOS)
584 584
      X-Frame-Options:
......
600 600
      Cache-Control:
601 601
      - max-age=0, private, must-revalidate
602 602
      X-Request-Id:
603
      - 6b2400ed-5652-4bd1-b0de-8f3630093a85
603
      - a94dfabb-fcb5-45db-aa40-039213bdc461
604 604
      X-Runtime:
605
      - '1.770496'
605
      - '1.929619'
606 606
      Via:
607 607
      - 1.1 katello.example.com:50191
608 608
      Vary:
......
610 610
      Content-Length:
611 611
      - '3209'
612 612
      Set-Cookie:
613
      - _session_id=ac43af011027de8b7ede482d848eb0cc; path=/; HttpOnly
613
      - _session_id=c7e37f3f2905b4b0d63b5a0f2d19c723; path=/; HttpOnly
614 614
    body:
615 615
      encoding: ASCII-8BIT
616 616
      string: |
617 617
        {"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":9,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:52 UTC","updated_at":"2016-09-08 17:34:52 UTC","prior":{"name":"Development","id":8},"successor":{"name":"Production","id":10},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":10,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:56 UTC","updated_at":"2016-09-08 17:34:56 UTC","prior":{"name":"Test","id":9},"successor":{"name":"Archive","id":11},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":7,"name":"Library","label":"Library","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:05 UTC","updated_at":"2016-09-07 01:39:05 UTC","prior":null,"successor":null,"counts":{"content_hosts":0,"content_views":1,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":2,"docker_repositories":0,"ostree_repositories":0,"products":1},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":8,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:50 UTC","updated_at":"2016-09-08 17:34:50 UTC","prior":{"name":"Library","id":7},"successor":{"name":"Test","id":9},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":11,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:58 UTC","updated_at":"2016-09-08 17:34:58 UTC","prior":{"name":"Production","id":10},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
618 618
    http_version: 
619
  recorded_at: Fri, 09 Sep 2016 20:04:39 GMT
619
  recorded_at: Mon, 12 Sep 2016 15:39:50 GMT
620 620
- request:
621 621
    method: put
622 622
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/8
......
642 642
      message: OK
643 643
    headers:
644 644
      Date:
645
      - Fri, 09 Sep 2016 20:04:39 GMT
645
      - Mon, 12 Sep 2016 15:39:49 GMT
646 646
      Server:
647 647
      - Apache/2.4.6 (CentOS)
648 648
      X-Frame-Options:
......
664 664
      Cache-Control:
665 665
      - max-age=0, private, must-revalidate
666 666
      X-Request-Id:
667
      - cc0488cc-7351-4d55-ac6a-229209c30ddf
667
      - b2cb02ec-61dc-43e9-9f57-4b9fa3930cf3
668 668
      X-Runtime:
669
      - '1.481445'
669
      - '0.450480'
670 670
      Via:
671 671
      - 1.1 katello.example.com:50191
672 672
      Vary:
......
674 674
      Content-Length:
675 675
      - '611'
676 676
      Set-Cookie:
677
      - _session_id=295d73a909fb060e27f4f771ae3e6be3; path=/; HttpOnly
677
      - _session_id=b7b6670b9085da22e41ca0ae37e034c8; path=/; HttpOnly
678 678
      - request_method=PUT; path=/
679 679
    body:
680 680
      encoding: ASCII-8BIT
681 681
      string: |2
682 682
          {"library":false,"id":8,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:50 UTC","updated_at":"2016-09-08 17:34:50 UTC","prior":{"name":"Library","id":7},"successor":{"name":"Test","id":9},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
683 683
    http_version: 
684
  recorded_at: Fri, 09 Sep 2016 20:04:40 GMT
684
  recorded_at: Mon, 12 Sep 2016 15:39:50 GMT
685 685
- request:
686 686
    method: put
687 687
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/9
......
707 707
      message: OK
708 708
    headers:
709 709
      Date:
710
      - Fri, 09 Sep 2016 20:04:40 GMT
710
      - Mon, 12 Sep 2016 15:39:50 GMT
711 711
      Server:
712 712
      - Apache/2.4.6 (CentOS)
713 713
      X-Frame-Options:
......
729 729
      Cache-Control:
730 730
      - max-age=0, private, must-revalidate
731 731
      X-Request-Id:
732
      - d5008ddb-73c6-4897-a1d4-a96205dc722d
732
      - 2dc47b8b-5ca8-4e1d-b5a4-25363e730fe2
733 733
      X-Runtime:
734
      - '0.396450'
734
      - '1.409081'
735 735
      Via:
736 736
      - 1.1 katello.example.com:50191
737 737
      Vary:
......
739 739
      Content-Length:
740 740
      - '604'
741 741
      Set-Cookie:
742
      - _session_id=42794b9c66048758d4b7349e3208eb36; path=/; HttpOnly
742
      - _session_id=e0ea3fa460b80c7cb5068e4a4249ce84; path=/; HttpOnly
743 743
      - request_method=PUT; path=/
744 744
    body:
745 745
      encoding: ASCII-8BIT
746 746
      string: |2
747 747
          {"library":false,"id":9,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:52 UTC","updated_at":"2016-09-08 17:34:52 UTC","prior":{"name":"Development","id":8},"successor":{"name":"Production","id":10},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
748 748
    http_version: 
749
  recorded_at: Fri, 09 Sep 2016 20:04:41 GMT
749
  recorded_at: Mon, 12 Sep 2016 15:39:52 GMT
750 750
- request:
751 751
    method: put
752 752
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/10
......
772 772
      message: OK
773 773
    headers:
774 774
      Date:
775
      - Fri, 09 Sep 2016 20:04:40 GMT
775
      - Mon, 12 Sep 2016 15:39:51 GMT
776 776
      Server:
777 777
      - Apache/2.4.6 (CentOS)
778 778
      X-Frame-Options:
......
794 794
      Cache-Control:
795 795
      - max-age=0, private, must-revalidate
796 796
      X-Request-Id:
797
      - e47c5fba-195c-45a2-b8b7-d1622e9749fa
797
      - c8a3c490-c18e-4895-8615-2bbb11db2e1a
798 798
      X-Runtime:
799
      - '1.475747'
799
      - '0.390505'
800 800
      Via:
801 801
      - 1.1 katello.example.com:50191
802 802
      Vary:
......
804 804
      Content-Length:
805 805
      - '606'
806 806
      Set-Cookie:
807
      - _session_id=5de21afa539565ee0f9ccdf89e41ddc4; path=/; HttpOnly
807
      - _session_id=c5709b95972a38bfe9ef73072b452898; path=/; HttpOnly
808 808
      - request_method=PUT; path=/
809 809
    body:
810 810
      encoding: ASCII-8BIT
811 811
      string: |2
812 812
          {"library":false,"id":10,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:56 UTC","updated_at":"2016-09-08 17:34:56 UTC","prior":{"name":"Test","id":9},"successor":{"name":"Archive","id":11},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
813 813
    http_version: 
814
  recorded_at: Fri, 09 Sep 2016 20:04:42 GMT
814
  recorded_at: Mon, 12 Sep 2016 15:39:52 GMT
815 815
- request:
816 816
    method: put
817 817
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/11
......
837 837
      message: OK
838 838
    headers:
839 839
      Date:
840
      - Fri, 09 Sep 2016 20:04:42 GMT
840
      - Mon, 12 Sep 2016 15:39:52 GMT
841 841
      Server:
842 842
      - Apache/2.4.6 (CentOS)
843 843
      X-Frame-Options:
......
859 859
      Cache-Control:
860 860
      - max-age=0, private, must-revalidate
861 861
      X-Request-Id:
862
      - 63e3ddf7-6488-4f42-805e-851a1bd61ee3
862
      - 1b8acbb8-0fc9-4616-bfff-52287662d9ca
863 863
      X-Runtime:
864
      - '0.363383'
864
      - '1.410957'
865 865
      Via:
866 866
      - 1.1 katello.example.com:50191
867 867
      Vary:
......
869 869
      Content-Length:
870 870
      - '577'
871 871
      Set-Cookie:
872
      - _session_id=96dbeac27fb9a563c1ae665676d7fd28; path=/; HttpOnly
872
      - _session_id=7073965c1ee5226bc4a95c1a10c4ce50; path=/; HttpOnly
873 873
      - request_method=PUT; path=/
874 874
    body:
875 875
      encoding: ASCII-8BIT
876 876
      string: |2
877 877
          {"library":false,"id":11,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:58 UTC","updated_at":"2016-09-08 17:34:58 UTC","prior":{"name":"Production","id":10},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}
878 878
    http_version: 
879
  recorded_at: Fri, 09 Sep 2016 20:04:43 GMT
879
  recorded_at: Mon, 12 Sep 2016 15:39:54 GMT
880 880
recorded_with: VCR 3.0.3

Also available in: Unified diff