peaqe/conduit-qe

Check if facts from QPC and RHSM-Conduit agree with each other

Closed this issue · 0 comments

ruda commented

When getting hosts inventory information (facts), we should verify if qpc and rhsm-conduit agree with the facts (rh_product_certs = RH_PROD, rh_products_installed = RH_???). We can use the endpoint /api/inventory/v1/hosts from rhsm-conduitto get the hosts inventory information, both will be available inside the JSON response, under the path results[] -> facts[] under the name spaces qpc and rhsm.