Project

General

Profile

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

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

1
---
2
http_interactions:
3
- request:
4
    method: get
5
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8/environments?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:53 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
      - 015d1e44-8030-469e-af10-9f542f61d5c5
47
      X-Runtime:
48
      - '0.122878'
49
      X-Powered-By:
50
      - Phusion Passenger 4.0.18
51
      Set-Cookie:
52
      - _session_id=4d4d090af1d8f87d31778808cbf4b36a; path=/; secure; HttpOnly
53
      Etag:
54
      - '"e887f85e97779657bd7cf336d1f5761c-gzip"'
55
      Status:
56
      - 200 OK
57
      Vary:
58
      - Accept-Encoding
59
      Content-Length:
60
      - '3019'
61
      Content-Type:
62
      - application/json; charset=utf-8
63
    body:
64
      encoding: ASCII-8BIT
65
      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,
66
        manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
67
        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,
68
        manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
69
        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
70
        Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:26
71
        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,
72
        automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
73
        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,
74
        no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
75
        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}}]}
76

    
77
'
78
    http_version: 
79
  recorded_at: Mon, 19 Dec 2016 16:43:37 GMT
80
- request:
81
    method: get
82
    uri: https://admin:changeme@devel.example.com:50083/api/status
83
    body:
84
      encoding: US-ASCII
85
      string: ''
86
    headers:
87
      Accept-Encoding:
88
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
89
      Accept:
90
      - "*/*"
91
      User-Agent:
92
      - Ruby
93
      Host:
94
      - devel.example.com:50083
95
  response:
96
    status:
97
      code: 200
98
      message: OK
99
    headers:
100
      Date:
101
      - Mon, 27 Mar 2017 18:36:47 GMT
102
      Server:
103
      - Apache/2.4.6 (Red Hat Enterprise Linux)
104
      X-Frame-Options:
105
      - SAMEORIGIN
106
      X-Xss-Protection:
107
      - 1; mode=block
108
      X-Content-Type-Options:
109
      - nosniff
110
      Foreman-Version:
111
      - 1.11.0.54
112
      Foreman-Api-Version:
113
      - '2'
114
      Apipie-Checksum:
115
      - e1df2e8d43e22495b02a53b48e3b5298
116
      Cache-Control:
117
      - max-age=0, private, must-revalidate
118
      X-Request-Id:
119
      - 1bb3a464-3c6d-442f-aa53-03e06009ec8c
120
      X-Runtime:
121
      - '0.066794'
122
      X-Powered-By:
123
      - Phusion Passenger 4.0.18
124
      Etag:
125
      - '"8e3341d0a4cc328651f7391aed11fef8"'
126
      Status:
127
      - 200 OK
128
      Content-Length:
129
      - '66'
130
      Content-Type:
131
      - application/json; charset=utf-8
132
      Set-Cookie:
133
      - _session_id=5e5cce3cf228ea737f4a14939eb9a5b4; path=/; secure; HttpOnly
134
    body:
135
      encoding: UTF-8
136
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
137
    http_version: 
138
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
139
- request:
140
    method: get
141
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
142
    body:
143
      encoding: US-ASCII
144
      string: ''
145
    headers:
146
      Accept-Encoding:
147
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
148
      Accept:
149
      - "*/*"
150
      User-Agent:
151
      - Ruby
152
      Host:
153
      - devel.example.com:50083
154
  response:
155
    status:
156
      code: 200
157
      message: OK
158
    headers:
159
      Date:
160
      - Mon, 27 Mar 2017 18:36:47 GMT
161
      Server:
162
      - Apache/2.4.6 (Red Hat Enterprise Linux)
163
      X-Frame-Options:
164
      - SAMEORIGIN
165
      X-Xss-Protection:
166
      - 1; mode=block
167
      X-Content-Type-Options:
168
      - nosniff
169
      Foreman-Version:
170
      - 1.11.0.54
171
      Foreman-Api-Version:
172
      - '2'
173
      Apipie-Checksum:
174
      - e1df2e8d43e22495b02a53b48e3b5298
175
      Cache-Control:
176
      - max-age=0, private, must-revalidate
177
      X-Request-Id:
178
      - ddc669ba-f0dc-4999-a2fa-130d70c70bfb
179
      X-Runtime:
180
      - '0.070412'
181
      X-Powered-By:
182
      - Phusion Passenger 4.0.18
183
      Etag:
184
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
185
      Status:
186
      - 200 OK
187
      Vary:
188
      - Accept-Encoding
189
      Content-Length:
190
      - '1338'
191
      Content-Type:
192
      - application/json; charset=utf-8
193
      Set-Cookie:
194
      - _session_id=52e5b63103e493faa817cc5597551851; path=/; secure; HttpOnly
195
    body:
196
      encoding: ASCII-8BIT
197
      string: !binary |-
198
        ewogICJ0b3RhbCI6IDEwLAogICJzdWJ0b3RhbCI6IDEwLAogICJwYWdlIjog
199
        MSwKICAicGVyX3BhZ2UiOiAyMCwKICAic2VhcmNoIjogbnVsbCwKICAic29y
200
        dCI6IHsKICAgICJieSI6IG51bGwsCiAgICAib3JkZXIiOiBudWxsCiAgfSwK
201
        ICAicmVzdWx0cyI6IFt7ImlkIjoiZm9yZW1hbi10YXNrcyIsIm5hbWUiOiJm
202
        b3JlbWFuLXRhc2tzIiwiYXV0aG9yIjoiSXZhbiBOZcSNYXMiLCJkZXNjcmlw
203
        dGlvbiI6IlRoZSBnb2FsIG9mIHRoaXMgcGx1Z2luIGlzIHRvIHVuaWZ5IHRo
204
        ZSB3YXkgb2Ygc2hvd2luZyB0YXNrIHN0YXR1c2VzIGFjcm9zcyB0aGUgRm9y
205
        ZW1hbiBpbnN0YW5jZS5cbkl0IGRlZmluZXMgVGFzayBtb2RlbCBmb3Iga2Vl
206
        cGluZyB0aGUgaW5mb3JtYXRpb24gYWJvdXQgdGhlIHRhc2tzIGFuZCBMb2Nr
207
        IGZvciBhc3NpZ25pbmcgdGhlIHRhc2tzXG50byByZXNvdXJjZXMuIFRoZSBs
208
        b2NraW5nIGFsbG93cyBkZWFsaW5nIHdpdGggcHJldmVudGluZyBtdWx0aXBs
209
        ZSBjb2xsaWRpbmcgdGFza3MgdG8gYmUgcnVuIG9uIHRoZVxuc2FtZSByZXNv
210
        dXJjZS4gSXQgYWxzbyBvcHRpb25hbGx5IHByb3ZpZGVzIER5bmZsb3cgaW5m
211
        cmFzdHJ1Y3R1cmUgZm9yIHVzaW5nIGl0IGZvciBtYW5hZ2luZyB0aGUgdGFz
212
        a3MuXG4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vdGhlZm9yZW1hbi9m
213
        b3JlbWFuLXRhc2tzIiwidmVyc2lvbiI6IjAuNy4xNC45In0seyJpZCI6ImZv
214
        cmVtYW5fYm9vdGRpc2siLCJuYW1lIjoiZm9yZW1hbl9ib290ZGlzayIsImF1
215
        dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJkZXNjcmlwdGlvbiI6IlBsdWdpbiBm
216
        b3IgRm9yZW1hbiB0aGF0IGNyZWF0ZXMgaVBYRS1iYXNlZCBib290IGRpc2tz
217
        IHRvIHByb3Zpc2lvbiBob3N0cyB3aXRob3V0IHRoZSBuZWVkIGZvciBQWEUg
218
        aW5mcmFzdHJ1Y3R1cmUuIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
219
        Zm9yZW1hbi9mb3JlbWFuX2Jvb3RkaXNrIiwidmVyc2lvbiI6IjYuMS4wLjMi
220
        fSx7ImlkIjoiZm9yZW1hbl9kaXNjb3ZlcnkiLCJuYW1lIjoiZm9yZW1hbl9k
221
        aXNjb3ZlcnkiLCJhdXRob3IiOiJBbW9zIEJlbmFyaSxCcnlhbiBLZWFybmV5
222
        LENoYWlybWFuVHViZUFtcCxEYW5pZWwgTG9iYXRvIEdhcmPDrWEsRG9taW5p
223
        YyBDbGVhbCxFcmljIEQuIEhlbG1zLEZyYW5rIFdhbGwsR3JlZyBTdXRjbGlm
224
        ZmUsSW1yaSBadmlrLEpvc2VwaCBNaXRjaGVsbCBNYWdlbixMdWthcyBaYXBs
225
        ZXRhbCxMdWvDocWhIFphcGxldGFsLE1hcmVrIEh1bGFuLE1hcnRpbiBCYcSN
226
        b3Zza8O9LE1hdHQgSmFydmlzLE1pY2hhZWwgTW9sbCxOaWNrLE9oYWQgTGV2
227
        eSxPcmkgUmFiaW4sUGV0ciBDaGFsdXBhLFBoaXJpbmNlIFBoaWxpcCxTY3Vi
228
        YWZsb3lkLFNobG9taSBaYWRvayxTdGVwaGVuIEJlbmphbWluLFlhbm4gQ8Op
229
        emFyZCIsImRlc2NyaXB0aW9uIjoiTWFhUyBEaXNjb3ZlcnkgUGx1Z2luIGVu
230
        Z2luZSBmb3IgRm9yZW1hbiIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3Ro
231
        ZWZvcmVtYW4vZm9yZW1hbl9kaXNjb3ZlcnkiLCJ2ZXJzaW9uIjoiNS4wLjAu
232
        OSJ9LHsiaWQiOiJmb3JlbWFuX2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2Rv
233
        Y2tlciIsImF1dGhvciI6IkRhbmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwi
234
        ZGVzY3JpcHRpb24iOiJQcm92aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29u
235
        dGFpbmVycyBhbmQgaW1hZ2VzIGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRw
236
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVy
237
        c2lvbiI6IjIuMC4xLjExIn0seyJpZCI6ImZvcmVtYW5faG9va3MiLCJuYW1l
238
        IjoiZm9yZW1hbl9ob29rcyIsImF1dGhvciI6IkRvbWluaWMgQ2xlYWwiLCJk
239
        ZXNjcmlwdGlvbiI6IlBsdWdpbiBlbmdpbmUgZm9yIEZvcmVtYW4gdGhhdCBl
240
        bmFibGVzIHJ1bm5pbmcgY3VzdG9tIGhvb2sgc2NyaXB0cyBvbiBGb3JlbWFu
241
        IGV2ZW50cyIsInVybCI6Imh0dHA6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4v
242
        Zm9yZW1hbl9ob29rcyIsInZlcnNpb24iOiIwLjMuMTEifSx7ImlkIjoiZm9y
243
        ZW1hbl9vcGVuc2NhcCIsIm5hbWUiOiJmb3JlbWFuX29wZW5zY2FwIiwiYXV0
244
        aG9yIjoixaBpbW9uIEx1a2HFocOtayxTaGxvbWkgWmFkb2ssTWFyZWsgSHVs
245
        YW4sT25kcmVqIFByYXphayIsImRlc2NyaXB0aW9uIjoiRm9yZW1hbiBwbHVn
246
        LWluIGZvciBtYW5hZ2luZyBzZWN1cml0eSBjb21wbGlhbmNlIHJlcG9ydHMi
247
        LCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vT3BlblNDQVAvZm9yZW1hbl9v
248
        cGVuc2NhcCIsInZlcnNpb24iOiIwLjUuMy4xOCJ9LHsiaWQiOiJmb3JlbWFu
249
        X3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1hbl9yZW1vdGVfZXhl
250
        Y3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUgRXhlY3V0aW9uIHRl
251
        YW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5naW5nIHJlbW90ZSBl
252
        eGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRpbmcgdGhlIGNvbmZp
253
        ZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCByZW1vdGUgbWFuYWdl
254
        bWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNv
255
        bS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1dGlvbiIsInZlcnNp
256
        b24iOiIwLjMuMC4xMiJ9LHsiaWQiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0
257
        ZSIsIm5hbWUiOiJmb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsImF1dGhvciI6
258
        IkFsb24gR29sZGJvaW0sIFNoaW1vbiBTdGVpbiIsImRlc2NyaXB0aW9uIjoi
259
        VGhpcyBpcyBhIHBsdWdpbiB0aGF0IGVuYWJsZXMgYnVpbGRpbmcgYSB0aGVt
260
        ZSBmb3IgRm9yZW1hbi4iLCJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
261
        bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
262
        IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
263
        dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
264
        cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
265
        Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
266
        fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
267
        IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
268
        cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
269
        ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
270
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
271
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
272
    http_version: 
273
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
274
- request:
275
    method: get
276
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999
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
      - devel.example.com:50083
293
  response:
294
    status:
295
      code: 200
296
      message: OK
297
    headers:
298
      Date:
299
      - Mon, 27 Mar 2017 18:36:47 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
      - b6870e6e-5fa9-4083-afd2-979e4c98b5b5
318
      X-Runtime:
319
      - '0.062782'
320
      X-Powered-By:
321
      - Phusion Passenger 4.0.18
322
      Etag:
323
      - '"aab500919765758afb9a043020d6d047-gzip"'
324
      Status:
325
      - 200 OK
326
      Vary:
327
      - Accept-Encoding
328
      Content-Length:
329
      - '563'
330
      Content-Type:
331
      - application/json; charset=utf-8
332
      Set-Cookie:
333
      - _session_id=6901bbbee0f4bdaebf4997cda7f63a26; path=/; secure; HttpOnly
334
    body:
335
      encoding: ASCII-8BIT
336
      string: |
337
        {
338
          "total": 2,
339
          "subtotal": 2,
340
          "page": 1,
341
          "per_page": 999999,
342
          "search": null,
343
          "sort": {
344
            "by": null,
345
            "order": null
346
          },
347
          "results": [{"label":"Default_Organization","created_at":"2016-12-01 19:25:05 UTC","updated_at":"2016-12-01 19:25:08 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:36:47 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
348
        }
349
    http_version: 
350
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
351
- request:
352
    method: get
353
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
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
      - devel.example.com:50083
370
  response:
371
    status:
372
      code: 200
373
      message: OK
374
    headers:
375
      Date:
376
      - Mon, 27 Mar 2017 18:36:48 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
      - bbf1f20c-2c3b-4edf-8b88-6b533d55cc19
395
      X-Runtime:
396
      - '0.044328'
397
      X-Powered-By:
398
      - Phusion Passenger 4.0.18
399
      Etag:
400
      - '"dd83f8b04a13378559001fbdafb31121-gzip"'
401
      Status:
402
      - 200 OK
403
      Vary:
404
      - Accept-Encoding
405
      Content-Length:
406
      - '379'
407
      Content-Type:
408
      - application/json; charset=utf-8
409
      Set-Cookie:
410
      - _session_id=aa7c1003ff11c5aa51a372cb137d100c; path=/; secure; HttpOnly
411
    body:
412
      encoding: ASCII-8BIT
413
      string: |
414
        {
415
          "total": 2,
416
          "subtotal": 1,
417
          "page": 1,
418
          "per_page": 999999,
419
          "search": "name=\"Default Organization\"",
420
          "sort": {
421
            "by": null,
422
            "order": null
423
          },
424
          "results": [{"label":"Default_Organization","created_at":"2016-12-01 19:25:05 UTC","updated_at":"2016-12-01 19:25:08 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null}]
425
        }
426
    http_version: 
427
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
428
- request:
429
    method: get
430
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/1/environments?per_page=999999
431
    body:
432
      encoding: US-ASCII
433
      string: ''
434
    headers:
435
      Accept:
436
      - application/json;version=2
437
      Accept-Encoding:
438
      - gzip, deflate
439
      User-Agent:
440
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
441
      Content-Type:
442
      - application/json
443
      Accept-Language:
444
      - en
445
      Host:
446
      - devel.example.com:50083
447
  response:
448
    status:
449
      code: 200
450
      message: OK
451
    headers:
452
      Date:
453
      - Mon, 27 Mar 2017 18:36:48 GMT
454
      Server:
455
      - Apache/2.4.6 (Red Hat Enterprise Linux)
456
      X-Frame-Options:
457
      - SAMEORIGIN
458
      X-Xss-Protection:
459
      - 1; mode=block
460
      X-Content-Type-Options:
461
      - nosniff
462
      Foreman-Version:
463
      - 1.11.0.54
464
      Foreman-Api-Version:
465
      - '2'
466
      Apipie-Checksum:
467
      - e1df2e8d43e22495b02a53b48e3b5298
468
      Cache-Control:
469
      - max-age=0, private, must-revalidate
470
      X-Request-Id:
471
      - c8a618f9-18af-499a-b3c6-751bf2059885
472
      X-Runtime:
473
      - '0.075581'
474
      X-Powered-By:
475
      - Phusion Passenger 4.0.18
476
      Etag:
477
      - '"914f529cfb1b3ee52c27873553682753-gzip"'
478
      Status:
479
      - 200 OK
480
      Vary:
481
      - Accept-Encoding
482
      Content-Length:
483
      - '1320'
484
      Content-Type:
485
      - application/json; charset=utf-8
486
      Set-Cookie:
487
      - _session_id=f3ff3226160df177a2417e85deaa1872; path=/; secure; HttpOnly
488
    body:
489
      encoding: ASCII-8BIT
490
      string: '{"total":2,"subtotal":2,"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
491
        Organization","label":"Default_Organization","id":1},"created_at":"2016-12-01
492
        19:25:08 UTC","updated_at":"2016-12-01 19:25:08 UTC","prior":null,"successor":null,"counts":{"content_hosts":10,"content_views":1,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":0,"docker_repositories":2,"ostree_repositories":0,"products":2},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":7,"name":"Development","label":"devel","description":null,"organization":{"name":"Default
493
        Organization","label":"Default_Organization","id":1},"created_at":"2017-01-17
494
        12:03:32 UTC","updated_at":"2017-01-17 12:03:32 UTC","prior":{"name":"Library","id":1},"successor":null,"counts":{"content_hosts":0,"content_views":1},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
495

    
496
'
497
    http_version: 
498
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
499
- request:
500
    method: get
501
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
502
    body:
503
      encoding: US-ASCII
504
      string: ''
505
    headers:
506
      Accept:
507
      - application/json;version=2
508
      Accept-Encoding:
509
      - gzip, deflate
510
      User-Agent:
511
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
512
      Content-Type:
513
      - application/json
514
      Accept-Language:
515
      - en
516
      Host:
517
      - devel.example.com:50083
518
  response:
519
    status:
520
      code: 200
521
      message: OK
522
    headers:
523
      Date:
524
      - Mon, 27 Mar 2017 18:36:48 GMT
525
      Server:
526
      - Apache/2.4.6 (Red Hat Enterprise Linux)
527
      X-Frame-Options:
528
      - SAMEORIGIN
529
      X-Xss-Protection:
530
      - 1; mode=block
531
      X-Content-Type-Options:
532
      - nosniff
533
      Foreman-Version:
534
      - 1.11.0.54
535
      Foreman-Api-Version:
536
      - '2'
537
      Apipie-Checksum:
538
      - e1df2e8d43e22495b02a53b48e3b5298
539
      Cache-Control:
540
      - max-age=0, private, must-revalidate
541
      X-Request-Id:
542
      - 8bf9b187-3482-4f2f-875d-2452fccac5dc
543
      X-Runtime:
544
      - '0.052501'
545
      X-Powered-By:
546
      - Phusion Passenger 4.0.18
547
      Etag:
548
      - '"cc153799f6cfeaf424c73e789502a1a8-gzip"'
549
      Status:
550
      - 200 OK
551
      Vary:
552
      - Accept-Encoding
553
      Content-Length:
554
      - '388'
555
      Content-Type:
556
      - application/json; charset=utf-8
557
      Set-Cookie:
558
      - _session_id=53f150a1534d816b186581c817d5f51d; path=/; secure; HttpOnly
559
    body:
560
      encoding: ASCII-8BIT
561
      string: |
562
        {
563
          "total": 2,
564
          "subtotal": 1,
565
          "page": 1,
566
          "per_page": 999999,
567
          "search": "name=\"Test Corporation\"",
568
          "sort": {
569
            "by": null,
570
            "order": null
571
          },
572
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:36:47 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
573
        }
574
    http_version: 
575
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
576
- request:
577
    method: get
578
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/environments?per_page=999999
579
    body:
580
      encoding: US-ASCII
581
      string: ''
582
    headers:
583
      Accept:
584
      - application/json;version=2
585
      Accept-Encoding:
586
      - gzip, deflate
587
      User-Agent:
588
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
589
      Content-Type:
590
      - application/json
591
      Accept-Language:
592
      - en
593
      Host:
594
      - devel.example.com:50083
595
  response:
596
    status:
597
      code: 200
598
      message: OK
599
    headers:
600
      Date:
601
      - Mon, 27 Mar 2017 18:36:48 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
      - 05b54fb2-326b-4b72-8580-5ab2025ed10e
620
      X-Runtime:
621
      - '0.127120'
622
      X-Powered-By:
623
      - Phusion Passenger 4.0.18
624
      Etag:
625
      - '"45596627ffb1b49933df35abb855f9e6-gzip"'
626
      Status:
627
      - 200 OK
628
      Vary:
629
      - Accept-Encoding
630
      Content-Length:
631
      - '3019'
632
      Content-Type:
633
      - application/json; charset=utf-8
634
      Set-Cookie:
635
      - _session_id=7ad666f44702c3472043cf1ebba4c28f; path=/; secure; HttpOnly
636
    body:
637
      encoding: ASCII-8BIT
638
      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,
639
        manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
640
        19:37:22 UTC","updated_at":"2016-12-01 19:37:22 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,
641
        manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
642
        19:37:23 UTC","updated_at":"2016-12-01 19:37:23 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
643
        Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:35:26
644
        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}},{"library":false,"id":3,"name":"Development","label":"Development","description":"Development,
645
        automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
646
        19:37:22 UTC","updated_at":"2016-12-01 19:37:22 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,
647
        no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
648
        19:37:23 UTC","updated_at":"2016-12-01 19:37:23 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}}]}
649

    
650
'
651
    http_version: 
652
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
653
- request:
654
    method: put
655
    uri: https://admin:changeme@devel.example.com:50083/katello/api/environments/3
656
    body:
657
      encoding: UTF-8
658
      string: '{"description":"Development, automated promotes from Library"}'
659
    headers:
660
      Accept:
661
      - application/json;version=2
662
      Accept-Encoding:
663
      - gzip, deflate
664
      User-Agent:
665
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
666
      Content-Type:
667
      - application/json
668
      Accept-Language:
669
      - en
670
      Content-Length:
671
      - '62'
672
      Host:
673
      - devel.example.com:50083
674
  response:
675
    status:
676
      code: 200
677
      message: OK
678
    headers:
679
      Date:
680
      - Mon, 27 Mar 2017 18:36:48 GMT
681
      Server:
682
      - Apache/2.4.6 (Red Hat Enterprise Linux)
683
      X-Frame-Options:
684
      - SAMEORIGIN
685
      X-Xss-Protection:
686
      - 1; mode=block
687
      X-Content-Type-Options:
688
      - nosniff
689
      Foreman-Version:
690
      - 1.11.0.54
691
      Foreman-Api-Version:
692
      - '2'
693
      Apipie-Checksum:
694
      - e1df2e8d43e22495b02a53b48e3b5298
695
      Cache-Control:
696
      - max-age=0, private, must-revalidate
697
      X-Request-Id:
698
      - 2372dd54-8fca-4855-96c9-ee385102dd5d
699
      X-Runtime:
700
      - '0.066424'
701
      X-Powered-By:
702
      - Phusion Passenger 4.0.18
703
      Etag:
704
      - '"f275bd408b9f4e25f6583ec0e001ee8b-gzip"'
705
      Status:
706
      - 200 OK
707
      Vary:
708
      - Accept-Encoding
709
      Content-Length:
710
      - '574'
711
      Content-Type:
712
      - application/json; charset=utf-8
713
      Set-Cookie:
714
      - _session_id=7fdc78bb4cca46ae1fbfe2e142f58643; path=/; secure; HttpOnly
715
      - request_method=PUT; path=/
716
    body:
717
      encoding: ASCII-8BIT
718
      string: '  {"library":false,"id":3,"name":"Development","label":"Development","description":"Development,
719
        automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
720
        19:37:22 UTC","updated_at":"2016-12-01 19:37:22 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}}
721

    
722
'
723
    http_version: 
724
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
725
- request:
726
    method: put
727
    uri: https://admin:changeme@devel.example.com:50083/katello/api/environments/4
728
    body:
729
      encoding: UTF-8
730
      string: '{"description":"Test, manual promotions from Development"}'
731
    headers:
732
      Accept:
733
      - application/json;version=2
734
      Accept-Encoding:
735
      - gzip, deflate
736
      User-Agent:
737
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
738
      Content-Type:
739
      - application/json
740
      Accept-Language:
741
      - en
742
      Content-Length:
743
      - '58'
744
      Host:
745
      - devel.example.com:50083
746
  response:
747
    status:
748
      code: 200
749
      message: OK
750
    headers:
751
      Date:
752
      - Mon, 27 Mar 2017 18:36:48 GMT
753
      Server:
754
      - Apache/2.4.6 (Red Hat Enterprise Linux)
755
      X-Frame-Options:
756
      - SAMEORIGIN
757
      X-Xss-Protection:
758
      - 1; mode=block
759
      X-Content-Type-Options:
760
      - nosniff
761
      Foreman-Version:
762
      - 1.11.0.54
763
      Foreman-Api-Version:
764
      - '2'
765
      Apipie-Checksum:
766
      - e1df2e8d43e22495b02a53b48e3b5298
767
      Cache-Control:
768
      - max-age=0, private, must-revalidate
769
      X-Request-Id:
770
      - 96839725-b405-4ff5-8982-1142356f017f
771
      X-Runtime:
772
      - '0.059944'
773
      X-Powered-By:
774
      - Phusion Passenger 4.0.18
775
      Etag:
776
      - '"63ea07a3cc4b5f26525304087f7628bc-gzip"'
777
      Status:
778
      - 200 OK
779
      Vary:
780
      - Accept-Encoding
781
      Content-Length:
782
      - '566'
783
      Content-Type:
784
      - application/json; charset=utf-8
785
      Set-Cookie:
786
      - _session_id=cbce49fd409b920a5f5502a119f696b1; path=/; secure; HttpOnly
787
      - request_method=PUT; path=/
788
    body:
789
      encoding: ASCII-8BIT
790
      string: '  {"library":false,"id":4,"name":"Test","label":"Test","description":"Test,
791
        manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
792
        19:37:22 UTC","updated_at":"2016-12-01 19:37:22 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}}
793

    
794
'
795
    http_version: 
796
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
797
- request:
798
    method: put
799
    uri: https://admin:changeme@devel.example.com:50083/katello/api/environments/5
800
    body:
801
      encoding: UTF-8
802
      string: '{"description":"Production, manual promotions from Test"}'
803
    headers:
804
      Accept:
805
      - application/json;version=2
806
      Accept-Encoding:
807
      - gzip, deflate
808
      User-Agent:
809
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
810
      Content-Type:
811
      - application/json
812
      Accept-Language:
813
      - en
814
      Content-Length:
815
      - '57'
816
      Host:
817
      - devel.example.com:50083
818
  response:
819
    status:
820
      code: 200
821
      message: OK
822
    headers:
823
      Date:
824
      - Mon, 27 Mar 2017 18:36:48 GMT
825
      Server:
826
      - Apache/2.4.6 (Red Hat Enterprise Linux)
827
      X-Frame-Options:
828
      - SAMEORIGIN
829
      X-Xss-Protection:
830
      - 1; mode=block
831
      X-Content-Type-Options:
832
      - nosniff
833
      Foreman-Version:
834
      - 1.11.0.54
835
      Foreman-Api-Version:
836
      - '2'
837
      Apipie-Checksum:
838
      - e1df2e8d43e22495b02a53b48e3b5298
839
      Cache-Control:
840
      - max-age=0, private, must-revalidate
841
      X-Request-Id:
842
      - 2ad14514-4390-41f2-b823-a0b14dda2fe9
843
      X-Runtime:
844
      - '0.070601'
845
      X-Powered-By:
846
      - Phusion Passenger 4.0.18
847
      Etag:
848
      - '"e2f99b9aa7d433e0b934da408b62bc90-gzip"'
849
      Status:
850
      - 200 OK
851
      Vary:
852
      - Accept-Encoding
853
      Content-Length:
854
      - '567'
855
      Content-Type:
856
      - application/json; charset=utf-8
857
      Set-Cookie:
858
      - _session_id=b81c324d1e0ec9e082388a7791a49784; path=/; secure; HttpOnly
859
      - request_method=PUT; path=/
860
    body:
861
      encoding: ASCII-8BIT
862
      string: '  {"library":false,"id":5,"name":"Production","label":"Production","description":"Production,
863
        manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
864
        19:37:23 UTC","updated_at":"2016-12-01 19:37:23 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}}
865

    
866
'
867
    http_version: 
868
  recorded_at: Mon, 27 Mar 2017 18:36:54 GMT
869
- request:
870
    method: put
871
    uri: https://admin:changeme@devel.example.com:50083/katello/api/environments/6
872
    body:
873
      encoding: UTF-8
874
      string: '{"description":"Archive, no longer in Production"}'
875
    headers:
876
      Accept:
877
      - application/json;version=2
878
      Accept-Encoding:
879
      - gzip, deflate
880
      User-Agent:
881
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
882
      Content-Type:
883
      - application/json
884
      Accept-Language:
885
      - en
886
      Content-Length:
887
      - '50'
888
      Host:
889
      - devel.example.com:50083
890
  response:
891
    status:
892
      code: 200
893
      message: OK
894
    headers:
895
      Date:
896
      - Mon, 27 Mar 2017 18:36:48 GMT
897
      Server:
898
      - Apache/2.4.6 (Red Hat Enterprise Linux)
899
      X-Frame-Options:
900
      - SAMEORIGIN
901
      X-Xss-Protection:
902
      - 1; mode=block
903
      X-Content-Type-Options:
904
      - nosniff
905
      Foreman-Version:
906
      - 1.11.0.54
907
      Foreman-Api-Version:
908
      - '2'
909
      Apipie-Checksum:
910
      - e1df2e8d43e22495b02a53b48e3b5298
911
      Cache-Control:
912
      - max-age=0, private, must-revalidate
913
      X-Request-Id:
914
      - 66bec73b-2a67-427d-a9ed-0ba49e199f2e
915
      X-Runtime:
916
      - '0.100912'
917
      X-Powered-By:
918
      - Phusion Passenger 4.0.18
919
      Etag:
920
      - '"4bc633f4490534509b38911c23fd8949-gzip"'
921
      Status:
922
      - 200 OK
923
      Vary:
924
      - Accept-Encoding
925
      Content-Length:
926
      - '538'
927
      Content-Type:
928
      - application/json; charset=utf-8
929
      Set-Cookie:
930
      - _session_id=55513b48247796d2b5336bafdd5dfa78; path=/; secure; HttpOnly
931
      - request_method=PUT; path=/
932
    body:
933
      encoding: ASCII-8BIT
934
      string: '  {"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive,
935
        no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
936
        19:37:23 UTC","updated_at":"2016-12-01 19:37:23 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}}
937

    
938
'
939
    http_version: 
940
  recorded_at: Mon, 27 Mar 2017 18:36:55 GMT
941
recorded_with: VCR 3.0.3