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_content_views/setup.yml
19 19
      message: OK
20 20
    headers:
21 21
      Date:
22
      - Fri, 09 Sep 2016 20:04:15 GMT
22
      - Mon, 12 Sep 2016 15:39:24 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
      - 230c186c-276c-4cd4-8e48-bf37ff489db5
44
      - f06c2ff0-fd65-433b-8ed1-c6202fbe8c01
45 45
      X-Runtime:
46
      - '0.207469'
46
      - '0.243469'
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=71de86a7273a0d677cc7f077199efd81; path=/; HttpOnly
54
      - _session_id=ae463237fa28978511b71e023521a097; 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:16 GMT
59
  recorded_at: Mon, 12 Sep 2016 15:39:26 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:16 GMT
79
      - Mon, 12 Sep 2016 15:39:25 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
      - d7395a34-a101-4537-bd63-7a33e655fa35
101
      - c03ccc30-e60a-44ff-8c3c-df5ca919ec12
102 102
      X-Runtime:
103
      - '0.191304'
103
      - '0.183479'
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=12e139cd035ac7409c9abda215dcdc2e; path=/; HttpOnly
111
      - _session_id=03aefcf9dca9db25976cb2b5f57a4f78; 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:16 GMT
141
  recorded_at: Mon, 12 Sep 2016 15:39:26 GMT
142 142
- request:
143 143
    method: get
144 144
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
162 162
      message: OK
163 163
    headers:
164 164
      Date:
165
      - Fri, 09 Sep 2016 20:04:16 GMT
165
      - Mon, 12 Sep 2016 15:39:25 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
      - c8a1d9ae-f7ce-4d17-99df-93e34eba1bd2
187
      - 80b9896d-48f8-423a-ba1b-9199e1bdcef1
188 188
      X-Runtime:
189
      - '0.242066'
189
      - '0.220995'
190 190
      Via:
191 191
      - 1.1 katello.example.com:50191
192 192
      Vary:
......
194 194
      Content-Length:
195 195
      - '388'
196 196
      Set-Cookie:
197
      - _session_id=8018362b8f25601ce8f31d1c1a5a1756; path=/; HttpOnly
197
      - _session_id=ba766f8604895fcfa1aaab0ffd814849; path=/; HttpOnly
198 198
    body:
199 199
      encoding: ASCII-8BIT
200 200
      string: |
......
211 211
          "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"}]
212 212
        }
213 213
    http_version: 
214
  recorded_at: Fri, 09 Sep 2016 20:04:17 GMT
214
  recorded_at: Mon, 12 Sep 2016 15:39:26 GMT
215 215
- request:
216 216
    method: get
217 217
    uri: https://admin:changeme@katello.example.com:50191/apidoc/v2.json
......
235 235
      message: OK
236 236
    headers:
237 237
      Date:
238
      - Fri, 09 Sep 2016 20:04:16 GMT
238
      - Mon, 12 Sep 2016 15:39:26 GMT
239 239
      Server:
240 240
      - Apache/2.4.6 (CentOS)
241 241
      X-Frame-Options:
......
255 255
      Apipie-Checksum:
256 256
      - 9544abef9cf8343005f07ed8c9f1f8e7
257 257
      X-Request-Id:
258
      - fa0720b9-a01f-4e5d-8be5-a4a66ab2495a
258
      - a11ea4b8-62ce-4f4d-95c4-70129ac5a4c4
259 259
      X-Runtime:
260
      - '0.101261'
260
      - '0.117300'
261 261
      Via:
262 262
      - 1.1 katello.example.com:50191
263 263
      Vary:
......
17859 17859
        ZX1dLCJoZWFkZXJzIjpudWxsfX0sImxpbmtfZXh0ZW5zaW9uIjoiLmh0bWwi
17860 17860
        fX0=
17861 17861
    http_version: 
17862
  recorded_at: Fri, 09 Sep 2016 20:04:17 GMT
17862
  recorded_at: Mon, 12 Sep 2016 15:39:26 GMT
17863 17863
- request:
17864 17864
    method: get
17865 17865
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/content_views?nondefault=true&per_page=999999
......
17883 17883
      message: OK
17884 17884
    headers:
17885 17885
      Date:
17886
      - Fri, 09 Sep 2016 20:04:16 GMT
17886
      - Mon, 12 Sep 2016 15:39:26 GMT
17887 17887
      Server:
17888 17888
      - Apache/2.4.6 (CentOS)
17889 17889
      X-Frame-Options:
......
17905 17905
      Cache-Control:
17906 17906
      - max-age=0, private, must-revalidate
17907 17907
      X-Request-Id:
17908
      - 2e9cb009-d254-4360-81c1-fd668db855b6
17908
      - 22f58c10-9195-4def-988b-ef61ab701501
17909 17909
      X-Runtime:
17910
      - '1.441937'
17910
      - '0.415195'
17911 17911
      Via:
17912 17912
      - 1.1 katello.example.com:50191
17913 17913
      Vary:
......
17915 17915
      Content-Length:
17916 17916
      - '923'
17917 17917
      Set-Cookie:
17918
      - _session_id=e73e34266c3ffcae27cfa42122a6e70b; path=/; HttpOnly
17918
      - _session_id=b90687a516228d8e194acb1fb5f3b592; path=/; HttpOnly
17919 17919
    body:
17920 17920
      encoding: ASCII-8BIT
17921 17921
      string: |
17922 17922
        {"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":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}}]}
17923 17923
    http_version: 
17924
  recorded_at: Fri, 09 Sep 2016 20:04:18 GMT
17924
  recorded_at: Mon, 12 Sep 2016 15:39:28 GMT
17925 17925
- request:
17926 17926
    method: put
17927 17927
    uri: https://admin:changeme@katello.example.com:50191/katello/api/content_views/5
......
17947 17947
      message: OK
17948 17948
    headers:
17949 17949
      Date:
17950
      - Fri, 09 Sep 2016 20:04:18 GMT
17950
      - Mon, 12 Sep 2016 15:39:27 GMT
17951 17951
      Server:
17952 17952
      - Apache/2.4.6 (CentOS)
17953 17953
      X-Frame-Options:
......
17969 17969
      Cache-Control:
17970 17970
      - max-age=0, private, must-revalidate
17971 17971
      X-Request-Id:
17972
      - 691a0563-b9f9-4cd4-86ab-acfd18487f42
17972
      - 334f250a-b48e-4859-8e53-412c5144ad28
17973 17973
      X-Runtime:
17974
      - '1.937352'
17974
      - '1.780975'
17975 17975
      Via:
17976 17976
      - 1.1 katello.example.com:50191
17977 17977
      Vary:
......
17979 17979
      Content-Length:
17980 17980
      - '823'
17981 17981
      Set-Cookie:
17982
      - _session_id=2e9b456b22325b765316cdc230322409; path=/; HttpOnly
17982
      - _session_id=3d5e7102c4fd4e873d4f9f33a543b025; path=/; HttpOnly
17983 17983
      - request_method=PUT; path=/
17984 17984
    body:
17985 17985
      encoding: ASCII-8BIT
17986 17986
      string: |2
17987 17987
          {"content_host_count":0,"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}}
17988 17988
    http_version: 
17989
  recorded_at: Fri, 09 Sep 2016 20:04:20 GMT
17989
  recorded_at: Mon, 12 Sep 2016 15:39:30 GMT
17990 17990
- request:
17991 17991
    method: get
17992 17992
    uri: https://admin:changeme@katello.example.com:50191/katello/api/content_views/5
......
18010 18010
      message: OK
18011 18011
    headers:
18012 18012
      Date:
18013
      - Fri, 09 Sep 2016 20:04:20 GMT
18013
      - Mon, 12 Sep 2016 15:39:29 GMT
18014 18014
      Server:
18015 18015
      - Apache/2.4.6 (CentOS)
18016 18016
      X-Frame-Options:
......
18032 18032
      Cache-Control:
18033 18033
      - max-age=0, private, must-revalidate
18034 18034
      X-Request-Id:
18035
      - 1c904fc5-6111-48cc-ab97-b5d44eb5c040
18035
      - 55b7db8e-0628-4bf5-94bf-4a1bd5892078
18036 18036
      X-Runtime:
18037
      - '0.477631'
18037
      - '0.339771'
18038 18038
      Via:
18039 18039
      - 1.1 katello.example.com:50191
18040 18040
      Vary:
......
18042 18042
      Content-Length:
18043 18043
      - '823'
18044 18044
      Set-Cookie:
18045
      - _session_id=9451d5662fe88e8821e0d75c18f8f4ac; path=/; HttpOnly
18045
      - _session_id=89ff16b59a943683b296f993cb1b070d; path=/; HttpOnly
18046 18046
    body:
18047 18047
      encoding: ASCII-8BIT
18048 18048
      string: |2
18049 18049
          {"content_host_count":0,"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}}
18050 18050
    http_version: 
18051
  recorded_at: Fri, 09 Sep 2016 20:04:21 GMT
18051
  recorded_at: Mon, 12 Sep 2016 15:39:30 GMT
18052 18052
- request:
18053 18053
    method: get
18054 18054
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/7
......
18072 18072
      message: OK
18073 18073
    headers:
18074 18074
      Date:
18075
      - Fri, 09 Sep 2016 20:04:20 GMT
18075
      - Mon, 12 Sep 2016 15:39:30 GMT
18076 18076
      Server:
18077 18077
      - Apache/2.4.6 (CentOS)
18078 18078
      X-Frame-Options:
......
18094 18094
      Cache-Control:
18095 18095
      - max-age=0, private, must-revalidate
18096 18096
      X-Request-Id:
18097
      - 33341c09-5912-435e-9994-29535925a3fa
18097
      - fb53d2fa-68a8-43c6-9859-d43b78efb3a3
18098 18098
      X-Runtime:
18099
      - '1.364318'
18099
      - '1.385100'
18100 18100
      Via:
18101 18101
      - 1.1 katello.example.com:50191
18102 18102
      Vary:
......
18104 18104
      Content-Length:
18105 18105
      - '696'
18106 18106
      Set-Cookie:
18107
      - _session_id=256e840604c1f689f26c704e895467fa; path=/; HttpOnly
18107
      - _session_id=bf26790a9b9363eb9a5bcae09b25b5be; path=/; HttpOnly
18108 18108
    body:
18109 18109
      encoding: ASCII-8BIT
18110 18110
      string: |2
18111 18111
          {"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}}
18112 18112
    http_version: 
18113
  recorded_at: Fri, 09 Sep 2016 20:04:22 GMT
18113
  recorded_at: Mon, 12 Sep 2016 15:39:31 GMT
18114 18114
recorded_with: VCR 3.0.3

Also available in: Unified diff