Skip to content

Move EventStore.Plugins.Connectors to main repo. #4960

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

Open
wants to merge 187 commits into
base: master
Choose a base branch
from

Conversation

YoEight
Copy link
Member

@YoEight YoEight commented Mar 31, 2025

No description provided.

w1am and others added 22 commits March 5, 2025 17:11
Co-authored-by: William Chong <[email protected]>
Co-authored-by: YoEight <[email protected]>
…leases and checkpoints

Refactored stream configuration and deletion logic by introducing `DeleteConnectorStreams` delegate to extend previous functionality. Updated service registrations, command handling, and supervisor logic.
… op when not set

Introduced new utility methods for configuration conversions and refactored the data protection logic to enforce stricter token validations. Updated tests to align with changes, added support for handling sensitive keys dynamically, and improved protection and unprotection workflows. This also includes adjustments to ensure compatibility with Http Sink Connectors and improved test coverage for various scenarios.
… key identifier

Adjusted the keyIdentifier in ConnectorDataProtector to fix incorrect key usage during value protection. Added IDataProtector as a dependency to ConnectorsStreamSupervisor to properly manage data protection functionalities. Updated ManagementPlaneWireUp to register IDataProtector for DI and refactored some unused methods for clarity. Included a comment addressing a known issue to be resolved in a future cleanup task.
Default Surge key vault `ProtobufEncoding` to `false`.
# Conflicts:
#	src/EventStore.Extensions.Connectors/Planes/Management/ManagementPlaneWireUp.cs
Previously, deactivation relied directly on the `DeactivateConnector` logic which did not provide a clear mechanism to wait for connector stoppage. The new `WaitForDeactivation` method in `ConnectorsActivator` ensures connectors are properly waited upon until they are fully deactivated, improving reliability and control during shutdown processes.
@YoEight YoEight marked this pull request as draft March 31, 2025 18:57
Copy link
Contributor

github-actions bot commented Apr 1, 2025

Qodana for .NET

392 new problems were found

Inspection name Severity Problems
Keyword 'new' is redundant 🔴 Failure 1
Reference to a volatile field will not be treated as volatile 🔴 Failure 1
The switch expression does not handle all possible inputs (it is not exhaustive). 🔴 Failure 1
Dereference of a possibly null reference. 🔴 Failure 1
Redundant using directive 🔶 Warning 248
Namespace does not correspond to file location 🔶 Warning 96
Type member is never used (private accessibility) 🔶 Warning 10
Unused local variable 🔶 Warning 6
Redundant anonymous type property explicit name 🔶 Warning 5
Redundant name qualifier 🔶 Warning 4
Redundant cast 🔶 Warning 3
Virtual member call in constructor 🔶 Warning 3
Redundant argument with default value 🔶 Warning 2
Redundant explicit type in array creation 🔶 Warning 2
Empty constructor 🔶 Warning 1
Empty namespace declaration 🔶 Warning 1
Invalid XML documentation comment 🔶 Warning 1
Member initialized value ignored 🔶 Warning 1
Return value must be disposed but the method or function is not annotated with [MustDisposeResource] 🔶 Warning 1
Redundant 'partial' modifier on type declaration 🔶 Warning 1
Auto-property accessor is never used (private accessibility) 🔶 Warning 1
Method return value is never used (private accessibility) 🔶 Warning 1
Unused type parameter 🔶 Warning 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@YoEight YoEight force-pushed the yoeight/integ-connectors branch from e6b05d4 to 62422de Compare April 2, 2025 02:21
@YoEight YoEight marked this pull request as ready for review April 2, 2025 02:23
@YoEight YoEight requested a review from timothycoleman April 2, 2025 03:15
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.

6 participants