forked from elsa-workflows/elsa-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v3-token-refresh' into v3
- Loading branch information
Showing
9 changed files
with
36 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 0 additions & 62 deletions
62
src/modules/Elsa.Elasticsearch/HostedServices/ConfigureAliasesHostedService.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/modules/Elsa.Workflows.Runtime/Features/AsyncWorkflowStateExporterFeature.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Elsa.Features.Abstractions; | ||
using Elsa.Features.Attributes; | ||
using Elsa.Features.Services; | ||
using Elsa.Workflows.Management.Features; | ||
using Elsa.Workflows.Runtime.Implementations; | ||
using Microsoft.Extensions.DependencyInjection; | ||
|
||
namespace Elsa.Workflows.Runtime.Features; | ||
|
||
/// <summary> | ||
/// Configures and enables <see cref="AsyncWorkflowStateExporter"/>. | ||
/// </summary> | ||
[DependsOn(typeof(WorkflowInstancesFeature))] | ||
public class AsyncWorkflowStateExporterFeature : FeatureBase | ||
{ | ||
/// <inheritdoc /> | ||
public AsyncWorkflowStateExporterFeature(IModule module) : base(module) | ||
{ | ||
} | ||
|
||
/// <inheritdoc /> | ||
public override void Configure() | ||
{ | ||
Module.Configure<WorkflowRuntimeFeature>(workflowRuntime => workflowRuntime.WorkflowStateExporter = sp => ActivatorUtilities.CreateInstance<AsyncWorkflowStateExporter>(sp)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters