Project

General

Profile

Revision f370cc85

Added by Thomas McKay over 6 years ago

fixes #16501 - subnets import not setting proxies

Changed the vcr recording by adding --reload-cache to all the hammer commands. This hopefully will avoid the intermittent failures due to fetching the v2.json.

View differences:

test/fixtures/vcr_cassettes/setup/setup_lifecycle_environments/setup.yml
1 1
---
2 2
http_interactions:
3 3
- request:
4
    method: post
5
    uri: http://admin:changeme@katello:3000/katello/api/organizations/4/environments
6
    body:
7
      encoding: UTF-8
8
      string: '{"name":"TestEnv","prior_id":7,"description":""}'
9
    headers:
10
      Accept:
11
      - application/json;version=2
12
      Accept-Encoding:
13
      - gzip, deflate
14
      Content-Type:
15
      - application/json
16
      Content-Length:
17
      - '48'
18
      User-Agent:
19
      - Ruby
20
  response:
21
    status:
22
      code: 200
23
      message: OK
24
    headers:
25
      X-Frame-Options:
26
      - SAMEORIGIN
27
      X-Xss-Protection:
28
      - 1; mode=block
29
      X-Content-Type-Options:
30
      - nosniff
31
      Foreman-Version:
32
      - 1.13.0-develop
33
      Foreman-Api-Version:
34
      - '2'
35
      Content-Type:
36
      - application/json; charset=utf-8
37
      Apipie-Checksum:
38
      - e98945ba1db6bdbb4c25ce4988912344
39
      Etag:
40
      - W/"42690b55414b21cab256825867b45a92"
41
      Cache-Control:
42
      - max-age=0, private, must-revalidate
43
      Set-Cookie:
44
      - _session_id=6e8f8e82c4d154c067ac0c29155e835b; path=/; HttpOnly
45
      - request_method=POST; path=/
46
      X-Request-Id:
47
      - 844ae8ee-e19a-4fa6-ba5b-daff7a369942
48
      X-Runtime:
49
      - '0.622294'
50
      Transfer-Encoding:
51
      - chunked
52
    body:
53
      encoding: UTF-8
54
      string: |2
55
          {"library":false,"id":8,"name":"TestEnv","label":"TestEnv","description":"","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-04 13:01:48 UTC","updated_at":"2016-08-04 13:01:48 UTC","prior":{"name":"Library","id":7},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}
56
    http_version: 
57
  recorded_at: Thu, 04 Aug 2016 13:01:14 GMT
58
- request:
59
    method: put
60
    uri: http://admin:changeme@katello:3000/katello/api/environments/8
61
    body:
62
      encoding: UTF-8
63
      string: '{"description":""}'
64
    headers:
65
      Accept:
66
      - application/json;version=2
67
      Accept-Encoding:
68
      - gzip, deflate
69
      Content-Type:
70
      - application/json
71
      Content-Length:
72
      - '18'
73
      User-Agent:
74
      - Ruby
75
  response:
76
    status:
77
      code: 200
78
      message: OK
79
    headers:
80
      X-Frame-Options:
81
      - SAMEORIGIN
82
      X-Xss-Protection:
83
      - 1; mode=block
84
      X-Content-Type-Options:
85
      - nosniff
86
      Foreman-Version:
87
      - 1.13.0-develop
88
      Foreman-Api-Version:
89
      - '2'
90
      Content-Type:
91
      - application/json; charset=utf-8
92
      Apipie-Checksum:
93
      - e98945ba1db6bdbb4c25ce4988912344
94
      Etag:
95
      - W/"0e02f8beb31176ddcda081f9a254c23f"
96
      Cache-Control:
97
      - max-age=0, private, must-revalidate
98
      Set-Cookie:
99
      - _session_id=59f5dcd6ad748546bfd01ce558458e34; path=/; HttpOnly
100
      - request_method=PUT; path=/
101
      X-Request-Id:
102
      - 2e190bfd-388d-4fb6-adb9-5d240cdd31c8
103
      X-Runtime:
104
      - '0.535732'
105
      Transfer-Encoding:
106
      - chunked
107
    body:
108
      encoding: UTF-8
109
      string: |2
110
          {"library":false,"id":8,"name":"TestEnv","label":"TestEnv","description":"","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-04 13:01:48 UTC","updated_at":"2016-08-04 13:01:48 UTC","prior":{"name":"Library","id":7},"successor":null,"counts":{"content_hosts":0,"content_views":1},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}
111
    http_version: 
112
  recorded_at: Thu, 04 Aug 2016 16:46:50 GMT
113
- request:
114 4
    method: get
115
    uri: http://admin:changeme@katello:3000/katello/api/organizations/4/environments?per_page=999999
116
    body:
117
      encoding: US-ASCII
118
      string: ''
119
    headers:
120
      Accept:
121
      - application/json;version=2
122
      Accept-Encoding:
123
      - gzip, deflate
124
      Content-Type:
125
      - application/json
126
      User-Agent:
127
      - Ruby
128
  response:
129
    status:
130
      code: 200
131
      message: OK
132
    headers:
133
      X-Frame-Options:
134
      - SAMEORIGIN
135
      X-Xss-Protection:
136
      - 1; mode=block
137
      X-Content-Type-Options:
138
      - nosniff
139
      Foreman-Version:
140
      - 1.13.0-develop
141
      Foreman-Api-Version:
142
      - '2'
143
      Content-Type:
144
      - application/json; charset=utf-8
145
      Apipie-Checksum:
146
      - e98945ba1db6bdbb4c25ce4988912344
147
      Etag:
148
      - W/"1d6d0a90056c90ea9a3cb6391d18c584"
149
      Cache-Control:
150
      - max-age=0, private, must-revalidate
151
      Set-Cookie:
152
      - _session_id=f240333baa736913234e4d03e838d360; path=/; HttpOnly
153
      X-Request-Id:
154
      - 30aef9b4-4a2b-4009-a92e-0264c81d4935
155
      X-Runtime:
156
      - '2.536967'
157
      Transfer-Encoding:
158
      - chunked
159
    body:
160
      encoding: UTF-8
161
      string: |
162
        {"total":6,"subtotal":6,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":12,"name":"TestEnv","label":"TestEnv","description":"","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 15:07:36 UTC","updated_at":"2016-08-16 15:07:36 UTC","prior":{"name":"Library","id":7},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":9,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:47:15 UTC","updated_at":"2016-08-16 12:47:15 UTC","prior":{"name":"Development","id":8},"successor":{"name":"Production","id":10},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":10,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:47:17 UTC","updated_at":"2016-08-16 12:47:17 UTC","prior":{"name":"Test","id":9},"successor":{"name":"Archive","id":11},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":7,"name":"Library","label":"Library","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:46:28 UTC","updated_at":"2016-08-16 12:46:28 UTC","prior":null,"successor":null,"counts":{"content_hosts":0,"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":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":8,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:47:11 UTC","updated_at":"2016-08-16 12:47:11 UTC","prior":{"name":"Library","id":7},"successor":{"name":"Test","id":9},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":11,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:47:21 UTC","updated_at":"2016-08-16 12:47:21 UTC","prior":{"name":"Production","id":10},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
163
    http_version: 
164
  recorded_at: Tue, 16 Aug 2016 19:03:43 GMT
165
- request:
166
    method: get
167
    uri: http://admin:changeme@katello:3000/api/status
5
    uri: https://admin:changeme@katello.example.com:50191/api/status
168 6
    body:
169 7
      encoding: US-ASCII
170 8
      string: ''
......
172 10
      Accept-Encoding:
173 11
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
174 12
      Accept:
175
      - '*/*'
13
      - "*/*"
176 14
      User-Agent:
177 15
      - Ruby
178 16
  response:
......
180 18
      code: 200
181 19
      message: OK
182 20
    headers:
21
      Date:
22
      - Fri, 09 Sep 2016 20:04:32 GMT
23
      Server:
24
      - Apache/2.4.6 (CentOS)
183 25
      X-Frame-Options:
184 26
      - SAMEORIGIN
185 27
      X-Xss-Protection:
......
187 29
      X-Content-Type-Options:
188 30
      - nosniff
189 31
      Foreman-Version:
190
      - 1.13.0-develop
32
      - 1.14.0-develop
191 33
      Foreman-Api-Version:
192 34
      - '2'
193 35
      Content-Type:
194 36
      - application/json; charset=utf-8
195 37
      Apipie-Checksum:
196
      - e98945ba1db6bdbb4c25ce4988912344
38
      - 9544abef9cf8343005f07ed8c9f1f8e7
197 39
      Etag:
198
      - W/"f536fd8685b76bb26a943d472593c93e"
40
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
199 41
      Cache-Control:
200 42
      - max-age=0, private, must-revalidate
201
      Set-Cookie:
202
      - _session_id=e4ddaa3ffcc02dd15f5227e45a5ed0b9; path=/; HttpOnly
203 43
      X-Request-Id:
204
      - edd02b20-8783-43ce-a57a-7a85c326e752
44
      - 5e78e7bc-9ac2-4efc-b4cc-7c120795d660
205 45
      X-Runtime:
206
      - '1.213048'
207
      Transfer-Encoding:
208
      - chunked
46
      - '0.196733'
47
      Via:
48
      - 1.1 katello.example.com:50191
49
      Vary:
50
      - Accept-Encoding
51
      Content-Length:
52
      - '81'
53
      Set-Cookie:
54
      - _session_id=f5fa05806ada8b520cf7446769a096d0; path=/; HttpOnly
209 55
    body:
210 56
      encoding: UTF-8
211
      string: '{"result":"ok","status":200,"version":"1.13.0-develop","api_version":2}'
57
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
212 58
    http_version: 
213
  recorded_at: Tue, 16 Aug 2016 19:07:05 GMT
59
  recorded_at: Fri, 09 Sep 2016 20:04:33 GMT
214 60
- request:
215 61
    method: get
216
    uri: http://admin:changeme@katello:3000/api/v2/plugins
62
    uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
217 63
    body:
218 64
      encoding: US-ASCII
219 65
      string: ''
......
221 67
      Accept-Encoding:
222 68
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
223 69
      Accept:
224
      - '*/*'
70
      - "*/*"
225 71
      User-Agent:
226 72
      - Ruby
227 73
  response:
......
229 75
      code: 200
230 76
      message: OK
231 77
    headers:
78
      Date:
79
      - Fri, 09 Sep 2016 20:04:32 GMT
80
      Server:
81
      - Apache/2.4.6 (CentOS)
232 82
      X-Frame-Options:
233 83
      - SAMEORIGIN
234 84
      X-Xss-Protection:
......
236 86
      X-Content-Type-Options:
237 87
      - nosniff
238 88
      Foreman-Version:
239
      - 1.13.0-develop
89
      - 1.14.0-develop
240 90
      Foreman-Api-Version:
241 91
      - '2'
242 92
      Content-Type:
243 93
      - application/json; charset=utf-8
244 94
      Apipie-Checksum:
245
      - e98945ba1db6bdbb4c25ce4988912344
95
      - 9544abef9cf8343005f07ed8c9f1f8e7
246 96
      Etag:
247
      - W/"dc4a8351c6668134273bfe99879f93b1"
97
      - W/"c547959b2afaff0cf0a8d731005e9365-gzip"
248 98
      Cache-Control:
249 99
      - max-age=0, private, must-revalidate
250
      Set-Cookie:
251
      - _session_id=312796b3f23071ab5c6636c0fa3c5df7; path=/; HttpOnly
252 100
      X-Request-Id:
253
      - 70c0ad55-8d17-49a5-be0c-0ca9f4ff3506
101
      - f8e8fe7e-7ff5-4e4c-8842-c0ad4d3d71b8
254 102
      X-Runtime:
255
      - '0.296079'
256
      Transfer-Encoding:
257
      - chunked
103
      - '0.178158'
104
      Via:
105
      - 1.1 katello.example.com:50191
106
      Vary:
107
      - Accept-Encoding
108
      Content-Length:
109
      - '566'
110
      Set-Cookie:
111
      - _session_id=fbfd3f225496515121b6f0e3ea4c6553; path=/; HttpOnly
258 112
    body:
259 113
      encoding: ASCII-8BIT
260 114
      string: !binary |-
261
        ewogICJ0b3RhbCI6IDQsCiAgInN1YnRvdGFsIjogNCwKICAicGFnZSI6IDEs
115
        ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
262 116
        CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
263 117
        OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
264 118
        InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
......
273 127
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
274 128
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
275 129
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
276
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjcuMjAifSx7ImlkIjoiZm9yZW1h
277
        bl9kb2NrZXIiLCJuYW1lIjoiZm9yZW1hbl9kb2NrZXIiLCJhdXRob3IiOiJE
278
        YW5pZWwgTG9iYXRvLCBBbW9zIEJlbmFyaSIsImRlc2NyaXB0aW9uIjoiUHJv
279
        dmlzaW9uIGFuZCBtYW5hZ2UgRG9ja2VyIGNvbnRhaW5lcnMgYW5kIGltYWdl
280
        cyBmcm9tIEZvcmVtYW4uIiwidXJsIjoiaHR0cDovL2dpdGh1Yi5jb20vdGhl
281
        Zm9yZW1hbi9mb3JlbWFuLWRvY2tlciIsInZlcnNpb24iOiIzLjAuMCJ9LHsi
282
        aWQiOiJmb3JlbWFuX3JlbW90ZV9leGVjdXRpb24iLCJuYW1lIjoiZm9yZW1h
283
        bl9yZW1vdGVfZXhlY3V0aW9uIiwiYXV0aG9yIjoiRm9yZW1hbiBSZW1vdGUg
284
        RXhlY3V0aW9uIHRlYW0iLCJkZXNjcmlwdGlvbiI6IkEgcGx1Z2luIGJyaW5n
285
        aW5nIHJlbW90ZSBleGVjdXRpb24gdG8gdGhlIEZvcmVtYW4sIGNvbXBsZXRp
286
        bmcgdGhlIGNvbmZpZyBtYW5hZ2VtZW50IGZ1bmN0aW9uYWxpdHkgd2l0aCBy
287
        ZW1vdGUgbWFuYWdlbWVudCBmdW5jdGlvbmFsaXR5LiIsInVybCI6Imh0dHBz
288
        Oi8vZ2l0aHViLmNvbS90aGVmb3JlbWFuL2ZvcmVtYW5fcmVtb3RlX2V4ZWN1
289
        dGlvbiIsInZlcnNpb24iOiIxLjAuMCJ9LHsiaWQiOiJrYXRlbGxvIiwibmFt
290
        ZSI6ImthdGVsbG8iLCJhdXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNv
291
        bnRlbnQgYW5kIFN1YnNjcmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3Ig
292
        Rm9yZW1hbiIsInVybCI6Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJz
293
        aW9uIjoiMy4yLjAifV0KfQo=
130
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMSJ9LHsiaWQiOiJmb3JlbWFu
131
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
132
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
133
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
134
        IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
135
        b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
136
        ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
137
        ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
138
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
139
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
294 140
    http_version: 
295
  recorded_at: Tue, 16 Aug 2016 19:07:06 GMT
141
  recorded_at: Fri, 09 Sep 2016 20:04:33 GMT
296 142
- request:
297 143
    method: get
298
    uri: http://admin:changeme@katello:3000/katello/api/organizations?per_page=999999
144
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999
299 145
    body:
300 146
      encoding: US-ASCII
301 147
      string: ''
......
304 150
      - application/json;version=2
305 151
      Accept-Encoding:
306 152
      - gzip, deflate
153
      User-Agent:
154
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
307 155
      Content-Type:
308 156
      - application/json
309
      User-Agent:
310
      - Ruby
157
      Host:
158
      - katello.example.com:50191
311 159
  response:
312 160
    status:
313 161
      code: 200
314 162
      message: OK
315 163
    headers:
164
      Date:
165
      - Fri, 09 Sep 2016 20:04:32 GMT
166
      Server:
167
      - Apache/2.4.6 (CentOS)
316 168
      X-Frame-Options:
317 169
      - SAMEORIGIN
318 170
      X-Xss-Protection:
......
320 172
      X-Content-Type-Options:
321 173
      - nosniff
322 174
      Foreman-Version:
323
      - 1.13.0-develop
175
      - 1.14.0-develop
324 176
      Foreman-Api-Version:
325 177
      - '2'
326 178
      Content-Type:
327 179
      - application/json; charset=utf-8
328 180
      Apipie-Checksum:
329
      - e98945ba1db6bdbb4c25ce4988912344
181
      - 9544abef9cf8343005f07ed8c9f1f8e7
330 182
      Etag:
331
      - W/"4334603e104dcf3bf9d4222dd9a77b6a"
183
      - W/"6f6e523169508346de19ea518f842d6f-gzip"
332 184
      Cache-Control:
333 185
      - max-age=0, private, must-revalidate
334
      Set-Cookie:
335
      - _session_id=3c84de66357aba01f7bad6d6c63120df; path=/; HttpOnly
336 186
      X-Request-Id:
337
      - 577e32a9-1fbf-446e-8ab3-6c1eb4288bc4
187
      - a76a3d61-aed3-4aeb-90c5-d8d3a9efbcfc
338 188
      X-Runtime:
339
      - '0.354620'
340
      Transfer-Encoding:
341
      - chunked
189
      - '0.220072'
190
      Via:
191
      - 1.1 katello.example.com:50191
192
      Vary:
193
      - Accept-Encoding
194
      Content-Length:
195
      - '792'
196
      Set-Cookie:
197
      - _session_id=091e0cd198cb7a9a843b02c8d4dcb388; path=/; HttpOnly
342 198
    body:
343
      encoding: UTF-8
199
      encoding: ASCII-8BIT
344 200
      string: |
345 201
        {
346 202
          "total": 3,
......
352 208
            "by": null,
353 209
            "order": null
354 210
          },
355
          "results": [{"label":"Default_Organization","created_at":"2016-08-10 12:38:23 UTC","updated_at":"2016-08-10 12:38:23 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"examplecorp","created_at":"2016-08-10 13:40:47 UTC","updated_at":"2016-08-10 13:40:47 UTC","id":3,"name":"Example Corporation","title":"Example Corporation","description":"The number one example company in the world!"},{"label":"testcorp","created_at":"2016-08-16 12:46:24 UTC","updated_at":"2016-08-16 12:46:24 UTC","id":4,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
211
          "results": [{"label":"Default_Organization","created_at":"2016-09-02 14:00:59 UTC","updated_at":"2016-09-02 14:00:59 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"examplecorp","created_at":"2016-09-02 15:00:24 UTC","updated_at":"2016-09-02 15:00:24 UTC","id":3,"name":"Example Corporation","title":"Example Corporation","description":"The number one example company in the world!"},{"label":"testcorp","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","id":9,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
356 212
        }
357 213
    http_version: 
358
  recorded_at: Tue, 16 Aug 2016 19:07:06 GMT
214
  recorded_at: Fri, 09 Sep 2016 20:04:33 GMT
359 215
- request:
360 216
    method: get
361
    uri: http://admin:changeme@katello:3000/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
217
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
362 218
    body:
363 219
      encoding: US-ASCII
364 220
      string: ''
......
367 223
      - application/json;version=2
368 224
      Accept-Encoding:
369 225
      - gzip, deflate
226
      User-Agent:
227
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
370 228
      Content-Type:
371 229
      - application/json
372
      User-Agent:
373
      - Ruby
230
      Host:
231
      - katello.example.com:50191
374 232
  response:
375 233
    status:
376 234
      code: 200
377 235
      message: OK
378 236
    headers:
237
      Date:
238
      - Fri, 09 Sep 2016 20:04:33 GMT
239
      Server:
240
      - Apache/2.4.6 (CentOS)
379 241
      X-Frame-Options:
380 242
      - SAMEORIGIN
381 243
      X-Xss-Protection:
......
383 245
      X-Content-Type-Options:
384 246
      - nosniff
385 247
      Foreman-Version:
386
      - 1.13.0-develop
248
      - 1.14.0-develop
387 249
      Foreman-Api-Version:
388 250
      - '2'
389 251
      Content-Type:
390 252
      - application/json; charset=utf-8
391 253
      Apipie-Checksum:
392
      - e98945ba1db6bdbb4c25ce4988912344
254
      - 9544abef9cf8343005f07ed8c9f1f8e7
393 255
      Etag:
394
      - W/"785d8517cac73defba8a1bb58c1321c3"
256
      - W/"d68c22d174002088d8001767ed0237b3-gzip"
395 257
      Cache-Control:
396 258
      - max-age=0, private, must-revalidate
397
      Set-Cookie:
398
      - _session_id=6feef9c1671e90f9ba53662edf8ae133; path=/; HttpOnly
399 259
      X-Request-Id:
400
      - 8f38bba6-0b52-4f56-80ac-880f168eb15f
260
      - cbd26007-2002-44b6-868e-b53f0838068e
401 261
      X-Runtime:
402
      - '1.280627'
403
      Transfer-Encoding:
404
      - chunked
262
      - '1.277271'
263
      Via:
264
      - 1.1 katello.example.com:50191
265
      Vary:
266
      - Accept-Encoding
267
      Content-Length:
268
      - '379'
269
      Set-Cookie:
270
      - _session_id=4661d43342244c01e38fcf97c0dc4fd2; path=/; HttpOnly
405 271
    body:
406
      encoding: UTF-8
272
      encoding: ASCII-8BIT
407 273
      string: |
408 274
        {
409 275
          "total": 3,
......
415 281
            "by": null,
416 282
            "order": null
417 283
          },
418
          "results": [{"label":"Default_Organization","created_at":"2016-08-10 12:38:23 UTC","updated_at":"2016-08-10 12:38:23 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null}]
284
          "results": [{"label":"Default_Organization","created_at":"2016-09-02 14:00:59 UTC","updated_at":"2016-09-02 14:00:59 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null}]
419 285
        }
420 286
    http_version: 
421
  recorded_at: Tue, 16 Aug 2016 19:07:07 GMT
287
  recorded_at: Fri, 09 Sep 2016 20:04:34 GMT
422 288
- request:
423 289
    method: get
424
    uri: http://admin:changeme@katello:3000/katello/api/organizations/1/environments?per_page=999999
290
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/1/environments?per_page=999999
425 291
    body:
426 292
      encoding: US-ASCII
427 293
      string: ''
......
430 296
      - application/json;version=2
431 297
      Accept-Encoding:
432 298
      - gzip, deflate
299
      User-Agent:
300
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
433 301
      Content-Type:
434 302
      - application/json
435
      User-Agent:
436
      - Ruby
303
      Host:
304
      - katello.example.com:50191
437 305
  response:
438 306
    status:
439 307
      code: 200
440 308
      message: OK
441 309
    headers:
310
      Date:
311
      - Fri, 09 Sep 2016 20:04:34 GMT
312
      Server:
313
      - Apache/2.4.6 (CentOS)
442 314
      X-Frame-Options:
443 315
      - SAMEORIGIN
444 316
      X-Xss-Protection:
......
446 318
      X-Content-Type-Options:
447 319
      - nosniff
448 320
      Foreman-Version:
449
      - 1.13.0-develop
321
      - 1.14.0-develop
450 322
      Foreman-Api-Version:
451 323
      - '2'
452 324
      Content-Type:
453 325
      - application/json; charset=utf-8
454 326
      Apipie-Checksum:
455
      - e98945ba1db6bdbb4c25ce4988912344
327
      - 9544abef9cf8343005f07ed8c9f1f8e7
456 328
      Etag:
457
      - W/"c468522552c316b3731fc20f45b2deb5"
329
      - W/"07e6b5f9f849df75a180e3005dec62cd-gzip"
458 330
      Cache-Control:
459 331
      - max-age=0, private, must-revalidate
460
      Set-Cookie:
461
      - _session_id=10ef0cc39385066422b8656639a9a6b2; path=/; HttpOnly
462 332
      X-Request-Id:
463
      - 4af58bab-86ab-4a52-b70e-4a1e4503bad3
333
      - 0bd45bcc-e416-41b2-b96c-7829503c15c4
464 334
      X-Runtime:
465
      - '0.610936'
466
      Transfer-Encoding:
467
      - chunked
335
      - '0.379026'
336
      Via:
337
      - 1.1 katello.example.com:50191
338
      Vary:
339
      - Accept-Encoding
340
      Content-Length:
341
      - '835'
342
      Set-Cookie:
343
      - _session_id=22aa0f16d9dcd99e83e35b55279a6eb3; path=/; HttpOnly
468 344
    body:
469
      encoding: UTF-8
345
      encoding: ASCII-8BIT
470 346
      string: |
471
        {"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 Organization","label":"Default_Organization","id":1},"created_at":"2016-08-10 12:38:26 UTC","updated_at":"2016-08-10 12:38:26 UTC","prior":null,"successor":null,"counts":{"content_hosts":0,"content_views":0,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":3,"docker_repositories":0,"ostree_repositories":0,"products":3},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}]}
347
        {"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 Organization","label":"Default_Organization","id":1},"created_at":"2016-09-02 14:01:04 UTC","updated_at":"2016-09-02 14:01:04 UTC","prior":null,"successor":null,"counts":{"content_hosts":1,"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":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}]}
472 348
    http_version: 
473
  recorded_at: Tue, 16 Aug 2016 19:07:08 GMT
349
  recorded_at: Fri, 09 Sep 2016 20:04:35 GMT
474 350
- request:
475 351
    method: get
476
    uri: http://admin:changeme@katello:3000/katello/api/organizations?per_page=999999&search=name=%22Example%20Corporation%22
352
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Example%20Corporation%22
477 353
    body:
478 354
      encoding: US-ASCII
479 355
      string: ''
......
482 358
      - application/json;version=2
483 359
      Accept-Encoding:
484 360
      - gzip, deflate
361
      User-Agent:
362
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
485 363
      Content-Type:
486 364
      - application/json
487
      User-Agent:
488
      - Ruby
365
      Host:
366
      - katello.example.com:50191
489 367
  response:
490 368
    status:
491 369
      code: 200
492 370
      message: OK
493 371
    headers:
372
      Date:
373
      - Fri, 09 Sep 2016 20:04:34 GMT
374
      Server:
375
      - Apache/2.4.6 (CentOS)
494 376
      X-Frame-Options:
495 377
      - SAMEORIGIN
496 378
      X-Xss-Protection:
......
498 380
      X-Content-Type-Options:
499 381
      - nosniff
500 382
      Foreman-Version:
501
      - 1.13.0-develop
383
      - 1.14.0-develop
502 384
      Foreman-Api-Version:
503 385
      - '2'
504 386
      Content-Type:
505 387
      - application/json; charset=utf-8
506 388
      Apipie-Checksum:
507
      - e98945ba1db6bdbb4c25ce4988912344
389
      - 9544abef9cf8343005f07ed8c9f1f8e7
508 390
      Etag:
509
      - W/"06fddfee0dc212ed75a51f7ece06f727"
391
      - W/"438403e627981e853bc15d2e5d08c696-gzip"
510 392
      Cache-Control:
511 393
      - max-age=0, private, must-revalidate
512
      Set-Cookie:
513
      - _session_id=35be6aea9338b9be37523793b52f0dad; path=/; HttpOnly
514 394
      X-Request-Id:
515
      - 5290f8c5-f332-4fdb-b585-03543060a679
395
      - 26f251d7-e5ae-4446-8b77-4cb3604c4a87
516 396
      X-Runtime:
517
      - '0.226320'
518
      Transfer-Encoding:
519
      - chunked
397
      - '0.215495'
398
      Via:
399
      - 1.1 katello.example.com:50191
400
      Vary:
401
      - Accept-Encoding
402
      Content-Length:
403
      - '409'
404
      Set-Cookie:
405
      - _session_id=f1abb7c46848a4f0525a559bf1a38adb; path=/; HttpOnly
520 406
    body:
521
      encoding: UTF-8
407
      encoding: ASCII-8BIT
522 408
      string: |
523 409
        {
524 410
          "total": 3,
......
530 416
            "by": null,
531 417
            "order": null
532 418
          },
533
          "results": [{"label":"examplecorp","created_at":"2016-08-10 13:40:47 UTC","updated_at":"2016-08-10 13:40:47 UTC","id":3,"name":"Example Corporation","title":"Example Corporation","description":"The number one example company in the world!"}]
419
          "results": [{"label":"examplecorp","created_at":"2016-09-02 15:00:24 UTC","updated_at":"2016-09-02 15:00:24 UTC","id":3,"name":"Example Corporation","title":"Example Corporation","description":"The number one example company in the world!"}]
534 420
        }
535 421
    http_version: 
536
  recorded_at: Tue, 16 Aug 2016 19:07:08 GMT
422
  recorded_at: Fri, 09 Sep 2016 20:04:35 GMT
537 423
- request:
538 424
    method: get
539
    uri: http://admin:changeme@katello:3000/katello/api/organizations/3/environments?per_page=999999
425
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/3/environments?per_page=999999
540 426
    body:
541 427
      encoding: US-ASCII
542 428
      string: ''
......
545 431
      - application/json;version=2
546 432
      Accept-Encoding:
547 433
      - gzip, deflate
434
      User-Agent:
435
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
548 436
      Content-Type:
549 437
      - application/json
550
      User-Agent:
551
      - Ruby
438
      Host:
439
      - katello.example.com:50191
552 440
  response:
553 441
    status:
554 442
      code: 200
555 443
      message: OK
556 444
    headers:
445
      Date:
446
      - Fri, 09 Sep 2016 20:04:35 GMT
447
      Server:
448
      - Apache/2.4.6 (CentOS)
557 449
      X-Frame-Options:
558 450
      - SAMEORIGIN
559 451
      X-Xss-Protection:
......
561 453
      X-Content-Type-Options:
562 454
      - nosniff
563 455
      Foreman-Version:
564
      - 1.13.0-develop
456
      - 1.14.0-develop
565 457
      Foreman-Api-Version:
566 458
      - '2'
567 459
      Content-Type:
568 460
      - application/json; charset=utf-8
569 461
      Apipie-Checksum:
570
      - e98945ba1db6bdbb4c25ce4988912344
462
      - 9544abef9cf8343005f07ed8c9f1f8e7
571 463
      Etag:
572
      - W/"08a2cb84779c8c6beaa1f92e76fc93c7"
464
      - W/"0470c3e061ea7c4416c3c7ffd8263e80-gzip"
573 465
      Cache-Control:
574 466
      - max-age=0, private, must-revalidate
575
      Set-Cookie:
576
      - _session_id=9bee2d2ad8762ef2dba2b63c4262c74a; path=/; HttpOnly
577 467
      X-Request-Id:
578
      - 43afd356-b8b7-4b04-b0d0-4f8195cd59af
468
      - b71f5ece-96d7-4e8f-8b21-25fd299157ab
579 469
      X-Runtime:
580
      - '3.484721'
581
      Transfer-Encoding:
582
      - chunked
470
      - '1.817325'
471
      Via:
472
      - 1.1 katello.example.com:50191
473
      Vary:
474
      - Accept-Encoding
475
      Content-Length:
476
      - '3238'
477
      Set-Cookie:
478
      - _session_id=203c62d9f2535db08a63afb7bbab5818; path=/; HttpOnly
583 479
    body:
584
      encoding: UTF-8
480
      encoding: ASCII-8BIT
585 481
      string: |
586
        {"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, manual promotions from Development","organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-08-10 21:02:34 UTC","updated_at":"2016-08-10 21:02:34 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"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, manual promotions from Test","organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-08-10 21:02:36 UTC","updated_at":"2016-08-10 21:02:36 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"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":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-08-10 13:40:49 UTC","updated_at":"2016-08-10 13:40:49 UTC","prior":null,"successor":null,"counts":{"content_hosts":1,"content_views":1,"packages":20594,"puppet_modules":0,"errata":{"security":565,"bugfix":1344,"enhancement":260,"total":2169},"yum_repositories":3,"docker_repositories":2,"ostree_repositories":0,"products":4},"permissions":{"create_lifecycle_environments":true,"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, automated promotes from Library","organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-08-10 21:02:31 UTC","updated_at":"2016-08-10 21:02:31 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":1},"permissions":{"create_lifecycle_environments":true,"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, no longer in Production","organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-08-10 21:02:40 UTC","updated_at":"2016-08-10 21:02:40 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
482
        {"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, manual promotions from Development","organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-09-02 18:20:05 UTC","updated_at":"2016-09-02 18:20:05 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":1},"permissions":{"create_lifecycle_environments":true,"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, manual promotions from Test","organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-09-02 18:20:08 UTC","updated_at":"2016-09-02 18:20:08 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":1},"permissions":{"create_lifecycle_environments":true,"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":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-09-02 15:00:26 UTC","updated_at":"2016-09-02 15:00:26 UTC","prior":null,"successor":null,"counts":{"content_hosts":9,"content_views":1,"packages":595,"puppet_modules":0,"errata":{"security":5,"bugfix":18,"enhancement":5,"total":28},"yum_repositories":1,"docker_repositories":0,"ostree_repositories":1,"products":2},"permissions":{"create_lifecycle_environments":true,"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, automated promotes from Library","organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-09-02 18:20:03 UTC","updated_at":"2016-09-02 18:20:03 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":1},"permissions":{"create_lifecycle_environments":true,"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, no longer in Production","organization":{"name":"Example Corporation","label":"examplecorp","id":3},"created_at":"2016-09-02 18:20:11 UTC","updated_at":"2016-09-02 18:20:11 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
587 483
    http_version: 
588
  recorded_at: Tue, 16 Aug 2016 19:07:12 GMT
484
  recorded_at: Fri, 09 Sep 2016 20:04:37 GMT
589 485
- request:
590 486
    method: get
591
    uri: http://admin:changeme@katello:3000/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
487
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
592 488
    body:
593 489
      encoding: US-ASCII
594 490
      string: ''
......
597 493
      - application/json;version=2
598 494
      Accept-Encoding:
599 495
      - gzip, deflate
496
      User-Agent:
497
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
600 498
      Content-Type:
601 499
      - application/json
602
      User-Agent:
603
      - Ruby
500
      Host:
501
      - katello.example.com:50191
604 502
  response:
605 503
    status:
606 504
      code: 200
607 505
      message: OK
608 506
    headers:
507
      Date:
508
      - Fri, 09 Sep 2016 20:04:36 GMT
509
      Server:
510
      - Apache/2.4.6 (CentOS)
609 511
      X-Frame-Options:
610 512
      - SAMEORIGIN
611 513
      X-Xss-Protection:
......
613 515
      X-Content-Type-Options:
614 516
      - nosniff
615 517
      Foreman-Version:
616
      - 1.13.0-develop
518
      - 1.14.0-develop
617 519
      Foreman-Api-Version:
618 520
      - '2'
619 521
      Content-Type:
620 522
      - application/json; charset=utf-8
621 523
      Apipie-Checksum:
622
      - e98945ba1db6bdbb4c25ce4988912344
524
      - 9544abef9cf8343005f07ed8c9f1f8e7
623 525
      Etag:
624
      - W/"dec57c653102523d2cd2de13cb7fee01"
526
      - W/"471e8acb2053be2e7a823cbd174ec330-gzip"
625 527
      Cache-Control:
626 528
      - max-age=0, private, must-revalidate
627
      Set-Cookie:
628
      - _session_id=72cb96f8b3d66bb4f36a840c42616442; path=/; HttpOnly
629 529
      X-Request-Id:
630
      - a72fa5db-1cbd-4b7a-a9a0-f5646b00db60
530
      - 85d91851-7e36-46fb-9bfc-46fa4be0920e
631 531
      X-Runtime:
632
      - '0.305727'
633
      Transfer-Encoding:
634
      - chunked
532
      - '0.222561'
533
      Via:
534
      - 1.1 katello.example.com:50191
535
      Vary:
536
      - Accept-Encoding
537
      Content-Length:
538
      - '388'
539
      Set-Cookie:
540
      - _session_id=416d90624b0aa06040aaecb219928ab1; path=/; HttpOnly
635 541
    body:
636
      encoding: UTF-8
542
      encoding: ASCII-8BIT
637 543
      string: |
638 544
        {
639 545
          "total": 3,
......
645 551
            "by": null,
646 552
            "order": null
647 553
          },
648
          "results": [{"label":"testcorp","created_at":"2016-08-16 12:46:24 UTC","updated_at":"2016-08-16 12:46:24 UTC","id":4,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
554
          "results": [{"label":"testcorp","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","id":9,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
649 555
        }
650 556
    http_version: 
651
  recorded_at: Tue, 16 Aug 2016 19:07:12 GMT
557
  recorded_at: Fri, 09 Sep 2016 20:04:37 GMT
652 558
- request:
653 559
    method: get
654
    uri: http://admin:changeme@katello:3000/katello/api/organizations/4/environments?per_page=999999
560
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/environments?per_page=999999
655 561
    body:
656 562
      encoding: US-ASCII
657 563
      string: ''
......
660 566
      - application/json;version=2
661 567
      Accept-Encoding:
662 568
      - gzip, deflate
569
      User-Agent:
570
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
663 571
      Content-Type:
664 572
      - application/json
665
      User-Agent:
666
      - Ruby
573
      Host:
574
      - katello.example.com:50191
667 575
  response:
668 576
    status:
669 577
      code: 200
670 578
      message: OK
671 579
    headers:
580
      Date:
581
      - Fri, 09 Sep 2016 20:04:37 GMT
582
      Server:
583
      - Apache/2.4.6 (CentOS)
672 584
      X-Frame-Options:
673 585
      - SAMEORIGIN
674 586
      X-Xss-Protection:
......
676 588
      X-Content-Type-Options:
677 589
      - nosniff
678 590
      Foreman-Version:
679
      - 1.13.0-develop
591
      - 1.14.0-develop
680 592
      Foreman-Api-Version:
681 593
      - '2'
682 594
      Content-Type:
683 595
      - application/json; charset=utf-8
684 596
      Apipie-Checksum:
685
      - e98945ba1db6bdbb4c25ce4988912344
597
      - 9544abef9cf8343005f07ed8c9f1f8e7
686 598
      Etag:
687
      - W/"1d6d0a90056c90ea9a3cb6391d18c584"
599
      - W/"71a417dc2f3dfb1e7102347ec69b1aea-gzip"
688 600
      Cache-Control:
689 601
      - max-age=0, private, must-revalidate
690
      Set-Cookie:
691
      - _session_id=d47ee3d90398d1b70056c656a3f12ddc; path=/; HttpOnly
692 602
      X-Request-Id:
693
      - db6e10a8-41b9-42ed-9d31-1fc7d15a6e94
603
      - 6b2400ed-5652-4bd1-b0de-8f3630093a85
694 604
      X-Runtime:
695
      - '3.703343'
696
      Transfer-Encoding:
697
      - chunked
605
      - '1.770496'
606
      Via:
607
      - 1.1 katello.example.com:50191
608
      Vary:
609
      - Accept-Encoding
610
      Content-Length:
611
      - '3209'
612
      Set-Cookie:
613
      - _session_id=ac43af011027de8b7ede482d848eb0cc; path=/; HttpOnly
698 614
    body:
699
      encoding: UTF-8
615
      encoding: ASCII-8BIT
700 616
      string: |
701
        {"total":6,"subtotal":6,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":12,"name":"TestEnv","label":"TestEnv","description":"","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 15:07:36 UTC","updated_at":"2016-08-16 15:07:36 UTC","prior":{"name":"Library","id":7},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":9,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:47:15 UTC","updated_at":"2016-08-16 12:47:15 UTC","prior":{"name":"Development","id":8},"successor":{"name":"Production","id":10},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":10,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:47:17 UTC","updated_at":"2016-08-16 12:47:17 UTC","prior":{"name":"Test","id":9},"successor":{"name":"Archive","id":11},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":7,"name":"Library","label":"Library","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:46:28 UTC","updated_at":"2016-08-16 12:46:28 UTC","prior":null,"successor":null,"counts":{"content_hosts":0,"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":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":8,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:47:11 UTC","updated_at":"2016-08-16 12:47:11 UTC","prior":{"name":"Library","id":7},"successor":{"name":"Test","id":9},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":11,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:47:21 UTC","updated_at":"2016-08-16 12:47:21 UTC","prior":{"name":"Production","id":10},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
617
        {"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":9,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:52 UTC","updated_at":"2016-09-08 17:34:52 UTC","prior":{"name":"Development","id":8},"successor":{"name":"Production","id":10},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":10,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:56 UTC","updated_at":"2016-09-08 17:34:56 UTC","prior":{"name":"Test","id":9},"successor":{"name":"Archive","id":11},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":7,"name":"Library","label":"Library","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:05 UTC","updated_at":"2016-09-07 01:39:05 UTC","prior":null,"successor":null,"counts":{"content_hosts":0,"content_views":1,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":2,"docker_repositories":0,"ostree_repositories":0,"products":1},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":8,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:50 UTC","updated_at":"2016-09-08 17:34:50 UTC","prior":{"name":"Library","id":7},"successor":{"name":"Test","id":9},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":11,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:58 UTC","updated_at":"2016-09-08 17:34:58 UTC","prior":{"name":"Production","id":10},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
702 618
    http_version: 
703
  recorded_at: Tue, 16 Aug 2016 19:07:16 GMT
619
  recorded_at: Fri, 09 Sep 2016 20:04:39 GMT
704 620
- request:
705 621
    method: put
706
    uri: http://admin:changeme@katello:3000/katello/api/environments/8
622
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/8
707 623
    body:
708 624
      encoding: UTF-8
709 625
      string: '{"description":"Development, automated promotes from Library"}'
......
712 628
      - application/json;version=2
713 629
      Accept-Encoding:
714 630
      - gzip, deflate
631
      User-Agent:
632
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
715 633
      Content-Type:
716 634
      - application/json
717 635
      Content-Length:
718 636
      - '62'
719
      User-Agent:
720
      - Ruby
637
      Host:
638
      - katello.example.com:50191
721 639
  response:
722 640
    status:
723 641
      code: 200
724 642
      message: OK
725 643
    headers:
644
      Date:
645
      - Fri, 09 Sep 2016 20:04:39 GMT
646
      Server:
647
      - Apache/2.4.6 (CentOS)
726 648
      X-Frame-Options:
727 649
      - SAMEORIGIN
728 650
      X-Xss-Protection:
......
730 652
      X-Content-Type-Options:
731 653
      - nosniff
732 654
      Foreman-Version:
733
      - 1.13.0-develop
655
      - 1.14.0-develop
734 656
      Foreman-Api-Version:
735 657
      - '2'
736 658
      Content-Type:
737 659
      - application/json; charset=utf-8
738 660
      Apipie-Checksum:
739
      - e98945ba1db6bdbb4c25ce4988912344
661
      - 9544abef9cf8343005f07ed8c9f1f8e7
740 662
      Etag:
741
      - W/"cfe9d7e4a1c3c4674e86795714a4f820"
663
      - W/"fee31523550c7fe7bd8a6a3c5f49e232-gzip"
742 664
      Cache-Control:
743 665
      - max-age=0, private, must-revalidate
744
      Set-Cookie:
745
      - _session_id=a327b0614afe20cf654f972ad9b094be; path=/; HttpOnly
746
      - request_method=PUT; path=/
747 666
      X-Request-Id:
748
      - c79705c2-2a8a-425e-9f86-7c457416f40e
667
      - cc0488cc-7351-4d55-ac6a-229209c30ddf
749 668
      X-Runtime:
750
      - '1.603860'
751
      Transfer-Encoding:
752
      - chunked
669
      - '1.481445'
670
      Via:
671
      - 1.1 katello.example.com:50191
672
      Vary:
673
      - Accept-Encoding
674
      Content-Length:
675
      - '611'
676
      Set-Cookie:
677
      - _session_id=295d73a909fb060e27f4f771ae3e6be3; path=/; HttpOnly
678
      - request_method=PUT; path=/
753 679
    body:
754
      encoding: UTF-8
680
      encoding: ASCII-8BIT
755 681
      string: |2
756
          {"library":false,"id":8,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:47:11 UTC","updated_at":"2016-08-16 12:47:11 UTC","prior":{"name":"Library","id":7},"successor":{"name":"Test","id":9},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
682
          {"library":false,"id":8,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:50 UTC","updated_at":"2016-09-08 17:34:50 UTC","prior":{"name":"Library","id":7},"successor":{"name":"Test","id":9},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
757 683
    http_version: 
758
  recorded_at: Tue, 16 Aug 2016 19:07:17 GMT
684
  recorded_at: Fri, 09 Sep 2016 20:04:40 GMT
759 685
- request:
760 686
    method: put
761
    uri: http://admin:changeme@katello:3000/katello/api/environments/9
687
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/9
762 688
    body:
763 689
      encoding: UTF-8
764 690
      string: '{"description":"Test, manual promotions from Development"}'
......
767 693
      - application/json;version=2
768 694
      Accept-Encoding:
769 695
      - gzip, deflate
696
      User-Agent:
697
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
770 698
      Content-Type:
771 699
      - application/json
772 700
      Content-Length:
773 701
      - '58'
774
      User-Agent:
775
      - Ruby
702
      Host:
703
      - katello.example.com:50191
776 704
  response:
777 705
    status:
778 706
      code: 200
779 707
      message: OK
780 708
    headers:
709
      Date:
710
      - Fri, 09 Sep 2016 20:04:40 GMT
711
      Server:
712
      - Apache/2.4.6 (CentOS)
781 713
      X-Frame-Options:
782 714
      - SAMEORIGIN
783 715
      X-Xss-Protection:
......
785 717
      X-Content-Type-Options:
786 718
      - nosniff
787 719
      Foreman-Version:
788
      - 1.13.0-develop
720
      - 1.14.0-develop
789 721
      Foreman-Api-Version:
790 722
      - '2'
791 723
      Content-Type:
792 724
      - application/json; charset=utf-8
793 725
      Apipie-Checksum:
794
      - e98945ba1db6bdbb4c25ce4988912344
726
      - 9544abef9cf8343005f07ed8c9f1f8e7
795 727
      Etag:
796
      - W/"2d17bf62cf017012131594dfdee29719"
728
      - W/"70f62787daba44dba5dce4419576f12c-gzip"
797 729
      Cache-Control:
798 730
      - max-age=0, private, must-revalidate
799
      Set-Cookie:
800
      - _session_id=ceb88b14c85bf5deec8c6b0ab321ff44; path=/; HttpOnly
801
      - request_method=PUT; path=/
802 731
      X-Request-Id:
803
      - e9534214-5437-469a-8130-cbf4514689d3
732
      - d5008ddb-73c6-4897-a1d4-a96205dc722d
804 733
      X-Runtime:
805
      - '0.754447'
806
      Transfer-Encoding:
807
      - chunked
734
      - '0.396450'
735
      Via:
736
      - 1.1 katello.example.com:50191
737
      Vary:
738
      - Accept-Encoding
739
      Content-Length:
740
      - '604'
741
      Set-Cookie:
742
      - _session_id=42794b9c66048758d4b7349e3208eb36; path=/; HttpOnly
743
      - request_method=PUT; path=/
808 744
    body:
809
      encoding: UTF-8
745
      encoding: ASCII-8BIT
810 746
      string: |2
811
          {"library":false,"id":9,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:47:15 UTC","updated_at":"2016-08-16 12:47:15 UTC","prior":{"name":"Development","id":8},"successor":{"name":"Production","id":10},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
747
          {"library":false,"id":9,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:52 UTC","updated_at":"2016-09-08 17:34:52 UTC","prior":{"name":"Development","id":8},"successor":{"name":"Production","id":10},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
812 748
    http_version: 
813
  recorded_at: Tue, 16 Aug 2016 19:07:18 GMT
749
  recorded_at: Fri, 09 Sep 2016 20:04:41 GMT
814 750
- request:
815 751
    method: put
816
    uri: http://admin:changeme@katello:3000/katello/api/environments/10
752
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/10
817 753
    body:
818 754
      encoding: UTF-8
819 755
      string: '{"description":"Production, manual promotions from Test"}'
......
822 758
      - application/json;version=2
823 759
      Accept-Encoding:
824 760
      - gzip, deflate
761
      User-Agent:
762
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
825 763
      Content-Type:
826 764
      - application/json
827 765
      Content-Length:
828 766
      - '57'
829
      User-Agent:
830
      - Ruby
767
      Host:
768
      - katello.example.com:50191
831 769
  response:
832 770
    status:
833 771
      code: 200
834 772
      message: OK
835 773
    headers:
774
      Date:
775
      - Fri, 09 Sep 2016 20:04:40 GMT
776
      Server:
777
      - Apache/2.4.6 (CentOS)
836 778
      X-Frame-Options:
837 779
      - SAMEORIGIN
838 780
      X-Xss-Protection:
......
840 782
      X-Content-Type-Options:
841 783
      - nosniff
842 784
      Foreman-Version:
843
      - 1.13.0-develop
785
      - 1.14.0-develop
844 786
      Foreman-Api-Version:
845 787
      - '2'
846 788
      Content-Type:
847 789
      - application/json; charset=utf-8
848 790
      Apipie-Checksum:
849
      - e98945ba1db6bdbb4c25ce4988912344
791
      - 9544abef9cf8343005f07ed8c9f1f8e7
850 792
      Etag:
851
      - W/"b7a35aa1d6a7a3c7794143c779da1b95"
793
      - W/"973776d0a4e1867f88a0d11870488396-gzip"
852 794
      Cache-Control:
853 795
      - max-age=0, private, must-revalidate
854
      Set-Cookie:
855
      - _session_id=1d3b5c4268d24e593c56654a936310c7; path=/; HttpOnly
856
      - request_method=PUT; path=/
857 796
      X-Request-Id:
858
      - 00b03630-d075-47c9-8f2c-f2edd7b97b56
797
      - e47c5fba-195c-45a2-b8b7-d1622e9749fa
859 798
      X-Runtime:
860
      - '1.540778'
861
      Transfer-Encoding:
862
      - chunked
799
      - '1.475747'
800
      Via:
801
      - 1.1 katello.example.com:50191
802
      Vary:
803
      - Accept-Encoding
804
      Content-Length:
805
      - '606'
806
      Set-Cookie:
807
      - _session_id=5de21afa539565ee0f9ccdf89e41ddc4; path=/; HttpOnly
808
      - request_method=PUT; path=/
863 809
    body:
864
      encoding: UTF-8
810
      encoding: ASCII-8BIT
865 811
      string: |2
866
          {"library":false,"id":10,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:47:17 UTC","updated_at":"2016-08-16 12:47:17 UTC","prior":{"name":"Test","id":9},"successor":{"name":"Archive","id":11},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
812
          {"library":false,"id":10,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:56 UTC","updated_at":"2016-09-08 17:34:56 UTC","prior":{"name":"Test","id":9},"successor":{"name":"Archive","id":11},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}
867 813
    http_version: 
868
  recorded_at: Tue, 16 Aug 2016 19:07:20 GMT
814
  recorded_at: Fri, 09 Sep 2016 20:04:42 GMT
869 815
- request:
870 816
    method: put
871
    uri: http://admin:changeme@katello:3000/katello/api/environments/11
817
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/11
872 818
    body:
873 819
      encoding: UTF-8
874 820
      string: '{"description":"Archive, no longer in Production"}'
......
877 823
      - application/json;version=2
878 824
      Accept-Encoding:
879 825
      - gzip, deflate
826
      User-Agent:
827
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
880 828
      Content-Type:
881 829
      - application/json
882 830
      Content-Length:
883 831
      - '50'
884
      User-Agent:
885
      - Ruby
832
      Host:
833
      - katello.example.com:50191
886 834
  response:
887 835
    status:
888 836
      code: 200
889 837
      message: OK
890 838
    headers:
839
      Date:
840
      - Fri, 09 Sep 2016 20:04:42 GMT
841
      Server:
842
      - Apache/2.4.6 (CentOS)
891 843
      X-Frame-Options:
892 844
      - SAMEORIGIN
893 845
      X-Xss-Protection:
......
895 847
      X-Content-Type-Options:
896 848
      - nosniff
897 849
      Foreman-Version:
898
      - 1.13.0-develop
850
      - 1.14.0-develop
899 851
      Foreman-Api-Version:
900 852
      - '2'
901 853
      Content-Type:
902 854
      - application/json; charset=utf-8
903 855
      Apipie-Checksum:
904
      - e98945ba1db6bdbb4c25ce4988912344
856
      - 9544abef9cf8343005f07ed8c9f1f8e7
905 857
      Etag:
906
      - W/"04d514d27629d1c8464398597cf5a28c"
858
      - W/"668972088a90a54823491ee88644a19b-gzip"
907 859
      Cache-Control:
908 860
      - max-age=0, private, must-revalidate
909
      Set-Cookie:
910
      - _session_id=4fe18b8987be5796439282ff27d6d2d3; path=/; HttpOnly
911
      - request_method=PUT; path=/
912 861
      X-Request-Id:
913
      - 84dc3348-0e31-4a36-8462-91deec817206
862
      - 63e3ddf7-6488-4f42-805e-851a1bd61ee3
914 863
      X-Runtime:
915
      - '0.622107'
916
      Transfer-Encoding:
917
      - chunked
864
      - '0.363383'
865
      Via:
866
      - 1.1 katello.example.com:50191
867
      Vary:
868
      - Accept-Encoding
869
      Content-Length:
870
      - '577'
871
      Set-Cookie:
872
      - _session_id=96dbeac27fb9a563c1ae665676d7fd28; path=/; HttpOnly
873
      - request_method=PUT; path=/
918 874
    body:
919
      encoding: UTF-8
875
      encoding: ASCII-8BIT
920 876
      string: |2
921
          {"library":false,"id":11,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":4},"created_at":"2016-08-16 12:47:21 UTC","updated_at":"2016-08-16 12:47:21 UTC","prior":{"name":"Production","id":10},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}
877
          {"library":false,"id":11,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:58 UTC","updated_at":"2016-09-08 17:34:58 UTC","prior":{"name":"Production","id":10},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}
922 878
    http_version: 
923
  recorded_at: Tue, 16 Aug 2016 19:07:20 GMT
879
  recorded_at: Fri, 09 Sep 2016 20:04:43 GMT
924 880
recorded_with: VCR 3.0.3

Also available in: Unified diff