Bug #6129
closed/katello/api/status neglects to report all of the fields that /candlepin/status reports
Description
Description of problem:
When calling the API /status against a katello server versus a plain candlepin server, I noticed that katello hides some data. I'm not 100% sure if the missing fields are needed by subscription-manager clients anymore. Nonetheless, the katello API for /status could probably open this up a little.
Status response from a Katello Server.....
[root@jsefler-5 ~]# curl --stderr /dev/null --insecure --request GET https://katellosach.usersys.redhat.com:443/katello/api/status | python -msimplejson/tool
{
"release": "Katello",
"result": true,
"standalone": true,
"timeUTC": "2014-05-14T04:17:44Z",
"version": "1.4.15-1.el6"
}
Status call from a Candlepin Server....
[root@jsefler-5 ~]# curl --stderr /dev/null --insecure --request GET https://jsefler-f14-candlepin.usersys.redhat.com:8443/candlepin/status | python -msimplejson/tool
{
"managerCapabilities": [
"cores",
"ram",
"instance_multiplier",
"derived_product",
"cert_v3",
"guest_limit",
"vcpu"
],
"release": "1",
"result": true,
"rulesSource": "DATABASE",
"rulesVersion": "5.8",
"standalone": false,
"timeUTC": "2014-05-14T16:22:41.543+0000",
"version": "0.9.10"
}
Notice that the following fields are missing from Katello:
managerCapabilities
rulesSource
rulesVersion