From dff6e14093ec8ca478f9480c4819ab762fafdbfb Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Sun, 16 Feb 2025 20:27:07 +0100 Subject: [PATCH] Add WorkflowExecutionLogStore implementation and migrations Introduced a new `WorkflowExecutionLogStore` to handle workflow execution log persistence. Added necessary extensions, indexes, migrations, and updated the startup configuration to register the new store and index provider. This enables querying, saving, and managing workflow execution logs in the OrchardCore project. --- .../Entities/WorkflowExecutionLogRecord.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/modules/Elsa.Workflows.Runtime/Entities/WorkflowExecutionLogRecord.cs b/src/modules/Elsa.Workflows.Runtime/Entities/WorkflowExecutionLogRecord.cs index 87460d6b6..54c412db1 100644 --- a/src/modules/Elsa.Workflows.Runtime/Entities/WorkflowExecutionLogRecord.cs +++ b/src/modules/Elsa.Workflows.Runtime/Entities/WorkflowExecutionLogRecord.cs @@ -11,17 +11,17 @@ public class WorkflowExecutionLogRecord : Entity, ILogRecord /// /// The ID of the workflow definition. /// - public string WorkflowDefinitionId { get; set; } = default!; + public string WorkflowDefinitionId { get; set; } = null!; /// /// The version ID of the workflow definition. /// - public string WorkflowDefinitionVersionId { get; set; } = default!; + public string WorkflowDefinitionVersionId { get; set; } = null!; /// /// The ID of the workflow instance. /// - public string WorkflowInstanceId { get; set; } = default!; + public string WorkflowInstanceId { get; set; } = null!; /// /// The version of the workflow definition. @@ -31,7 +31,7 @@ public class WorkflowExecutionLogRecord : Entity, ILogRecord /// /// The ID of the activity instance. /// - public string ActivityInstanceId { get; set; } = default!; + public string ActivityInstanceId { get; set; } = null!; /// /// The ID of the parent activity instance. @@ -41,12 +41,12 @@ public class WorkflowExecutionLogRecord : Entity, ILogRecord /// /// The ID of the activity. /// - public string ActivityId { get; set; } = default!; + public string ActivityId { get; set; } = null!; /// /// The type of the activity. /// - public string ActivityType { get; set; } = default!; + public string ActivityType { get; set; } = null!; /// /// The version of the activity type. @@ -61,7 +61,7 @@ public class WorkflowExecutionLogRecord : Entity, ILogRecord /// /// The unique ID of the node within the workflow graph. /// - public string ActivityNodeId { get; set; } = default!; + public string ActivityNodeId { get; set; } = null!; /// /// The time stamp of the log entry.