hammer_cli_csv 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/cli_config.yml +2 -1
- data/lib/hammer_cli_csv/base.rb +1 -1
- data/lib/hammer_cli_csv/content_hosts.rb +31 -10
- data/lib/hammer_cli_csv/version.rb +1 -1
- data/locale/Makefile +65 -0
- data/locale/README.md +18 -0
- data/locale/en/LC_MESSAGES/hammer-cli-csv.mo +0 -0
- data/locale/en/hammer-cli-csv.edit.po +454 -0
- data/locale/en/hammer-cli-csv.po +347 -0
- data/locale/en/hammer-cli-csv.po.time_stamp +0 -0
- data/locale/hammer-cli-csv.pot +485 -0
- data/test/fixtures/vcr_cassettes/apipie.yml +16841 -16457
- data/test/fixtures/vcr_cassettes/resources/content_hosts/import_search.yml +39420 -0
- data/test/fixtures/vcr_cassettes/resources/subscriptions/manifest_does_not_exist.yml +18065 -19
- data/test/fixtures/vcr_cassettes/resources/subscriptions/portal_existing_subscription.yml +44306 -40275
- data/test/fixtures/vcr_cassettes/resources/subscriptions/portal_incorrect_login.yml +55 -13
- data/test/fixtures/vcr_cassettes/setup/setup_content_views/setup.yml +18090 -44
- data/test/fixtures/vcr_cassettes/setup/setup_domains/setup.yml +43 -42
- data/test/fixtures/vcr_cassettes/setup/setup_lifecycle_environments/setup.yml +55 -55
- data/test/fixtures/vcr_cassettes/setup/setup_locations/setup.yml +40 -40
- data/test/fixtures/vcr_cassettes/setup/setup_organizations/setup.yml +25 -25
- data/test/fixtures/vcr_cassettes/setup/setup_subscriptions/setup.yml +25 -25
- data/test/resources/content_hosts_test.rb +38 -0
- metadata +11 -2
@@ -466,7 +466,7 @@ http_interactions:
|
|
466
466
|
message: 'OK '
|
467
467
|
headers:
|
468
468
|
Date:
|
469
|
-
-
|
469
|
+
- Wed, 12 Oct 2016 14:11:12 GMT
|
470
470
|
Server:
|
471
471
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
472
472
|
Foreman-Version:
|
@@ -482,9 +482,9 @@ http_interactions:
|
|
482
482
|
Cache-Control:
|
483
483
|
- max-age=0, private, must-revalidate
|
484
484
|
X-Request-Id:
|
485
|
-
-
|
485
|
+
- 00768aa1-6c0c-4979-93f4-7181a8035577
|
486
486
|
X-Runtime:
|
487
|
-
- '
|
487
|
+
- '1.089936'
|
488
488
|
Content-Security-Policy:
|
489
489
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
490
490
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -508,12 +508,12 @@ http_interactions:
|
|
508
508
|
Content-Length:
|
509
509
|
- '81'
|
510
510
|
Set-Cookie:
|
511
|
-
- _session_id=
|
511
|
+
- _session_id=0112b268d2fe08d9fe448a2a889ee65c; path=/; HttpOnly
|
512
512
|
body:
|
513
513
|
encoding: UTF-8
|
514
514
|
string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
|
515
515
|
http_version:
|
516
|
-
recorded_at:
|
516
|
+
recorded_at: Wed, 12 Oct 2016 14:11:12 GMT
|
517
517
|
- request:
|
518
518
|
method: get
|
519
519
|
uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
|
@@ -533,7 +533,7 @@ http_interactions:
|
|
533
533
|
message: 'OK '
|
534
534
|
headers:
|
535
535
|
Date:
|
536
|
-
-
|
536
|
+
- Wed, 12 Oct 2016 14:11:12 GMT
|
537
537
|
Server:
|
538
538
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
539
539
|
Foreman-Version:
|
@@ -549,9 +549,9 @@ http_interactions:
|
|
549
549
|
Cache-Control:
|
550
550
|
- max-age=0, private, must-revalidate
|
551
551
|
X-Request-Id:
|
552
|
-
-
|
552
|
+
- 0985a662-785c-48de-a155-7f21d349586c
|
553
553
|
X-Runtime:
|
554
|
-
- '0.
|
554
|
+
- '0.070365'
|
555
555
|
Content-Security-Policy:
|
556
556
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
557
557
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -575,7 +575,7 @@ http_interactions:
|
|
575
575
|
Content-Length:
|
576
576
|
- '565'
|
577
577
|
Set-Cookie:
|
578
|
-
- _session_id=
|
578
|
+
- _session_id=22adceb2d167f37c22cd612a213821e1; path=/; HttpOnly
|
579
579
|
body:
|
580
580
|
encoding: ASCII-8BIT
|
581
581
|
string: !binary |-
|
@@ -605,7 +605,7 @@ http_interactions:
|
|
605
605
|
ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
|
606
606
|
YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
|
607
607
|
http_version:
|
608
|
-
recorded_at:
|
608
|
+
recorded_at: Wed, 12 Oct 2016 14:11:12 GMT
|
609
609
|
- request:
|
610
610
|
method: get
|
611
611
|
uri: https://admin:changeme@katello.example.com:50218/api/domains?per_page=999999
|
@@ -631,7 +631,7 @@ http_interactions:
|
|
631
631
|
message: 'OK '
|
632
632
|
headers:
|
633
633
|
Date:
|
634
|
-
-
|
634
|
+
- Wed, 12 Oct 2016 14:11:13 GMT
|
635
635
|
Server:
|
636
636
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
637
637
|
Foreman-Version:
|
@@ -643,13 +643,13 @@ http_interactions:
|
|
643
643
|
Apipie-Checksum:
|
644
644
|
- 68d37bf606b9a03df6e1e749d6054009
|
645
645
|
Etag:
|
646
|
-
- W/"
|
646
|
+
- W/"a0c0f60edf08b186d7aaf464727c8b7f-gzip"
|
647
647
|
Cache-Control:
|
648
648
|
- max-age=0, private, must-revalidate
|
649
649
|
X-Request-Id:
|
650
|
-
-
|
650
|
+
- 0593ca01-0771-4128-a9e7-61bc8cc8d4b0
|
651
651
|
X-Runtime:
|
652
|
-
- '0.
|
652
|
+
- '0.218265'
|
653
653
|
Content-Security-Policy:
|
654
654
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
655
655
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -671,9 +671,9 @@ http_interactions:
|
|
671
671
|
Vary:
|
672
672
|
- Accept-Encoding
|
673
673
|
Content-Length:
|
674
|
-
- '
|
674
|
+
- '298'
|
675
675
|
Set-Cookie:
|
676
|
-
- _session_id=
|
676
|
+
- _session_id=f20f1803a83ba5fe834d6b331890e111; path=/; HttpOnly
|
677
677
|
body:
|
678
678
|
encoding: ASCII-8BIT
|
679
679
|
string: |
|
@@ -687,10 +687,10 @@ http_interactions:
|
|
687
687
|
"by": null,
|
688
688
|
"order": null
|
689
689
|
},
|
690
|
-
"results": [{"fullname":"","
|
690
|
+
"results": [{"fullname":"","created_at":"2016-09-30 15:04:14 UTC","updated_at":"2016-09-30 15:04:14 UTC","id":1,"name":"test.com","dns_id":null,"dns":null}]
|
691
691
|
}
|
692
692
|
http_version:
|
693
|
-
recorded_at:
|
693
|
+
recorded_at: Wed, 12 Oct 2016 14:11:12 GMT
|
694
694
|
- request:
|
695
695
|
method: put
|
696
696
|
uri: https://admin:changeme@katello.example.com:50218/api/domains/1
|
@@ -718,7 +718,7 @@ http_interactions:
|
|
718
718
|
message: 'OK '
|
719
719
|
headers:
|
720
720
|
Date:
|
721
|
-
-
|
721
|
+
- Wed, 12 Oct 2016 14:11:13 GMT
|
722
722
|
Server:
|
723
723
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
724
724
|
Foreman-Version:
|
@@ -730,13 +730,13 @@ http_interactions:
|
|
730
730
|
Apipie-Checksum:
|
731
731
|
- 68d37bf606b9a03df6e1e749d6054009
|
732
732
|
Etag:
|
733
|
-
- W/"
|
733
|
+
- W/"57190289406eb683e27dacfabcdf6498-gzip"
|
734
734
|
Cache-Control:
|
735
735
|
- max-age=0, private, must-revalidate
|
736
736
|
X-Request-Id:
|
737
|
-
-
|
737
|
+
- 2c83dc58-42e4-48a3-a72a-2f926ec6faa3
|
738
738
|
X-Runtime:
|
739
|
-
- '0.
|
739
|
+
- '0.190368'
|
740
740
|
Content-Security-Policy:
|
741
741
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
742
742
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -758,18 +758,19 @@ http_interactions:
|
|
758
758
|
Vary:
|
759
759
|
- Accept-Encoding
|
760
760
|
Content-Length:
|
761
|
-
- '
|
761
|
+
- '401'
|
762
762
|
Set-Cookie:
|
763
|
-
- _session_id=
|
763
|
+
- _session_id=ec5f23318ea9fe94e12af2bfb308dd5a; path=/; HttpOnly
|
764
764
|
- request_method=PUT; path=/
|
765
765
|
body:
|
766
766
|
encoding: ASCII-8BIT
|
767
|
-
string: '{"fullname":"","
|
768
|
-
15:04:14 UTC","id":1,"name":"test.com","
|
767
|
+
string: '{"fullname":"","created_at":"2016-09-30 15:04:14 UTC","updated_at":"2016-09-30
|
768
|
+
15:04:14 UTC","id":1,"name":"test.com","dns_id":null,"dns":null,"subnets":[{"id":1,"name":"Test
|
769
|
+
Subnet","network_address":"192.168.100.1/24"}],"interfaces":[],"parameters":[],"locations":[],"organizations":[{"id":8,"name":"Test
|
769
770
|
Corporation","title":"Test Corporation","description":"Testing today for a
|
770
771
|
better tomorrow"}]}'
|
771
772
|
http_version:
|
772
|
-
recorded_at:
|
773
|
+
recorded_at: Wed, 12 Oct 2016 14:11:13 GMT
|
773
774
|
- request:
|
774
775
|
method: get
|
775
776
|
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
|
@@ -795,7 +796,7 @@ http_interactions:
|
|
795
796
|
message: 'OK '
|
796
797
|
headers:
|
797
798
|
Date:
|
798
|
-
-
|
799
|
+
- Wed, 12 Oct 2016 14:11:13 GMT
|
799
800
|
Server:
|
800
801
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
801
802
|
Foreman-Version:
|
@@ -811,9 +812,9 @@ http_interactions:
|
|
811
812
|
Cache-Control:
|
812
813
|
- max-age=0, private, must-revalidate
|
813
814
|
X-Request-Id:
|
814
|
-
-
|
815
|
+
- 5066246f-4097-4c3c-baa7-ed78a80f8baf
|
815
816
|
X-Runtime:
|
816
|
-
- '0.
|
817
|
+
- '0.073436'
|
817
818
|
Content-Security-Policy:
|
818
819
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
819
820
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -837,7 +838,7 @@ http_interactions:
|
|
837
838
|
Content-Length:
|
838
839
|
- '388'
|
839
840
|
Set-Cookie:
|
840
|
-
- _session_id=
|
841
|
+
- _session_id=cca5a09e725194533c204bcfbed95764; path=/; HttpOnly
|
841
842
|
body:
|
842
843
|
encoding: ASCII-8BIT
|
843
844
|
string: |
|
@@ -854,7 +855,7 @@ http_interactions:
|
|
854
855
|
"results": [{"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"}]
|
855
856
|
}
|
856
857
|
http_version:
|
857
|
-
recorded_at:
|
858
|
+
recorded_at: Wed, 12 Oct 2016 14:11:13 GMT
|
858
859
|
- request:
|
859
860
|
method: get
|
860
861
|
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8
|
@@ -880,7 +881,7 @@ http_interactions:
|
|
880
881
|
message: 'OK '
|
881
882
|
headers:
|
882
883
|
Date:
|
883
|
-
-
|
884
|
+
- Wed, 12 Oct 2016 14:11:15 GMT
|
884
885
|
Server:
|
885
886
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
886
887
|
Foreman-Version:
|
@@ -896,9 +897,9 @@ http_interactions:
|
|
896
897
|
Cache-Control:
|
897
898
|
- max-age=0, private, must-revalidate
|
898
899
|
X-Request-Id:
|
899
|
-
-
|
900
|
+
- ba6c5936-54ae-4408-9e11-0652ffd012f9
|
900
901
|
X-Runtime:
|
901
|
-
- '
|
902
|
+
- '1.965010'
|
902
903
|
Content-Security-Policy:
|
903
904
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
904
905
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -922,7 +923,7 @@ http_interactions:
|
|
922
923
|
Content-Length:
|
923
924
|
- '21677'
|
924
925
|
Set-Cookie:
|
925
|
-
- _session_id=
|
926
|
+
- _session_id=868c866c302301d55b122a4c172232ca; path=/; HttpOnly
|
926
927
|
body:
|
927
928
|
encoding: ASCII-8BIT
|
928
929
|
string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff808081577b8f0201577ba5d9850003","key":"testcorp","displayName":"Test
|
@@ -1057,7 +1058,7 @@ http_interactions:
|
|
1057
1058
|
global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
|
1058
1059
|
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}'
|
1059
1060
|
http_version:
|
1060
|
-
recorded_at:
|
1061
|
+
recorded_at: Wed, 12 Oct 2016 14:11:15 GMT
|
1061
1062
|
- request:
|
1062
1063
|
method: put
|
1063
1064
|
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8
|
@@ -1085,7 +1086,7 @@ http_interactions:
|
|
1085
1086
|
message: 'OK '
|
1086
1087
|
headers:
|
1087
1088
|
Date:
|
1088
|
-
-
|
1089
|
+
- Wed, 12 Oct 2016 14:11:16 GMT
|
1089
1090
|
Server:
|
1090
1091
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
1091
1092
|
Foreman-Version:
|
@@ -1101,9 +1102,9 @@ http_interactions:
|
|
1101
1102
|
Cache-Control:
|
1102
1103
|
- max-age=0, private, must-revalidate
|
1103
1104
|
X-Request-Id:
|
1104
|
-
-
|
1105
|
+
- c6246954-42db-44c7-88af-57c20b349553
|
1105
1106
|
X-Runtime:
|
1106
|
-
- '1.
|
1107
|
+
- '1.447543'
|
1107
1108
|
Content-Security-Policy:
|
1108
1109
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
1109
1110
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -1127,7 +1128,7 @@ http_interactions:
|
|
1127
1128
|
Content-Length:
|
1128
1129
|
- '16501'
|
1129
1130
|
Set-Cookie:
|
1130
|
-
- _session_id=
|
1131
|
+
- _session_id=7ce525d9d78da13ce5c078cc091efdbd; path=/; HttpOnly
|
1131
1132
|
- request_method=PUT; path=/
|
1132
1133
|
body:
|
1133
1134
|
encoding: ASCII-8BIT
|
@@ -1258,5 +1259,5 @@ http_interactions:
|
|
1258
1259
|
global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
|
1259
1260
|
global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":1,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
|
1260
1261
|
http_version:
|
1261
|
-
recorded_at:
|
1262
|
+
recorded_at: Wed, 12 Oct 2016 14:11:16 GMT
|
1262
1263
|
recorded_with: VCR 3.0.3
|
@@ -476,7 +476,7 @@ http_interactions:
|
|
476
476
|
message: 'OK '
|
477
477
|
headers:
|
478
478
|
Date:
|
479
|
-
-
|
479
|
+
- Wed, 12 Oct 2016 14:11:17 GMT
|
480
480
|
Server:
|
481
481
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
482
482
|
Foreman-Version:
|
@@ -492,9 +492,9 @@ http_interactions:
|
|
492
492
|
Cache-Control:
|
493
493
|
- max-age=0, private, must-revalidate
|
494
494
|
X-Request-Id:
|
495
|
-
-
|
495
|
+
- ee4b72b9-79e5-4892-8a66-abedf4f26e2d
|
496
496
|
X-Runtime:
|
497
|
-
- '0.
|
497
|
+
- '0.080491'
|
498
498
|
Content-Security-Policy:
|
499
499
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
500
500
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -518,12 +518,12 @@ http_interactions:
|
|
518
518
|
Content-Length:
|
519
519
|
- '81'
|
520
520
|
Set-Cookie:
|
521
|
-
- _session_id=
|
521
|
+
- _session_id=74624686ed03d5f10e30fa17158cf3e3; path=/; HttpOnly
|
522
522
|
body:
|
523
523
|
encoding: UTF-8
|
524
524
|
string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
|
525
525
|
http_version:
|
526
|
-
recorded_at:
|
526
|
+
recorded_at: Wed, 12 Oct 2016 14:11:16 GMT
|
527
527
|
- request:
|
528
528
|
method: get
|
529
529
|
uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
|
@@ -543,7 +543,7 @@ http_interactions:
|
|
543
543
|
message: 'OK '
|
544
544
|
headers:
|
545
545
|
Date:
|
546
|
-
-
|
546
|
+
- Wed, 12 Oct 2016 14:11:17 GMT
|
547
547
|
Server:
|
548
548
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
549
549
|
Foreman-Version:
|
@@ -559,9 +559,9 @@ http_interactions:
|
|
559
559
|
Cache-Control:
|
560
560
|
- max-age=0, private, must-revalidate
|
561
561
|
X-Request-Id:
|
562
|
-
-
|
562
|
+
- dc3702e7-3a94-4faa-a6c7-6069099acdda
|
563
563
|
X-Runtime:
|
564
|
-
- '0.
|
564
|
+
- '0.088390'
|
565
565
|
Content-Security-Policy:
|
566
566
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
567
567
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -585,7 +585,7 @@ http_interactions:
|
|
585
585
|
Content-Length:
|
586
586
|
- '565'
|
587
587
|
Set-Cookie:
|
588
|
-
- _session_id=
|
588
|
+
- _session_id=f3337d78c8271026577afb9e71c69534; path=/; HttpOnly
|
589
589
|
body:
|
590
590
|
encoding: ASCII-8BIT
|
591
591
|
string: !binary |-
|
@@ -615,7 +615,7 @@ http_interactions:
|
|
615
615
|
ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
|
616
616
|
YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
|
617
617
|
http_version:
|
618
|
-
recorded_at:
|
618
|
+
recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
|
619
619
|
- request:
|
620
620
|
method: get
|
621
621
|
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999
|
@@ -641,7 +641,7 @@ http_interactions:
|
|
641
641
|
message: 'OK '
|
642
642
|
headers:
|
643
643
|
Date:
|
644
|
-
-
|
644
|
+
- Wed, 12 Oct 2016 14:11:17 GMT
|
645
645
|
Server:
|
646
646
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
647
647
|
Foreman-Version:
|
@@ -657,9 +657,9 @@ http_interactions:
|
|
657
657
|
Cache-Control:
|
658
658
|
- max-age=0, private, must-revalidate
|
659
659
|
X-Request-Id:
|
660
|
-
-
|
660
|
+
- e381be4f-f306-464c-a248-16dbda38576b
|
661
661
|
X-Runtime:
|
662
|
-
- '0.
|
662
|
+
- '0.068006'
|
663
663
|
Content-Security-Policy:
|
664
664
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
665
665
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -683,7 +683,7 @@ http_interactions:
|
|
683
683
|
Content-Length:
|
684
684
|
- '563'
|
685
685
|
Set-Cookie:
|
686
|
-
- _session_id=
|
686
|
+
- _session_id=ad895a8b295f809b0a8f2d0c06281eaf; path=/; HttpOnly
|
687
687
|
body:
|
688
688
|
encoding: ASCII-8BIT
|
689
689
|
string: |
|
@@ -700,7 +700,7 @@ http_interactions:
|
|
700
700
|
"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"}]
|
701
701
|
}
|
702
702
|
http_version:
|
703
|
-
recorded_at:
|
703
|
+
recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
|
704
704
|
- request:
|
705
705
|
method: get
|
706
706
|
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
|
@@ -726,7 +726,7 @@ http_interactions:
|
|
726
726
|
message: 'OK '
|
727
727
|
headers:
|
728
728
|
Date:
|
729
|
-
-
|
729
|
+
- Wed, 12 Oct 2016 14:11:17 GMT
|
730
730
|
Server:
|
731
731
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
732
732
|
Foreman-Version:
|
@@ -742,9 +742,9 @@ http_interactions:
|
|
742
742
|
Cache-Control:
|
743
743
|
- max-age=0, private, must-revalidate
|
744
744
|
X-Request-Id:
|
745
|
-
-
|
745
|
+
- 660c6e97-6f66-445b-9ecf-74c75797f90e
|
746
746
|
X-Runtime:
|
747
|
-
- '0.
|
747
|
+
- '0.073548'
|
748
748
|
Content-Security-Policy:
|
749
749
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
750
750
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -768,7 +768,7 @@ http_interactions:
|
|
768
768
|
Content-Length:
|
769
769
|
- '379'
|
770
770
|
Set-Cookie:
|
771
|
-
- _session_id=
|
771
|
+
- _session_id=b5fda92bc66430a58ba8b79c2fc64f25; path=/; HttpOnly
|
772
772
|
body:
|
773
773
|
encoding: ASCII-8BIT
|
774
774
|
string: |
|
@@ -785,7 +785,7 @@ http_interactions:
|
|
785
785
|
"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}]
|
786
786
|
}
|
787
787
|
http_version:
|
788
|
-
recorded_at:
|
788
|
+
recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
|
789
789
|
- request:
|
790
790
|
method: get
|
791
791
|
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/1/environments?per_page=999999
|
@@ -811,7 +811,7 @@ http_interactions:
|
|
811
811
|
message: 'OK '
|
812
812
|
headers:
|
813
813
|
Date:
|
814
|
-
-
|
814
|
+
- Wed, 12 Oct 2016 14:11:17 GMT
|
815
815
|
Server:
|
816
816
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
817
817
|
Foreman-Version:
|
@@ -827,9 +827,9 @@ http_interactions:
|
|
827
827
|
Cache-Control:
|
828
828
|
- max-age=0, private, must-revalidate
|
829
829
|
X-Request-Id:
|
830
|
-
-
|
830
|
+
- 0e89a494-4a9c-4ef5-a3a8-fce10ff0ead8
|
831
831
|
X-Runtime:
|
832
|
-
- '0.
|
832
|
+
- '0.117210'
|
833
833
|
Content-Security-Policy:
|
834
834
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
835
835
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -853,13 +853,13 @@ http_interactions:
|
|
853
853
|
Content-Length:
|
854
854
|
- '835'
|
855
855
|
Set-Cookie:
|
856
|
-
- _session_id=
|
856
|
+
- _session_id=7850c5ce3e54977df148931ac300d31c; path=/; HttpOnly
|
857
857
|
body:
|
858
858
|
encoding: ASCII-8BIT
|
859
859
|
string: |
|
860
860
|
{"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-30 14:47:10 UTC","updated_at":"2016-09-30 14:47:10 UTC","prior":null,"successor":null,"counts":{"content_hosts":0,"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}}]}
|
861
861
|
http_version:
|
862
|
-
recorded_at:
|
862
|
+
recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
|
863
863
|
- request:
|
864
864
|
method: get
|
865
865
|
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
|
@@ -885,7 +885,7 @@ http_interactions:
|
|
885
885
|
message: 'OK '
|
886
886
|
headers:
|
887
887
|
Date:
|
888
|
-
-
|
888
|
+
- Wed, 12 Oct 2016 14:11:17 GMT
|
889
889
|
Server:
|
890
890
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
891
891
|
Foreman-Version:
|
@@ -901,9 +901,9 @@ http_interactions:
|
|
901
901
|
Cache-Control:
|
902
902
|
- max-age=0, private, must-revalidate
|
903
903
|
X-Request-Id:
|
904
|
-
-
|
904
|
+
- c6707ccc-8b0f-49bc-b043-ae4bb53186d7
|
905
905
|
X-Runtime:
|
906
|
-
- '
|
906
|
+
- '0.065042'
|
907
907
|
Content-Security-Policy:
|
908
908
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
909
909
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -927,7 +927,7 @@ http_interactions:
|
|
927
927
|
Content-Length:
|
928
928
|
- '388'
|
929
929
|
Set-Cookie:
|
930
|
-
- _session_id=
|
930
|
+
- _session_id=7ea1b9154e9b6e82a2512395c707ddfb; path=/; HttpOnly
|
931
931
|
body:
|
932
932
|
encoding: ASCII-8BIT
|
933
933
|
string: |
|
@@ -944,7 +944,7 @@ http_interactions:
|
|
944
944
|
"results": [{"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"}]
|
945
945
|
}
|
946
946
|
http_version:
|
947
|
-
recorded_at:
|
947
|
+
recorded_at: Wed, 12 Oct 2016 14:11:17 GMT
|
948
948
|
- request:
|
949
949
|
method: get
|
950
950
|
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8/environments?per_page=999999
|
@@ -970,7 +970,7 @@ http_interactions:
|
|
970
970
|
message: 'OK '
|
971
971
|
headers:
|
972
972
|
Date:
|
973
|
-
-
|
973
|
+
- Wed, 12 Oct 2016 14:11:18 GMT
|
974
974
|
Server:
|
975
975
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
976
976
|
Foreman-Version:
|
@@ -986,9 +986,9 @@ http_interactions:
|
|
986
986
|
Cache-Control:
|
987
987
|
- max-age=0, private, must-revalidate
|
988
988
|
X-Request-Id:
|
989
|
-
-
|
989
|
+
- 4b30de91-6c12-4311-b578-9f42b81345d8
|
990
990
|
X-Runtime:
|
991
|
-
- '
|
991
|
+
- '1.235855'
|
992
992
|
Content-Security-Policy:
|
993
993
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
994
994
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -1012,13 +1012,13 @@ http_interactions:
|
|
1012
1012
|
Content-Length:
|
1013
1013
|
- '3204'
|
1014
1014
|
Set-Cookie:
|
1015
|
-
- _session_id=
|
1015
|
+
- _session_id=aa7847f701881964cc023e45f0e5a7fc; path=/; HttpOnly
|
1016
1016
|
body:
|
1017
1017
|
encoding: ASCII-8BIT
|
1018
1018
|
string: |
|
1019
1019
|
{"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":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"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":5,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:24 UTC","updated_at":"2016-09-30 15:12:24 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"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":2,"name":"Library","label":"Library","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30 15:10:48 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":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}},{"library":false,"id":3,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"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":6,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:25 UTC","updated_at":"2016-09-30 15:12:25 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}}]}
|
1020
1020
|
http_version:
|
1021
|
-
recorded_at:
|
1021
|
+
recorded_at: Wed, 12 Oct 2016 14:11:18 GMT
|
1022
1022
|
- request:
|
1023
1023
|
method: put
|
1024
1024
|
uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/3
|
@@ -1046,7 +1046,7 @@ http_interactions:
|
|
1046
1046
|
message: 'OK '
|
1047
1047
|
headers:
|
1048
1048
|
Date:
|
1049
|
-
-
|
1049
|
+
- Wed, 12 Oct 2016 14:11:18 GMT
|
1050
1050
|
Server:
|
1051
1051
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
1052
1052
|
Foreman-Version:
|
@@ -1062,9 +1062,9 @@ http_interactions:
|
|
1062
1062
|
Cache-Control:
|
1063
1063
|
- max-age=0, private, must-revalidate
|
1064
1064
|
X-Request-Id:
|
1065
|
-
-
|
1065
|
+
- 635da03b-f082-4922-bf18-e0b48838dab4
|
1066
1066
|
X-Runtime:
|
1067
|
-
- '0.
|
1067
|
+
- '0.117025'
|
1068
1068
|
Content-Security-Policy:
|
1069
1069
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
1070
1070
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -1088,14 +1088,14 @@ http_interactions:
|
|
1088
1088
|
Content-Length:
|
1089
1089
|
- '611'
|
1090
1090
|
Set-Cookie:
|
1091
|
-
- _session_id=
|
1091
|
+
- _session_id=0e526bd0fd5a28e58047faa076c9ce59; path=/; HttpOnly
|
1092
1092
|
- request_method=PUT; path=/
|
1093
1093
|
body:
|
1094
1094
|
encoding: ASCII-8BIT
|
1095
1095
|
string: |2
|
1096
1096
|
{"library":false,"id":3,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"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}}
|
1097
1097
|
http_version:
|
1098
|
-
recorded_at:
|
1098
|
+
recorded_at: Wed, 12 Oct 2016 14:11:18 GMT
|
1099
1099
|
- request:
|
1100
1100
|
method: put
|
1101
1101
|
uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/4
|
@@ -1123,7 +1123,7 @@ http_interactions:
|
|
1123
1123
|
message: 'OK '
|
1124
1124
|
headers:
|
1125
1125
|
Date:
|
1126
|
-
-
|
1126
|
+
- Wed, 12 Oct 2016 14:11:19 GMT
|
1127
1127
|
Server:
|
1128
1128
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
1129
1129
|
Foreman-Version:
|
@@ -1139,9 +1139,9 @@ http_interactions:
|
|
1139
1139
|
Cache-Control:
|
1140
1140
|
- max-age=0, private, must-revalidate
|
1141
1141
|
X-Request-Id:
|
1142
|
-
-
|
1142
|
+
- 37dd30c9-a3cb-4a12-b410-2672d5c0fe5c
|
1143
1143
|
X-Runtime:
|
1144
|
-
- '0.
|
1144
|
+
- '0.111166'
|
1145
1145
|
Content-Security-Policy:
|
1146
1146
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
1147
1147
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -1165,14 +1165,14 @@ http_interactions:
|
|
1165
1165
|
Content-Length:
|
1166
1166
|
- '603'
|
1167
1167
|
Set-Cookie:
|
1168
|
-
- _session_id=
|
1168
|
+
- _session_id=7903c53863936a22a89aca3740c0a535; path=/; HttpOnly
|
1169
1169
|
- request_method=PUT; path=/
|
1170
1170
|
body:
|
1171
1171
|
encoding: ASCII-8BIT
|
1172
1172
|
string: |2
|
1173
1173
|
{"library":false,"id":4,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"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}}
|
1174
1174
|
http_version:
|
1175
|
-
recorded_at:
|
1175
|
+
recorded_at: Wed, 12 Oct 2016 14:11:19 GMT
|
1176
1176
|
- request:
|
1177
1177
|
method: put
|
1178
1178
|
uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/5
|
@@ -1200,7 +1200,7 @@ http_interactions:
|
|
1200
1200
|
message: 'OK '
|
1201
1201
|
headers:
|
1202
1202
|
Date:
|
1203
|
-
-
|
1203
|
+
- Wed, 12 Oct 2016 14:11:19 GMT
|
1204
1204
|
Server:
|
1205
1205
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
1206
1206
|
Foreman-Version:
|
@@ -1216,9 +1216,9 @@ http_interactions:
|
|
1216
1216
|
Cache-Control:
|
1217
1217
|
- max-age=0, private, must-revalidate
|
1218
1218
|
X-Request-Id:
|
1219
|
-
-
|
1219
|
+
- 96a164b8-2422-4d0c-9f9b-e7ac9aecbb50
|
1220
1220
|
X-Runtime:
|
1221
|
-
- '0.
|
1221
|
+
- '0.123978'
|
1222
1222
|
Content-Security-Policy:
|
1223
1223
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
1224
1224
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -1242,14 +1242,14 @@ http_interactions:
|
|
1242
1242
|
Content-Length:
|
1243
1243
|
- '604'
|
1244
1244
|
Set-Cookie:
|
1245
|
-
- _session_id=
|
1245
|
+
- _session_id=f270c2f5a85caa8be90f4778f430ee93; path=/; HttpOnly
|
1246
1246
|
- request_method=PUT; path=/
|
1247
1247
|
body:
|
1248
1248
|
encoding: ASCII-8BIT
|
1249
1249
|
string: |2
|
1250
1250
|
{"library":false,"id":5,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:24 UTC","updated_at":"2016-09-30 15:12:24 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"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}}
|
1251
1251
|
http_version:
|
1252
|
-
recorded_at:
|
1252
|
+
recorded_at: Wed, 12 Oct 2016 14:11:19 GMT
|
1253
1253
|
- request:
|
1254
1254
|
method: put
|
1255
1255
|
uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/6
|
@@ -1277,7 +1277,7 @@ http_interactions:
|
|
1277
1277
|
message: 'OK '
|
1278
1278
|
headers:
|
1279
1279
|
Date:
|
1280
|
-
-
|
1280
|
+
- Wed, 12 Oct 2016 14:11:19 GMT
|
1281
1281
|
Server:
|
1282
1282
|
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
|
1283
1283
|
Foreman-Version:
|
@@ -1293,9 +1293,9 @@ http_interactions:
|
|
1293
1293
|
Cache-Control:
|
1294
1294
|
- max-age=0, private, must-revalidate
|
1295
1295
|
X-Request-Id:
|
1296
|
-
-
|
1296
|
+
- 447125ee-8cb2-402e-8720-1eb1f3c074db
|
1297
1297
|
X-Runtime:
|
1298
|
-
- '0.
|
1298
|
+
- '0.122287'
|
1299
1299
|
Content-Security-Policy:
|
1300
1300
|
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
|
1301
1301
|
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
|
@@ -1319,12 +1319,12 @@ http_interactions:
|
|
1319
1319
|
Content-Length:
|
1320
1320
|
- '575'
|
1321
1321
|
Set-Cookie:
|
1322
|
-
- _session_id=
|
1322
|
+
- _session_id=4ddda0d3f6067d20beb859c5d0f4485c; path=/; HttpOnly
|
1323
1323
|
- request_method=PUT; path=/
|
1324
1324
|
body:
|
1325
1325
|
encoding: ASCII-8BIT
|
1326
1326
|
string: |2
|
1327
1327
|
{"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:25 UTC","updated_at":"2016-09-30 15:12:25 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}}
|
1328
1328
|
http_version:
|
1329
|
-
recorded_at:
|
1329
|
+
recorded_at: Wed, 12 Oct 2016 14:11:19 GMT
|
1330
1330
|
recorded_with: VCR 3.0.3
|