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 :)

@JorTurFer JorTurFer force-pushed the migrate-eventhub-sdk branch from a81a580 to f39b328 Compare May 26, 2024 20:35
JorTurFer added 24 commits July 24, 2024 13:26
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 JorTurFer force-pushed the migrate-eventhub-sdk branch from 9a5d414 to bb57d22 Compare July 24, 2024 11:27
@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