-
Notifications
You must be signed in to change notification settings - Fork 41
Conversation
4694bf8
to
0b281b7
Compare
0b281b7
to
33ce058
Compare
Checked commits AlexanderZagaynov/ansible_tower_client_ruby@319263f~...33ce058 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@bdunne can you take a look? |
@AlexanderZagaynov this change will force VCR cassettes to be manually sed/changed or we'll have to re-record them for the ansible provider. This is because we previously recorded gets for |
@jrafanie makes sense. I also noticed one more place with missing trailing slash:
|
@AlexanderZagaynov did you want to get that change in before we merge/release so we can re-record or sed/awk the vcr cassettes only once? |
@AlexanderZagaynov Ruby 2.5 support doesn't need to happen today or tomorrow.. it can wait until we have all of our changes we want into the gem. If so, please open a PR so we can try releasing a gem version next week. Thanks! |
Collections and many other requests now request a single api/v1/project/ instead of api/v1/project and redirecting to api/v1/project/. Cassettes need to be updated to show the change in the requests to add the trailing slash but also to remove the redirected request since that no longer happens. The client updated to remove redirects here: ansible/ansible_tower_client_ruby#124
if you mean that
done :) |
Collections and many other requests now request a single api/v1/project/ instead of api/v1/project and redirecting to api/v1/project/. Cassettes need to be updated to show the change in the requests to add the trailing slash but also to remove the redirected request since that no longer happens. The client updated to remove redirects here: ansible/ansible_tower_client_ruby#124
Collections and many other requests now request a single api/v1/project/ instead of api/v1/project and redirecting to api/v1/project/. Cassettes were updated to remove the no longer redirected request since it no longer happens. The client updated to remove redirects here: ansible/ansible_tower_client_ruby#124
Manual backport of ManageIQ#165 Collections and many other requests now request a single api/v1/project/ instead of api/v1/project and redirecting to api/v1/project/. Cassettes were updated to remove the no longer redirected request since it no longer happens. The client updated to remove redirects here: ansible/ansible_tower_client_ruby#124
avoid redundant redirects
Currently, base resource paths got requested without trailing slashes in addresses.
It leads so such lines in the logs:
This commit eliminates useless redirect hops.
unhide url of not found resource
Ease
404
-related errors debugging.