Closed alikins closed 5 years ago
Adapt rest API to full hyperlinks
Adapt to rest API change from https://github.com/ansible/galaxy/pull/1761 https://github.com/ansible/galaxy/issues/1757
Require 'requests-mock'
Use api.get_object instead of api.get_collection_detail()
Need to separate rest_api.GalaxyAPI into http client stuff and a object->url map layer, but for now start with this use of GalaxyApi.get_collection_detail()
Related: #1761 Related: #1757
SUMMARY
Adapt rest API to full hyperlinks
Adapt to rest API change from https://github.com/ansible/galaxy/pull/1761 https://github.com/ansible/galaxy/issues/1757
Require 'requests-mock'
Use api.get_object instead of api.get_collection_detail()
Need to separate rest_api.GalaxyAPI into http client stuff and a object->url map layer, but for now start with this use of GalaxyApi.get_collection_detail()
Related: #1761 Related: #1757
ISSUE TYPE