Project

General

Profile

Revision f5d21adb

Added by Thomas McKay over 5 years ago

fixes #15581 - configuration based on foreman stanza

View differences:

test/fixtures/vcr_cassettes/setup/setup_lifecycle_environments/setup.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: get
5
    uri: https://admin:changeme@katello.example.com:50191/api/status
5
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Example%20Corporation%22
6 6
    body:
7 7
      encoding: US-ASCII
8 8
      string: ''
9 9
    headers:
10
      Accept-Encoding:
11
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12 10
      Accept:
13
      - "*/*"
11
      - application/json;version=2
12
      Accept-Encoding:
13
      - gzip, deflate
14 14
      User-Agent:
15
      - Ruby
15
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
16
      Content-Type:
17
      - application/json
18
      Host:
19
      - katello.example.com:50191
16 20
  response:
17 21
    status:
18 22
      code: 200
19 23
      message: OK
20 24
    headers:
21 25
      Date:
22
      - Mon, 12 Sep 2016 15:39:41 GMT
26
      - Mon, 12 Sep 2016 15:39:45 GMT
23 27
      Server:
24 28
      - Apache/2.4.6 (CentOS)
25 29
      X-Frame-Options:
......
37 41
      Apipie-Checksum:
38 42
      - 9544abef9cf8343005f07ed8c9f1f8e7
39 43
      Etag:
40
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
44
      - W/"438403e627981e853bc15d2e5d08c696-gzip"
41 45
      Cache-Control:
42 46
      - max-age=0, private, must-revalidate
43 47
      X-Request-Id:
44
      - f411da2d-82ff-4e7e-9a40-101c5dac12c1
48
      - cb381b9c-a5ce-4e7f-8a95-60e68c709d95
45 49
      X-Runtime:
46
      - '0.209871'
50
      - '0.223449'
47 51
      Via:
48 52
      - 1.1 katello.example.com:50191
49 53
      Vary:
50 54
      - Accept-Encoding
51 55
      Content-Length:
52
      - '81'
56
      - '409'
53 57
      Set-Cookie:
54
      - _session_id=823247ac70fd77eae451215027f619e8; path=/; HttpOnly
58
      - _session_id=56296a09ca52e4bfff2b0fc5a42f501e; path=/; HttpOnly
55 59
    body:
56
      encoding: UTF-8
57
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
60
      encoding: ASCII-8BIT
61
      string: |
62
        {
63
          "total": 3,
64
          "subtotal": 1,
65
          "page": 1,
66
          "per_page": 999999,
67
          "search": "name=\"Example Corporation\"",
68
          "sort": {
69
            "by": null,
70
            "order": null
71
          },
72
          "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!"}]
73
        }
58 74
    http_version: 
59
  recorded_at: Mon, 12 Sep 2016 15:39:42 GMT
75
  recorded_at: Mon, 12 Sep 2016 15:39:46 GMT
60 76
- request:
61 77
    method: get
62
    uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
78
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/3/environments?per_page=999999
63 79
    body:
64 80
      encoding: US-ASCII
65 81
      string: ''
66 82
    headers:
67
      Accept-Encoding:
68
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
69 83
      Accept:
70
      - "*/*"
84
      - application/json;version=2
85
      Accept-Encoding:
86
      - gzip, deflate
71 87
      User-Agent:
72
      - Ruby
88
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
89
      Content-Type:
90
      - application/json
91
      Host:
92
      - katello.example.com:50191
73 93
  response:
74 94
    status:
75 95
      code: 200
76 96
      message: OK
77 97
    headers:
78 98
      Date:
79
      - Mon, 12 Sep 2016 15:39:42 GMT
99
      - Mon, 12 Sep 2016 15:39:45 GMT
80 100
      Server:
81 101
      - Apache/2.4.6 (CentOS)
82 102
      X-Frame-Options:
......
94 114
      Apipie-Checksum:
95 115
      - 9544abef9cf8343005f07ed8c9f1f8e7
96 116
      Etag:
97
      - W/"c547959b2afaff0cf0a8d731005e9365-gzip"
117
      - W/"0470c3e061ea7c4416c3c7ffd8263e80-gzip"
98 118
      Cache-Control:
99 119
      - max-age=0, private, must-revalidate
100 120
      X-Request-Id:
101
      - e285274a-6ea0-4665-965c-464cc30d48c4
121
      - bd703f33-37ec-4ba1-a162-3e22928e45a4
102 122
      X-Runtime:
103
      - '0.181014'
123
      - '1.884815'
104 124
      Via:
105 125
      - 1.1 katello.example.com:50191
106 126
      Vary:
107 127
      - Accept-Encoding
108 128
      Content-Length:
109
      - '566'
129
      - '3238'
110 130
      Set-Cookie:
111
      - _session_id=64ba03c8d03f03adc3377578c49d6fa0; path=/; HttpOnly
131
      - _session_id=179f745211e7e8f056a784ec68433617; path=/; HttpOnly
112 132
    body:
113 133
      encoding: ASCII-8BIT
114
      string: !binary |-
115
        ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
116
        CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
117
        OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
118
        InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
119
        ZW1hbi10YXNrcyIsImF1dGhvciI6Ikl2YW4gTmXEjWFzIiwiZGVzY3JpcHRp
120
        b24iOiJUaGUgZ29hbCBvZiB0aGlzIHBsdWdpbiBpcyB0byB1bmlmeSB0aGUg
121
        d2F5IG9mIHNob3dpbmcgdGFzayBzdGF0dXNlcyBhY3Jvc3MgdGhlIEZvcmVt
122
        YW4gaW5zdGFuY2UuXG5JdCBkZWZpbmVzIFRhc2sgbW9kZWwgZm9yIGtlZXBp
123
        bmcgdGhlIGluZm9ybWF0aW9uIGFib3V0IHRoZSB0YXNrcyBhbmQgTG9jayBm
124
        b3IgYXNzaWduaW5nIHRoZSB0YXNrc1xudG8gcmVzb3VyY2VzLiBUaGUgbG9j
125
        a2luZyBhbGxvd3MgZGVhbGluZyB3aXRoIHByZXZlbnRpbmcgbXVsdGlwbGUg
126
        Y29sbGlkaW5nIHRhc2tzIHRvIGJlIHJ1biBvbiB0aGVcbnNhbWUgcmVzb3Vy
127
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
128
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
129
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
130
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMSJ9LHsiaWQiOiJmb3JlbWFu
131
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
132
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
133
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
134
        IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
135
        b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
136
        ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
137
        ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
138
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
139
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
134
      string: |
135
        {"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}}]}
140 136
    http_version: 
141
  recorded_at: Mon, 12 Sep 2016 15:39:42 GMT
137
  recorded_at: Mon, 12 Sep 2016 15:39:48 GMT
142 138
- request:
143 139
    method: get
144
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999
140
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/environments?per_page=999999
145 141
    body:
146 142
      encoding: US-ASCII
147 143
      string: ''
......
162 158
      message: OK
163 159
    headers:
164 160
      Date:
165
      - Mon, 12 Sep 2016 15:39:42 GMT
161
      - Mon, 12 Sep 2016 15:39:47 GMT
166 162
      Server:
167 163
      - Apache/2.4.6 (CentOS)
168 164
      X-Frame-Options:
......
180 176
      Apipie-Checksum:
181 177
      - 9544abef9cf8343005f07ed8c9f1f8e7
182 178
      Etag:
183
      - W/"6f6e523169508346de19ea518f842d6f-gzip"
179
      - W/"71a417dc2f3dfb1e7102347ec69b1aea-gzip"
184 180
      Cache-Control:
185 181
      - max-age=0, private, must-revalidate
186 182
      X-Request-Id:
187
      - 78121692-d37b-40a2-8f57-5c4bb9a9bf13
183
      - a94dfabb-fcb5-45db-aa40-039213bdc461
188 184
      X-Runtime:
189
      - '1.255230'
185
      - '1.929619'
190 186
      Via:
191 187
      - 1.1 katello.example.com:50191
192 188
      Vary:
193 189
      - Accept-Encoding
194 190
      Content-Length:
195
      - '792'
191
      - '3209'
196 192
      Set-Cookie:
197
      - _session_id=904045ae21de1f46fd1b39559e487a7a; path=/; HttpOnly
193
      - _session_id=c7e37f3f2905b4b0d63b5a0f2d19c723; path=/; HttpOnly
198 194
    body:
199 195
      encoding: ASCII-8BIT
200 196
      string: |
201
        {
202
          "total": 3,
203
          "subtotal": 3,
204
          "page": 1,
205
          "per_page": 999999,
206
          "search": null,
207
          "sort": {
208
            "by": null,
209
            "order": null
210
          },
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"}]
212
        }
197
        {"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}}]}
198
    http_version: 
199
  recorded_at: Mon, 12 Sep 2016 15:39:50 GMT
200
- request:
201
    method: put
202
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/8
203
    body:
204
      encoding: UTF-8
205
      string: '{"description":"Development, automated promotes from Library"}'
206
    headers:
207
      Accept:
208
      - application/json;version=2
209
      Accept-Encoding:
210
      - gzip, deflate
211
      User-Agent:
212
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
213
      Content-Type:
214
      - application/json
215
      Content-Length:
216
      - '62'
217
      Host:
218
      - katello.example.com:50191
219
  response:
220
    status:
221
      code: 200
222
      message: OK
223
    headers:
224
      Date:
225
      - Mon, 12 Sep 2016 15:39:49 GMT
226
      Server:
227
      - Apache/2.4.6 (CentOS)
228
      X-Frame-Options:
229
      - SAMEORIGIN
230
      X-Xss-Protection:
231
      - 1; mode=block
232
      X-Content-Type-Options:
233
      - nosniff
234
      Foreman-Version:
235
      - 1.14.0-develop
236
      Foreman-Api-Version:
237
      - '2'
238
      Content-Type:
239
      - application/json; charset=utf-8
240
      Apipie-Checksum:
241
      - 9544abef9cf8343005f07ed8c9f1f8e7
242
      Etag:
243
      - W/"fee31523550c7fe7bd8a6a3c5f49e232-gzip"
244
      Cache-Control:
245
      - max-age=0, private, must-revalidate
246
      X-Request-Id:
247
      - b2cb02ec-61dc-43e9-9f57-4b9fa3930cf3
248
      X-Runtime:
249
      - '0.450480'
250
      Via:
251
      - 1.1 katello.example.com:50191
252
      Vary:
253
      - Accept-Encoding
254
      Content-Length:
255
      - '611'
256
      Set-Cookie:
257
      - _session_id=b7b6670b9085da22e41ca0ae37e034c8; path=/; HttpOnly
258
      - request_method=PUT; path=/
259
    body:
260
      encoding: ASCII-8BIT
261
      string: |2
262
          {"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}}
213 263
    http_version: 
214
  recorded_at: Mon, 12 Sep 2016 15:39:44 GMT
264
  recorded_at: Mon, 12 Sep 2016 15:39:50 GMT
215 265
- request:
216
    method: get
217
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
266
    method: put
267
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/9
218 268
    body:
219
      encoding: US-ASCII
220
      string: ''
269
      encoding: UTF-8
270
      string: '{"description":"Test, manual promotions from Development"}'
221 271
    headers:
222 272
      Accept:
223 273
      - application/json;version=2
......
227 277
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
228 278
      Content-Type:
229 279
      - application/json
280
      Content-Length:
281
      - '58'
230 282
      Host:
231 283
      - katello.example.com:50191
232 284
  response:
......
235 287
      message: OK
236 288
    headers:
237 289
      Date:
238
      - Mon, 12 Sep 2016 15:39:43 GMT
290
      - Mon, 12 Sep 2016 15:39:50 GMT
239 291
      Server:
240 292
      - Apache/2.4.6 (CentOS)
241 293
      X-Frame-Options:
......
253 305
      Apipie-Checksum:
254 306
      - 9544abef9cf8343005f07ed8c9f1f8e7
255 307
      Etag:
256
      - W/"d68c22d174002088d8001767ed0237b3-gzip"
308
      - W/"70f62787daba44dba5dce4419576f12c-gzip"
257 309
      Cache-Control:
258 310
      - max-age=0, private, must-revalidate
259 311
      X-Request-Id:
260
      - f493c50b-c32e-4485-9cb4-c19ab7315507
312
      - 2dc47b8b-5ca8-4e1d-b5a4-25363e730fe2
261 313
      X-Runtime:
262
      - '0.358378'
314
      - '1.409081'
263 315
      Via:
264 316
      - 1.1 katello.example.com:50191
265 317
      Vary:
266 318
      - Accept-Encoding
267 319
      Content-Length:
268
      - '379'
320
      - '604'
269 321
      Set-Cookie:
270
      - _session_id=33583744cc7f930e21508d79101d7602; path=/; HttpOnly
322
      - _session_id=e0ea3fa460b80c7cb5068e4a4249ce84; path=/; HttpOnly
323
      - request_method=PUT; path=/
271 324
    body:
272 325
      encoding: ASCII-8BIT
273
      string: |
274
        {
275
          "total": 3,
276
          "subtotal": 1,
277
          "page": 1,
278
          "per_page": 999999,
279
          "search": "name=\"Default Organization\"",
280
          "sort": {
281
            "by": null,
282
            "order": null
283
          },
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}]
285
        }
326
      string: |2
327
          {"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}}
328
    http_version: 
329
  recorded_at: Mon, 12 Sep 2016 15:39:52 GMT
330
- request:
331
    method: put
332
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/10
333
    body:
334
      encoding: UTF-8
335
      string: '{"description":"Production, manual promotions from Test"}'
336
    headers:
337
      Accept:
338
      - application/json;version=2
339
      Accept-Encoding:
340
      - gzip, deflate
341
      User-Agent:
342
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
343
      Content-Type:
344
      - application/json
345
      Content-Length:
346
      - '57'
347
      Host:
348
      - katello.example.com:50191
349
  response:
350
    status:
351
      code: 200
352
      message: OK
353
    headers:
354
      Date:
355
      - Mon, 12 Sep 2016 15:39:51 GMT
356
      Server:
357
      - Apache/2.4.6 (CentOS)
358
      X-Frame-Options:
359
      - SAMEORIGIN
360
      X-Xss-Protection:
361
      - 1; mode=block
362
      X-Content-Type-Options:
363
      - nosniff
364
      Foreman-Version:
365
      - 1.14.0-develop
366
      Foreman-Api-Version:
367
      - '2'
368
      Content-Type:
369
      - application/json; charset=utf-8
370
      Apipie-Checksum:
371
      - 9544abef9cf8343005f07ed8c9f1f8e7
372
      Etag:
373
      - W/"973776d0a4e1867f88a0d11870488396-gzip"
374
      Cache-Control:
375
      - max-age=0, private, must-revalidate
376
      X-Request-Id:
377
      - c8a3c490-c18e-4895-8615-2bbb11db2e1a
378
      X-Runtime:
379
      - '0.390505'
380
      Via:
381
      - 1.1 katello.example.com:50191
382
      Vary:
383
      - Accept-Encoding
384
      Content-Length:
385
      - '606'
386
      Set-Cookie:
387
      - _session_id=c5709b95972a38bfe9ef73072b452898; path=/; HttpOnly
388
      - request_method=PUT; path=/
389
    body:
390
      encoding: ASCII-8BIT
391
      string: |2
392
          {"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}}
393
    http_version: 
394
  recorded_at: Mon, 12 Sep 2016 15:39:52 GMT
395
- request:
396
    method: put
397
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/11
398
    body:
399
      encoding: UTF-8
400
      string: '{"description":"Archive, no longer in Production"}'
401
    headers:
402
      Accept:
403
      - application/json;version=2
404
      Accept-Encoding:
405
      - gzip, deflate
406
      User-Agent:
407
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
408
      Content-Type:
409
      - application/json
410
      Content-Length:
411
      - '50'
412
      Host:
413
      - katello.example.com:50191
414
  response:
415
    status:
416
      code: 200
417
      message: OK
418
    headers:
419
      Date:
420
      - Mon, 12 Sep 2016 15:39:52 GMT
421
      Server:
422
      - Apache/2.4.6 (CentOS)
423
      X-Frame-Options:
424
      - SAMEORIGIN
425
      X-Xss-Protection:
426
      - 1; mode=block
427
      X-Content-Type-Options:
428
      - nosniff
429
      Foreman-Version:
430
      - 1.14.0-develop
431
      Foreman-Api-Version:
432
      - '2'
433
      Content-Type:
434
      - application/json; charset=utf-8
435
      Apipie-Checksum:
436
      - 9544abef9cf8343005f07ed8c9f1f8e7
437
      Etag:
438
      - W/"668972088a90a54823491ee88644a19b-gzip"
439
      Cache-Control:
440
      - max-age=0, private, must-revalidate
441
      X-Request-Id:
442
      - 1b8acbb8-0fc9-4616-bfff-52287662d9ca
443
      X-Runtime:
444
      - '1.410957'
445
      Via:
446
      - 1.1 katello.example.com:50191
447
      Vary:
448
      - Accept-Encoding
449
      Content-Length:
450
      - '577'
451
      Set-Cookie:
452
      - _session_id=7073965c1ee5226bc4a95c1a10c4ce50; path=/; HttpOnly
453
      - request_method=PUT; path=/
454
    body:
455
      encoding: ASCII-8BIT
456
      string: |2
457
          {"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}}
458
    http_version: 
459
  recorded_at: Mon, 12 Sep 2016 15:39:54 GMT
460
- request:
461
    method: get
462
    uri: https://admin:changeme@katello.example.com:50218/api/status
463
    body:
464
      encoding: US-ASCII
465
      string: ''
466
    headers:
467
      Accept-Encoding:
468
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
469
      Accept:
470
      - "*/*"
471
      User-Agent:
472
      - Ruby
473
  response:
474
    status:
475
      code: 200
476
      message: 'OK '
477
    headers:
478
      Date:
479
      - Fri, 30 Sep 2016 15:40:01 GMT
480
      Server:
481
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
482
      Foreman-Version:
483
      - 1.14.0-develop
484
      Foreman-Api-Version:
485
      - '2'
486
      Content-Type:
487
      - application/json; charset=utf-8
488
      Apipie-Checksum:
489
      - 68d37bf606b9a03df6e1e749d6054009
490
      Etag:
491
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
492
      Cache-Control:
493
      - max-age=0, private, must-revalidate
494
      X-Request-Id:
495
      - b7e3fa2e-ea60-4d4d-9e31-78fa63b0e09a
496
      X-Runtime:
497
      - '0.077533'
498
      Content-Security-Policy:
499
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
500
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
501
        ''self''; style-src ''unsafe-inline'' ''self'''
502
      Strict-Transport-Security:
503
      - max-age=631152000; includeSubdomains
504
      X-Content-Type-Options:
505
      - nosniff
506
      X-Download-Options:
507
      - noopen
508
      X-Frame-Options:
509
      - sameorigin
510
      X-Permitted-Cross-Domain-Policies:
511
      - none
512
      X-Xss-Protection:
513
      - 1; mode=block
514
      Via:
515
      - 1.1 testing.example.com:50218
516
      Vary:
517
      - Accept-Encoding
518
      Content-Length:
519
      - '81'
520
      Set-Cookie:
521
      - _session_id=cd53e2b248f23d5524d4eca1ea365e80; path=/; HttpOnly
522
    body:
523
      encoding: UTF-8
524
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
525
    http_version: 
526
  recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
527
- request:
528
    method: get
529
    uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
530
    body:
531
      encoding: US-ASCII
532
      string: ''
533
    headers:
534
      Accept-Encoding:
535
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
536
      Accept:
537
      - "*/*"
538
      User-Agent:
539
      - Ruby
540
  response:
541
    status:
542
      code: 200
543
      message: 'OK '
544
    headers:
545
      Date:
546
      - Fri, 30 Sep 2016 15:40:01 GMT
547
      Server:
548
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
549
      Foreman-Version:
550
      - 1.14.0-develop
551
      Foreman-Api-Version:
552
      - '2'
553
      Content-Type:
554
      - application/json; charset=utf-8
555
      Apipie-Checksum:
556
      - 68d37bf606b9a03df6e1e749d6054009
557
      Etag:
558
      - W/"8f0162a4d2fd78df40b7f264aee93d64-gzip"
559
      Cache-Control:
560
      - max-age=0, private, must-revalidate
561
      X-Request-Id:
562
      - 6fe9b8e9-734c-4b75-a21b-1405201a5e36
563
      X-Runtime:
564
      - '0.066910'
565
      Content-Security-Policy:
566
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
567
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
568
        ''self''; style-src ''unsafe-inline'' ''self'''
569
      Strict-Transport-Security:
570
      - max-age=631152000; includeSubdomains
571
      X-Content-Type-Options:
572
      - nosniff
573
      X-Download-Options:
574
      - noopen
575
      X-Frame-Options:
576
      - sameorigin
577
      X-Permitted-Cross-Domain-Policies:
578
      - none
579
      X-Xss-Protection:
580
      - 1; mode=block
581
      Via:
582
      - 1.1 testing.example.com:50218
583
      Vary:
584
      - Accept-Encoding
585
      Content-Length:
586
      - '565'
587
      Set-Cookie:
588
      - _session_id=499842f3e9d5af9201a461c725e2fb8b; path=/; HttpOnly
589
    body:
590
      encoding: ASCII-8BIT
591
      string: !binary |-
592
        ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
593
        CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
594
        OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
595
        InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
596
        ZW1hbi10YXNrcyIsImF1dGhvciI6Ikl2YW4gTmXEjWFzIiwiZGVzY3JpcHRp
597
        b24iOiJUaGUgZ29hbCBvZiB0aGlzIHBsdWdpbiBpcyB0byB1bmlmeSB0aGUg
598
        d2F5IG9mIHNob3dpbmcgdGFzayBzdGF0dXNlcyBhY3Jvc3MgdGhlIEZvcmVt
599
        YW4gaW5zdGFuY2UuXG5JdCBkZWZpbmVzIFRhc2sgbW9kZWwgZm9yIGtlZXBp
600
        bmcgdGhlIGluZm9ybWF0aW9uIGFib3V0IHRoZSB0YXNrcyBhbmQgTG9jayBm
601
        b3IgYXNzaWduaW5nIHRoZSB0YXNrc1xudG8gcmVzb3VyY2VzLiBUaGUgbG9j
602
        a2luZyBhbGxvd3MgZGVhbGluZyB3aXRoIHByZXZlbnRpbmcgbXVsdGlwbGUg
603
        Y29sbGlkaW5nIHRhc2tzIHRvIGJlIHJ1biBvbiB0aGVcbnNhbWUgcmVzb3Vy
604
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
605
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
606
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
607
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMiJ9LHsiaWQiOiJmb3JlbWFu
608
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
609
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
610
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
611
        IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
612
        b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
613
        ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
614
        ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
615
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
616
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
286 617
    http_version: 
287
  recorded_at: Mon, 12 Sep 2016 15:39:44 GMT
618
  recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
288 619
- request:
289 620
    method: get
290
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/1/environments?per_page=999999
621
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999
291 622
    body:
292 623
      encoding: US-ASCII
293 624
      string: ''
......
300 631
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
301 632
      Content-Type:
302 633
      - application/json
634
      Accept-Language:
635
      - en
303 636
      Host:
304
      - katello.example.com:50191
637
      - katello.example.com:50218
305 638
  response:
306 639
    status:
307 640
      code: 200
308
      message: OK
641
      message: 'OK '
309 642
    headers:
310 643
      Date:
311
      - Mon, 12 Sep 2016 15:39:44 GMT
644
      - Fri, 30 Sep 2016 15:40:01 GMT
312 645
      Server:
313
      - Apache/2.4.6 (CentOS)
314
      X-Frame-Options:
315
      - SAMEORIGIN
316
      X-Xss-Protection:
317
      - 1; mode=block
318
      X-Content-Type-Options:
319
      - nosniff
646
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
320 647
      Foreman-Version:
321 648
      - 1.14.0-develop
322 649
      Foreman-Api-Version:
......
324 651
      Content-Type:
325 652
      - application/json; charset=utf-8
326 653
      Apipie-Checksum:
327
      - 9544abef9cf8343005f07ed8c9f1f8e7
654
      - 68d37bf606b9a03df6e1e749d6054009
328 655
      Etag:
329
      - W/"07e6b5f9f849df75a180e3005dec62cd-gzip"
656
      - W/"758d82fead8e0302548ed1a70bdf6bca-gzip"
330 657
      Cache-Control:
331 658
      - max-age=0, private, must-revalidate
332 659
      X-Request-Id:
333
      - ce0538a5-1a10-405c-8a75-67d6ecf62e86
660
      - bbb73429-e6d3-43cd-930b-9792ae8da2d9
334 661
      X-Runtime:
335
      - '1.396106'
662
      - '0.097848'
663
      Content-Security-Policy:
664
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
665
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
666
        ''self''; style-src ''unsafe-inline'' ''self'''
667
      Strict-Transport-Security:
668
      - max-age=631152000; includeSubdomains
669
      X-Content-Type-Options:
670
      - nosniff
671
      X-Download-Options:
672
      - noopen
673
      X-Frame-Options:
674
      - sameorigin
675
      X-Permitted-Cross-Domain-Policies:
676
      - none
677
      X-Xss-Protection:
678
      - 1; mode=block
336 679
      Via:
337
      - 1.1 katello.example.com:50191
680
      - 1.1 testing.example.com:50218
338 681
      Vary:
339 682
      - Accept-Encoding
340 683
      Content-Length:
341
      - '835'
684
      - '563'
342 685
      Set-Cookie:
343
      - _session_id=d2d62b89a27e73f51b62b220b4b3e24a; path=/; HttpOnly
686
      - _session_id=6b97a2745f991c1af2fb4e42c863e982; path=/; HttpOnly
344 687
    body:
345 688
      encoding: ASCII-8BIT
346 689
      string: |
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}}]}
690
        {
691
          "total": 2,
692
          "subtotal": 2,
693
          "page": 1,
694
          "per_page": 999999,
695
          "search": null,
696
          "sort": {
697
            "by": null,
698
            "order": null
699
          },
700
          "results": [{"label":"Default_Organization","created_at":"2016-09-30 14:47:05 UTC","updated_at":"2016-09-30 14:47:05 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30 15:10:48 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
701
        }
348 702
    http_version: 
349
  recorded_at: Mon, 12 Sep 2016 15:39:45 GMT
703
  recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
350 704
- request:
351 705
    method: get
352
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Example%20Corporation%22
706
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
353 707
    body:
354 708
      encoding: US-ASCII
355 709
      string: ''
......
362 716
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
363 717
      Content-Type:
364 718
      - application/json
719
      Accept-Language:
720
      - en
365 721
      Host:
366
      - katello.example.com:50191
722
      - katello.example.com:50218
367 723
  response:
368 724
    status:
369 725
      code: 200
370
      message: OK
726
      message: 'OK '
371 727
    headers:
372 728
      Date:
373
      - Mon, 12 Sep 2016 15:39:45 GMT
729
      - Fri, 30 Sep 2016 15:40:01 GMT
374 730
      Server:
375
      - Apache/2.4.6 (CentOS)
376
      X-Frame-Options:
377
      - SAMEORIGIN
378
      X-Xss-Protection:
379
      - 1; mode=block
380
      X-Content-Type-Options:
381
      - nosniff
731
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
382 732
      Foreman-Version:
383 733
      - 1.14.0-develop
384 734
      Foreman-Api-Version:
......
386 736
      Content-Type:
387 737
      - application/json; charset=utf-8
388 738
      Apipie-Checksum:
389
      - 9544abef9cf8343005f07ed8c9f1f8e7
739
      - 68d37bf606b9a03df6e1e749d6054009
390 740
      Etag:
391
      - W/"438403e627981e853bc15d2e5d08c696-gzip"
741
      - W/"b386571cce5dd990fe4d2d223d0bb139-gzip"
392 742
      Cache-Control:
393 743
      - max-age=0, private, must-revalidate
394 744
      X-Request-Id:
395
      - cb381b9c-a5ce-4e7f-8a95-60e68c709d95
745
      - 613ef529-c747-4fb4-bd2c-b3298099f145
396 746
      X-Runtime:
397
      - '0.223449'
747
      - '0.076197'
748
      Content-Security-Policy:
749
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
750
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
751
        ''self''; style-src ''unsafe-inline'' ''self'''
752
      Strict-Transport-Security:
753
      - max-age=631152000; includeSubdomains
754
      X-Content-Type-Options:
755
      - nosniff
756
      X-Download-Options:
757
      - noopen
758
      X-Frame-Options:
759
      - sameorigin
760
      X-Permitted-Cross-Domain-Policies:
761
      - none
762
      X-Xss-Protection:
763
      - 1; mode=block
398 764
      Via:
399
      - 1.1 katello.example.com:50191
765
      - 1.1 testing.example.com:50218
400 766
      Vary:
401 767
      - Accept-Encoding
402 768
      Content-Length:
403
      - '409'
769
      - '379'
404 770
      Set-Cookie:
405
      - _session_id=56296a09ca52e4bfff2b0fc5a42f501e; path=/; HttpOnly
771
      - _session_id=525c5c3629dfb06965ed10c2bb5f948b; path=/; HttpOnly
406 772
    body:
407 773
      encoding: ASCII-8BIT
408 774
      string: |
409 775
        {
410
          "total": 3,
776
          "total": 2,
411 777
          "subtotal": 1,
412 778
          "page": 1,
413 779
          "per_page": 999999,
414
          "search": "name=\"Example Corporation\"",
780
          "search": "name=\"Default Organization\"",
415 781
          "sort": {
416 782
            "by": null,
417 783
            "order": null
418 784
          },
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!"}]
785
          "results": [{"label":"Default_Organization","created_at":"2016-09-30 14:47:05 UTC","updated_at":"2016-09-30 14:47:05 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null}]
420 786
        }
421 787
    http_version: 
422
  recorded_at: Mon, 12 Sep 2016 15:39:46 GMT
788
  recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
423 789
- request:
424 790
    method: get
425
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/3/environments?per_page=999999
791
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/1/environments?per_page=999999
426 792
    body:
427 793
      encoding: US-ASCII
428 794
      string: ''
......
435 801
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
436 802
      Content-Type:
437 803
      - application/json
804
      Accept-Language:
805
      - en
438 806
      Host:
439
      - katello.example.com:50191
807
      - katello.example.com:50218
440 808
  response:
441 809
    status:
442 810
      code: 200
443
      message: OK
811
      message: 'OK '
444 812
    headers:
445 813
      Date:
446
      - Mon, 12 Sep 2016 15:39:45 GMT
814
      - Fri, 30 Sep 2016 15:40:01 GMT
447 815
      Server:
448
      - Apache/2.4.6 (CentOS)
449
      X-Frame-Options:
450
      - SAMEORIGIN
451
      X-Xss-Protection:
452
      - 1; mode=block
453
      X-Content-Type-Options:
454
      - nosniff
816
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
455 817
      Foreman-Version:
456 818
      - 1.14.0-develop
457 819
      Foreman-Api-Version:
......
459 821
      Content-Type:
460 822
      - application/json; charset=utf-8
461 823
      Apipie-Checksum:
462
      - 9544abef9cf8343005f07ed8c9f1f8e7
824
      - 68d37bf606b9a03df6e1e749d6054009
463 825
      Etag:
464
      - W/"0470c3e061ea7c4416c3c7ffd8263e80-gzip"
826
      - W/"17704444d0bf8d9d13e12e5b1fb5f2bf-gzip"
465 827
      Cache-Control:
466 828
      - max-age=0, private, must-revalidate
467 829
      X-Request-Id:
468
      - bd703f33-37ec-4ba1-a162-3e22928e45a4
830
      - daaf22ac-7df1-4848-a5ab-f7fe3044ec6e
469 831
      X-Runtime:
470
      - '1.884815'
832
      - '0.116359'
833
      Content-Security-Policy:
834
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
835
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
836
        ''self''; style-src ''unsafe-inline'' ''self'''
837
      Strict-Transport-Security:
838
      - max-age=631152000; includeSubdomains
839
      X-Content-Type-Options:
840
      - nosniff
841
      X-Download-Options:
842
      - noopen
843
      X-Frame-Options:
844
      - sameorigin
845
      X-Permitted-Cross-Domain-Policies:
846
      - none
847
      X-Xss-Protection:
848
      - 1; mode=block
471 849
      Via:
472
      - 1.1 katello.example.com:50191
850
      - 1.1 testing.example.com:50218
473 851
      Vary:
474 852
      - Accept-Encoding
475 853
      Content-Length:
476
      - '3238'
854
      - '835'
477 855
      Set-Cookie:
478
      - _session_id=179f745211e7e8f056a784ec68433617; path=/; HttpOnly
856
      - _session_id=ccd0313be6fa498a1900cc2d493efd52; path=/; HttpOnly
479 857
    body:
480 858
      encoding: ASCII-8BIT
481 859
      string: |
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}}]}
860
        {"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-30 14:47:10 UTC","updated_at":"2016-09-30 14:47:10 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":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}}]}
483 861
    http_version: 
484
  recorded_at: Mon, 12 Sep 2016 15:39:48 GMT
862
  recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
485 863
- request:
486 864
    method: get
487
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
865
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
488 866
    body:
489 867
      encoding: US-ASCII
490 868
      string: ''
......
497 875
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
498 876
      Content-Type:
499 877
      - application/json
878
      Accept-Language:
879
      - en
500 880
      Host:
501
      - katello.example.com:50191
881
      - katello.example.com:50218
502 882
  response:
503 883
    status:
504 884
      code: 200
505
      message: OK
885
      message: 'OK '
506 886
    headers:
507 887
      Date:
508
      - Mon, 12 Sep 2016 15:39:47 GMT
888
      - Fri, 30 Sep 2016 15:40:02 GMT
509 889
      Server:
510
      - Apache/2.4.6 (CentOS)
511
      X-Frame-Options:
512
      - SAMEORIGIN
513
      X-Xss-Protection:
514
      - 1; mode=block
515
      X-Content-Type-Options:
516
      - nosniff
890
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
517 891
      Foreman-Version:
518 892
      - 1.14.0-develop
519 893
      Foreman-Api-Version:
......
521 895
      Content-Type:
522 896
      - application/json; charset=utf-8
523 897
      Apipie-Checksum:
524
      - 9544abef9cf8343005f07ed8c9f1f8e7
898
      - 68d37bf606b9a03df6e1e749d6054009
525 899
      Etag:
526
      - W/"471e8acb2053be2e7a823cbd174ec330-gzip"
900
      - W/"d409184974d814dc55ce7ccb1cac5fd0-gzip"
527 901
      Cache-Control:
528 902
      - max-age=0, private, must-revalidate
529 903
      X-Request-Id:
530
      - 7ae3011e-5659-42af-8c4d-67953ccf1def
904
      - 17a6f097-181f-4247-9e9f-f46e0878c3ad
531 905
      X-Runtime:
532
      - '0.241815'
906
      - '1.122352'
907
      Content-Security-Policy:
908
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
909
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
910
        ''self''; style-src ''unsafe-inline'' ''self'''
911
      Strict-Transport-Security:
912
      - max-age=631152000; includeSubdomains
913
      X-Content-Type-Options:
914
      - nosniff
915
      X-Download-Options:
916
      - noopen
917
      X-Frame-Options:
918
      - sameorigin
919
      X-Permitted-Cross-Domain-Policies:
920
      - none
921
      X-Xss-Protection:
922
      - 1; mode=block
533 923
      Via:
534
      - 1.1 katello.example.com:50191
924
      - 1.1 testing.example.com:50218
535 925
      Vary:
536 926
      - Accept-Encoding
537 927
      Content-Length:
538 928
      - '388'
539 929
      Set-Cookie:
540
      - _session_id=7ce2e9dd1c07dd5862c45968f5c5fe12; path=/; HttpOnly
930
      - _session_id=e8c751c2a1af15e004e3eb8fa1ed4ddc; path=/; HttpOnly
541 931
    body:
542 932
      encoding: ASCII-8BIT
543 933
      string: |
544 934
        {
545
          "total": 3,
935
          "total": 2,
546 936
          "subtotal": 1,
547 937
          "page": 1,
548 938
          "per_page": 999999,
......
551 941
            "by": null,
552 942
            "order": null
553 943
          },
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"}]
944
          "results": [{"label":"testcorp","created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30 15:10:48 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
555 945
        }
556 946
    http_version: 
557
  recorded_at: Mon, 12 Sep 2016 15:39:48 GMT
947
  recorded_at: Fri, 30 Sep 2016 15:40:03 GMT
558 948
- request:
559 949
    method: get
560
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/environments?per_page=999999
950
    uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8/environments?per_page=999999
561 951
    body:
562 952
      encoding: US-ASCII
563 953
      string: ''
......
570 960
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
571 961
      Content-Type:
572 962
      - application/json
963
      Accept-Language:
964
      - en
573 965
      Host:
574
      - katello.example.com:50191
966
      - katello.example.com:50218
575 967
  response:
576 968
    status:
577 969
      code: 200
578
      message: OK
970
      message: 'OK '
579 971
    headers:
580 972
      Date:
581
      - Mon, 12 Sep 2016 15:39:47 GMT
973
      - Fri, 30 Sep 2016 15:40:02 GMT
582 974
      Server:
583
      - Apache/2.4.6 (CentOS)
584
      X-Frame-Options:
585
      - SAMEORIGIN
586
      X-Xss-Protection:
587
      - 1; mode=block
588
      X-Content-Type-Options:
589
      - nosniff
975
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
590 976
      Foreman-Version:
591 977
      - 1.14.0-develop
592 978
      Foreman-Api-Version:
......
594 980
      Content-Type:
595 981
      - application/json; charset=utf-8
596 982
      Apipie-Checksum:
597
      - 9544abef9cf8343005f07ed8c9f1f8e7
983
      - 68d37bf606b9a03df6e1e749d6054009
598 984
      Etag:
599
      - W/"71a417dc2f3dfb1e7102347ec69b1aea-gzip"
985
      - W/"8d73e6331ad9d4cee8bb530f0467579e-gzip"
600 986
      Cache-Control:
601 987
      - max-age=0, private, must-revalidate
602 988
      X-Request-Id:
603
      - a94dfabb-fcb5-45db-aa40-039213bdc461
989
      - ac4feda4-8bec-4802-aacf-91df1ceb4dd8
604 990
      X-Runtime:
605
      - '1.929619'
991
      - '0.231396'
992
      Content-Security-Policy:
993
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
994
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
995
        ''self''; style-src ''unsafe-inline'' ''self'''
996
      Strict-Transport-Security:
997
      - max-age=631152000; includeSubdomains
998
      X-Content-Type-Options:
999
      - nosniff
1000
      X-Download-Options:
1001
      - noopen
1002
      X-Frame-Options:
1003
      - sameorigin
1004
      X-Permitted-Cross-Domain-Policies:
1005
      - none
1006
      X-Xss-Protection:
1007
      - 1; mode=block
606 1008
      Via:
607
      - 1.1 katello.example.com:50191
1009
      - 1.1 testing.example.com:50218
608 1010
      Vary:
609 1011
      - Accept-Encoding
610 1012
      Content-Length:
611
      - '3209'
1013
      - '3204'
612 1014
      Set-Cookie:
613
      - _session_id=c7e37f3f2905b4b0d63b5a0f2d19c723; path=/; HttpOnly
1015
      - _session_id=e7c180600b1439b876aa82e526d0efce; path=/; HttpOnly
614 1016
    body:
615 1017
      encoding: ASCII-8BIT
616 1018
      string: |
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}}]}
1019
        {"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":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 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":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:24 UTC","updated_at":"2016-09-30 15:12:24 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":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:10:48 UTC","updated_at":"2016-09-30 15:10:48 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":3,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"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":6,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:25 UTC","updated_at":"2016-09-30 15:12:25 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}}]}
618 1020
    http_version: 
619
  recorded_at: Mon, 12 Sep 2016 15:39:50 GMT
1021
  recorded_at: Fri, 30 Sep 2016 15:40:03 GMT
620 1022
- request:
621 1023
    method: put
622
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/8
1024
    uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/3
623 1025
    body:
624 1026
      encoding: UTF-8
625 1027
      string: '{"description":"Development, automated promotes from Library"}'
......
632 1034
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
633 1035
      Content-Type:
634 1036
      - application/json
1037
      Accept-Language:
1038
      - en
635 1039
      Content-Length:
636 1040
      - '62'
637 1041
      Host:
638
      - katello.example.com:50191
1042
      - katello.example.com:50218
639 1043
  response:
640 1044
    status:
641 1045
      code: 200
642
      message: OK
1046
      message: 'OK '
643 1047
    headers:
644 1048
      Date:
645
      - Mon, 12 Sep 2016 15:39:49 GMT
1049
      - Fri, 30 Sep 2016 15:40:03 GMT
646 1050
      Server:
647
      - Apache/2.4.6 (CentOS)
648
      X-Frame-Options:
649
      - SAMEORIGIN
650
      X-Xss-Protection:
651
      - 1; mode=block
652
      X-Content-Type-Options:
653
      - nosniff
1051
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
654 1052
      Foreman-Version:
655 1053
      - 1.14.0-develop
656 1054
      Foreman-Api-Version:
......
658 1056
      Content-Type:
659 1057
      - application/json; charset=utf-8
660 1058
      Apipie-Checksum:
661
      - 9544abef9cf8343005f07ed8c9f1f8e7
1059
      - 68d37bf606b9a03df6e1e749d6054009
662 1060
      Etag:
663
      - W/"fee31523550c7fe7bd8a6a3c5f49e232-gzip"
1061
      - W/"05cf74abe8fca9ec2464c2bc12587d34-gzip"
664 1062
      Cache-Control:
665 1063
      - max-age=0, private, must-revalidate
666 1064
      X-Request-Id:
667
      - b2cb02ec-61dc-43e9-9f57-4b9fa3930cf3
1065
      - 3fd571eb-fb8c-4e90-b28a-cc2ffbba2ffc
668 1066
      X-Runtime:
669
      - '0.450480'
1067
      - '0.125180'
1068
      Content-Security-Policy:
1069
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1070
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
1071
        ''self''; style-src ''unsafe-inline'' ''self'''
1072
      Strict-Transport-Security:
1073
      - max-age=631152000; includeSubdomains
1074
      X-Content-Type-Options:
1075
      - nosniff
1076
      X-Download-Options:
1077
      - noopen
1078
      X-Frame-Options:
1079
      - sameorigin
1080
      X-Permitted-Cross-Domain-Policies:
1081
      - none
1082
      X-Xss-Protection:
1083
      - 1; mode=block
670 1084
      Via:
671
      - 1.1 katello.example.com:50191
1085
      - 1.1 testing.example.com:50218
672 1086
      Vary:
673 1087
      - Accept-Encoding
674 1088
      Content-Length:
675 1089
      - '611'
676 1090
      Set-Cookie:
677
      - _session_id=b7b6670b9085da22e41ca0ae37e034c8; path=/; HttpOnly
1091
      - _session_id=b6e82945ae694ceff2c812dbdfd35d3a; path=/; HttpOnly
678 1092
      - request_method=PUT; path=/
679 1093
    body:
680 1094
      encoding: ASCII-8BIT
681 1095
      string: |2
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}}
1096
          {"library":false,"id":3,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"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}}
683 1097
    http_version: 
684
  recorded_at: Mon, 12 Sep 2016 15:39:50 GMT
1098
  recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
685 1099
- request:
686 1100
    method: put
687
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/9
1101
    uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/4
688 1102
    body:
689 1103
      encoding: UTF-8
690 1104
      string: '{"description":"Test, manual promotions from Development"}'
......
697 1111
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
698 1112
      Content-Type:
699 1113
      - application/json
1114
      Accept-Language:
1115
      - en
700 1116
      Content-Length:
701 1117
      - '58'
702 1118
      Host:
703
      - katello.example.com:50191
1119
      - katello.example.com:50218
704 1120
  response:
705 1121
    status:
706 1122
      code: 200
707
      message: OK
1123
      message: 'OK '
708 1124
    headers:
709 1125
      Date:
710
      - Mon, 12 Sep 2016 15:39:50 GMT
1126
      - Fri, 30 Sep 2016 15:40:03 GMT
711 1127
      Server:
712
      - Apache/2.4.6 (CentOS)
713
      X-Frame-Options:
714
      - SAMEORIGIN
715
      X-Xss-Protection:
716
      - 1; mode=block
717
      X-Content-Type-Options:
718
      - nosniff
1128
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
719 1129
      Foreman-Version:
720 1130
      - 1.14.0-develop
721 1131
      Foreman-Api-Version:
......
723 1133
      Content-Type:
724 1134
      - application/json; charset=utf-8
725 1135
      Apipie-Checksum:
726
      - 9544abef9cf8343005f07ed8c9f1f8e7
1136
      - 68d37bf606b9a03df6e1e749d6054009
727 1137
      Etag:
728
      - W/"70f62787daba44dba5dce4419576f12c-gzip"
1138
      - W/"7622bbaab1b2300c1765b7d9ec81a3a5-gzip"
729 1139
      Cache-Control:
730 1140
      - max-age=0, private, must-revalidate
731 1141
      X-Request-Id:
732
      - 2dc47b8b-5ca8-4e1d-b5a4-25363e730fe2
1142
      - 54692a73-ee6b-4426-b146-1fbe0cb1a1ed
733 1143
      X-Runtime:
734
      - '1.409081'
1144
      - '0.135760'
1145
      Content-Security-Policy:
1146
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1147
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
1148
        ''self''; style-src ''unsafe-inline'' ''self'''
1149
      Strict-Transport-Security:
1150
      - max-age=631152000; includeSubdomains
1151
      X-Content-Type-Options:
1152
      - nosniff
1153
      X-Download-Options:
1154
      - noopen
1155
      X-Frame-Options:
1156
      - sameorigin
1157
      X-Permitted-Cross-Domain-Policies:
1158
      - none
1159
      X-Xss-Protection:
1160
      - 1; mode=block
735 1161
      Via:
736
      - 1.1 katello.example.com:50191
1162
      - 1.1 testing.example.com:50218
737 1163
      Vary:
738 1164
      - Accept-Encoding
739 1165
      Content-Length:
740
      - '604'
1166
      - '603'
741 1167
      Set-Cookie:
742
      - _session_id=e0ea3fa460b80c7cb5068e4a4249ce84; path=/; HttpOnly
1168
      - _session_id=5b5cb341d49abbdfad753d8e5d7c47c5; path=/; HttpOnly
743 1169
      - request_method=PUT; path=/
744 1170
    body:
745 1171
      encoding: ASCII-8BIT
746 1172
      string: |2
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}}
1173
          {"library":false,"id":4,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:23 UTC","updated_at":"2016-09-30 15:12:23 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}}
748 1174
    http_version: 
749
  recorded_at: Mon, 12 Sep 2016 15:39:52 GMT
1175
  recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
750 1176
- request:
751 1177
    method: put
752
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/10
1178
    uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/5
753 1179
    body:
754 1180
      encoding: UTF-8
755 1181
      string: '{"description":"Production, manual promotions from Test"}'
......
762 1188
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
763 1189
      Content-Type:
764 1190
      - application/json
1191
      Accept-Language:
1192
      - en
765 1193
      Content-Length:
766 1194
      - '57'
767 1195
      Host:
768
      - katello.example.com:50191
1196
      - katello.example.com:50218
769 1197
  response:
770 1198
    status:
771 1199
      code: 200
772
      message: OK
1200
      message: 'OK '
773 1201
    headers:
774 1202
      Date:
775
      - Mon, 12 Sep 2016 15:39:51 GMT
1203
      - Fri, 30 Sep 2016 15:40:03 GMT
776 1204
      Server:
777
      - Apache/2.4.6 (CentOS)
778
      X-Frame-Options:
779
      - SAMEORIGIN
780
      X-Xss-Protection:
781
      - 1; mode=block
782
      X-Content-Type-Options:
783
      - nosniff
1205
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
784 1206
      Foreman-Version:
785 1207
      - 1.14.0-develop
786 1208
      Foreman-Api-Version:
......
788 1210
      Content-Type:
789 1211
      - application/json; charset=utf-8
790 1212
      Apipie-Checksum:
791
      - 9544abef9cf8343005f07ed8c9f1f8e7
1213
      - 68d37bf606b9a03df6e1e749d6054009
792 1214
      Etag:
793
      - W/"973776d0a4e1867f88a0d11870488396-gzip"
1215
      - W/"8feb72703e81937399339e8b84630b86-gzip"
794 1216
      Cache-Control:
795 1217
      - max-age=0, private, must-revalidate
796 1218
      X-Request-Id:
797
      - c8a3c490-c18e-4895-8615-2bbb11db2e1a
1219
      - d781dcbe-8bf3-496b-b803-4ec2682f842c
798 1220
      X-Runtime:
799
      - '0.390505'
1221
      - '0.125443'
1222
      Content-Security-Policy:
1223
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1224
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
1225
        ''self''; style-src ''unsafe-inline'' ''self'''
1226
      Strict-Transport-Security:
1227
      - max-age=631152000; includeSubdomains
1228
      X-Content-Type-Options:
1229
      - nosniff
1230
      X-Download-Options:
1231
      - noopen
1232
      X-Frame-Options:
1233
      - sameorigin
1234
      X-Permitted-Cross-Domain-Policies:
1235
      - none
1236
      X-Xss-Protection:
1237
      - 1; mode=block
800 1238
      Via:
801
      - 1.1 katello.example.com:50191
1239
      - 1.1 testing.example.com:50218
802 1240
      Vary:
803 1241
      - Accept-Encoding
804 1242
      Content-Length:
805
      - '606'
1243
      - '604'
806 1244
      Set-Cookie:
807
      - _session_id=c5709b95972a38bfe9ef73072b452898; path=/; HttpOnly
1245
      - _session_id=a7673b98f8333b38afd69b48c28ed5fe; path=/; HttpOnly
808 1246
      - request_method=PUT; path=/
809 1247
    body:
810 1248
      encoding: ASCII-8BIT
811 1249
      string: |2
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}}
1250
          {"library":false,"id":5,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-09-30 15:12:24 UTC","updated_at":"2016-09-30 15:12:24 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}}
813 1251
    http_version: 
814
  recorded_at: Mon, 12 Sep 2016 15:39:52 GMT
1252
  recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
815 1253
- request:
816 1254
    method: put
817
    uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/11
1255
    uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/6
818 1256
    body:
819 1257
      encoding: UTF-8
820 1258
      string: '{"description":"Archive, no longer in Production"}'
......
827 1265
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
828 1266
      Content-Type:
829 1267
      - application/json
1268
      Accept-Language:
1269
      - en
830 1270
      Content-Length:
831 1271
      - '50'
832 1272
      Host:
833
      - katello.example.com:50191
1273
      - katello.example.com:50218
834 1274
  response:
835 1275
    status:
836 1276
      code: 200
837
      message: OK
1277
      message: 'OK '
838 1278
    headers:
839 1279
      Date:
840
      - Mon, 12 Sep 2016 15:39:52 GMT
1280
      - Fri, 30 Sep 2016 15:40:03 GMT
841 1281
      Server:
842
      - Apache/2.4.6 (CentOS)
843
      X-Frame-Options:
844
      - SAMEORIGIN
845
      X-Xss-Protection:
846
      - 1; mode=block
847
      X-Content-Type-Options:
848
      - nosniff
1282
      - WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
849 1283
      Foreman-Version:
850 1284
      - 1.14.0-develop
851 1285
      Foreman-Api-Version:
......
853 1287
      Content-Type:
854 1288
      - application/json; charset=utf-8
855 1289
      Apipie-Checksum:
856
      - 9544abef9cf8343005f07ed8c9f1f8e7
1290
      - 68d37bf606b9a03df6e1e749d6054009
857 1291
      Etag:
858
      - W/"668972088a90a54823491ee88644a19b-gzip"
1292
      - W/"7ece629b002d83b095812b8d19c35549-gzip"
859 1293
      Cache-Control:
860 1294
      - max-age=0, private, must-revalidate
861 1295
      X-Request-Id:
862
      - 1b8acbb8-0fc9-4616-bfff-52287662d9ca
1296
      - 12f9051b-594f-4daa-8ff8-047b411287b7
863 1297
      X-Runtime:
864
      - '1.410957'
1298
      - '0.114626'
1299
      Content-Security-Policy:
1300
      - 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
1301
        img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
1302
        ''self''; style-src ''unsafe-inline'' ''self'''
1303
      Strict-Transport-Security:
1304
      - max-age=631152000; includeSubdomains
1305
      X-Content-Type-Options:
1306
      - nosniff
1307
      X-Download-Options:
1308
      - noopen
1309
      X-Frame-Options:
1310
      - sameorigin
1311
      X-Permitted-Cross-Domain-Policies:
1312
      - none
1313
      X-Xss-Protection:
1314
      - 1; mode=block
865 1315
      Via:
866
      - 1.1 katello.example.com:50191
1316
      - 1.1 testing.example.com:50218
867 1317
      Vary:
868 1318
      - Accept-Encoding
869 1319
      Content-Length:
870
      - '577'
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff