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_domains/setup.yml
19 19
      message: OK
20 20
    headers:
21 21
      Date:
22
      - Fri, 09 Sep 2016 20:04:22 GMT
22
      - Mon, 12 Sep 2016 15:39:31 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
      - 3b062795-cfad-40d1-9d63-334f7ac2c89e
44
      - c2cbf243-1a0b-43f5-b59d-1a63e29f6597
45 45
      X-Runtime:
46
      - '0.227995'
46
      - '0.222909'
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=cc5b2364246fc075501a834867073f62; path=/; HttpOnly
54
      - _session_id=82d75ed696a6c1fa9123acddf756278c; 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:23 GMT
59
  recorded_at: Mon, 12 Sep 2016 15:39:32 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:22 GMT
79
      - Mon, 12 Sep 2016 15:39:31 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
      - 0d6081da-26ae-4f3f-a68c-698566494a1a
101
      - 97a77fc1-8ada-44ac-a5a5-2883c372716a
102 102
      X-Runtime:
103
      - '0.162795'
103
      - '0.189382'
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=d43c3b94bc8332d24ab3feee9766c9c0; path=/; HttpOnly
111
      - _session_id=926084851a49437673ab9b8657dbe068; 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:23 GMT
141
  recorded_at: Mon, 12 Sep 2016 15:39:32 GMT
142 142
- request:
143 143
    method: get
144 144
    uri: https://admin:changeme@katello.example.com:50191/api/domains?per_page=999999
......
162 162
      message: OK
163 163
    headers:
164 164
      Date:
165
      - Fri, 09 Sep 2016 20:04:22 GMT
165
      - Mon, 12 Sep 2016 15:39:32 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
      - c335e6c2-d39a-43f4-a3c1-4960a01eafe2
187
      - 489d7573-2073-474d-9ba9-a7a2be4b8d2a
188 188
      X-Runtime:
189
      - '1.234229'
189
      - '0.230352'
190 190
      Via:
191 191
      - 1.1 katello.example.com:50191
192 192
      Vary:
......
194 194
      Content-Length:
195 195
      - '423'
196 196
      Set-Cookie:
197
      - _session_id=b737874ed9e1b725e8e9ca6fa1495b06; path=/; HttpOnly
197
      - _session_id=223283f83f398a90ff1c4ff5a0a482f9; path=/; HttpOnly
198 198
    body:
199 199
      encoding: ASCII-8BIT
200 200
      string: |
......
211 211
          "results": [{"fullname":"","dns_id":null,"created_at":"2016-09-02 15:11:17 UTC","updated_at":"2016-09-08 20:29:23 UTC","id":1,"name":"example.com"},{"fullname":"","dns_id":null,"created_at":"2016-09-09 18:53:19 UTC","updated_at":"2016-09-09 18:53:19 UTC","id":2,"name":"test.com"}]
212 212
        }
213 213
    http_version: 
214
  recorded_at: Fri, 09 Sep 2016 20:04:24 GMT
214
  recorded_at: Mon, 12 Sep 2016 15:39:32 GMT
215 215
- request:
216 216
    method: put
217 217
    uri: https://admin:changeme@katello.example.com:50191/api/domains/2
......
237 237
      message: OK
238 238
    headers:
239 239
      Date:
240
      - Fri, 09 Sep 2016 20:04:24 GMT
240
      - Mon, 12 Sep 2016 15:39:32 GMT
241 241
      Server:
242 242
      - Apache/2.4.6 (CentOS)
243 243
      X-Frame-Options:
......
255 255
      Apipie-Checksum:
256 256
      - 9544abef9cf8343005f07ed8c9f1f8e7
257 257
      Etag:
258
      - W/"0ddfec5fc83785bb95fbbe0a6f136807-gzip"
258
      - W/"b9b26295f2fd09bab4028c79b20d4966-gzip"
259 259
      Cache-Control:
260 260
      - max-age=0, private, must-revalidate
261 261
      X-Request-Id:
262
      - 1a8f6eb1-8f38-481b-97aa-e482f2221343
262
      - 909555a8-8cd8-4f2b-bb7c-b04940b82c8f
263 263
      X-Runtime:
264
      - '0.359695'
264
      - '1.378997'
265 265
      Via:
266 266
      - 1.1 katello.example.com:50191
267 267
      Vary:
268 268
      - Accept-Encoding
269 269
      Content-Length:
270
      - '324'
270
      - '390'
271 271
      Set-Cookie:
272
      - _session_id=29fef003479e7e7f7fe3c4af0f6cfaaf; path=/; HttpOnly
272
      - _session_id=29b657694fbc5aaf220d8e06df3380bf; path=/; HttpOnly
273 273
      - request_method=PUT; path=/
274 274
    body:
275 275
      encoding: ASCII-8BIT
276 276
      string: '{"fullname":"","dns_id":null,"created_at":"2016-09-09 18:53:19 UTC","updated_at":"2016-09-09
277
        18:53:19 UTC","id":2,"name":"test.com","subnets":[],"interfaces":[],"parameters":[],"locations":[],"organizations":[{"id":9,"name":"Test
277
        18:53:19 UTC","id":2,"name":"test.com","subnets":[{"id":5,"name":"Test Subnet","network_address":"192.168.100.1/24"}],"interfaces":[],"parameters":[],"locations":[],"organizations":[{"id":9,"name":"Test
278 278
        Corporation","title":"Test Corporation","description":"Testing today for a
279 279
        better tomorrow"}]}'
280 280
    http_version: 
281
  recorded_at: Fri, 09 Sep 2016 20:04:25 GMT
281
  recorded_at: Mon, 12 Sep 2016 15:39:34 GMT
282 282
- request:
283 283
    method: get
284 284
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
302 302
      message: OK
303 303
    headers:
304 304
      Date:
305
      - Fri, 09 Sep 2016 20:04:24 GMT
305
      - Mon, 12 Sep 2016 15:39:33 GMT
306 306
      Server:
307 307
      - Apache/2.4.6 (CentOS)
308 308
      X-Frame-Options:
......
324 324
      Cache-Control:
325 325
      - max-age=0, private, must-revalidate
326 326
      X-Request-Id:
327
      - bb9c5be7-09e5-46f1-94fc-77e4d82aa4f8
327
      - 3bf5a7ac-f454-4721-aacf-d197a58e1b7a
328 328
      X-Runtime:
329
      - '0.208522'
329
      - '0.244331'
330 330
      Via:
331 331
      - 1.1 katello.example.com:50191
332 332
      Vary:
......
334 334
      Content-Length:
335 335
      - '388'
336 336
      Set-Cookie:
337
      - _session_id=4bcd03eb075be8da630b3cd94ac6ea36; path=/; HttpOnly
337
      - _session_id=28b6fb280bae37c80390a88bb12b38b0; path=/; HttpOnly
338 338
    body:
339 339
      encoding: ASCII-8BIT
340 340
      string: |
......
351 351
          "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"}]
352 352
        }
353 353
    http_version: 
354
  recorded_at: Fri, 09 Sep 2016 20:04:25 GMT
354
  recorded_at: Mon, 12 Sep 2016 15:39:34 GMT
355 355
- request:
356 356
    method: get
357 357
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
......
375 375
      message: OK
376 376
    headers:
377 377
      Date:
378
      - Fri, 09 Sep 2016 20:04:24 GMT
378
      - Mon, 12 Sep 2016 15:39:34 GMT
379 379
      Server:
380 380
      - Apache/2.4.6 (CentOS)
381 381
      X-Frame-Options:
......
397 397
      Cache-Control:
398 398
      - max-age=0, private, must-revalidate
399 399
      X-Request-Id:
400
      - 3fefd496-4b0a-4a79-88df-3d094bde01b9
400
      - 085912c6-6f37-4f27-afa8-dca3ad27bb51
401 401
      X-Runtime:
402
      - '3.523151'
402
      - '3.727742'
403 403
      Via:
404 404
      - 1.1 katello.example.com:50191
405 405
      Vary:
......
407 407
      Content-Length:
408 408
      - '21851'
409 409
      Set-Cookie:
410
      - _session_id=c4092c1855ebd102e8c4218040a81354; path=/; HttpOnly
410
      - _session_id=315c320c5f487c797ed8fccd68597716; path=/; HttpOnly
411 411
    body:
412 412
      encoding: ASCII-8BIT
413 413
      string: '{"label":"testcorp","owner_details":{"parentOwner":null,"id":"ff80808156eb30a60157024c785205e2","key":"testcorp","displayName":"Test
......
542 542
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
543 543
        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}'
544 544
    http_version: 
545
  recorded_at: Fri, 09 Sep 2016 20:04:28 GMT
545
  recorded_at: Mon, 12 Sep 2016 15:39:38 GMT
546 546
- request:
547 547
    method: put
548 548
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9
......
568 568
      message: OK
569 569
    headers:
570 570
      Date:
571
      - Fri, 09 Sep 2016 20:04:28 GMT
571
      - Mon, 12 Sep 2016 15:39:37 GMT
572 572
      Server:
573 573
      - Apache/2.4.6 (CentOS)
574 574
      X-Frame-Options:
......
590 590
      Cache-Control:
591 591
      - max-age=0, private, must-revalidate
592 592
      X-Request-Id:
593
      - 8a835f22-26d4-41fb-a309-d5769bfe3f36
593
      - 71738a95-2c5b-468e-b8fd-30eb93400f88
594 594
      X-Runtime:
595
      - '3.986523'
595
      - '3.968352'
596 596
      Via:
597 597
      - 1.1 katello.example.com:50191
598 598
      Vary:
......
600 600
      Content-Length:
601 601
      - '16675'
602 602
      Set-Cookie:
603
      - _session_id=0af47557be6c87009638e65414e5fe9e; path=/; HttpOnly
603
      - _session_id=2d678ac0516ada3f953508dabf5a300b; path=/; HttpOnly
604 604
      - request_method=PUT; path=/
605 605
    body:
606 606
      encoding: ASCII-8BIT
......
731 731
        global default","template_kind_id":2,"template_kind_name":"PXEGrub"},{"id":1,"name":"PXELinux
732 732
        global default","template_kind_id":1,"template_kind_name":"PXELinux"}],"domains":[{"id":2,"name":"test.com"}],"realms":[],"environments":[],"hostgroups":[],"locations":[],"parameters":[]}'
733 733
    http_version: 
734
  recorded_at: Fri, 09 Sep 2016 20:04:32 GMT
734
  recorded_at: Mon, 12 Sep 2016 15:39:42 GMT
735 735
recorded_with: VCR 3.0.3

Also available in: Unified diff