elsa-core/src/modules
Sipke Schoorstra 286bdb22b2
Fix TenantId Missing in ActivityExecutionRecords and DB Context Isolation in Multitenancy (#6549)
* Enable multi-tenancy support for pooled DbContexts via decoration

Introduced a `TenantAwareDbContextFactory` to wrap `IDbContextFactory` and ensure tenant context is applied to `DbContext` instances. Updated dependency injection to decorate `IDbContextFactory` and enabled multi-tenancy across the application. Adjusted method signatures for consistency, simplifying multiple default parameters.

* Make ServiceProvider property protected

Changed the access modifier of the ServiceProvider property from private to protected. This allows derived classes to access and utilize the ServiceProvider directly while maintaining encapsulation.

* Disable multitenancy in Elsa.Server.Web configuration
2025-04-04 12:39:14 +02:00
..
Elsa
Elsa.Alterations Merge branch 'refs/heads/main' into blueberry 2025-03-10 15:13:26 +02:00
Elsa.Alterations.Core Merge branch 'refs/heads/main' into blueberry 2025-03-10 15:13:26 +02:00
Elsa.Alterations.MassTransit
Elsa.Caching
Elsa.Caching.Distributed
Elsa.Caching.Distributed.MassTransit
Elsa.Caching.Distributed.ProtoActor
Elsa.Common Moved compression to separate feature 2025-04-03 15:40:17 +02:00
Elsa.Connections.Api Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
Elsa.Connections.Core Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
Elsa.Connections.Models Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
Elsa.Connections.Persistence Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
Elsa.Connections.Persistence.EntityFrameworkCore Refactor and clean up Connections API and Core components 2025-02-23 14:07:32 +01:00
Elsa.Connections.Persistence.EntityFrameworkCore.Sqlite
Elsa.CSharp Merge branch 'main' into enh/workflowinstance-name 2025-03-14 23:03:33 +01:00
Elsa.Dapper Update Dapper Migrations (#6520) 2025-03-20 12:11:05 +01:00
Elsa.Dapper.Migrations Update Dapper Migrations (#6520) 2025-03-20 12:11:05 +01:00
Elsa.Dsl
Elsa.Elasticsearch Add Workflow Heartbeat Middleware and update methods 2025-02-22 16:05:36 +01:00
Elsa.Email
Elsa.EntityFrameworkCore Moved compression to separate feature 2025-04-03 15:40:17 +02:00
Elsa.EntityFrameworkCore.Common Fix TenantId Missing in ActivityExecutionRecords and DB Context Isolation in Multitenancy (#6549) 2025-04-04 12:39:14 +02:00
Elsa.EntityFrameworkCore.MySql Add migration files for database schema V3.4 2025-02-22 20:48:56 +01:00
Elsa.EntityFrameworkCore.Oracle Add migration files for database schema V3.4 2025-02-22 20:48:56 +01:00
Elsa.EntityFrameworkCore.PostgreSql Add migration files for database schema V3.4 2025-02-22 20:48:56 +01:00
Elsa.EntityFrameworkCore.Sqlite Update Dapper Migrations (#6520) 2025-03-20 12:11:05 +01:00
Elsa.EntityFrameworkCore.SqlServer Add migration files for database schema V3.4 2025-02-22 20:48:56 +01:00
Elsa.Environments
Elsa.Expressions Add strict type checking for variable parsing (#6536) 2025-03-31 18:11:14 +02:00
Elsa.FileStorage
Elsa.Hangfire
Elsa.Hosting.Management
Elsa.Http Add strict type checking for variable parsing (#6536) 2025-03-31 18:11:14 +02:00
Elsa.Identity Add HttpContextAccessor to service registration 2025-03-03 19:13:51 +01:00
Elsa.JavaScript Merge branch 'main' into enh/workflowinstance-name 2025-03-14 23:03:33 +01:00
Elsa.JavaScript.Libraries
Elsa.Kafka
Elsa.KeyValues
Elsa.Labels
Elsa.Liquid
Elsa.MassTransit Fix race condition in Distributed Workflow Runtime during same-workflow event publishing (#6538) 2025-03-31 18:11:27 +02:00
Elsa.MassTransit.AzureServiceBus
Elsa.MassTransit.RabbitMq
Elsa.MongoDb Add migration files for database schema V3.4 2025-02-22 20:48:56 +01:00
Elsa.OpenTelemetry Remove redundant span tags for activity and workflow incidents 2025-03-17 15:05:24 +01:00
Elsa.ProtoActor.Core
Elsa.Python Update scripting activities to set the DefaultSyntax to allow autocomplete to work correctly with new PR. 2025-03-09 19:47:46 +00:00
Elsa.Quartz Add support for passing initial variables 2025-03-08 11:47:58 +01:00
Elsa.Quartz.EntityFrameworkCore.MySql
Elsa.Quartz.EntityFrameworkCore.PostgreSql Merge branch 'refs/heads/main' into blueberry 2025-03-10 15:13:26 +02:00
Elsa.Quartz.EntityFrameworkCore.Sqlite
Elsa.Quartz.EntityFrameworkCore.SqlServer
Elsa.Retention Catch exceptions and log instead of crashing (#6477) 2025-03-18 19:27:04 +01:00
Elsa.SasTokens
Elsa.Scheduling Add support for passing initial variables 2025-03-08 11:47:58 +01:00
Elsa.Secrets.Api
Elsa.Secrets.Core
Elsa.Secrets.Management
Elsa.Secrets.Models
Elsa.Secrets.Persistence.EntityFrameworkCore
Elsa.Secrets.Persistence.EntityFrameworkCore.PostgreSql
Elsa.Secrets.Persistence.EntityFrameworkCore.Sqlite
Elsa.Secrets.Persistence.EntityFrameworkCore.SqlServer
Elsa.Secrets.Scripting
Elsa.Sql Updates error handling to allow null values to be passed to the query. Errors are now thrown for when no matching properties are found. 2025-03-16 16:42:32 +00:00
Elsa.Sql.MySql Simplify SqlEvaluator implementation and tidy code. 2025-03-16 00:44:35 +00:00
Elsa.Sql.PostgreSql Simplify SQL client implementations to reduce repetitive code. 2025-03-15 01:51:42 +00:00
Elsa.Sql.Sqlite Simplify SqlEvaluator implementation and tidy code. 2025-03-16 00:44:35 +00:00
Elsa.Sql.SqlServer Simplify SqlEvaluator implementation and tidy code. 2025-03-16 00:44:35 +00:00
Elsa.Tenants
Elsa.Tenants.AspNetCore
Elsa.Webhooks Refactor WebhooksFeature to streamline configuration. 2025-02-23 21:38:43 +01:00
Elsa.WorkflowContexts
Elsa.WorkflowProviders.BlobStorage
Elsa.Workflows.Api Fix race condition in Distributed Workflow Runtime during same-workflow event publishing (#6538) 2025-03-31 18:11:27 +02:00
Elsa.Workflows.Core Enhanced Delete of variable persistence manager to allow drivers filtering with tags (#6558) 2025-04-04 11:13:54 +02:00
Elsa.Workflows.Management Moved compression to separate feature 2025-04-03 15:40:17 +02:00
Elsa.Workflows.Runtime Fix TenantId Missing in ActivityExecutionRecords and DB Context Isolation in Multitenancy (#6549) 2025-04-04 12:39:14 +02:00
Elsa.Workflows.Runtime.Distributed
Elsa.Workflows.Runtime.ProtoActor Fix race condition in Distributed Workflow Runtime during same-workflow event publishing (#6538) 2025-03-31 18:11:27 +02:00