Class PostgreSqlServiceCollectionExtensions
- Namespace
- FlowOrchestrator.PostgreSQL
- Assembly
- FlowOrchestrator.PostgreSQL.dll
DI registration helpers for the PostgreSQL FlowOrchestrator storage backend.
public static class PostgreSqlServiceCollectionExtensions
- Inheritance
-
PostgreSqlServiceCollectionExtensions
- Inherited Members
Methods
AddFlowOrchestratorPostgreSql(IServiceCollection, string)
Registers PostgreSQL implementations directly on IServiceCollection,
for use outside the AddFlowOrchestrator builder pattern.
public static IServiceCollection AddFlowOrchestratorPostgreSql(this IServiceCollection services, string connectionString)
Parameters
servicesIServiceCollectionThe service collection to register into.
connectionStringstringNpgsql connection string.
Returns
AddPostgreSqlWebhookHardening(FlowOrchestratorBuilder, string)
Registers the PostgreSQL-backed webhook hardening stores
(IWebhookReplayStore, IWebhookRejectionStore),
replacing the in-memory defaults wired by AddFlowDashboard.
public static FlowOrchestratorBuilder AddPostgreSqlWebhookHardening(this FlowOrchestratorBuilder builder, string connectionString)
Parameters
builderFlowOrchestratorBuilderThe FlowOrchestrator builder.
connectionStringstringNpgsql connection string.
Returns
UsePostgreSql(FlowOrchestratorBuilder, string)
Registers PostgreSQL implementations of all storage interfaces and the auto-migration hosted service.
Call inside AddFlowOrchestrator(options => options.UsePostgreSql(connectionString)).
public static FlowOrchestratorBuilder UsePostgreSql(this FlowOrchestratorBuilder builder, string connectionString)
Parameters
builderFlowOrchestratorBuilderThe FlowOrchestrator builder to register into.
connectionStringstringNpgsql connection string. Must point to an accessible PostgreSQL database.