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

azurerm_api_management_api Deprecate soap_pass_through in favour of api_type #17812

Merged
merged 1 commit into from
Sep 4, 2022

Conversation

owenfarrell
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Summary

This pull request converts a boolean flag for SOAP support in to an enumeration that supports SOAP, GraphQL, and websockets.

Fixes: #16452
Fixes: #14634

Output from acceptance testing:

make acctests SERVICE='apimanagement' TESTARGS='-run="TestAccApiManagementApi_"'
==> Checking that code complies with gofmt requirements...
==> Checking that Custom Timeouts are used...
==> Checking that acceptance test packages are used...
TF_ACC=1 go test -v ./internal/services/apimanagement -run="TestAccApiManagementApi_" -timeout 180m -ldflags="-X=github.com/hashicorp/terraform-provider-azurerm/version.ProviderVersion=acc"
=== RUN   TestAccApiManagementApi_basic
=== PAUSE TestAccApiManagementApi_basic
=== RUN   TestAccApiManagementApi_wordRevision
=== PAUSE TestAccApiManagementApi_wordRevision
=== RUN   TestAccApiManagementApi_blankPath
=== PAUSE TestAccApiManagementApi_blankPath
=== RUN   TestAccApiManagementApi_version
=== PAUSE TestAccApiManagementApi_version
=== RUN   TestAccApiManagementApi_oauth2Authorization
=== PAUSE TestAccApiManagementApi_oauth2Authorization
=== RUN   TestAccApiManagementApi_openidAuthentication
=== PAUSE TestAccApiManagementApi_openidAuthentication
=== RUN   TestAccApiManagementApi_requiresImport
=== PAUSE TestAccApiManagementApi_requiresImport
=== RUN   TestAccApiManagementApi_graphql
=== PAUSE TestAccApiManagementApi_graphql
=== RUN   TestAccApiManagementApi_soap
=== PAUSE TestAccApiManagementApi_soap
=== RUN   TestAccApiManagementApi_websocket
=== PAUSE TestAccApiManagementApi_websocket
=== RUN   TestAccApiManagementApi_soapPassthrough
=== PAUSE TestAccApiManagementApi_soapPassthrough
=== RUN   TestAccApiManagementApi_subscriptionRequired
=== PAUSE TestAccApiManagementApi_subscriptionRequired
=== RUN   TestAccApiManagementApi_importSwagger
=== PAUSE TestAccApiManagementApi_importSwagger
=== RUN   TestAccApiManagementApi_importWsdl
=== PAUSE TestAccApiManagementApi_importWsdl
=== RUN   TestAccApiManagementApi_importUpdate
=== PAUSE TestAccApiManagementApi_importUpdate
=== RUN   TestAccApiManagementApi_complete
=== PAUSE TestAccApiManagementApi_complete
=== RUN   TestAccApiManagementApi_cloneApi
=== PAUSE TestAccApiManagementApi_cloneApi
=== RUN   TestAccApiManagementApi_createNewVersionFromExisting
=== PAUSE TestAccApiManagementApi_createNewVersionFromExisting
=== RUN   TestAccApiManagementApi_createRevisionFromExisting
=== PAUSE TestAccApiManagementApi_createRevisionFromExisting
=== RUN   TestAccApiManagementApi_createRevisionFromExistingRevision
=== PAUSE TestAccApiManagementApi_createRevisionFromExistingRevision
=== CONT  TestAccApiManagementApi_basic
=== CONT  TestAccApiManagementApi_soapPassthrough
=== CONT  TestAccApiManagementApi_createRevisionFromExistingRevision
=== CONT  TestAccApiManagementApi_createRevisionFromExisting
=== CONT  TestAccApiManagementApi_importSwagger
=== CONT  TestAccApiManagementApi_subscriptionRequired
=== CONT  TestAccApiManagementApi_importUpdate
=== CONT  TestAccApiManagementApi_createNewVersionFromExisting
--- PASS: TestAccApiManagementApi_createRevisionFromExistingRevision (482.91s)
=== CONT  TestAccApiManagementApi_cloneApi
--- PASS: TestAccApiManagementApi_basic (485.29s)
=== CONT  TestAccApiManagementApi_complete
--- PASS: TestAccApiManagementApi_createRevisionFromExisting (486.22s)
=== CONT  TestAccApiManagementApi_openidAuthentication
--- PASS: TestAccApiManagementApi_subscriptionRequired (536.88s)
=== CONT  TestAccApiManagementApi_websocket
--- PASS: TestAccApiManagementApi_importSwagger (538.44s)
=== CONT  TestAccApiManagementApi_soap
--- PASS: TestAccApiManagementApi_soapPassthrough (542.24s)
=== CONT  TestAccApiManagementApi_graphql
--- PASS: TestAccApiManagementApi_createNewVersionFromExisting (546.80s)
=== CONT  TestAccApiManagementApi_requiresImport
--- PASS: TestAccApiManagementApi_importUpdate (599.75s)
=== CONT  TestAccApiManagementApi_blankPath
--- PASS: TestAccApiManagementApi_complete (476.38s)
=== CONT  TestAccApiManagementApi_oauth2Authorization
--- PASS: TestAccApiManagementApi_openidAuthentication (481.39s)
=== CONT  TestAccApiManagementApi_version
--- PASS: TestAccApiManagementApi_requiresImport (420.99s)
=== CONT  TestAccApiManagementApi_wordRevision
--- PASS: TestAccApiManagementApi_soap (467.23s)
=== CONT  TestAccApiManagementApi_importWsdl
--- PASS: TestAccApiManagementApi_graphql (471.47s)
--- PASS: TestAccApiManagementApi_blankPath (470.15s)
--- PASS: TestAccApiManagementApi_cloneApi (678.76s)
--- PASS: TestAccApiManagementApi_version (405.41s)
--- PASS: TestAccApiManagementApi_oauth2Authorization (458.98s)
--- PASS: TestAccApiManagementApi_wordRevision (465.45s)
--- PASS: TestAccApiManagementApi_importWsdl (467.09s)
--- PASS: TestAccApiManagementApi_websocket (4857.74s)
PASS
ok      github.com/hashicorp/terraform-provider-azurerm/internal/services/apimanagement 5397.663s

Signed-off-by: Owen Farrell <owen.farrell@gmail.com>
Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

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

Thanks @owenfarrell - LGTM ♻️

@katbyte katbyte changed the title Deprecate soap_pass_through in favour of api_type azurerm_api_management_api Deprecate soap_pass_through in favour of api_type Sep 4, 2022
@katbyte katbyte merged commit 9f2d281 into hashicorp:main Sep 4, 2022
@github-actions github-actions bot added this to the v3.22.0 milestone Sep 4, 2022
katbyte added a commit that referenced this pull request Sep 4, 2022
@owenfarrell owenfarrell deleted the apimanagement-graphql branch September 5, 2022 15:04
@github-actions
Copy link

github-actions bot commented Sep 9, 2022

This functionality has been released in v3.22.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 Oct 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for azurerm_api_management_api websocket protocols "ws" and "wss" Add GraphQL to API Manager
2 participants