CE-3001: Eliminate rest call duplications for IOC status and details
- Eliminate the duplication of GitLab API calls for the IOC status and IOC details. The GitLab API should by only called twice if the git project ID associated with the deployment differs from the git project ID associated with the IOC. (This is possible because the git project associated with the IOC can be changed, but the deployments are not updated accordingly).
- Refactor the related codebase accordingly.
- It’s not worth eliminating the duplication of the singular host query, since we are cache that.
Closes CE-3001