Closed himmAllRight closed 4 years ago
I have tests running on rhsm-ci
that reads host inventory from http://insights-inventory.platform-ci.svc:8080 . On the test framework, we reach the URL by running curl
on a running rhsm-conduit
pod. I think both HB inventories are the same (I have http://insights-inventory.platform-qa.svc.cluster.local:8080 for yupana). CI/QA is not relevant for the idea.
My idea is to do the same on camayoc API, to select a running pod to execute curl on the select base URL for HBI and the endpoint ('/api/inventory/v1/hosts'
) to collect the host information, providing the account, org_id etc. I've already tried to reach the URLs from a running yupana pod instance, but I couldn't due permission rights.
Issue type
Description of issue
Camayoc should be able to query and read from the host inventory to verify yupana test hosts are successfully added.
Completion checklist
To close this issue, the following items must be satisfied:
Related development issues
Camayoc Issue #331