Project

General

Profile

Download (30 KB) Statistics
| Branch: | Tag: | Revision:

hammer-cli-csv / test / fixtures / vcr_cassettes / setup / setup_lifecycle_environments / setup.yml @ 1327c177

1
---
2
http_interactions:
3
- request:
4
    method: get
5
    uri: https://admin:changeme@satlap.example.com/api/status
6
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept-Encoding:
11
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
      Accept:
13
      - "*/*"
14
      User-Agent:
15
      - Ruby
16
      Host:
17
      - satlap.example.com
18
  response:
19
    status:
20
      code: 200
21
      message: OK
22
    headers:
23
      Date:
24
      - Tue, 13 Dec 2016 14:48:40 GMT
25
      Server:
26
      - Apache/2.4.6 (Red Hat Enterprise Linux)
27
      X-Frame-Options:
28
      - SAMEORIGIN
29
      X-Xss-Protection:
30
      - 1; mode=block
31
      X-Content-Type-Options:
32
      - nosniff
33
      Foreman-Version:
34
      - 1.11.0.54
35
      Foreman-Api-Version:
36
      - '2'
37
      Apipie-Checksum:
38
      - e1df2e8d43e22495b02a53b48e3b5298
39
      Cache-Control:
40
      - max-age=0, private, must-revalidate
41
      X-Request-Id:
42
      - a5883f3c-3086-4965-9c85-cc14f27b1722
43
      X-Runtime:
44
      - '0.024871'
45
      X-Powered-By:
46
      - Phusion Passenger 4.0.18
47
      Set-Cookie:
48
      - _session_id=392eeaf16bd5ffab1b402f442a261040; path=/; secure; HttpOnly
49
      Etag:
50
      - '"8e3341d0a4cc328651f7391aed11fef8"'
51
      Status:
52
      - 200 OK
53
      Content-Length:
54
      - '66'
55
      Content-Type:
56
      - application/json; charset=utf-8
57
    body:
58
      encoding: UTF-8
59
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
60
    http_version: 
61
  recorded_at: Tue, 13 Dec 2016 14:48:37 GMT
62
- request:
63
    method: get
64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
65
    body:
66
      encoding: US-ASCII
67
      string: ''
68
    headers:
69
      Accept-Encoding:
70
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
71
      Accept:
72
      - "*/*"
73
      User-Agent:
74
      - Ruby
75
      Host:
76
      - satlap.example.com
77
  response:
78
    status:
79
      code: 200
80
      message: OK
81
    headers:
82
      Date:
83
      - Tue, 13 Dec 2016 14:48:40 GMT
84
      Server:
85
      - Apache/2.4.6 (Red Hat Enterprise Linux)
86
      X-Frame-Options:
87
      - SAMEORIGIN
88
      X-Xss-Protection:
89
      - 1; mode=block
90
      X-Content-Type-Options:
91
      - nosniff
92
      Foreman-Version:
93
      - 1.11.0.54
94
      Foreman-Api-Version:
95
      - '2'
96
      Apipie-Checksum:
97
      - e1df2e8d43e22495b02a53b48e3b5298
98
      Cache-Control:
99
      - max-age=0, private, must-revalidate
100
      X-Request-Id:
101
      - 3d9fef6e-b9bc-49e8-aaf5-07a844b803f0
102
      X-Runtime:
103
      - '0.032942'
104
      X-Powered-By:
105
      - Phusion Passenger 4.0.18
106
      Set-Cookie:
107
      - _session_id=88f3104bd16ec6ff63564f3c04538279; path=/; secure; HttpOnly
108
      Etag:
109
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
110
      Status:
111
      - 200 OK
112
      Vary:
113
      - Accept-Encoding
114
      Content-Length:
115
      - '1338'
116
      Content-Type:
117
      - application/json; charset=utf-8
118
    body:
119
      encoding: ASCII-8BIT
120
      string: !binary |-
121
        ewogICJ0b3RhbCI6IDEwLAogICJzdWJ0b3RhbCI6IDEwLAogICJwYWdlIjog
122
        MSwKICAicGVyX3BhZ2UiOiAyMCwKICAic2VhcmNoIjogbnVsbCwKICAic29y
123
        dCI6IHsKICAgICJieSI6IG51bGwsCiAgICAib3JkZXIiOiBudWxsCiAgfSwK
124
        ICAicmVzdWx0cyI6IFt7ImlkIjoiZm9yZW1hbi10YXNrcyIsIm5hbWUiOiJm
125
        b3JlbWFuLXRhc2tzIiwiYXV0aG9yIjoiSXZhbiBOZcSNYXMiLCJkZXNjcmlw
126
        dGlvbiI6IlRoZSBnb2FsIG9mIHRoaXMgcGx1Z2luIGlzIHRvIHVuaWZ5IHRo
127
        ZSB3YXkgb2Ygc2hvd2luZyB0YXNrIHN0YXR1c2VzIGFjcm9zcyB0aGUgRm9y
128
        ZW1hbiBpbnN0YW5jZS5cbkl0IGRlZmluZXMgVGFzayBtb2RlbCBmb3Iga2Vl
129
        cGluZyB0aGUgaW5mb3JtYXRpb24gYWJvdXQgdGhlIHRhc2tzIGFuZCBMb2Nr
130
        IGZvciBhc3NpZ25pbmcgdGhlIHRhc2tzXG50byByZXNvdXJjZXMuIFRoZSBs
131
        b2NraW5nIGFsbG93cyBkZWFsaW5nIHdpdGggcHJldmVudGluZyBtdWx0aXBs
132
        ZSBjb2xsaWRpbmcgdGFza3MgdG8gYmUgcnVuIG9uIHRoZVxuc2FtZSByZXNv
133
        dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
134
        cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
135
        a3MuXG4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9m
136
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv
137
        cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1
138
        dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm
139
        b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz
140
        IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg
141
        aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
142
        Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi
143
        fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k
144
        aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5
145
        LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p
146
        YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm
147
        ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs
148
        ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN
149
        b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2
150
        eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi
151
        YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op
152
        emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu
153
        Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
154
        ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu
155
        OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv
156
        Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi
157
        ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u
158
        dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw
159
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy
160
        c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l
161
        IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk
162
        ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl
163
        bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu
164
        IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v
165
        Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y
166
        ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0
167
        aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs
168
        YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn
169
        LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi
170
        LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v
171
        cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu
172
        X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl
173
        Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl
174
        YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl
175
        eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp
176
        ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl
177
        bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv
178
        bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp
179
        b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0
180
        ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6
181
        IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi
182
        VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt
183
        ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
184
        bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
185
        IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
186
        dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
187
        cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
188
        Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
189
        fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
190
        IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
191
        cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
192
        ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
193
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
194
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
195
    http_version: 
196
  recorded_at: Tue, 13 Dec 2016 14:48:37 GMT
197
- request:
198
    method: get
199
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999
200
    body:
201
      encoding: US-ASCII
202
      string: ''
203
    headers:
204
      Accept:
205
      - application/json;version=2
206
      Accept-Encoding:
207
      - gzip, deflate
208
      User-Agent:
209
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
210
      Content-Type:
211
      - application/json
212
      Accept-Language:
213
      - en
214
      Host:
215
      - satlap.example.com
216
  response:
217
    status:
218
      code: 200
219
      message: OK
220
    headers:
221
      Date:
222
      - Tue, 13 Dec 2016 14:48:40 GMT
223
      Server:
224
      - Apache/2.4.6 (Red Hat Enterprise Linux)
225
      X-Frame-Options:
226
      - SAMEORIGIN
227
      X-Xss-Protection:
228
      - 1; mode=block
229
      X-Content-Type-Options:
230
      - nosniff
231
      Foreman-Version:
232
      - 1.11.0.54
233
      Foreman-Api-Version:
234
      - '2'
235
      Apipie-Checksum:
236
      - e1df2e8d43e22495b02a53b48e3b5298
237
      Cache-Control:
238
      - max-age=0, private, must-revalidate
239
      X-Request-Id:
240
      - fe7c8799-1514-4800-88dc-11f9279fdb90
241
      X-Runtime:
242
      - '0.033853'
243
      X-Powered-By:
244
      - Phusion Passenger 4.0.18
245
      Set-Cookie:
246
      - _session_id=d113e25700cfb4654c2658b2424cf1fc; path=/; secure; HttpOnly
247
      Etag:
248
      - '"79a6984c12669cb275bce9726a51bcf1-gzip"'
249
      Status:
250
      - 200 OK
251
      Vary:
252
      - Accept-Encoding
253
      Content-Length:
254
      - '563'
255
      Content-Type:
256
      - application/json; charset=utf-8
257
    body:
258
      encoding: ASCII-8BIT
259
      string: |
260
        {
261
          "total": 2,
262
          "subtotal": 2,
263
          "page": 1,
264
          "per_page": 999999,
265
          "search": null,
266
          "sort": {
267
            "by": null,
268
            "order": null
269
          },
270
          "results": [{"label":"Default_Organization","created_at":"2016-12-07 03:03:54 UTC","updated_at":"2016-12-07 03:03:58 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-13 14:48:39 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
271
        }
272
    http_version: 
273
  recorded_at: Tue, 13 Dec 2016 14:48:37 GMT
274
- request:
275
    method: get
276
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
277
    body:
278
      encoding: US-ASCII
279
      string: ''
280
    headers:
281
      Accept:
282
      - application/json;version=2
283
      Accept-Encoding:
284
      - gzip, deflate
285
      User-Agent:
286
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
287
      Content-Type:
288
      - application/json
289
      Accept-Language:
290
      - en
291
      Host:
292
      - satlap.example.com
293
  response:
294
    status:
295
      code: 200
296
      message: OK
297
    headers:
298
      Date:
299
      - Tue, 13 Dec 2016 14:48:40 GMT
300
      Server:
301
      - Apache/2.4.6 (Red Hat Enterprise Linux)
302
      X-Frame-Options:
303
      - SAMEORIGIN
304
      X-Xss-Protection:
305
      - 1; mode=block
306
      X-Content-Type-Options:
307
      - nosniff
308
      Foreman-Version:
309
      - 1.11.0.54
310
      Foreman-Api-Version:
311
      - '2'
312
      Apipie-Checksum:
313
      - e1df2e8d43e22495b02a53b48e3b5298
314
      Cache-Control:
315
      - max-age=0, private, must-revalidate
316
      X-Request-Id:
317
      - 2d5480dd-e449-43c3-99d0-7e002c2251a9
318
      X-Runtime:
319
      - '0.035009'
320
      X-Powered-By:
321
      - Phusion Passenger 4.0.18
322
      Set-Cookie:
323
      - _session_id=92c7db1842f070c355000b6048b46b34; path=/; secure; HttpOnly
324
      Etag:
325
      - '"cf1795d5d45b3509444fd7c241acabca-gzip"'
326
      Status:
327
      - 200 OK
328
      Vary:
329
      - Accept-Encoding
330
      Content-Length:
331
      - '379'
332
      Content-Type:
333
      - application/json; charset=utf-8
334
    body:
335
      encoding: ASCII-8BIT
336
      string: |
337
        {
338
          "total": 2,
339
          "subtotal": 1,
340
          "page": 1,
341
          "per_page": 999999,
342
          "search": "name=\"Default Organization\"",
343
          "sort": {
344
            "by": null,
345
            "order": null
346
          },
347
          "results": [{"label":"Default_Organization","created_at":"2016-12-07 03:03:54 UTC","updated_at":"2016-12-07 03:03:58 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null}]
348
        }
349
    http_version: 
350
  recorded_at: Tue, 13 Dec 2016 14:48:37 GMT
351
- request:
352
    method: get
353
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/1/environments?per_page=999999
354
    body:
355
      encoding: US-ASCII
356
      string: ''
357
    headers:
358
      Accept:
359
      - application/json;version=2
360
      Accept-Encoding:
361
      - gzip, deflate
362
      User-Agent:
363
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
364
      Content-Type:
365
      - application/json
366
      Accept-Language:
367
      - en
368
      Host:
369
      - satlap.example.com
370
  response:
371
    status:
372
      code: 200
373
      message: OK
374
    headers:
375
      Date:
376
      - Tue, 13 Dec 2016 14:48:40 GMT
377
      Server:
378
      - Apache/2.4.6 (Red Hat Enterprise Linux)
379
      X-Frame-Options:
380
      - SAMEORIGIN
381
      X-Xss-Protection:
382
      - 1; mode=block
383
      X-Content-Type-Options:
384
      - nosniff
385
      Foreman-Version:
386
      - 1.11.0.54
387
      Foreman-Api-Version:
388
      - '2'
389
      Apipie-Checksum:
390
      - e1df2e8d43e22495b02a53b48e3b5298
391
      Cache-Control:
392
      - max-age=0, private, must-revalidate
393
      X-Request-Id:
394
      - 6bc13f86-405c-4b66-b78b-efc1b5435796
395
      X-Runtime:
396
      - '0.061951'
397
      X-Powered-By:
398
      - Phusion Passenger 4.0.18
399
      Set-Cookie:
400
      - _session_id=eb6eb4fa7c56ddf1f793934f1006ec19; path=/; secure; HttpOnly
401
      Etag:
402
      - '"503946e1ed737daf3d3adf48e03a0cd9-gzip"'
403
      Status:
404
      - 200 OK
405
      Vary:
406
      - Accept-Encoding
407
      Content-Length:
408
      - '798'
409
      Content-Type:
410
      - application/json; charset=utf-8
411
    body:
412
      encoding: ASCII-8BIT
413
      string: '{"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
414
        Organization","label":"Default_Organization","id":1},"created_at":"2016-12-07
415
        03:03:57 UTC","updated_at":"2016-12-07 03:03:57 UTC","prior":null,"successor":null,"counts":{"content_hosts":2,"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":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}]}
416

    
417
'
418
    http_version: 
419
  recorded_at: Tue, 13 Dec 2016 14:48:37 GMT
420
- request:
421
    method: get
422
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
423
    body:
424
      encoding: US-ASCII
425
      string: ''
426
    headers:
427
      Accept:
428
      - application/json;version=2
429
      Accept-Encoding:
430
      - gzip, deflate
431
      User-Agent:
432
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
433
      Content-Type:
434
      - application/json
435
      Accept-Language:
436
      - en
437
      Host:
438
      - satlap.example.com
439
  response:
440
    status:
441
      code: 200
442
      message: OK
443
    headers:
444
      Date:
445
      - Tue, 13 Dec 2016 14:48:40 GMT
446
      Server:
447
      - Apache/2.4.6 (Red Hat Enterprise Linux)
448
      X-Frame-Options:
449
      - SAMEORIGIN
450
      X-Xss-Protection:
451
      - 1; mode=block
452
      X-Content-Type-Options:
453
      - nosniff
454
      Foreman-Version:
455
      - 1.11.0.54
456
      Foreman-Api-Version:
457
      - '2'
458
      Apipie-Checksum:
459
      - e1df2e8d43e22495b02a53b48e3b5298
460
      Cache-Control:
461
      - max-age=0, private, must-revalidate
462
      X-Request-Id:
463
      - 47576f06-a8cc-45cc-ad29-9020ac2e59dd
464
      X-Runtime:
465
      - '0.033687'
466
      X-Powered-By:
467
      - Phusion Passenger 4.0.18
468
      Set-Cookie:
469
      - _session_id=9250de6ccde496d702059844c254e821; path=/; secure; HttpOnly
470
      Etag:
471
      - '"fe54a120e7b0eab7e6f7182ed6512d2a-gzip"'
472
      Status:
473
      - 200 OK
474
      Vary:
475
      - Accept-Encoding
476
      Content-Length:
477
      - '388'
478
      Content-Type:
479
      - application/json; charset=utf-8
480
    body:
481
      encoding: ASCII-8BIT
482
      string: |
483
        {
484
          "total": 2,
485
          "subtotal": 1,
486
          "page": 1,
487
          "per_page": 999999,
488
          "search": "name=\"Test Corporation\"",
489
          "sort": {
490
            "by": null,
491
            "order": null
492
          },
493
          "results": [{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-13 14:48:39 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
494
        }
495
    http_version: 
496
  recorded_at: Tue, 13 Dec 2016 14:48:38 GMT
497
- request:
498
    method: get
499
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8/environments?per_page=999999
500
    body:
501
      encoding: US-ASCII
502
      string: ''
503
    headers:
504
      Accept:
505
      - application/json;version=2
506
      Accept-Encoding:
507
      - gzip, deflate
508
      User-Agent:
509
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
510
      Content-Type:
511
      - application/json
512
      Accept-Language:
513
      - en
514
      Host:
515
      - satlap.example.com
516
  response:
517
    status:
518
      code: 200
519
      message: OK
520
    headers:
521
      Date:
522
      - Tue, 13 Dec 2016 14:48:40 GMT
523
      Server:
524
      - Apache/2.4.6 (Red Hat Enterprise Linux)
525
      X-Frame-Options:
526
      - SAMEORIGIN
527
      X-Xss-Protection:
528
      - 1; mode=block
529
      X-Content-Type-Options:
530
      - nosniff
531
      Foreman-Version:
532
      - 1.11.0.54
533
      Foreman-Api-Version:
534
      - '2'
535
      Apipie-Checksum:
536
      - e1df2e8d43e22495b02a53b48e3b5298
537
      Cache-Control:
538
      - max-age=0, private, must-revalidate
539
      X-Request-Id:
540
      - 57a6072c-b58a-42d7-82a4-c7fd4510c3a2
541
      X-Runtime:
542
      - '0.075388'
543
      X-Powered-By:
544
      - Phusion Passenger 4.0.18
545
      Set-Cookie:
546
      - _session_id=1163613e8d62e23226c16bd216b542ef; path=/; secure; HttpOnly
547
      Etag:
548
      - '"e887f85e97779657bd7cf336d1f5761c-gzip"'
549
      Status:
550
      - 200 OK
551
      Vary:
552
      - Accept-Encoding
553
      Content-Length:
554
      - '3019'
555
      Content-Type:
556
      - application/json; charset=utf-8
557
    body:
558
      encoding: ASCII-8BIT
559
      string: '{"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,
560
        manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
561
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"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,
562
        manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
563
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"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
564
        Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:26
565
        UTC","updated_at":"2016-12-13 10:58:26 UTC","prior":null,"successor":null,"counts":{"content_hosts":2,"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":{"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,
566
        automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
567
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"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,
568
        no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
569
        10:59:05 UTC","updated_at":"2016-12-13 10:59:05 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
570

    
571
'
572
    http_version: 
573
  recorded_at: Tue, 13 Dec 2016 14:48:38 GMT
574
- request:
575
    method: put
576
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/3
577
    body:
578
      encoding: UTF-8
579
      string: '{"description":"Development, automated promotes from Library"}'
580
    headers:
581
      Accept:
582
      - application/json;version=2
583
      Accept-Encoding:
584
      - gzip, deflate
585
      User-Agent:
586
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
587
      Content-Type:
588
      - application/json
589
      Accept-Language:
590
      - en
591
      Content-Length:
592
      - '62'
593
      Host:
594
      - satlap.example.com
595
  response:
596
    status:
597
      code: 200
598
      message: OK
599
    headers:
600
      Date:
601
      - Tue, 13 Dec 2016 14:48:40 GMT
602
      Server:
603
      - Apache/2.4.6 (Red Hat Enterprise Linux)
604
      X-Frame-Options:
605
      - SAMEORIGIN
606
      X-Xss-Protection:
607
      - 1; mode=block
608
      X-Content-Type-Options:
609
      - nosniff
610
      Foreman-Version:
611
      - 1.11.0.54
612
      Foreman-Api-Version:
613
      - '2'
614
      Apipie-Checksum:
615
      - e1df2e8d43e22495b02a53b48e3b5298
616
      Cache-Control:
617
      - max-age=0, private, must-revalidate
618
      X-Request-Id:
619
      - 9ac94293-67af-48a8-bde0-e012e12910e1
620
      X-Runtime:
621
      - '0.057413'
622
      X-Powered-By:
623
      - Phusion Passenger 4.0.18
624
      Set-Cookie:
625
      - _session_id=9d4543f4008b4fd0a25209885b5e1cb4; path=/; secure; HttpOnly
626
      - request_method=PUT; path=/
627
      Etag:
628
      - '"d1a1078fbc4e19de0bbdbdaef3661e1a-gzip"'
629
      Status:
630
      - 200 OK
631
      Vary:
632
      - Accept-Encoding
633
      Content-Length:
634
      - '574'
635
      Content-Type:
636
      - application/json; charset=utf-8
637
    body:
638
      encoding: ASCII-8BIT
639
      string: '  {"library":false,"id":3,"name":"Development","label":"Development","description":"Development,
640
        automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
641
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
642

    
643
'
644
    http_version: 
645
  recorded_at: Tue, 13 Dec 2016 14:48:38 GMT
646
- request:
647
    method: put
648
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/4
649
    body:
650
      encoding: UTF-8
651
      string: '{"description":"Test, manual promotions from Development"}'
652
    headers:
653
      Accept:
654
      - application/json;version=2
655
      Accept-Encoding:
656
      - gzip, deflate
657
      User-Agent:
658
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
659
      Content-Type:
660
      - application/json
661
      Accept-Language:
662
      - en
663
      Content-Length:
664
      - '58'
665
      Host:
666
      - satlap.example.com
667
  response:
668
    status:
669
      code: 200
670
      message: OK
671
    headers:
672
      Date:
673
      - Tue, 13 Dec 2016 14:48:40 GMT
674
      Server:
675
      - Apache/2.4.6 (Red Hat Enterprise Linux)
676
      X-Frame-Options:
677
      - SAMEORIGIN
678
      X-Xss-Protection:
679
      - 1; mode=block
680
      X-Content-Type-Options:
681
      - nosniff
682
      Foreman-Version:
683
      - 1.11.0.54
684
      Foreman-Api-Version:
685
      - '2'
686
      Apipie-Checksum:
687
      - e1df2e8d43e22495b02a53b48e3b5298
688
      Cache-Control:
689
      - max-age=0, private, must-revalidate
690
      X-Request-Id:
691
      - d00a8101-f2f5-4513-9879-fcbc51b05a94
692
      X-Runtime:
693
      - '0.060327'
694
      X-Powered-By:
695
      - Phusion Passenger 4.0.18
696
      Set-Cookie:
697
      - _session_id=ddfece6b8a1c53d05e8e78c63ed0fac5; path=/; secure; HttpOnly
698
      - request_method=PUT; path=/
699
      Etag:
700
      - '"095ce7eb223d0860918635d47fe54db6-gzip"'
701
      Status:
702
      - 200 OK
703
      Vary:
704
      - Accept-Encoding
705
      Content-Length:
706
      - '566'
707
      Content-Type:
708
      - application/json; charset=utf-8
709
    body:
710
      encoding: ASCII-8BIT
711
      string: '  {"library":false,"id":4,"name":"Test","label":"Test","description":"Test,
712
        manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
713
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
714

    
715
'
716
    http_version: 
717
  recorded_at: Tue, 13 Dec 2016 14:48:38 GMT
718
- request:
719
    method: put
720
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/5
721
    body:
722
      encoding: UTF-8
723
      string: '{"description":"Production, manual promotions from Test"}'
724
    headers:
725
      Accept:
726
      - application/json;version=2
727
      Accept-Encoding:
728
      - gzip, deflate
729
      User-Agent:
730
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
731
      Content-Type:
732
      - application/json
733
      Accept-Language:
734
      - en
735
      Content-Length:
736
      - '57'
737
      Host:
738
      - satlap.example.com
739
  response:
740
    status:
741
      code: 200
742
      message: OK
743
    headers:
744
      Date:
745
      - Tue, 13 Dec 2016 14:48:40 GMT
746
      Server:
747
      - Apache/2.4.6 (Red Hat Enterprise Linux)
748
      X-Frame-Options:
749
      - SAMEORIGIN
750
      X-Xss-Protection:
751
      - 1; mode=block
752
      X-Content-Type-Options:
753
      - nosniff
754
      Foreman-Version:
755
      - 1.11.0.54
756
      Foreman-Api-Version:
757
      - '2'
758
      Apipie-Checksum:
759
      - e1df2e8d43e22495b02a53b48e3b5298
760
      Cache-Control:
761
      - max-age=0, private, must-revalidate
762
      X-Request-Id:
763
      - dee7b709-9f7e-40cd-8b37-144a3e6b48ba
764
      X-Runtime:
765
      - '0.049950'
766
      X-Powered-By:
767
      - Phusion Passenger 4.0.18
768
      Set-Cookie:
769
      - _session_id=dccbcdd08ae24e210f791147901340fa; path=/; secure; HttpOnly
770
      - request_method=PUT; path=/
771
      Etag:
772
      - '"d9e82a863d78d6025d4d5021820435c0-gzip"'
773
      Status:
774
      - 200 OK
775
      Vary:
776
      - Accept-Encoding
777
      Content-Length:
778
      - '567'
779
      Content-Type:
780
      - application/json; charset=utf-8
781
    body:
782
      encoding: ASCII-8BIT
783
      string: '  {"library":false,"id":5,"name":"Production","label":"Production","description":"Production,
784
        manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
785
        10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
786

    
787
'
788
    http_version: 
789
  recorded_at: Tue, 13 Dec 2016 14:48:38 GMT
790
- request:
791
    method: put
792
    uri: https://admin:changeme@satlap.example.com/katello/api/environments/6
793
    body:
794
      encoding: UTF-8
795
      string: '{"description":"Archive, no longer in Production"}'
796
    headers:
797
      Accept:
798
      - application/json;version=2
799
      Accept-Encoding:
800
      - gzip, deflate
801
      User-Agent:
802
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
803
      Content-Type:
804
      - application/json
805
      Accept-Language:
806
      - en
807
      Content-Length:
808
      - '50'
809
      Host:
810
      - satlap.example.com
811
  response:
812
    status:
813
      code: 200
814
      message: OK
815
    headers:
816
      Date:
817
      - Tue, 13 Dec 2016 14:48:40 GMT
818
      Server:
819
      - Apache/2.4.6 (Red Hat Enterprise Linux)
820
      X-Frame-Options:
821
      - SAMEORIGIN
822
      X-Xss-Protection:
823
      - 1; mode=block
824
      X-Content-Type-Options:
825
      - nosniff
826
      Foreman-Version:
827
      - 1.11.0.54
828
      Foreman-Api-Version:
829
      - '2'
830
      Apipie-Checksum:
831
      - e1df2e8d43e22495b02a53b48e3b5298
832
      Cache-Control:
833
      - max-age=0, private, must-revalidate
834
      X-Request-Id:
835
      - d880c8c1-c031-4ced-9b98-a65b967c1c92
836
      X-Runtime:
837
      - '0.053261'
838
      X-Powered-By:
839
      - Phusion Passenger 4.0.18
840
      Set-Cookie:
841
      - _session_id=76d6c10e6d38825e261de72bc72a7ef0; path=/; secure; HttpOnly
842
      - request_method=PUT; path=/
843
      Etag:
844
      - '"90a71dc83ec9d8ba5266f84ed30a5993-gzip"'
845
      Status:
846
      - 200 OK
847
      Vary:
848
      - Accept-Encoding
849
      Content-Length:
850
      - '538'
851
      Content-Type:
852
      - application/json; charset=utf-8
853
    body:
854
      encoding: ASCII-8BIT
855
      string: '  {"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive,
856
        no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
857
        10:59:05 UTC","updated_at":"2016-12-13 10:59:05 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}
858

    
859
'
860
    http_version: 
861
  recorded_at: Tue, 13 Dec 2016 14:48:38 GMT
862
recorded_with: VCR 3.0.3