Skip to content

CSHARP-4911: Implement single entry point for all driver's extensions. #1466

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

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

sanych-sun
Copy link
Member

Related to CSHARP-4911: Refactor AWS auth library to a separate package

@sanych-sun sanych-sun requested a review from a team as a code owner September 27, 2024 18:17
@sanych-sun sanych-sun requested review from adelinowona and BorisDog and removed request for a team and adelinowona September 27, 2024 18:17
/// <summary>
/// Auth Registry Extensions.
/// </summary>
public static class RegistrationHelpers
Copy link
Contributor

Choose a reason for hiding this comment

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

IExtensionManagerExtensions ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

/// Registers AWS Kms Provider.
/// </summary>
/// <param name="extensionManager">Extensions Manager.</param>
public static IExtensionManager RegisterAWSKmsProvider(this IExtensionManager extensionManager)
Copy link
Contributor

Choose a reason for hiding this comment

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

General naming question, do we want to register or add ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done + expose single method only as discussed

@sanych-sun sanych-sun requested a review from BorisDog September 27, 2024 20:05
@sanych-sun sanych-sun changed the title Implement single entry point for all driver's extensions. CSHARP-4911: Implement single entry point for all driver's extensions. Sep 27, 2024
Copy link
Contributor

@BorisDog BorisDog left a comment

Choose a reason for hiding this comment

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

LGTM.
Please evaluate the idea of additional registries nesting within IExtensionMananger.

Copy link
Contributor

@adelinowona adelinowona left a comment

Choose a reason for hiding this comment

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

LGTM

@sanych-sun sanych-sun merged commit cae4a1d into mongodb:main Oct 1, 2024
18 of 20 checks passed
@sanych-sun sanych-sun deleted the extensions-manager branch October 1, 2024 19:54
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.

3 participants