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_subscriptions/setup.yml
19 19
      message: OK
20 20
    headers:
21 21
      Date:
22
      - Fri, 09 Sep 2016 20:05:10 GMT
22
      - Mon, 12 Sep 2016 15:40:22 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
      - 3ef55355-45fc-4eb5-ac63-a0265777a07d
44
      - 955f8b7a-305c-456d-9187-401f67aa2ffe
45 45
      X-Runtime:
46
      - '0.228772'
46
      - '0.218424'
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=cc11e0389bc827b3d7762dd11948938a; path=/; HttpOnly
54
      - _session_id=c21a6bcb7a3c6d94d6baedeadd900b5d; 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:05:11 GMT
59
  recorded_at: Mon, 12 Sep 2016 15:40:22 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:05:10 GMT
79
      - Mon, 12 Sep 2016 15:40:22 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
      - 3cbaf96b-4a85-404e-bae7-c62676045358
101
      - c4b4c0fb-1fcf-4fb7-aaae-459b1f4d9b59
102 102
      X-Runtime:
103
      - '0.180675'
103
      - '0.186518'
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=b2c4f4ac74b4565c16cbbe9ec8cbbab6; path=/; HttpOnly
111
      - _session_id=1fb7dcb6cd0af8453d9b53f6344f0567; 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:05:11 GMT
141
  recorded_at: Mon, 12 Sep 2016 15:40:23 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:05:11 GMT
165
      - Mon, 12 Sep 2016 15:40:22 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
      - 36a9c4ae-6889-4f64-810a-5fd681a19294
187
      - 1da026cd-4312-42e9-8420-663bb6a7fedb
188 188
      X-Runtime:
189
      - '0.213060'
189
      - '1.254092'
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=fad702a15da68e27730188f70803a331; path=/; HttpOnly
197
      - _session_id=39f6a25981325a6a875475d711311569; 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:05:11 GMT
214
  recorded_at: Mon, 12 Sep 2016 15:40:24 GMT
215 215
- request:
216 216
    method: get
217 217
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
......
235 235
      message: OK
236 236
    headers:
237 237
      Date:
238
      - Fri, 09 Sep 2016 20:05:11 GMT
238
      - Mon, 12 Sep 2016 15:40:24 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
      - a7658745-c795-40f5-8586-8d18be4d5ad8
260
      - fd352d8f-a41f-4caa-bc21-dfe57de89f31
261 261
      X-Runtime:
262
      - '2.678480'
262
      - '2.694657'
263 263
      Via:
264 264
      - 1.1 katello.example.com:50191
265 265
      Vary:
......
267 267
      Content-Length:
268 268
      - '21851'
269 269
      Set-Cookie:
270
      - _session_id=cff02b95a46474dc87ba15ab9fc81a30; path=/; HttpOnly
270
      - _session_id=5f61dc21f88e42483446199bbc08c9c4; path=/; HttpOnly
271 271
    body:
272 272
      encoding: ASCII-8BIT
273 273
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808156eb30a60157024c785205e2","key":"testcorp","displayName":"Test
......
402 402
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
403 403
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[],"default_content_view_id":4,"library_id":7}'
404 404
    http_version: 
405
  recorded_at: Fri, 09 Sep 2016 20:05:15 GMT
405
  recorded_at: Mon, 12 Sep 2016 15:40:27 GMT
406 406
- request:
407 407
    method: get
408 408
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/subscriptions?per_page=999999
......
426 426
      message: OK
427 427
    headers:
428 428
      Date:
429
      - Fri, 09 Sep 2016 20:05:15 GMT
429
      - Mon, 12 Sep 2016 15:40:26 GMT
430 430
      Server:
431 431
      - Apache/2.4.6 (CentOS)
432 432
      X-Frame-Options:
......
448 448
      Cache-Control:
449 449
      - max-age=0, private, must-revalidate
450 450
      X-Request-Id:
451
      - 0340cdbc-5b24-48d6-bc96-6d2b46b3fbf6
451
      - 04f4189b-6ce9-45ea-9928-75b72a7acdc6
452 452
      X-Runtime:
453
      - '1.671569'
453
      - '0.824280'
454 454
      Via:
455 455
      - 1.1 katello.example.com:50191
456 456
      Vary:
......
458 458
      Content-Length:
459 459
      - '1348'
460 460
      Set-Cookie:
461
      - _session_id=80c84314f0e7501692eeefdddec0d899; path=/; HttpOnly
461
      - _session_id=31ffa02d4dd6cde01aae36c75fb2bf5c; path=/; HttpOnly
462 462
    body:
463 463
      encoding: ASCII-8BIT
464 464
      string: |
465 465
        {"organization":{},"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":19,"cp_id":"ff80808156eb30a6015704818e8706e1","subscription_id":11,"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":21,"cp_id":"ff80808156eb30a6015704818f330733","subscription_id":12,"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}]}
466 466
    http_version: 
467
  recorded_at: Fri, 09 Sep 2016 20:05:17 GMT
467
  recorded_at: Mon, 12 Sep 2016 15:40:29 GMT
468 468
recorded_with: VCR 3.0.3

Also available in: Unified diff