Project

General

Profile

« Previous | Next » 

Revision f5d21adb

Added by Thomas McKay over 7 years ago

fixes #15581 - configuration based on foreman stanza

View differences:

test/fixtures/vcr_cassettes/setup/setup_lifecycle_environments/setup.yml
http_interactions:
- request:
method: get
uri: https://admin:changeme@katello.example.com:50191/api/status
uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Example%20Corporation%22
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- Ruby
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Host:
- katello.example.com:50191
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 12 Sep 2016 15:39:41 GMT
- Mon, 12 Sep 2016 15:39:45 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
......
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
Etag:
- W/"1316c9d778b9181476af8a9546423fb1-gzip"
- W/"438403e627981e853bc15d2e5d08c696-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- f411da2d-82ff-4e7e-9a40-101c5dac12c1
- cb381b9c-a5ce-4e7f-8a95-60e68c709d95
X-Runtime:
- '0.209871'
- '0.223449'
Via:
- 1.1 katello.example.com:50191
Vary:
- Accept-Encoding
Content-Length:
- '81'
- '409'
Set-Cookie:
- _session_id=823247ac70fd77eae451215027f619e8; path=/; HttpOnly
- _session_id=56296a09ca52e4bfff2b0fc5a42f501e; path=/; HttpOnly
body:
encoding: UTF-8
string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
encoding: ASCII-8BIT
string: |
{
"total": 3,
"subtotal": 1,
"page": 1,
"per_page": 999999,
"search": "name=\"Example Corporation\"",
"sort": {
"by": null,
"order": null
},
"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!"}]
}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:42 GMT
recorded_at: Mon, 12 Sep 2016 15:39:46 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/3/environments?per_page=999999
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- Ruby
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Host:
- katello.example.com:50191
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 12 Sep 2016 15:39:42 GMT
- Mon, 12 Sep 2016 15:39:45 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
......
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
Etag:
- W/"c547959b2afaff0cf0a8d731005e9365-gzip"
- W/"0470c3e061ea7c4416c3c7ffd8263e80-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- e285274a-6ea0-4665-965c-464cc30d48c4
- bd703f33-37ec-4ba1-a162-3e22928e45a4
X-Runtime:
- '0.181014'
- '1.884815'
Via:
- 1.1 katello.example.com:50191
Vary:
- Accept-Encoding
Content-Length:
- '566'
- '3238'
Set-Cookie:
- _session_id=64ba03c8d03f03adc3377578c49d6fa0; path=/; HttpOnly
- _session_id=179f745211e7e8f056a784ec68433617; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
ZW1hbi10YXNrcyIsImF1dGhvciI6Ikl2YW4gTmXEjWFzIiwiZGVzY3JpcHRp
b24iOiJUaGUgZ29hbCBvZiB0aGlzIHBsdWdpbiBpcyB0byB1bmlmeSB0aGUg
d2F5IG9mIHNob3dpbmcgdGFzayBzdGF0dXNlcyBhY3Jvc3MgdGhlIEZvcmVt
YW4gaW5zdGFuY2UuXG5JdCBkZWZpbmVzIFRhc2sgbW9kZWwgZm9yIGtlZXBp
bmcgdGhlIGluZm9ybWF0aW9uIGFib3V0IHRoZSB0YXNrcyBhbmQgTG9jayBm
b3IgYXNzaWduaW5nIHRoZSB0YXNrc1xudG8gcmVzb3VyY2VzLiBUaGUgbG9j
a2luZyBhbGxvd3MgZGVhbGluZyB3aXRoIHByZXZlbnRpbmcgbXVsdGlwbGUg
Y29sbGlkaW5nIHRhc2tzIHRvIGJlIHJ1biBvbiB0aGVcbnNhbWUgcmVzb3Vy
Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMSJ9LHsiaWQiOiJmb3JlbWFu
X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
string: |
{"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":4,"name":"Test","label":"Test","description":"Test, 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}}]}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:42 GMT
recorded_at: Mon, 12 Sep 2016 15:39:48 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999
uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/environments?per_page=999999
body:
encoding: US-ASCII
string: ''
......
message: OK
headers:
Date:
- Mon, 12 Sep 2016 15:39:42 GMT
- Mon, 12 Sep 2016 15:39:47 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
......
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
Etag:
- W/"6f6e523169508346de19ea518f842d6f-gzip"
- W/"71a417dc2f3dfb1e7102347ec69b1aea-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 78121692-d37b-40a2-8f57-5c4bb9a9bf13
- a94dfabb-fcb5-45db-aa40-039213bdc461
X-Runtime:
- '1.255230'
- '1.929619'
Via:
- 1.1 katello.example.com:50191
Vary:
- Accept-Encoding
Content-Length:
- '792'
- '3209'
Set-Cookie:
- _session_id=904045ae21de1f46fd1b39559e487a7a; path=/; HttpOnly
- _session_id=c7e37f3f2905b4b0d63b5a0f2d19c723; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: |
{
"total": 3,
"subtotal": 3,
"page": 1,
"per_page": 999999,
"search": null,
"sort": {
"by": null,
"order": null
},
"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"}]
}
{"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}}]}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:50 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/8
body:
encoding: UTF-8
string: '{"description":"Development, automated promotes from Library"}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Content-Length:
- '62'
Host:
- katello.example.com:50191
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 12 Sep 2016 15:39:49 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
- '2'
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
Etag:
- W/"fee31523550c7fe7bd8a6a3c5f49e232-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- b2cb02ec-61dc-43e9-9f57-4b9fa3930cf3
X-Runtime:
- '0.450480'
Via:
- 1.1 katello.example.com:50191
Vary:
- Accept-Encoding
Content-Length:
- '611'
Set-Cookie:
- _session_id=b7b6670b9085da22e41ca0ae37e034c8; path=/; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: |2
{"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}}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:44 GMT
recorded_at: Mon, 12 Sep 2016 15:39:50 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
method: put
uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/9
body:
encoding: US-ASCII
string: ''
encoding: UTF-8
string: '{"description":"Test, manual promotions from Development"}'
headers:
Accept:
- application/json;version=2
......
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Content-Length:
- '58'
Host:
- katello.example.com:50191
response:
......
message: OK
headers:
Date:
- Mon, 12 Sep 2016 15:39:43 GMT
- Mon, 12 Sep 2016 15:39:50 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
......
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
Etag:
- W/"d68c22d174002088d8001767ed0237b3-gzip"
- W/"70f62787daba44dba5dce4419576f12c-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- f493c50b-c32e-4485-9cb4-c19ab7315507
- 2dc47b8b-5ca8-4e1d-b5a4-25363e730fe2
X-Runtime:
- '0.358378'
- '1.409081'
Via:
- 1.1 katello.example.com:50191
Vary:
- Accept-Encoding
Content-Length:
- '379'
- '604'
Set-Cookie:
- _session_id=33583744cc7f930e21508d79101d7602; path=/; HttpOnly
- _session_id=e0ea3fa460b80c7cb5068e4a4249ce84; path=/; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: |
{
"total": 3,
"subtotal": 1,
"page": 1,
"per_page": 999999,
"search": "name=\"Default Organization\"",
"sort": {
"by": null,
"order": null
},
"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}]
}
string: |2
{"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}}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:52 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/10
body:
encoding: UTF-8
string: '{"description":"Production, manual promotions from Test"}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Content-Length:
- '57'
Host:
- katello.example.com:50191
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 12 Sep 2016 15:39:51 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
- '2'
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
Etag:
- W/"973776d0a4e1867f88a0d11870488396-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- c8a3c490-c18e-4895-8615-2bbb11db2e1a
X-Runtime:
- '0.390505'
Via:
- 1.1 katello.example.com:50191
Vary:
- Accept-Encoding
Content-Length:
- '606'
Set-Cookie:
- _session_id=c5709b95972a38bfe9ef73072b452898; path=/; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: |2
{"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}}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:52 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/11
body:
encoding: UTF-8
string: '{"description":"Archive, no longer in Production"}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Content-Length:
- '50'
Host:
- katello.example.com:50191
response:
status:
code: 200
message: OK
headers:
Date:
- Mon, 12 Sep 2016 15:39:52 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
- '2'
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
Etag:
- W/"668972088a90a54823491ee88644a19b-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 1b8acbb8-0fc9-4616-bfff-52287662d9ca
X-Runtime:
- '1.410957'
Via:
- 1.1 katello.example.com:50191
Vary:
- Accept-Encoding
Content-Length:
- '577'
Set-Cookie:
- _session_id=7073965c1ee5226bc4a95c1a10c4ce50; path=/; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: |2
{"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}}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:54 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50218/api/status
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:01 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
- '2'
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 68d37bf606b9a03df6e1e749d6054009
Etag:
- W/"1316c9d778b9181476af8a9546423fb1-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- b7e3fa2e-ea60-4d4d-9e31-78fa63b0e09a
X-Runtime:
- '0.077533'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
''self''; style-src ''unsafe-inline'' ''self'''
Strict-Transport-Security:
- max-age=631152000; includeSubdomains
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Frame-Options:
- sameorigin
X-Permitted-Cross-Domain-Policies:
- none
X-Xss-Protection:
- 1; mode=block
Via:
- 1.1 testing.example.com:50218
Vary:
- Accept-Encoding
Content-Length:
- '81'
Set-Cookie:
- _session_id=cd53e2b248f23d5524d4eca1ea365e80; path=/; HttpOnly
body:
encoding: UTF-8
string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
http_version:
recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50218/api/v2/plugins
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: 'OK '
headers:
Date:
- Fri, 30 Sep 2016 15:40:01 GMT
Server:
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
- '2'
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 68d37bf606b9a03df6e1e749d6054009
Etag:
- W/"8f0162a4d2fd78df40b7f264aee93d64-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 6fe9b8e9-734c-4b75-a21b-1405201a5e36
X-Runtime:
- '0.066910'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
''self''; style-src ''unsafe-inline'' ''self'''
Strict-Transport-Security:
- max-age=631152000; includeSubdomains
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Frame-Options:
- sameorigin
X-Permitted-Cross-Domain-Policies:
- none
X-Xss-Protection:
- 1; mode=block
Via:
- 1.1 testing.example.com:50218
Vary:
- Accept-Encoding
Content-Length:
- '565'
Set-Cookie:
- _session_id=499842f3e9d5af9201a461c725e2fb8b; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJ0b3RhbCI6IDMsCiAgInN1YnRvdGFsIjogMywKICAicGFnZSI6IDEs
CiAgInBlcl9wYWdlIjogMjAsCiAgInNlYXJjaCI6IG51bGwsCiAgInNvcnQi
OiB7CiAgICAiYnkiOiBudWxsLAogICAgIm9yZGVyIjogbnVsbAogIH0sCiAg
InJlc3VsdHMiOiBbeyJpZCI6ImZvcmVtYW4tdGFza3MiLCJuYW1lIjoiZm9y
ZW1hbi10YXNrcyIsImF1dGhvciI6Ikl2YW4gTmXEjWFzIiwiZGVzY3JpcHRp
b24iOiJUaGUgZ29hbCBvZiB0aGlzIHBsdWdpbiBpcyB0byB1bmlmeSB0aGUg
d2F5IG9mIHNob3dpbmcgdGFzayBzdGF0dXNlcyBhY3Jvc3MgdGhlIEZvcmVt
YW4gaW5zdGFuY2UuXG5JdCBkZWZpbmVzIFRhc2sgbW9kZWwgZm9yIGtlZXBp
bmcgdGhlIGluZm9ybWF0aW9uIGFib3V0IHRoZSB0YXNrcyBhbmQgTG9jayBm
b3IgYXNzaWduaW5nIHRoZSB0YXNrc1xudG8gcmVzb3VyY2VzLiBUaGUgbG9j
a2luZyBhbGxvd3MgZGVhbGluZyB3aXRoIHByZXZlbnRpbmcgbXVsdGlwbGUg
Y29sbGlkaW5nIHRhc2tzIHRvIGJlIHJ1biBvbiB0aGVcbnNhbWUgcmVzb3Vy
Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMiJ9LHsiaWQiOiJmb3JlbWFu
X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
IGZyb20gRm9yZW1hbi4iLCJ1cmwiOiJodHRwOi8vZ2l0aHViLmNvbS90aGVm
b3JlbWFuL2ZvcmVtYW4tZG9ja2VyIiwidmVyc2lvbiI6IjMuMC4wIn0seyJp
ZCI6ImthdGVsbG8iLCJuYW1lIjoia2F0ZWxsbyIsImF1dGhvciI6Ik4vQSIs
ImRlc2NyaXB0aW9uIjoiQ29udGVudCBhbmQgU3Vic2NyaXB0aW9uIE1hbmFn
ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjMuMCJ9XQp9Cg==
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:44 GMT
recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/1/environments?per_page=999999
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999
body:
encoding: US-ASCII
string: ''
......
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Accept-Language:
- en
Host:
- katello.example.com:50191
- katello.example.com:50218
response:
status:
code: 200
message: OK
message: 'OK '
headers:
Date:
- Mon, 12 Sep 2016 15:39:44 GMT
- Fri, 30 Sep 2016 15:40:01 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
......
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
- 68d37bf606b9a03df6e1e749d6054009
Etag:
- W/"07e6b5f9f849df75a180e3005dec62cd-gzip"
- W/"758d82fead8e0302548ed1a70bdf6bca-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- ce0538a5-1a10-405c-8a75-67d6ecf62e86
- bbb73429-e6d3-43cd-930b-9792ae8da2d9
X-Runtime:
- '1.396106'
- '0.097848'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
''self''; style-src ''unsafe-inline'' ''self'''
Strict-Transport-Security:
- max-age=631152000; includeSubdomains
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Frame-Options:
- sameorigin
X-Permitted-Cross-Domain-Policies:
- none
X-Xss-Protection:
- 1; mode=block
Via:
- 1.1 katello.example.com:50191
- 1.1 testing.example.com:50218
Vary:
- Accept-Encoding
Content-Length:
- '835'
- '563'
Set-Cookie:
- _session_id=d2d62b89a27e73f51b62b220b4b3e24a; path=/; HttpOnly
- _session_id=6b97a2745f991c1af2fb4e42c863e982; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: |
{"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":true,"id":1,"name":"Library","label":"Library","description":null,"organization":{"name":"Default 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}}]}
{
"total": 2,
"subtotal": 2,
"page": 1,
"per_page": 999999,
"search": null,
"sort": {
"by": null,
"order": null
},
"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"}]
}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:45 GMT
recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Example%20Corporation%22
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Default%20Organization%22
body:
encoding: US-ASCII
string: ''
......
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Accept-Language:
- en
Host:
- katello.example.com:50191
- katello.example.com:50218
response:
status:
code: 200
message: OK
message: 'OK '
headers:
Date:
- Mon, 12 Sep 2016 15:39:45 GMT
- Fri, 30 Sep 2016 15:40:01 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
......
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
- 68d37bf606b9a03df6e1e749d6054009
Etag:
- W/"438403e627981e853bc15d2e5d08c696-gzip"
- W/"b386571cce5dd990fe4d2d223d0bb139-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- cb381b9c-a5ce-4e7f-8a95-60e68c709d95
- 613ef529-c747-4fb4-bd2c-b3298099f145
X-Runtime:
- '0.223449'
- '0.076197'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
''self''; style-src ''unsafe-inline'' ''self'''
Strict-Transport-Security:
- max-age=631152000; includeSubdomains
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Frame-Options:
- sameorigin
X-Permitted-Cross-Domain-Policies:
- none
X-Xss-Protection:
- 1; mode=block
Via:
- 1.1 katello.example.com:50191
- 1.1 testing.example.com:50218
Vary:
- Accept-Encoding
Content-Length:
- '409'
- '379'
Set-Cookie:
- _session_id=56296a09ca52e4bfff2b0fc5a42f501e; path=/; HttpOnly
- _session_id=525c5c3629dfb06965ed10c2bb5f948b; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: |
{
"total": 3,
"total": 2,
"subtotal": 1,
"page": 1,
"per_page": 999999,
"search": "name=\"Example Corporation\"",
"search": "name=\"Default Organization\"",
"sort": {
"by": null,
"order": null
},
"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!"}]
"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}]
}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:46 GMT
recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/3/environments?per_page=999999
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/1/environments?per_page=999999
body:
encoding: US-ASCII
string: ''
......
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Accept-Language:
- en
Host:
- katello.example.com:50191
- katello.example.com:50218
response:
status:
code: 200
message: OK
message: 'OK '
headers:
Date:
- Mon, 12 Sep 2016 15:39:45 GMT
- Fri, 30 Sep 2016 15:40:01 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
......
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
- 68d37bf606b9a03df6e1e749d6054009
Etag:
- W/"0470c3e061ea7c4416c3c7ffd8263e80-gzip"
- W/"17704444d0bf8d9d13e12e5b1fb5f2bf-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- bd703f33-37ec-4ba1-a162-3e22928e45a4
- daaf22ac-7df1-4848-a5ab-f7fe3044ec6e
X-Runtime:
- '1.884815'
- '0.116359'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
''self''; style-src ''unsafe-inline'' ''self'''
Strict-Transport-Security:
- max-age=631152000; includeSubdomains
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Frame-Options:
- sameorigin
X-Permitted-Cross-Domain-Policies:
- none
X-Xss-Protection:
- 1; mode=block
Via:
- 1.1 katello.example.com:50191
- 1.1 testing.example.com:50218
Vary:
- Accept-Encoding
Content-Length:
- '3238'
- '835'
Set-Cookie:
- _session_id=179f745211e7e8f056a784ec68433617; path=/; HttpOnly
- _session_id=ccd0313be6fa498a1900cc2d493efd52; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: |
{"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":4,"name":"Test","label":"Test","description":"Test, 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}}]}
{"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}}]}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:48 GMT
recorded_at: Fri, 30 Sep 2016 15:40:02 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
body:
encoding: US-ASCII
string: ''
......
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Accept-Language:
- en
Host:
- katello.example.com:50191
- katello.example.com:50218
response:
status:
code: 200
message: OK
message: 'OK '
headers:
Date:
- Mon, 12 Sep 2016 15:39:47 GMT
- Fri, 30 Sep 2016 15:40:02 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
......
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
- 68d37bf606b9a03df6e1e749d6054009
Etag:
- W/"471e8acb2053be2e7a823cbd174ec330-gzip"
- W/"d409184974d814dc55ce7ccb1cac5fd0-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 7ae3011e-5659-42af-8c4d-67953ccf1def
- 17a6f097-181f-4247-9e9f-f46e0878c3ad
X-Runtime:
- '0.241815'
- '1.122352'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
''self''; style-src ''unsafe-inline'' ''self'''
Strict-Transport-Security:
- max-age=631152000; includeSubdomains
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Frame-Options:
- sameorigin
X-Permitted-Cross-Domain-Policies:
- none
X-Xss-Protection:
- 1; mode=block
Via:
- 1.1 katello.example.com:50191
- 1.1 testing.example.com:50218
Vary:
- Accept-Encoding
Content-Length:
- '388'
Set-Cookie:
- _session_id=7ce2e9dd1c07dd5862c45968f5c5fe12; path=/; HttpOnly
- _session_id=e8c751c2a1af15e004e3eb8fa1ed4ddc; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: |
{
"total": 3,
"total": 2,
"subtotal": 1,
"page": 1,
"per_page": 999999,
......
"by": null,
"order": null
},
"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"}]
"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"}]
}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:48 GMT
recorded_at: Fri, 30 Sep 2016 15:40:03 GMT
- request:
method: get
uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/environments?per_page=999999
uri: https://admin:changeme@katello.example.com:50218/katello/api/organizations/8/environments?per_page=999999
body:
encoding: US-ASCII
string: ''
......
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Accept-Language:
- en
Host:
- katello.example.com:50191
- katello.example.com:50218
response:
status:
code: 200
message: OK
message: 'OK '
headers:
Date:
- Mon, 12 Sep 2016 15:39:47 GMT
- Fri, 30 Sep 2016 15:40:02 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
......
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
- 68d37bf606b9a03df6e1e749d6054009
Etag:
- W/"71a417dc2f3dfb1e7102347ec69b1aea-gzip"
- W/"8d73e6331ad9d4cee8bb530f0467579e-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- a94dfabb-fcb5-45db-aa40-039213bdc461
- ac4feda4-8bec-4802-aacf-91df1ceb4dd8
X-Runtime:
- '1.929619'
- '0.231396'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
''self''; style-src ''unsafe-inline'' ''self'''
Strict-Transport-Security:
- max-age=631152000; includeSubdomains
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Frame-Options:
- sameorigin
X-Permitted-Cross-Domain-Policies:
- none
X-Xss-Protection:
- 1; mode=block
Via:
- 1.1 katello.example.com:50191
- 1.1 testing.example.com:50218
Vary:
- Accept-Encoding
Content-Length:
- '3209'
- '3204'
Set-Cookie:
- _session_id=c7e37f3f2905b4b0d63b5a0f2d19c723; path=/; HttpOnly
- _session_id=e7c180600b1439b876aa82e526d0efce; path=/; HttpOnly
body:
encoding: ASCII-8BIT
string: |
{"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}}]}
{"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}}]}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:50 GMT
recorded_at: Fri, 30 Sep 2016 15:40:03 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/8
uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/3
body:
encoding: UTF-8
string: '{"description":"Development, automated promotes from Library"}'
......
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '62'
Host:
- katello.example.com:50191
- katello.example.com:50218
response:
status:
code: 200
message: OK
message: 'OK '
headers:
Date:
- Mon, 12 Sep 2016 15:39:49 GMT
- Fri, 30 Sep 2016 15:40:03 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
......
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
- 68d37bf606b9a03df6e1e749d6054009
Etag:
- W/"fee31523550c7fe7bd8a6a3c5f49e232-gzip"
- W/"05cf74abe8fca9ec2464c2bc12587d34-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- b2cb02ec-61dc-43e9-9f57-4b9fa3930cf3
- 3fd571eb-fb8c-4e90-b28a-cc2ffbba2ffc
X-Runtime:
- '0.450480'
- '0.125180'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
''self''; style-src ''unsafe-inline'' ''self'''
Strict-Transport-Security:
- max-age=631152000; includeSubdomains
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Frame-Options:
- sameorigin
X-Permitted-Cross-Domain-Policies:
- none
X-Xss-Protection:
- 1; mode=block
Via:
- 1.1 katello.example.com:50191
- 1.1 testing.example.com:50218
Vary:
- Accept-Encoding
Content-Length:
- '611'
Set-Cookie:
- _session_id=b7b6670b9085da22e41ca0ae37e034c8; path=/; HttpOnly
- _session_id=b6e82945ae694ceff2c812dbdfd35d3a; path=/; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: |2
{"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":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}}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:50 GMT
recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/9
uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/4
body:
encoding: UTF-8
string: '{"description":"Test, manual promotions from Development"}'
......
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '58'
Host:
- katello.example.com:50191
- katello.example.com:50218
response:
status:
code: 200
message: OK
message: 'OK '
headers:
Date:
- Mon, 12 Sep 2016 15:39:50 GMT
- Fri, 30 Sep 2016 15:40:03 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
......
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
- 68d37bf606b9a03df6e1e749d6054009
Etag:
- W/"70f62787daba44dba5dce4419576f12c-gzip"
- W/"7622bbaab1b2300c1765b7d9ec81a3a5-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 2dc47b8b-5ca8-4e1d-b5a4-25363e730fe2
- 54692a73-ee6b-4426-b146-1fbe0cb1a1ed
X-Runtime:
- '1.409081'
- '0.135760'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
''self''; style-src ''unsafe-inline'' ''self'''
Strict-Transport-Security:
- max-age=631152000; includeSubdomains
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Frame-Options:
- sameorigin
X-Permitted-Cross-Domain-Policies:
- none
X-Xss-Protection:
- 1; mode=block
Via:
- 1.1 katello.example.com:50191
- 1.1 testing.example.com:50218
Vary:
- Accept-Encoding
Content-Length:
- '604'
- '603'
Set-Cookie:
- _session_id=e0ea3fa460b80c7cb5068e4a4249ce84; path=/; HttpOnly
- _session_id=5b5cb341d49abbdfad753d8e5d7c47c5; path=/; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: |2
{"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":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}}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:52 GMT
recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/10
uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/5
body:
encoding: UTF-8
string: '{"description":"Production, manual promotions from Test"}'
......
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '57'
Host:
- katello.example.com:50191
- katello.example.com:50218
response:
status:
code: 200
message: OK
message: 'OK '
headers:
Date:
- Mon, 12 Sep 2016 15:39:51 GMT
- Fri, 30 Sep 2016 15:40:03 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
......
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
- 68d37bf606b9a03df6e1e749d6054009
Etag:
- W/"973776d0a4e1867f88a0d11870488396-gzip"
- W/"8feb72703e81937399339e8b84630b86-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- c8a3c490-c18e-4895-8615-2bbb11db2e1a
- d781dcbe-8bf3-496b-b803-4ec2682f842c
X-Runtime:
- '0.390505'
- '0.125443'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
''self''; style-src ''unsafe-inline'' ''self'''
Strict-Transport-Security:
- max-age=631152000; includeSubdomains
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Frame-Options:
- sameorigin
X-Permitted-Cross-Domain-Policies:
- none
X-Xss-Protection:
- 1; mode=block
Via:
- 1.1 katello.example.com:50191
- 1.1 testing.example.com:50218
Vary:
- Accept-Encoding
Content-Length:
- '606'
- '604'
Set-Cookie:
- _session_id=c5709b95972a38bfe9ef73072b452898; path=/; HttpOnly
- _session_id=a7673b98f8333b38afd69b48c28ed5fe; path=/; HttpOnly
- request_method=PUT; path=/
body:
encoding: ASCII-8BIT
string: |2
{"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":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}}
http_version:
recorded_at: Mon, 12 Sep 2016 15:39:52 GMT
recorded_at: Fri, 30 Sep 2016 15:40:04 GMT
- request:
method: put
uri: https://admin:changeme@katello.example.com:50191/katello/api/environments/11
uri: https://admin:changeme@katello.example.com:50218/katello/api/environments/6
body:
encoding: UTF-8
string: '{"description":"Archive, no longer in Production"}'
......
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '50'
Host:
- katello.example.com:50191
- katello.example.com:50218
response:
status:
code: 200
message: OK
message: 'OK '
headers:
Date:
- Mon, 12 Sep 2016 15:39:52 GMT
- Fri, 30 Sep 2016 15:40:03 GMT
Server:
- Apache/2.4.6 (CentOS)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
- WEBrick/1.3.1 (Ruby/2.2.4/2015-12-16)
Foreman-Version:
- 1.14.0-develop
Foreman-Api-Version:
......
Content-Type:
- application/json; charset=utf-8
Apipie-Checksum:
- 9544abef9cf8343005f07ed8c9f1f8e7
- 68d37bf606b9a03df6e1e749d6054009
Etag:
- W/"668972088a90a54823491ee88644a19b-gzip"
- W/"7ece629b002d83b095812b8d19c35549-gzip"
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 1b8acbb8-0fc9-4616-bfff-52287662d9ca
- 12f9051b-594f-4daa-8ff8-047b411287b7
X-Runtime:
- '1.410957'
- '0.114626'
Content-Security-Policy:
- 'default-src ''self''; child-src ''self''; connect-src ''self'' ws: wss:;
img-src ''self'' data: *.gravatar.com; script-src ''unsafe-eval'' ''unsafe-inline''
''self''; style-src ''unsafe-inline'' ''self'''
Strict-Transport-Security:
- max-age=631152000; includeSubdomains
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Frame-Options:
- sameorigin
X-Permitted-Cross-Domain-Policies:
- none
X-Xss-Protection:
- 1; mode=block
Via:
- 1.1 katello.example.com:50191
- 1.1 testing.example.com:50218
Vary:
- Accept-Encoding
Content-Length:
- '577'
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff