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

refactoring appinsights use the new sdk version #718

Merged
merged 4 commits into from
Jan 19, 2018

Conversation

mbfrahry
Copy link
Member

Migrating appinsights to the new sdk version

make testacc TEST=./azurerm TESTARGS="-run=TestAccAzureRMApplicationInsights"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./azurerm -v -run=TestAccAzureRMApplicationInsights -timeout 180m
=== RUN   TestAccAzureRMApplicationInsights_importBasicWeb
--- PASS: TestAccAzureRMApplicationInsights_importBasicWeb (58.32s)
=== RUN   TestAccAzureRMApplicationInsights_importBasicOther
--- PASS: TestAccAzureRMApplicationInsights_importBasicOther (41.72s)
=== RUN   TestAccAzureRMApplicationInsights_basicWeb
--- PASS: TestAccAzureRMApplicationInsights_basicWeb (40.62s)
=== RUN   TestAccAzureRMApplicationInsights_basicOther
--- PASS: TestAccAzureRMApplicationInsights_basicOther (55.58s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	196.283s

@mbfrahry mbfrahry changed the title refactoring to use the new sdk version refactoring appinsights use the new sdk version Jan 19, 2018
@tombuildsstuff tombuildsstuff added this to the 1.0.2 milestone Jan 19, 2018
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

one minor nit about the imports, but this otherwise LGTM 👍

@@ -33,6 +32,7 @@ import (
"github.com/Azure/azure-sdk-for-go/arm/resources/resources"
"github.com/Azure/azure-sdk-for-go/arm/resources/subscriptions"
keyVault "github.com/Azure/azure-sdk-for-go/dataplane/keyvault"
"github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights"
Copy link
Contributor

Choose a reason for hiding this comment

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

Given the package insights is used in multiple places within Azure (e.g. #478), I think it might be sensible to alias this import - I'll push a commit to update this

@tombuildsstuff tombuildsstuff merged commit 1eea975 into master Jan 19, 2018
@tombuildsstuff tombuildsstuff deleted the sdk-migration-appinsights branch January 19, 2018 17:08
@ghost
Copy link

ghost commented Apr 1, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 1, 2020
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.

2 participants