Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r/application_insights_web_test: working around the breaking api change #16845

Merged
merged 2 commits into from
May 19, 2022

Conversation

tombuildsstuff
Copy link
Contributor

This PR works around the breaking API change outlined in #16805 by allowing either a 200 or a 201 to be returned from the API during create/update.

In addition, for the sake of consistency, this PR switches the methods on this client out to using the Resource ID type and not the individual segment values - since we'll be doing this shortly here anyway.

This switches to using the Resource ID rather than the individual
segments, since we'll be refactoring this soon anyway we may as well wrap this now.
@tombuildsstuff tombuildsstuff added bug upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR service/application-insights labels May 18, 2022
@tombuildsstuff tombuildsstuff added this to the v3.7.0 milestone May 18, 2022
@tombuildsstuff tombuildsstuff requested a review from a team May 18, 2022 10:37
Copy link
Member

@jackofallops jackofallops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@tombuildsstuff
Copy link
Contributor Author

Tests pass:

Screenshot 2022-05-19 at 11 59 31

@tombuildsstuff tombuildsstuff merged commit 980bbc9 into main May 19, 2022
@tombuildsstuff tombuildsstuff deleted the f/appinsights-breaking-api-change-16805 branch May 19, 2022 09:59
tombuildsstuff added a commit that referenced this pull request May 19, 2022
@github-actions
Copy link

This functionality has been released in v3.7.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug service/application-insights size/M upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants