Rename Elsa.ProtoActor to Elsa.Workflows.Runtime.ProtoActor
This commit is contained in:
parent
d3f9d5ef8f
commit
ed79494dba
6
Elsa.sln
6
Elsa.sln
|
|
@ -62,7 +62,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "bundles", "bundles", "{F06B
|
|||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elsa.Liquid", "src\modules\Elsa.Liquid\Elsa.Liquid.csproj", "{8E5BD3D9-3529-48BC-B741-CFB7A69DB233}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elsa.ProtoActor", "src\modules\Elsa.ProtoActor\Elsa.ProtoActor.csproj", "{B2049499-D384-46DF-8837-F1180107DD54}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elsa.Workflows.Runtime.ProtoActor", "src\modules\Elsa.Workflows.Runtime.ProtoActor\Elsa.Workflows.Runtime.ProtoActor.csproj", "{B2049499-D384-46DF-8837-F1180107DD54}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elsa.Dsl", "src\modules\Elsa.Dsl\Elsa.Dsl.csproj", "{78DAB791-8595-4612-8E9E-2248AF5B1862}"
|
||||
EndProject
|
||||
|
|
@ -916,7 +916,6 @@ Global
|
|||
{C9539BD8-D2AE-4A8D-8281-71A05B3FBF31} = {B08B4E00-C2AB-48F3-8389-449F42AEF179}
|
||||
{169E2C9B-6687-427F-A278-30BF849BFEDC} = {B08B4E00-C2AB-48F3-8389-449F42AEF179}
|
||||
{2DD5D66B-85E9-4AF9-911C-C9F963234159} = {B08B4E00-C2AB-48F3-8389-449F42AEF179}
|
||||
{8A050229-DB79-4E0B-9AFF-7565E87F2954} = {B08B4E00-C2AB-48F3-8389-449F42AEF179}
|
||||
{C237BA1A-3A7D-4AB2-BE09-2696F3C082A4} = {C6658DE0-2B2F-47F0-BB61-2CA66D435C09}
|
||||
{80529478-A383-4FEA-B744-C71264969E9A} = {6EF07978-A6D2-40EB-891D-7D70C5F37E76}
|
||||
{39CD855E-83B1-4A96-93F7-01608211EBE3} = {C6658DE0-2B2F-47F0-BB61-2CA66D435C09}
|
||||
|
|
@ -1029,7 +1028,6 @@ Global
|
|||
{CBB515F3-A0EF-43B5-A907-FD4E652DD66E} = {90031D64-CA0F-46D0-9AF4-8DC023A5FFCD}
|
||||
{90CD37A9-C866-4D90-A3B1-8C87F53B845E} = {CBB515F3-A0EF-43B5-A907-FD4E652DD66E}
|
||||
{56CAA9F2-1882-4EFA-BAC0-9C3D804553F1} = {18453B51-25EB-4317-A4B3-B10518252E92}
|
||||
{0D4A88A1-8AEE-49ED-BC2E-ED68C96F60AD} = {B08B4E00-C2AB-48F3-8389-449F42AEF179}
|
||||
{5CBCBEA4-6038-48CA-B45D-C1D0F6B4ACA4} = {C6658DE0-2B2F-47F0-BB61-2CA66D435C09}
|
||||
{94A61AD7-2A2B-40DB-81F3-C59D596958A8} = {C6658DE0-2B2F-47F0-BB61-2CA66D435C09}
|
||||
{4B598AF7-BD7D-4544-A274-2CDDD98F4167} = {C6658DE0-2B2F-47F0-BB61-2CA66D435C09}
|
||||
|
|
@ -1046,6 +1044,8 @@ Global
|
|||
{060FD0BA-BD78-48E1-A8A7-4906A5AD5E39} = {D92BEAB2-60D6-4BB4-885A-6BA681C6CCF1}
|
||||
{169A82A5-2DB3-40EA-801E-14C08D743DF7} = {D92BEAB2-60D6-4BB4-885A-6BA681C6CCF1}
|
||||
{2CDF3E1C-267D-4198-B1C7-7E1F548FC120} = {5BA4A8FA-F7F4-45B3-AEC8-8886D35AAC79}
|
||||
{8A050229-DB79-4E0B-9AFF-7565E87F2954} = {58C59255-281C-4595-8732-808158F1DC6E}
|
||||
{0D4A88A1-8AEE-49ED-BC2E-ED68C96F60AD} = {58C59255-281C-4595-8732-808158F1DC6E}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {D4B5CEAA-7D70-4FCB-A68E-B03FBE5E0E5E}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<ProjectReference Include="..\..\..\src\modules\Elsa.JavaScript\Elsa.JavaScript.csproj"/>
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Liquid\Elsa.Liquid.csproj"/>
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.EntityFrameworkCore\Elsa.EntityFrameworkCore.csproj"/>
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.ProtoActor\Elsa.ProtoActor.csproj"/>
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Workflows.Runtime.ProtoActor\Elsa.Workflows.Runtime.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Scheduling\Elsa.Scheduling.csproj"/>
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Telnyx\Elsa.Telnyx.csproj"/>
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.WorkflowContexts\Elsa.WorkflowContexts.csproj"/>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<ProjectReference Include="..\..\..\src\modules\Elsa.EntityFrameworkCore\Elsa.EntityFrameworkCore.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Identity\Elsa.Identity.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.JavaScript\Elsa.JavaScript.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.ProtoActor\Elsa.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Workflows.Runtime.ProtoActor\Elsa.Workflows.Runtime.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Scheduling\Elsa.Scheduling.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Workflows.Api\Elsa.Workflows.Api.csproj" />
|
||||
</ItemGroup>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ using Elsa.EntityFrameworkCore.Modules.Labels;
|
|||
using Elsa.EntityFrameworkCore.Modules.Management;
|
||||
using Elsa.EntityFrameworkCore.Modules.Runtime;
|
||||
using Elsa.Extensions;
|
||||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
using Microsoft.Data.Sqlite;
|
||||
using Proto.Cluster.AzureContainerApps;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<ProjectReference Include="..\..\..\src\modules\Elsa.EntityFrameworkCore\Elsa.EntityFrameworkCore.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Identity\Elsa.Identity.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.JavaScript\Elsa.JavaScript.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.ProtoActor\Elsa.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Workflows.Runtime.ProtoActor\Elsa.Workflows.Runtime.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Scheduling\Elsa.Scheduling.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Workflows.Api\Elsa.Workflows.Api.csproj" />
|
||||
</ItemGroup>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<ProjectReference Include="..\..\..\src\modules\Elsa.JavaScript\Elsa.JavaScript.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Liquid\Elsa.Liquid.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.EntityFrameworkCore\Elsa.EntityFrameworkCore.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.ProtoActor\Elsa.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Workflows.Runtime.ProtoActor\Elsa.Workflows.Runtime.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Scheduling\Elsa.Scheduling.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Telnyx\Elsa.Telnyx.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.WorkflowContexts\Elsa.WorkflowContexts.csproj" />
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
<ProjectReference Include="..\..\modules\Elsa.Environments\Elsa.Environments.csproj"/>
|
||||
<ProjectReference Include="..\..\modules\Elsa.MassTransit\Elsa.MassTransit.csproj"/>
|
||||
<ProjectReference Include="..\..\modules\Elsa.MongoDb\Elsa.MongoDb.csproj"/>
|
||||
<ProjectReference Include="..\..\modules\Elsa.ProtoActor\Elsa.ProtoActor.csproj"/>
|
||||
<ProjectReference Include="..\..\modules\Elsa.Workflows.Runtime.ProtoActor\Elsa.Workflows.Runtime.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\..\modules\Elsa.Identity\Elsa.Identity.csproj"/>
|
||||
<ProjectReference Include="..\..\modules\Elsa.WorkflowProviders.BlobStorage\Elsa.WorkflowProviders.BlobStorage.csproj"/>
|
||||
<ProjectReference Include="..\..\modules\Elsa.Hangfire\Elsa.Hangfire.csproj"/>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<ProjectReference Include="..\..\modules\Elsa.MassTransit.AzureServiceBus\Elsa.MassTransit.AzureServiceBus.csproj"/>
|
||||
<ProjectReference Include="..\..\modules\Elsa.MassTransit.RabbitMq\Elsa.MassTransit.RabbitMq.csproj"/>
|
||||
<ProjectReference Include="..\..\modules\Elsa.MassTransit\Elsa.MassTransit.csproj"/>
|
||||
<ProjectReference Include="..\..\modules\Elsa.ProtoActor\Elsa.ProtoActor.csproj"/>
|
||||
<ProjectReference Include="..\..\modules\Elsa.Workflows.Runtime.ProtoActor\Elsa.Workflows.Runtime.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\..\modules\Elsa.Python\Elsa.Python.csproj"/>
|
||||
<ProjectReference Include="..\..\modules\Elsa.Quartz\Elsa.Quartz.csproj"/>
|
||||
<ProjectReference Include="..\..\modules\Elsa.Webhooks\Elsa.Webhooks.csproj"/>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Elsa.Liquid\Elsa.Liquid.csproj" />
|
||||
<ProjectReference Include="..\Elsa.ProtoActor\Elsa.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\Elsa.Workflows.Runtime.ProtoActor\Elsa.Workflows.Runtime.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\Elsa.SasTokens\Elsa.SasTokens.csproj" />
|
||||
<ProjectReference Include="..\Elsa.Tenants\Elsa.Tenants.csproj" />
|
||||
<ProjectReference Include="..\Elsa.Workflows.Core\Elsa.Workflows.Core.csproj" />
|
||||
|
|
|
|||
|
|
@ -1,18 +1,17 @@
|
|||
using Elsa.ProtoActor.Extensions;
|
||||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Contracts;
|
||||
using Elsa.Workflows.Management;
|
||||
using Elsa.Workflows.Management.Entities;
|
||||
using Elsa.Workflows.Management.Options;
|
||||
using Elsa.Workflows.Models;
|
||||
using Elsa.Workflows.Options;
|
||||
using Elsa.Workflows.Runtime;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.Extensions;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.State;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Proto;
|
||||
using Proto.Cluster;
|
||||
|
||||
namespace Elsa.ProtoActor.Actors;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Actors;
|
||||
|
||||
internal class WorkflowInstanceImpl(
|
||||
IContext context,
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Proto.Cluster;
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Proto.Persistence;
|
||||
|
||||
namespace Elsa.ProtoActor.Extensions;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Extensions;
|
||||
|
||||
internal static class PersistenceExtensions
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
|
||||
namespace Elsa.ProtoActor.Extensions;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Extensions;
|
||||
|
||||
internal static class ProtoInputExtensions
|
||||
{
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
using System.Text.Json;
|
||||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Serialization.Converters;
|
||||
using Google.Protobuf.Collections;
|
||||
|
||||
namespace Elsa.ProtoActor.Extensions;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Extensions;
|
||||
|
||||
internal static class ProtoJsonMapExtensions
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
|
||||
namespace Elsa.ProtoActor.Extensions;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Extensions;
|
||||
|
||||
internal static class ProtoPropertiesExtensions
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Elsa.ProtoActor.Extensions;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Extensions;
|
||||
|
||||
internal static class ProtoStringExtensions
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
using Elsa.ProtoActor.Features;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.Features;
|
||||
using Elsa.Workflows.Runtime.Features;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
using Elsa.Features.Abstractions;
|
||||
using Elsa.Features.Attributes;
|
||||
using Elsa.Features.Services;
|
||||
using Elsa.ProtoActor.Actors;
|
||||
using Elsa.ProtoActor.HostedServices;
|
||||
using Elsa.ProtoActor.Mappers;
|
||||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.ProtoActor.Services;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Features;
|
||||
using Elsa.Workflows.Runtime.Features;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.Actors;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.HostedServices;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.Services;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
|
@ -21,7 +21,7 @@ using Proto.Persistence;
|
|||
using Proto.Remote;
|
||||
using Proto.Remote.GrpcNet;
|
||||
|
||||
namespace Elsa.ProtoActor.Features;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Features;
|
||||
|
||||
/// Installs the Proto Actor feature to host & execute workflow instances.
|
||||
[DependsOn(typeof(WorkflowsFeature))]
|
||||
|
|
@ -2,7 +2,7 @@ using Microsoft.Extensions.Hosting;
|
|||
using Proto;
|
||||
using Proto.Cluster;
|
||||
|
||||
namespace Elsa.ProtoActor.HostedServices;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.HostedServices;
|
||||
|
||||
/// <summary>
|
||||
/// Starts the current member in the cluster.
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
using Elsa.ProtoActor.Extensions;
|
||||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.Extensions;
|
||||
using Elsa.Workflows.Models;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
/// <summary>
|
||||
/// Maps <see cref="ActivityHandle"/> to <see cref="ProtoActivityHandle"/>.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Models;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
/// <summary>
|
||||
/// Maps <see cref="ActivityIncident"/> to <see cref="ProtoActivityIncident"/>.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Models;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
/// <summary>
|
||||
/// Maps between <see cref="ActivityIncident"/> and <see cref="ProtoActivityIncident"/>.
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
using Elsa.ProtoActor.Extensions;
|
||||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.Extensions;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.Messages;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
/// <summary>
|
||||
/// Maps <see cref="CreateAndRunWorkflowInstanceRequestMapper"/> to <see cref="ProtoCreateAndRunWorkflowInstanceRequest"/> and vice versa.
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
using Elsa.ProtoActor.Extensions;
|
||||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.Extensions;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.Messages;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
/// <summary>
|
||||
/// Maps <see cref="CreateWorkflowInstanceRequest"/> to <see cref="ProtoCreateWorkflowInstanceRequest"/> and vice versa.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.Messages;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
/// <summary>
|
||||
/// Maps <see cref="CreateWorkflowInstanceResponse"/> to <see cref="ProtoCreateWorkflowInstanceResponse"/> and vice versa.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.State;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
public class ExceptionMapper
|
||||
{
|
||||
|
|
@ -1,10 +1,9 @@
|
|||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Models;
|
||||
using Elsa.Workflows.Runtime.Messages;
|
||||
using Elsa.Workflows.State;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
/// <summary>
|
||||
/// Contains all mappers used by the ProtoActor implementation.
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
using Elsa.ProtoActor.Extensions;
|
||||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.Extensions;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.Messages;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
/// <summary>
|
||||
/// Maps <see cref="RunWorkflowInstanceRequest"/> to <see cref="ProtoRunWorkflowInstanceRequest"/> and vice versa.
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
using Elsa.Extensions;
|
||||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Models;
|
||||
using Elsa.Workflows.Runtime.Messages;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
/// <summary>
|
||||
/// Maps <see cref="RunWorkflowResult"/> to <see cref="ProtoRunWorkflowInstanceResponse"/> and vice versa.
|
||||
|
|
@ -1,19 +1,13 @@
|
|||
using Elsa.ProtoActor.Extensions;
|
||||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.Extensions;
|
||||
using Elsa.Workflows.Options;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
/// <summary>
|
||||
/// Maps <see cref="RunWorkflowParams"/> to <see cref="ProtoRunWorkflowInstanceRequest"/>.
|
||||
/// </summary>
|
||||
public class RunWorkflowParamsMapper(ActivityHandleMapper activityHandleMapper)
|
||||
{
|
||||
/// <summary>
|
||||
/// Maps <see cref="RunWorkflowParams"/> to <see cref="ProtoRunWorkflowInstanceRequest"/>.
|
||||
/// </summary>
|
||||
/// <param name="source"></param>
|
||||
/// <returns></returns>
|
||||
public RunWorkflowOptions Map(ProtoRunWorkflowInstanceRequest source)
|
||||
{
|
||||
return new()
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
using Elsa.Common.Models;
|
||||
using Elsa.ProtoActor.Extensions;
|
||||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.Extensions;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Models;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
/// <summary>
|
||||
/// Maps <see cref="WorkflowDefinitionHandle"/> to <see cref="ProtoWorkflowDefinitionHandle"/> and vice versa.
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Contracts;
|
||||
using Elsa.Workflows.State;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
/// <summary>
|
||||
/// Maps between <see cref="ProtoJson"/> and <see cref="WorkflowState"/>.
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
public class WorkflowStatusMapper
|
||||
{
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
|
||||
namespace Elsa.ProtoActor.Mappers;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Mappers;
|
||||
|
||||
public class WorkflowSubStatusMapper
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
syntax = "proto3";
|
||||
option csharp_namespace = "Elsa.ProtoActor.ProtoBuf";
|
||||
package Elsa.ProtoActor.ProtoBuf;
|
||||
option csharp_namespace = "Elsa.Workflows.Runtime.ProtoActor.ProtoBuf";
|
||||
package Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
|
||||
import "google/protobuf/empty.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
syntax = "proto3";
|
||||
option csharp_namespace = "Elsa.ProtoActor.ProtoBuf";
|
||||
package Elsa.ProtoActor.ProtoBuf;
|
||||
option csharp_namespace = "Elsa.Workflows.Runtime.ProtoActor.ProtoBuf";
|
||||
package Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
|
||||
import "google/protobuf/empty.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
syntax = "proto3";
|
||||
option csharp_namespace = "Elsa.ProtoActor.ProtoBuf";
|
||||
package Elsa.ProtoActor.ProtoBuf;
|
||||
option csharp_namespace = "Elsa.Workflows.Runtime.ProtoActor.ProtoBuf";
|
||||
package Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
|
||||
import "google/protobuf/empty.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
|
@ -2,7 +2,7 @@ using System.Collections.Concurrent;
|
|||
using System.Text.Json;
|
||||
using Proto.Persistence;
|
||||
|
||||
namespace Elsa.ProtoActor.Services;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Services;
|
||||
|
||||
/// <summary>
|
||||
/// An in-memory provider for Proto.Persistence.
|
||||
|
|
@ -2,7 +2,7 @@ using Elsa.Workflows.Contracts;
|
|||
using Elsa.Workflows.Runtime;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Elsa.ProtoActor.Services;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a Proto.Actor implementation of the workflows runtime.
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
using Elsa.Extensions;
|
||||
using Elsa.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime.ProtoActor.ProtoBuf;
|
||||
using Elsa.Workflows.Runtime;
|
||||
using Elsa.Workflows.Runtime.Messages;
|
||||
using Elsa.Workflows.State;
|
||||
using JetBrains.Annotations;
|
||||
using Proto.Cluster;
|
||||
|
||||
namespace Elsa.ProtoActor.Services;
|
||||
namespace Elsa.Workflows.Runtime.ProtoActor.Services;
|
||||
|
||||
/// <summary>
|
||||
/// A workflow client that uses Proto.Actor to communicate with the workflow running in the cluster.
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
<ProjectReference Include="..\..\..\src\common\Elsa.Testing.Shared.Integration\Elsa.Testing.Shared.Integration.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Http\Elsa.Http.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.JavaScript\Elsa.JavaScript.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.ProtoActor\Elsa.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Workflows.Runtime.ProtoActor\Elsa.Workflows.Runtime.ProtoActor.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Scheduling\Elsa.Scheduling.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.WorkflowProviders.BlobStorage\Elsa.WorkflowProviders.BlobStorage.csproj" />
|
||||
<ProjectReference Include="..\..\..\src\modules\Elsa.Workflows.Api\Elsa.Workflows.Api.csproj" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue