Project

General

Profile

« Previous | Next » 

Revision 4a6b2238

Added by Thomas McKay over 7 years ago

fixes #17735 - export content-hosts count greater than page size

vcr - full re-record

View differences:

test/fixtures/vcr_cassettes/resources/content_hosts/import_search.yml
http_interactions:
- request:
method: get
uri: https://admin:changeme@satlap.example.com/api/hosts/44/subscriptions
uri: https://admin:changeme@satlap.example.com/api/status
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:45 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 50ef4a07-6c64-41d0-8d2b-d06a4d500d32
X-Runtime:
- '0.092296'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=12a76c5f51044501f53b4c3553a02e8f; path=/; secure; HttpOnly
Etag:
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '119'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:43 GMT
- request:
method: get
uri: https://admin:changeme@satlap.example.com/api/hosts/45/subscriptions
body:
encoding: US-ASCII
string: ''
headers:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
- "*/*"
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
- Ruby
Host:
- satlap.example.com
response:
......
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:47 GMT
- Mon, 19 Dec 2016 16:41:24 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
- 1.11.0.61
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
- 9793fd9909c89b81479655ed560c4340
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 451eb555-9b68-47ec-b481-715950a61be9
- 88901fb3-c823-4335-b55a-e84304c74e4c
X-Runtime:
- '0.096093'
- '0.037100'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=e45fdd3ec7d2273d03ded42fdd9cd673; path=/; secure; HttpOnly
- _session_id=5455c53bacdcdfe5da94a561a1b983ff; path=/; secure; HttpOnly
Etag:
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
- '"6ec0375dc2b106a955e67a8139b7d9c5"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '119'
- '66'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
'
encoding: UTF-8
string: '{"result":"ok","status":200,"version":"1.11.0.61","api_version":2}'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:45 GMT
recorded_at: Mon, 19 Dec 2016 16:41:07 GMT
- request:
method: get
uri: https://admin:changeme@satlap.example.com/api/hosts/46/subscriptions
uri: https://admin:changeme@satlap.example.com/api/v2/plugins
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:49 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 356836dc-5c56-4540-aa4f-0e714a595a38
X-Runtime:
- '0.107992'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=c806ea65ea9e17713c550274bd918484; path=/; secure; HttpOnly
Etag:
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '119'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:47 GMT
- request:
method: get
uri: https://admin:changeme@satlap.example.com/api/hosts/47/subscriptions
body:
encoding: US-ASCII
string: ''
headers:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
- "*/*"
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
- Ruby
Host:
- satlap.example.com
response:
......
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:50 GMT
- Mon, 19 Dec 2016 16:41:24 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
- 1.11.0.61
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
- 9793fd9909c89b81479655ed560c4340
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- ca42b758-1089-4b9f-a815-36ab241fff7c
- 90fae0d8-54cf-49a8-b24c-aa9df8808461
X-Runtime:
- '0.088146'
- '0.035083'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=1f4884dab7e605ef98c4a69bfcebcad0; path=/; secure; HttpOnly
- _session_id=19e20a5610ebd4a6fb10546a5e6baa7c; path=/; secure; HttpOnly
Etag:
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
- '"973c5d3fa1e5326b7762aec3d6a31dde-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '119'
- '1339'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
'
string: !binary |-
ewogICJ0b3RhbCI6IDEwLAogICJzdWJ0b3RhbCI6IDEwLAogICJwYWdlIjog
MSwKICAicGVyX3BhZ2UiOiAyMCwKICAic2VhcmNoIjogbnVsbCwKICAic29y
dCI6IHsKICAgICJieSI6IG51bGwsCiAgICAib3JkZXIiOiBudWxsCiAgfSwK
ICAicmVzdWx0cyI6IFt7ImlkIjoiZm9yZW1hbi10YXNrcyIsIm5hbWUiOiJm
b3JlbWFuLXRhc2tzIiwiYXV0aG9yIjoiSXZhbiBOZcSNYXMiLCJkZXNjcmlw
dGlvbiI6IlRoZSBnb2FsIG9mIHRoaXMgcGx1Z2luIGlzIHRvIHVuaWZ5IHRo
ZSB3YXkgb2Ygc2hvd2luZyB0YXNrIHN0YXR1c2VzIGFjcm9zcyB0aGUgRm9y
ZW1hbiBpbnN0YW5jZS5cbkl0IGRlZmluZXMgVGFzayBtb2RlbCBmb3Iga2Vl
cGluZyB0aGUgaW5mb3JtYXRpb24gYWJvdXQgdGhlI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3RlaW4iLCJkZXNjcmlwdGlvbiI6
IlRoaXMgaXMgYSBwbHVnaW4gdGhhdCBlbmFibGVzIGJ1aWxkaW5nIGEgdGhl
bWUgZm9yIEZvcmVtYW4uIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL2Fs
b25nb2xkYm9pbS9mb3JlbWFuX3RoZW1lX3NhdGVsbGl0ZSIsInZlcnNpb24i
OiIwLjEuMzYifSx7ImlkIjoia2F0ZWxsbyIsIm5hbWUiOiJrYXRlbGxvIiwi
YXV0aG9yIjoiTi9BIiwiZGVzY3JpcHRpb24iOiJDb250ZW50IGFuZCBTdWJz
Y3JpcHRpb24gTWFuYWdlbWVudCBwbHVnaW4gZm9yIEZvcmVtYW4iLCJ1cmwi
OiJodHRwOi8vd3d3LmthdGVsbG8ub3JnIiwidmVyc2lvbiI6IjMuMC4wLjkw
In0seyJpZCI6InJlZGhhdF9hY2Nlc3MiLCJuYW1lIjoicmVkaGF0X2FjY2Vz
cyIsImF1dGhvciI6IkxpbmRhbmkgUGhpcmkiLCJkZXNjcmlwdGlvbiI6IlRo
aXMgcGx1Z2luIGFkZHMgUmVkIEhhdCBBY2Nlc3Mga25vd2xlZGdlIGJhc2Ug
c2VhcmNoLCBjYXNlIG1hbmFnZW1lbnQgYW5kIGRpYWdub3N0aWNzIHRvIEZv
cmVtYW4iLCJ1cmwiOiJodHRwOi8vd3d3LmxwaGlyaS5yZWRoYXQuY29tIiwi
dmVyc2lvbiI6IjEuMC4xMyJ9XQp9Cg==
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:48 GMT
recorded_at: Mon, 19 Dec 2016 16:41:07 GMT
- request:
method: get
uri: https://admin:changeme@satlap.example.com/api/hosts/48/subscriptions
uri: https://satlap.example.com/apidoc/v2.en.json
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:52 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 0bf866ad-6cf4-4380-b17e-02b293578f8a
X-Runtime:
- '0.089235'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=ca59b42c191fe3b2af129541b6f7fddf; path=/; secure; HttpOnly
Etag:
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '119'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:50 GMT
- request:
method: put
uri: https://admin:changeme@satlap.example.com/api/hosts/44
body:
encoding: UTF-8
string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":2,"content_view_id":2},"subscription_facet_attributes":{"installed_products":[{"product_id":"69","product_name":"Red
Hat Enterprise Linux Server","arch":"x86_64","version":"6.4"}],"service_level":"Standard"}}}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
......
- application/json
Accept-Language:
- en
Content-Length:
- '273'
Host:
- satlap.example.com
response:
......
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:53 GMT
- Mon, 19 Dec 2016 16:41:24 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
......
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Content-Disposition:
- inline; filename="v2.en.json"
Content-Transfer-Encoding:
- binary
Cache-Control:
- max-age=0, private, must-revalidate
- private
Apipie-Checksum:
- 9793fd9909c89b81479655ed560c4340
X-Request-Id:
- 645f249e-3114-4de5-9057-54bf058e8099
- a4e4b2a9-841b-4473-a45b-51612ea7deed
X-Runtime:
- '0.609417'
- '0.004489'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=92f9be913df5286443a2265f9083249b; path=/; secure; HttpOnly
- request_method=PUT; path=/
Etag:
- '"4fc074615fb15974970319fb72b298c7-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '3807'
- '884926'
Content-Type:
- application/json; charset=utf-8
- text/html; charset=UTF-8
body:
encoding: ASCII-8BIT
string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testaaa0","image_id":null,"image_name":null,"created_at":"2016-12-13
14:46:44 UTC","updated_at":"2016-12-13 14:46:45 UTC","last_compile":"2016-12-13
14:46:45 UTC","global_status":2,"global_status_label":"Error","organization_id":8,"organization_name":"Test
Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
not calculate errata status, ensure host is registered and katello-agent is
installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testaaa0","id":44,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":44,"uuid":"083dfe96-faa3-4cb4-9884-6fed4a473258","content_view_id":2,"content_view_name":"Default
Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":44,"uuid":"083dfe96-faa3-4cb4-9884-6fed4a473258","last_checkin":"2016-12-13
14:46:44 UTC","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2016-12-13
14:46:44 UTC","activation_keys":[],"compliance_reasons":["Red Hat Enterprise
Linux Server: Not supported by a valid subscription."],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"4028f99158f378890158f8a68b9f0b39","productId":"69","productName":"Red
Hat Enterprise Linux Server","version":"6.4","arch":"x86_64","status":"red","startDate":null,"endDate":null,"created":"2016-12-13T14:46:54.111+0000","updated":"2016-12-13T14:46:54.111+0000"}]},"content_host_id":44,"parameters":[],"interfaces":[{"id":44,"name":"testaaa0","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"system::certificate_version":"3.2","network::hostname":"testaaa0","cpu::core(s)_per_socket":"4","cpu::cpu_socket(s)":"2","memory::memtotal":"4
GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"6.4","virt::is_guest":"false","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-13T14:46:45+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:51 GMT
- request:
method: get
uri: https://admin:changeme@satlap.example.com/api/hosts/44/subscriptions
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:54 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 4b015b2c-7218-4679-a565-15aac1e674d9
X-Runtime:
- '0.097905'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=f0de97af62c0057824341cf7356824f5; path=/; secure; HttpOnly
Etag:
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '119'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:51 GMT
- request:
method: put
uri: https://admin:changeme@satlap.example.com/api/hosts/44/subscriptions/add_subscriptions
body:
encoding: UTF-8
string: '{"subscriptions":[{"id":37,"quantity":2}]}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '42'
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:54 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 0ddd8163-3f67-4d1b-8e44-8c720ea406b5
X-Runtime:
- '0.605898'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=7a221fd26932174b546a2b8cdf272170; path=/; secure; HttpOnly
- request_method=PUT; path=/
Etag:
- '"f224dc5f90f20c5301d7b2b73cb05127-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '770'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":2,"id":37,"cp_id":"4028f99158f378890158f7d685490550","subscription_id":21,"name":"Red
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":198,"quantity":200,"consumed":2,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:53 GMT
- request:
method: put
uri: https://admin:changeme@satlap.example.com/api/hosts/45
body:
encoding: UTF-8
string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":2,"content_view_id":2},"subscription_facet_attributes":{"installed_products":[{"product_id":"69","product_name":"Red
Hat Enterprise Linux Server","arch":"x86_64","version":"6.4"}],"service_level":"Standard"}}}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '273'
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:55 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- eb065135-00d7-460f-8b4c-2262284b6224
X-Runtime:
- '0.574591'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=4818d1076834cfdc6ab4d5f43609c9bb; path=/; secure; HttpOnly
- request_method=PUT; path=/
Etag:
- '"966495049bfd81736fb864ce9e30039d-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '3807'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testaaa1","image_id":null,"image_name":null,"created_at":"2016-12-13
14:46:46 UTC","updated_at":"2016-12-13 14:46:47 UTC","last_compile":"2016-12-13
14:46:47 UTC","global_status":2,"global_status_label":"Error","organization_id":8,"organization_name":"Test
Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
not calculate errata status, ensure host is registered and katello-agent is
installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testaaa1","id":45,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":45,"uuid":"2f29d036-30bf-4324-9924-b5c7d3a3bfb1","content_view_id":2,"content_view_name":"Default
Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":45,"uuid":"2f29d036-30bf-4324-9924-b5c7d3a3bfb1","last_checkin":"2016-12-13
14:46:46 UTC","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2016-12-13
14:46:46 UTC","activation_keys":[],"compliance_reasons":["Red Hat Enterprise
Linux Server: Not supported by a valid subscription."],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"4028f99158f378890158f8a693170b40","productId":"69","productName":"Red
Hat Enterprise Linux Server","version":"6.4","arch":"x86_64","status":"red","startDate":null,"endDate":null,"created":"2016-12-13T14:46:56.023+0000","updated":"2016-12-13T14:46:56.023+0000"}]},"content_host_id":45,"parameters":[],"interfaces":[{"id":45,"name":"testaaa1","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"system::certificate_version":"3.2","network::hostname":"testaaa1","cpu::core(s)_per_socket":"4","cpu::cpu_socket(s)":"2","memory::memtotal":"4
GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"6.4","virt::is_guest":"false","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-13T14:46:47+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:53 GMT
- request:
method: get
uri: https://admin:changeme@satlap.example.com/api/hosts/45/subscriptions
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:56 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 80087593-84bb-48c2-af2a-5e5e46f89d02
X-Runtime:
- '0.241091'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=3f3229428209f108a7d45379be009608; path=/; secure; HttpOnly
Etag:
- '"f224dc5f90f20c5301d7b2b73cb05127-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '770'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":2,"id":37,"cp_id":"4028f99158f378890158f7d685490550","subscription_id":21,"name":"Red
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":198,"quantity":200,"consumed":2,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:54 GMT
- request:
method: put
uri: https://admin:changeme@satlap.example.com/api/hosts/45/subscriptions/remove_subscriptions
body:
encoding: UTF-8
string: '{"subscriptions":[{"id":37,"quantity":2}]}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '42'
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:56 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 3ede14f6-56ed-4c8f-9b8f-e1d1c4e21424
X-Runtime:
- '0.931493'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=e72b06401ad969a1ba0273d2ce181701; path=/; secure; HttpOnly
- request_method=PUT; path=/
Etag:
- '"f7106e0cbfd625023e8fe115f5049a15-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '770'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":2,"id":37,"cp_id":"4028f99158f378890158f7d685490550","subscription_id":21,"name":"Red
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":196,"quantity":200,"consumed":4,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:55 GMT
- request:
method: put
uri: https://admin:changeme@satlap.example.com/api/hosts/45/subscriptions/add_subscriptions
body:
encoding: UTF-8
string: '{"subscriptions":[{"id":37,"quantity":2}]}'
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Content-Length:
- '42'
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:58 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- a2dfc3cd-115b-4b73-86af-1d28a4df6e82
X-Runtime:
- '0.870707'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=2dad41d30bc23893b808bfe99bd1521c; path=/; secure; HttpOnly
- request_method=PUT; path=/
Etag:
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '119'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:56 GMT
- request:
method: delete
uri: https://admin:changeme@satlap.example.com/api/hosts/44
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:46:59 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 85b346fa-ba58-47c3-bd3c-580c451d5e87
X-Runtime:
- '1.040763'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=6191fd5e1439ebbdbd8e3d31f07bc60e; path=/; secure; HttpOnly
- request_method=DELETE; path=/
Etag:
- '"216589d3bd75d47e3651d6b75bc9818b-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1356'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"id":44,"name":"testaaa0","last_compile":"2016-12-13T14:46:45.000Z","last_report":null,"updated_at":"2016-12-13T14:46:55.062Z","created_at":"2016-12-13T14:46:44.452Z","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"environment_id":null,"ptable_id":null,"medium_id":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"puppet_proxy_id":null,"certname":"testaaa0","image_id":null,"organization_id":8,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":"build","content_source_id":null,"grub_pass":"","discovery_rule_id":null,"content_view_id":null,"lifecycle_environment_id":null,"global_status":0,"lookup_value_matcher":"fqdn=testaaa0","openscap_proxy_id":null,"content_facet_attributes":{"id":44,"host_id":44,"uuid":"083dfe96-faa3-4cb4-9884-6fed4a473258","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":44,"host_id":44,"uuid":"083dfe96-faa3-4cb4-9884-6fed4a473258","last_checkin":"2016-12-13T14:46:44.471Z","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2016-12-13T14:46:44.653Z"}}'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:57 GMT
- request:
method: delete
uri: https://admin:changeme@satlap.example.com/api/hosts/45
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:47:00 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 510b2e29-26df-49a9-99d1-6bb2284853ad
X-Runtime:
- '0.931298'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=44ae4eade66a8cad8ff818e700863aaa; path=/; secure; HttpOnly
- request_method=DELETE; path=/
Etag:
- '"f686d18069979257e856c4a9ae2ed3df-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1356'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"id":45,"name":"testaaa1","last_compile":"2016-12-13T14:46:47.000Z","last_report":null,"updated_at":"2016-12-13T14:46:59.073Z","created_at":"2016-12-13T14:46:46.153Z","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"environment_id":null,"ptable_id":null,"medium_id":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"puppet_proxy_id":null,"certname":"testaaa1","image_id":null,"organization_id":8,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":"build","content_source_id":null,"grub_pass":"","discovery_rule_id":null,"content_view_id":null,"lifecycle_environment_id":null,"global_status":0,"lookup_value_matcher":"fqdn=testaaa1","openscap_proxy_id":null,"content_facet_attributes":{"id":45,"host_id":45,"uuid":"2f29d036-30bf-4324-9924-b5c7d3a3bfb1","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":45,"host_id":45,"uuid":"2f29d036-30bf-4324-9924-b5c7d3a3bfb1","last_checkin":"2016-12-13T14:46:46.173Z","service_level":"Standard","release_version":null,"autoheal":true,"registered_at":"2016-12-13T14:46:46.353Z"}}'
http_version:
recorded_at: Tue, 13 Dec 2016 14:46:58 GMT
- request:
method: delete
uri: https://admin:changeme@satlap.example.com/api/hosts/46
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:47:01 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 5b1c6677-8ad1-4d1e-b121-565859acbd95
X-Runtime:
- '0.902237'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=775e0483e814d8f4b07fedf8f871b5c6; path=/; secure; HttpOnly
- request_method=DELETE; path=/
Etag:
- '"7c5f017ac0f407f18b8151e70987de37-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1355'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"id":46,"name":"testbbb0","last_compile":"2016-12-13T14:46:49.000Z","last_report":null,"updated_at":"2016-12-13T14:46:49.286Z","created_at":"2016-12-13T14:46:47.880Z","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"environment_id":null,"ptable_id":null,"medium_id":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"puppet_proxy_id":null,"certname":"testbbb0","image_id":null,"organization_id":8,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":"build","content_source_id":null,"grub_pass":"","discovery_rule_id":null,"content_view_id":null,"lifecycle_environment_id":null,"global_status":2,"lookup_value_matcher":"fqdn=testbbb0","openscap_proxy_id":null,"content_facet_attributes":{"id":46,"host_id":46,"uuid":"8041a9e9-c5ee-48be-babd-8ae7699cc8cc","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":46,"host_id":46,"uuid":"8041a9e9-c5ee-48be-babd-8ae7699cc8cc","last_checkin":"2016-12-13T14:46:47.899Z","service_level":"Premium","release_version":null,"autoheal":true,"registered_at":"2016-12-13T14:46:48.110Z"}}'
http_version:
recorded_at: Tue, 13 Dec 2016 14:47:00 GMT
- request:
method: delete
uri: https://admin:changeme@satlap.example.com/api/hosts/47
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:47:02 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 349e4e46-cbf0-407a-a911-1e18ccf76cd5
X-Runtime:
- '0.784654'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=af43552357fe88914c5f5926f6f2c041; path=/; secure; HttpOnly
- request_method=DELETE; path=/
Etag:
- '"200e3594c6700f80b7e11cfa7c32cd77-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1355'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"id":47,"name":"testbbb1","last_compile":"2016-12-13T14:46:50.000Z","last_report":null,"updated_at":"2016-12-13T14:46:50.886Z","created_at":"2016-12-13T14:46:49.650Z","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"environment_id":null,"ptable_id":null,"medium_id":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"puppet_proxy_id":null,"certname":"testbbb1","image_id":null,"organization_id":8,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":"build","content_source_id":null,"grub_pass":"","discovery_rule_id":null,"content_view_id":null,"lifecycle_environment_id":null,"global_status":2,"lookup_value_matcher":"fqdn=testbbb1","openscap_proxy_id":null,"content_facet_attributes":{"id":47,"host_id":47,"uuid":"e625047c-4c4f-4dc1-9ab7-a0efc4898dfb","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":47,"host_id":47,"uuid":"e625047c-4c4f-4dc1-9ab7-a0efc4898dfb","last_checkin":"2016-12-13T14:46:49.667Z","service_level":"Premium","release_version":null,"autoheal":true,"registered_at":"2016-12-13T14:46:49.851Z"}}'
http_version:
recorded_at: Tue, 13 Dec 2016 14:47:01 GMT
- request:
method: delete
uri: https://admin:changeme@satlap.example.com/api/hosts/48
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json;version=2
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Content-Type:
- application/json
Accept-Language:
- en
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Tue, 13 Dec 2016 14:47:03 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 909a78d0-c337-4efe-a389-ded3ea7f9b5c
X-Runtime:
- '0.803723'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=68c5a32b18ce54f8d3252ef1d12653a7; path=/; secure; HttpOnly
- request_method=DELETE; path=/
Etag:
- '"7dbefa2d07018bb415d891be8ade9bd4-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1355'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: '{"id":48,"name":"testbbb2","last_compile":"2016-12-13T14:46:52.000Z","last_report":null,"updated_at":"2016-12-13T14:46:52.358Z","created_at":"2016-12-13T14:46:51.230Z","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"environment_id":null,"ptable_id":null,"medium_id":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"puppet_proxy_id":null,"certname":"testbbb2","image_id":null,"organization_id":8,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":"build","content_source_id":null,"grub_pass":"","discovery_rule_id":null,"content_view_id":null,"lifecycle_environment_id":null,"global_status":2,"lookup_value_matcher":"fqdn=testbbb2","openscap_proxy_id":null,"content_facet_attributes":{"id":48,"host_id":48,"uuid":"d0069aae-411b-44af-8cd9-de5d9abc8353","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":48,"host_id":48,"uuid":"d0069aae-411b-44af-8cd9-de5d9abc8353","last_checkin":"2016-12-13T14:46:51.247Z","service_level":"Premium","release_version":null,"autoheal":true,"registered_at":"2016-12-13T14:46:51.427Z"}}'
http_version:
recorded_at: Tue, 13 Dec 2016 14:47:02 GMT
- request:
method: get
uri: https://admin:changeme@satlap.example.com/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
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Wed, 14 Dec 2016 13:46:28 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- e5c8d7ce-3301-430e-95cc-a696de972fce
X-Runtime:
- '0.037981'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=3cc6b59afc34486be5990b2ae2e708e3; path=/; secure; HttpOnly
Etag:
- '"8e3341d0a4cc328651f7391aed11fef8"'
Status:
- 200 OK
Content-Length:
- '66'
Content-Type:
- application/json; charset=utf-8
body:
encoding: UTF-8
string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
http_version:
recorded_at: Wed, 14 Dec 2016 13:46:23 GMT
- request:
method: get
uri: https://admin:changeme@satlap.example.com/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
Host:
- satlap.example.com
response:
status:
code: 200
message: OK
headers:
Date:
- Wed, 14 Dec 2016 13:46:28 GMT
Server:
- Apache/2.4.6 (Red Hat Enterprise Linux)
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Foreman-Version:
- 1.11.0.54
Foreman-Api-Version:
- '2'
Apipie-Checksum:
- e1df2e8d43e22495b02a53b48e3b5298
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- 8b3830ab-0156-478b-a3bc-2730f0b38ae7
X-Runtime:
- '0.044179'
X-Powered-By:
- Phusion Passenger 4.0.18
Set-Cookie:
- _session_id=0204a1e3363871bb7b2255f3e970fa6b; path=/; secure; HttpOnly
Etag:
- '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
Status:
- 200 OK
Vary:
- Accept-Encoding
Content-Length:
- '1338'
Content-Type:
- application/json; charset=utf-8
body:
encoding: ASCII-8BIT
string: !binary |-
ewogICJ0b3RhbCI6IDEwLAogICJzdWJ0b3RhbCI6IDEwLAogICJwYWdlIjog
MSwKICAicGVyX3BhZ2UiOiAyMCwKICAic2VhcmNoIjogbnVsbCwKICAic29y
dCI6IHsKICAgICJieSI6IG51bGwsCiAgICAib3JkZXIiOiBudWxsCiAgfSwK
ICAicmVzdWx0cyI6IFt7ImlkIjoiZm9yZW1hbi10YXNrcyIsIm5hbWUiOiJm
b3JlbWFuLXRhc2tzIiwiYXV0aG9yIjoiSXZhbiBOZcSNYXMiLCJkZXNjcmlw
dGlvbiI6IlRoZSBnb2FsIG9mIHRoaXMgcGx1Z2luIGlzIHRvIHVuaWZ5IHRo
ZSB3YXkgb2Ygc2hvd2luZyB0YXNrIHN0YXR1c2VzIGFjcm9zcyB0aGUgRm9y
ZW1hbiBpbnN0YW5jZS5cbkl0IGRlZmluZXMgVGFzayBtb2RlbCBmb3Iga2Vl
cGluZyB0aGUgaW5mb3JtYXRpb24gYWJvdXQgdGhlIHRhc2tzIGFuZCBMb2Nr
IGZvciBhc3NpZ25pbmcgdGhlIHRhc2tzXG50byByZXNvdXJjZXMuIFRoZSBs
b2NraW5nIGFsbG93cyBkZWFsaW5nIHdpdGggcHJldmVudGluZyBtdWx0aXBs
ZSBjb2xsaWRpbmcgdGFza3MgdG8gYmUgcnVuIG9uIHRoZVxuc2FtZSByZXNv
dXJjZS4gSXQ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IiwidmVyc2lvbiI6
IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
http_version:
recorded_at: Wed, 14 Dec 2016 13:46:23 GMT
- request:
method: get
uri: https://satlap.example.com/apidoc/v2.en.json
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff