ansible / mazer

Experimental Ansible Galaxy Content Manager
GNU General Public License v3.0
114 stars 18 forks source link

Adapt rest API to full hyperlinks #232

Closed alikins closed 5 years ago

alikins commented 5 years ago
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