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

Migrate old Azure SDKs into to use github.com/Azure/azure-sdk-for-go/sdk/azidentity #5471

Merged
merged 26 commits into from
Jul 24, 2024

Conversation

JorTurFer
Copy link
Member

@JorTurFer JorTurFer commented Feb 2, 2024

This PR has migrated some old Azure SDKs into the (unified) new one

  • EventHub: github.com/Azure/azure-event-hubs-go/v3 -> github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs
  • Blob Storage: github.com/Azure/azure-storage-blob-go -> github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
  • Storage queues: github.com/Azure/azure-storage-queue-go -> github.com/Azure/azure-sdk-for-go/sdk/storage/azqueue
  • Azure Key Vault: github.com/Azure/azure-sdk-for-go -> github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecrets
  • Azure Monitor: github.com/Azure/azure-sdk-for-go -> github.com/Azure/azure-sdk-for-go/sdk/monitor/azquery
  • Azure Log Analytics: no-sdk -> github.com/Azure/azure-sdk-for-go/sdk/monitor/azquery
  • Azure Data Explorer: github.com/Azure/azure-kusto-go/kusto uses github.com/Azure/azure-sdk-for-go/sdk/azidentity
  • Azure Application Insights: Currently it's not supported, I've opened and issue asking for it for migrating it in the future

Additionally to improve the testing experience, I've replaced go test ... | junit.... with gotestsum -> https://github.com/gotestyourself/gotestsum

Checklist

Fixes #5470

@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 2, 2024

/run-e2e azure
Update: You can check the progress here

@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 2, 2024

/run-e2e azure
Update: You can check the progress here

@JorTurFer JorTurFer changed the title Migrate Azure EventHub and Azure Storage SDKs Migrate old Azure SDKs into github.com/Azure/azure-sdk-for-go Feb 2, 2024
@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 2, 2024

/run-e2e azure
Update: You can check the progress here

@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 2, 2024

/run-e2e azure
Update: You can check the progress here

@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 2, 2024

/run-e2e azure
Update: You can check the progress here

@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 2, 2024

/run-e2e azure
Update: You can check the progress here

@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 6, 2024

/run-e2e azure
Update: You can check the progress here

@JorTurFer JorTurFer changed the title Migrate old Azure SDKs into github.com/Azure/azure-sdk-for-go Migrate old Azure SDKs into to use github.com/Azure/azure-sdk-for-go/sdk/azidentity Feb 6, 2024
@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 6, 2024

/run-e2e azure
Update: You can check the progress here

@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 6, 2024

/run-e2e azure
Update: You can check the progress here

@JorTurFer JorTurFer marked this pull request as ready for review February 13, 2024 21:08
@JorTurFer JorTurFer requested a review from a team as a code owner February 13, 2024 21:08
@JorTurFer
Copy link
Member Author

JorTurFer commented Feb 13, 2024

/run-e2e azure
Update: You can check the progress here

@JorTurFer
Copy link
Member Author

JorTurFer commented Mar 30, 2024

/run-e2e azure
Update: You can check the progress here

@JorTurFer
Copy link
Member Author

JorTurFer commented Mar 30, 2024

/run-e2e azure
Update: You can check the progress here

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

@JorTurFer what is the status on this please?

@JorTurFer
Copy link
Member Author

JorTurFer commented Apr 10, 2024

It's ready to merge from code pov (just pending to rebase main branch). But I think that waiting until v2.14 is released could be a good idea because I'm not 100% sure if I have dropped some AAD-Pod-Identity support and taking into account that v2.15 will remove AAD-Pod-Identity I'm more confident adding this after removing AAD-Pod-Identity.

@zroubalik
Copy link
Member

zroubalik commented Apr 10, 2024

It's ready to merge from code pov (just pending to rebase main branch). But I think that waiting until v2.14 is released could be a good idea because I'm not 100% sure if I have dropped some AAD-Pod-Identity support and taking into account that v2.15 will remove AAD-Pod-Identity I'm more confident adding this after removing AAD-Pod-Identity.

Okay, sounds good!

@JorTurFer
Copy link
Member Author

time to rebase :)

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
@JorTurFer
Copy link
Member Author

JorTurFer commented Jul 24, 2024

/run-e2e
Update: You can check the progress here

@JorTurFer
Copy link
Member Author

JorTurFer commented Jul 24, 2024

/run-e2e prometheus_metrics_test
Update: You can check the progress here

@JorTurFer
Copy link
Member Author

JorTurFer commented Jul 24, 2024

/run-e2e prometheus_metrics_test
Update: You can check the progress here

@JorTurFer JorTurFer merged commit ebc8975 into kedacore:main Jul 24, 2024
18 checks passed
@JorTurFer JorTurFer deleted the migrate-eventhub-sdk branch July 24, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate Azure Event Hub and Storage to the new SDK
2 participants