Azure / azure-iot-cli-extension

Azure IoT extension for Azure CLI
Other
83 stars 65 forks source link

Update Responses to use 0.22.0 #626

Closed vilit1 closed 1 year ago

vilit1 commented 1 year ago

Update to pin responses to the newest 0.22.0. Only tests were updated.

The biggest change is that now 500 return a different error - msrest.exceptions.ClientRequestError. This is similar to what the service returns for a hub with a non working dataplane.

Query has also been changed: if you have a 500 response with a next link, the responses package will go to the next page rather than failing right away. Tests have been updated to reflect this.

Note that 0.21.0 is skipped because the 500's return urllib3.exceptions.MaxRetryError


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Thank you for contributing to the IoT extension!

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

Intent for Production

Basic expectations

Azure IoT CLI maintainers reserve the right to enforce any of the outlined expectations.

A PR is considered ready for review when all basic expectations have been met (or do not apply).

vilit1 commented 1 year ago

Closing this since I found a better way