Commit Graph

2 Commits

Author SHA1 Message Date
6657b6b15a Add remote trigger support for finalization worker
Introduced `RemoteEnvelopeFinalizationTrigger` to enable triggering the envelope finalization worker via a remote HTTP endpoint. Added `BackgroundServicesOptions` for centralized configuration of background services, including enabling/disabling the local worker and configuring the remote trigger URL.

Enhanced `TriggerFinalizationWorkerBehavior` with improved error handling and logging using `ILogger`. Added `DisableControllerConvention` to dynamically exclude controllers based on configuration.

Updated `Program.cs` for conditional service registration and improved configuration loading. Modified `appsettings.json` and `appsettings.Development.json` to include remote trigger settings. Incremented project version to `2.1.0-beta`.

Refactored code for better maintainability, scalability, and observability.
2026-11-27 13:33:40 +01:00
fa5f28a58f Add TriggerFinalizationWorkerBehavior to pipeline
Updated IEnvelopeFinalizationTrigger to support CancellationToken
in TriggerAsync for improved cancellation handling. Introduced
TriggerFinalizationWorkerBehavior to trigger finalization in the
SigningCommand pipeline. Updated DependencyInjection to include
the new behavior. Refactored EnvelopeFinalizationTrigger to align
with interface changes and removed unused using directives.
2026-11-27 13:08:16 +01:00