Project

General

Profile

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

hammer-cli-csv / test / fixtures / vcr_cassettes / setup / setup_content_views / setup.yml @ ff467024

1
---
2
http_interactions:
3
- request:
4
    method: get
5
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8/content_views?nondefault=true&per_page=999999
6
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept:
11
      - application/json;version=2
12
      Accept-Encoding:
13
      - gzip, deflate
14
      User-Agent:
15
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
16
      Content-Type:
17
      - application/json
18
      Accept-Language:
19
      - en
20
      Host:
21
      - satlap.example.com
22
  response:
23
    status:
24
      code: 200
25
      message: OK
26
    headers:
27
      Date:
28
      - Mon, 19 Dec 2016 16:43:51 GMT
29
      Server:
30
      - Apache/2.4.6 (Red Hat Enterprise Linux)
31
      X-Frame-Options:
32
      - SAMEORIGIN
33
      X-Xss-Protection:
34
      - 1; mode=block
35
      X-Content-Type-Options:
36
      - nosniff
37
      Foreman-Version:
38
      - 1.11.0.61
39
      Foreman-Api-Version:
40
      - '2'
41
      Apipie-Checksum:
42
      - 9793fd9909c89b81479655ed560c4340
43
      Cache-Control:
44
      - max-age=0, private, must-revalidate
45
      X-Request-Id:
46
      - 34322e3a-ec7b-43df-bfbe-b8f6a20bb512
47
      X-Runtime:
48
      - '0.056925'
49
      X-Powered-By:
50
      - Phusion Passenger 4.0.18
51
      Set-Cookie:
52
      - _session_id=4614c90932934a4178d9d3436607dc4f; path=/; secure; HttpOnly
53
      Etag:
54
      - '"cf301b4117cad49bd4d896be95b62228-gzip"'
55
      Status:
56
      - 200 OK
57
      Vary:
58
      - Accept-Encoding
59
      Content-Length:
60
      - '923'
61
      Content-Type:
62
      - application/json; charset=utf-8
63
    body:
64
      encoding: ASCII-8BIT
65
      string: '{"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":3,"name":"Test
66
        Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test
67
        Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:58
68
        UTC","updated_at":"2016-12-13 10:58:59 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-13
69
        10:58:59 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-13
70
        10:58:59 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
71

    
72
'
73
    http_version: 
74
  recorded_at: Mon, 19 Dec 2016 16:43:34 GMT
75
- request:
76
    method: get
77
    uri: https://admin:changeme@devel.example.com:50083/api/status
78
    body:
79
      encoding: US-ASCII
80
      string: ''
81
    headers:
82
      Accept-Encoding:
83
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
84
      Accept:
85
      - "*/*"
86
      User-Agent:
87
      - Ruby
88
      Host:
89
      - devel.example.com:50083
90
  response:
91
    status:
92
      code: 200
93
      message: OK
94
    headers:
95
      Date:
96
      - Mon, 27 Mar 2017 18:36:45 GMT
97
      Server:
98
      - Apache/2.4.6 (Red Hat Enterprise Linux)
99
      X-Frame-Options:
100
      - SAMEORIGIN
101
      X-Xss-Protection:
102
      - 1; mode=block
103
      X-Content-Type-Options:
104
      - nosniff
105
      Foreman-Version:
106
      - 1.11.0.54
107
      Foreman-Api-Version:
108
      - '2'
109
      Apipie-Checksum:
110
      - e1df2e8d43e22495b02a53b48e3b5298
111
      Cache-Control:
112
      - max-age=0, private, must-revalidate
113
      X-Request-Id:
114
      - d5874210-3c0d-41f2-b551-9be8aef88b1c
115
      X-Runtime:
116
      - '0.070972'
117
      X-Powered-By:
118
      - Phusion Passenger 4.0.18
119
      Etag:
120
      - '"8e3341d0a4cc328651f7391aed11fef8"'
121
      Status:
122
      - 200 OK
123
      Content-Length:
124
      - '66'
125
      Content-Type:
126
      - application/json; charset=utf-8
127
      Set-Cookie:
128
      - _session_id=885c286486591c3dff376af2f158c439; path=/; secure; HttpOnly
129
    body:
130
      encoding: UTF-8
131
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
132
    http_version: 
133
  recorded_at: Mon, 27 Mar 2017 18:36:51 GMT
134
- request:
135
    method: get
136
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
137
    body:
138
      encoding: US-ASCII
139
      string: ''
140
    headers:
141
      Accept-Encoding:
142
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
143
      Accept:
144
      - "*/*"
145
      User-Agent:
146
      - Ruby
147
      Host:
148
      - devel.example.com:50083
149
  response:
150
    status:
151
      code: 200
152
      message: OK
153
    headers:
154
      Date:
155
      - Mon, 27 Mar 2017 18:36:45 GMT
156
      Server:
157
      - Apache/2.4.6 (Red Hat Enterprise Linux)
158
      X-Frame-Options:
159
      - SAMEORIGIN
160
      X-Xss-Protection:
161
      - 1; mode=block
162
      X-Content-Type-Options:
163
      - nosniff
164
      Foreman-Version:
165
      - 1.11.0.54
166
      Foreman-Api-Version:
167
      - '2'
168
      Apipie-Checksum:
169
      - e1df2e8d43e22495b02a53b48e3b5298
170
      Cache-Control:
171
      - max-age=0, private, must-revalidate
172
      X-Request-Id:
173
      - 2588521e-9652-4879-a254-bf7c400eb659
174
      X-Runtime:
175
      - '0.073816'
176
      X-Powered-By:
177
      - Phusion Passenger 4.0.18
178
      Etag:
179
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
180
      Status:
181
      - 200 OK
182
      Vary:
183
      - Accept-Encoding
184
      Content-Length:
185
      - '1338'
186
      Content-Type:
187
      - application/json; charset=utf-8
188
      Set-Cookie:
189
      - _session_id=d41279cf108bb3d69f1ecff27766d5ce; path=/; secure; HttpOnly
190
    body:
191
      encoding: ASCII-8BIT
192
      string: !binary |-
193
        ewogICJ0b3RhbCI6IDEwLAogICJzdWJ0b3RhbCI6IDEwLAogICJwYWdlIjog
194
        MSwKICAicGVyX3BhZ2UiOiAyMCwKICAic2VhcmNoIjogbnVsbCwKICAic29y
195
        dCI6IHsKICAgICJieSI6IG51bGwsCiAgICAib3JkZXIiOiBudWxsCiAgfSwK
196
        ICAicmVzdWx0cyI6IFt7ImlkIjoiZm9yZW1hbi10YXNrcyIsIm5hbWUiOiJm
197
        b3JlbWFuLXRhc2tzIiwiYXV0aG9yIjoiSXZhbiBOZcSNYXMiLCJkZXNjcmlw
198
        dGlvbiI6IlRoZSBnb2FsIG9mIHRoaXMgcGx1Z2luIGlzIHRvIHVuaWZ5IHRo
199
        ZSB3YXkgb2Ygc2hvd2luZyB0YXNrIHN0YXR1c2VzIGFjcm9zcyB0aGUgRm9y
200
        ZW1hbiBpbnN0YW5jZS5cbkl0IGRlZmluZXMgVGFzayBtb2RlbCBmb3Iga2Vl
201
        cGluZyB0aGUgaW5mb3JtYXRpb24gYWJvdXQgdGhlIHRhc2tzIGFuZCBMb2Nr
202
        IGZvciBhc3NpZ25pbmcgdGhlIHRhc2tzXG50byByZXNvdXJjZXMuIFRoZSBs
203
        b2NraW5nIGFsbG93cyBkZWFsaW5nIHdpdGggcHJldmVudGluZyBtdWx0aXBs
204
        ZSBjb2xsaWRpbmcgdGFza3MgdG8gYmUgcnVuIG9uIHRoZVxuc2FtZSByZXNv
205
        dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
206
        cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
207
        a3MuXG4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9m
208
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv
209
        cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1
210
        dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm
211
        b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz
212
        IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg
213
        aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
214
        Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi
215
        fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k
216
        aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5
217
        LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p
218
        YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm
219
        ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs
220
        ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN
221
        b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2
222
        eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi
223
        YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op
224
        emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu
225
        Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
226
        ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu
227
        OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv
228
        Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi
229
        ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u
230
        dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw
231
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy
232
        c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l
233
        IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk
234
        ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl
235
        bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu
236
        IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v
237
        Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y
238
        ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0
239
        aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs
240
        YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn
241
        LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi
242
        LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v
243
        cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu
244
        X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl
245
        Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl
246
        YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl
247
        eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp
248
        ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl
249
        bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv
250
        bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp
251
        b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0
252
        ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6
253
        IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi
254
        VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt
255
        ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
256
        bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
257
        IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
258
        dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
259
        cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
260
        Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
261
        fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
262
        IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
263
        cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
264
        ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
265
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
266
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
267
    http_version: 
268
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
269
- request:
270
    method: get
271
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
272
    body:
273
      encoding: US-ASCII
274
      string: ''
275
    headers:
276
      Accept:
277
      - application/json;version=2
278
      Accept-Encoding:
279
      - gzip, deflate
280
      User-Agent:
281
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
282
      Content-Type:
283
      - application/json
284
      Accept-Language:
285
      - en
286
      Host:
287
      - devel.example.com:50083
288
  response:
289
    status:
290
      code: 200
291
      message: OK
292
    headers:
293
      Date:
294
      - Mon, 27 Mar 2017 18:36:45 GMT
295
      Server:
296
      - Apache/2.4.6 (Red Hat Enterprise Linux)
297
      X-Frame-Options:
298
      - SAMEORIGIN
299
      X-Xss-Protection:
300
      - 1; mode=block
301
      X-Content-Type-Options:
302
      - nosniff
303
      Foreman-Version:
304
      - 1.11.0.54
305
      Foreman-Api-Version:
306
      - '2'
307
      Apipie-Checksum:
308
      - e1df2e8d43e22495b02a53b48e3b5298
309
      Cache-Control:
310
      - max-age=0, private, must-revalidate
311
      X-Request-Id:
312
      - 3b7813cb-0037-4b09-8182-2617163d5f8d
313
      X-Runtime:
314
      - '0.078826'
315
      X-Powered-By:
316
      - Phusion Passenger 4.0.18
317
      Etag:
318
      - '"889d59438c9dbada3bd3c0b258f7a13e-gzip"'
319
      Status:
320
      - 200 OK
321
      Vary:
322
      - Accept-Encoding
323
      Content-Length:
324
      - '388'
325
      Content-Type:
326
      - application/json; charset=utf-8
327
      Set-Cookie:
328
      - _session_id=14fe151c9515f4a07228866acad8b166; path=/; secure; HttpOnly
329
    body:
330
      encoding: ASCII-8BIT
331
      string: |
332
        {
333
          "total": 2,
334
          "subtotal": 1,
335
          "page": 1,
336
          "per_page": 999999,
337
          "search": "name=\"Test Corporation\"",
338
          "sort": {
339
            "by": null,
340
            "order": null
341
          },
342
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:36:07 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
343
        }
344
    http_version: 
345
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
346
- request:
347
    method: get
348
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/content_views?nondefault=true&per_page=999999
349
    body:
350
      encoding: US-ASCII
351
      string: ''
352
    headers:
353
      Accept:
354
      - application/json;version=2
355
      Accept-Encoding:
356
      - gzip, deflate
357
      User-Agent:
358
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
359
      Content-Type:
360
      - application/json
361
      Accept-Language:
362
      - en
363
      Host:
364
      - devel.example.com:50083
365
  response:
366
    status:
367
      code: 200
368
      message: OK
369
    headers:
370
      Date:
371
      - Mon, 27 Mar 2017 18:36:45 GMT
372
      Server:
373
      - Apache/2.4.6 (Red Hat Enterprise Linux)
374
      X-Frame-Options:
375
      - SAMEORIGIN
376
      X-Xss-Protection:
377
      - 1; mode=block
378
      X-Content-Type-Options:
379
      - nosniff
380
      Foreman-Version:
381
      - 1.11.0.54
382
      Foreman-Api-Version:
383
      - '2'
384
      Apipie-Checksum:
385
      - e1df2e8d43e22495b02a53b48e3b5298
386
      Cache-Control:
387
      - max-age=0, private, must-revalidate
388
      X-Request-Id:
389
      - 74a6315f-4f48-42fb-84f4-5f0ade6d3bcd
390
      X-Runtime:
391
      - '0.071974'
392
      X-Powered-By:
393
      - Phusion Passenger 4.0.18
394
      Etag:
395
      - '"896e5e5aa5afa1c4f53e099eb4de21b3-gzip"'
396
      Status:
397
      - 200 OK
398
      Vary:
399
      - Accept-Encoding
400
      Content-Length:
401
      - '923'
402
      Content-Type:
403
      - application/json; charset=utf-8
404
      Set-Cookie:
405
      - _session_id=c3251459c49c74cc818b433361102e81; path=/; secure; HttpOnly
406
    body:
407
      encoding: ASCII-8BIT
408
      string: '{"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":3,"name":"Test
409
        Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test
410
        Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:37:07
411
        UTC","updated_at":"2016-12-01 19:37:09 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-01
412
        19:37:09 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-01
413
        19:37:09 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
414

    
415
'
416
    http_version: 
417
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
418
- request:
419
    method: put
420
    uri: https://admin:changeme@devel.example.com:50083/katello/api/content_views/3
421
    body:
422
      encoding: UTF-8
423
      string: '{"description":null,"repository_ids":[]}'
424
    headers:
425
      Accept:
426
      - application/json;version=2
427
      Accept-Encoding:
428
      - gzip, deflate
429
      User-Agent:
430
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
431
      Content-Type:
432
      - application/json
433
      Accept-Language:
434
      - en
435
      Content-Length:
436
      - '40'
437
      Host:
438
      - devel.example.com:50083
439
  response:
440
    status:
441
      code: 200
442
      message: OK
443
    headers:
444
      Date:
445
      - Mon, 27 Mar 2017 18:36:46 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
      - 6b9a901e-6239-4238-b914-b497021aae23
464
      X-Runtime:
465
      - '0.393649'
466
      X-Powered-By:
467
      - Phusion Passenger 4.0.18
468
      Etag:
469
      - '"0901f076dd287990f028cc77e19dd119-gzip"'
470
      Status:
471
      - 200 OK
472
      Vary:
473
      - Accept-Encoding
474
      Content-Length:
475
      - '823'
476
      Content-Type:
477
      - application/json; charset=utf-8
478
      Set-Cookie:
479
      - _session_id=dd0e5a064be60c1df63482c96e3ce6ae; path=/; secure; HttpOnly
480
      - request_method=PUT; path=/
481
    body:
482
      encoding: ASCII-8BIT
483
      string: '  {"content_host_count":0,"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test
484
        Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test
485
        Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:37:07
486
        UTC","updated_at":"2016-12-01 19:37:09 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-01
487
        19:37:09 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-01
488
        19:37:09 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}
489

    
490
'
491
    http_version: 
492
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
493
- request:
494
    method: get
495
    uri: https://admin:changeme@devel.example.com:50083/katello/api/content_views/3
496
    body:
497
      encoding: US-ASCII
498
      string: ''
499
    headers:
500
      Accept:
501
      - application/json;version=2
502
      Accept-Encoding:
503
      - gzip, deflate
504
      User-Agent:
505
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
506
      Content-Type:
507
      - application/json
508
      Accept-Language:
509
      - en
510
      Host:
511
      - devel.example.com:50083
512
  response:
513
    status:
514
      code: 200
515
      message: OK
516
    headers:
517
      Date:
518
      - Mon, 27 Mar 2017 18:36:46 GMT
519
      Server:
520
      - Apache/2.4.6 (Red Hat Enterprise Linux)
521
      X-Frame-Options:
522
      - SAMEORIGIN
523
      X-Xss-Protection:
524
      - 1; mode=block
525
      X-Content-Type-Options:
526
      - nosniff
527
      Foreman-Version:
528
      - 1.11.0.54
529
      Foreman-Api-Version:
530
      - '2'
531
      Apipie-Checksum:
532
      - e1df2e8d43e22495b02a53b48e3b5298
533
      Cache-Control:
534
      - max-age=0, private, must-revalidate
535
      X-Request-Id:
536
      - 2b3e424f-141c-44f5-9f1e-d7f33d263f71
537
      X-Runtime:
538
      - '0.090113'
539
      X-Powered-By:
540
      - Phusion Passenger 4.0.18
541
      Etag:
542
      - '"0901f076dd287990f028cc77e19dd119-gzip"'
543
      Status:
544
      - 200 OK
545
      Vary:
546
      - Accept-Encoding
547
      Content-Length:
548
      - '823'
549
      Content-Type:
550
      - application/json; charset=utf-8
551
      Set-Cookie:
552
      - _session_id=9eefbe97914dd4d2c8f363846f66a4cd; path=/; secure; HttpOnly
553
    body:
554
      encoding: ASCII-8BIT
555
      string: '  {"content_host_count":0,"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test
556
        Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test
557
        Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:37:07
558
        UTC","updated_at":"2016-12-01 19:37:09 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-01
559
        19:37:09 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-01
560
        19:37:09 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}
561

    
562
'
563
    http_version: 
564
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
565
- request:
566
    method: get
567
    uri: https://admin:changeme@devel.example.com:50083/katello/api/environments/2
568
    body:
569
      encoding: US-ASCII
570
      string: ''
571
    headers:
572
      Accept:
573
      - application/json;version=2
574
      Accept-Encoding:
575
      - gzip, deflate
576
      User-Agent:
577
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
578
      Content-Type:
579
      - application/json
580
      Accept-Language:
581
      - en
582
      Host:
583
      - devel.example.com:50083
584
  response:
585
    status:
586
      code: 200
587
      message: OK
588
    headers:
589
      Date:
590
      - Mon, 27 Mar 2017 18:36:46 GMT
591
      Server:
592
      - Apache/2.4.6 (Red Hat Enterprise Linux)
593
      X-Frame-Options:
594
      - SAMEORIGIN
595
      X-Xss-Protection:
596
      - 1; mode=block
597
      X-Content-Type-Options:
598
      - nosniff
599
      Foreman-Version:
600
      - 1.11.0.54
601
      Foreman-Api-Version:
602
      - '2'
603
      Apipie-Checksum:
604
      - e1df2e8d43e22495b02a53b48e3b5298
605
      Cache-Control:
606
      - max-age=0, private, must-revalidate
607
      X-Request-Id:
608
      - 964b9fd9-b44e-4285-b7c2-212e6148089b
609
      X-Runtime:
610
      - '0.085075'
611
      X-Powered-By:
612
      - Phusion Passenger 4.0.18
613
      Etag:
614
      - '"952b44d2217322be0072a1bbbe8f4a63-gzip"'
615
      Status:
616
      - 200 OK
617
      Vary:
618
      - Accept-Encoding
619
      Content-Length:
620
      - '659'
621
      Content-Type:
622
      - application/json; charset=utf-8
623
      Set-Cookie:
624
      - _session_id=45e62cddbe510d24a726e806daade884; path=/; secure; HttpOnly
625
    body:
626
      encoding: ASCII-8BIT
627
      string: '  {"library":true,"id":2,"name":"Library","label":"Library","description":null,"organization":{"name":"Test
628
        Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:35:26
629
        UTC","updated_at":"2016-12-01 19:35: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}}
630

    
631
'
632
    http_version: 
633
  recorded_at: Mon, 27 Mar 2017 18:36:52 GMT
634
recorded_with: VCR 3.0.3