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

Adding Azure sync functionality which can be used by the Azure Fetcher #50367

Draft
wants to merge 4 commits into
base: mvbrock/azure-integration-disco-azure
Choose a base branch
from

Conversation

mvbrock
Copy link
Contributor

@mvbrock mvbrock commented Dec 17, 2024

This PR is a result of splitting #48843 into smaller PRs, and provides the Azure sync functionality which will be called by the Azure fetcher in the Discovery service.

@mvbrock mvbrock force-pushed the mvbrock/azure-integration-disco-azure-sync branch from a590a2b to 9a73b76 Compare December 17, 2024 23:29
@mvbrock mvbrock force-pushed the mvbrock/azure-integration-disco-azure branch from a817501 to e88e148 Compare December 17, 2024 23:43
@mvbrock mvbrock force-pushed the mvbrock/azure-integration-disco-azure-sync branch from 9a73b76 to 0d11394 Compare December 17, 2024 23:44
@mvbrock mvbrock force-pushed the mvbrock/azure-integration-disco-azure branch from e88e148 to 308bc2c Compare December 18, 2024 20:29
@mvbrock mvbrock force-pushed the mvbrock/azure-integration-disco-azure-sync branch from 0d11394 to f4c8928 Compare December 18, 2024 20:31

package common

func DeduplicateSlice[T any](s []T, key func(T) string) []T {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

From @marcoandredinis in #48843 (comment)

We should probably move this method to lib/utils/slices/ or similar, add a godoc and some test coverage.

@mvbrock mvbrock force-pushed the mvbrock/azure-integration-disco-azure-sync branch 2 times, most recently from 0f0adcc to 8ef72c4 Compare December 19, 2024 23:50
@mvbrock mvbrock force-pushed the mvbrock/azure-integration-disco-azure branch 2 times, most recently from 0a4c1f4 to 672ae8d Compare December 20, 2024 00:01
@mvbrock mvbrock force-pushed the mvbrock/azure-integration-disco-azure-sync branch 2 times, most recently from 873db7c to b2512a9 Compare December 20, 2024 02:54
@mvbrock mvbrock marked this pull request as ready for review December 20, 2024 03:49
@mvbrock mvbrock marked this pull request as draft December 20, 2024 03:51
@mvbrock mvbrock force-pushed the mvbrock/azure-integration-disco-azure-sync branch from b2512a9 to 1d807fb Compare December 20, 2024 22:08
@mvbrock mvbrock force-pushed the mvbrock/azure-integration-disco-azure-sync branch from 1d807fb to 02e6652 Compare December 20, 2024 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant