Changes for WorkflowStash
This commit is contained in:
@@ -39,6 +39,8 @@
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
//"DefaultConnection": "Data Source=.;Initial Catalog=WfDb;User ID=sa;Password=123456;Integrated Security=false;TrustServerCertificate=True;"
|
||||
"DefaultConnection": "Server=.;Database=CaspianWfDb;User Id=sa;Password=123456;TrustServerCertificate=True;"
|
||||
//"DefaultConnection": "Server=.;Database=CaspianWfDb;User Id=sa;Password=123456;TrustServerCertificate=True;"
|
||||
//"DefaultConnection": "Server=.;Database=Workflow_Db;User Id=sa;Password=123456;TrustServerCertificate=True;"
|
||||
"DefaultConnection": "Server=192.168.251.161;Database=Workflow_Db;User Id=sa;Password=cLL{3N29D@n2;MultipleActiveResultSets=true;TrustServerCertificate=True"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<metadata>
|
||||
<id>Caspian.WorkflowFramework</id>
|
||||
<version>1.0.0-preview34</version>
|
||||
<authors>Digital Banking Team</authors>
|
||||
<authors>Behzad Alizadeh</authors>
|
||||
<owners>Caspian</owners>
|
||||
<description>Caspian workflow framework</description>
|
||||
<projectUrl>https://caspco.ir</projectUrl>
|
||||
|
||||
@@ -121,6 +121,37 @@ namespace Caspian.WorkflowFramework.Utility
|
||||
? dictionary[nameof(workflowModel.NextPageEventName)]?.ToString()
|
||||
: null;
|
||||
|
||||
//WorkflowStash
|
||||
if (dictionary.TryGetValue(nameof(workflowModel.WorkflowStash), out var workflowStashObj) &&
|
||||
workflowStashObj is not null)
|
||||
{
|
||||
switch (workflowStashObj)
|
||||
{
|
||||
case JsonElement je:
|
||||
workflowModel.WorkflowStash = je;
|
||||
break;
|
||||
|
||||
case JsonNode node:
|
||||
// .NET 6+
|
||||
workflowModel.WorkflowStash = JsonSerializer.SerializeToElement(node);
|
||||
break;
|
||||
|
||||
case string s:
|
||||
// اگر به صورت string JSON ذخیره شده
|
||||
workflowModel.WorkflowStash = JsonSerializer.Deserialize<JsonElement>(s);
|
||||
break;
|
||||
|
||||
default:
|
||||
// هر نوع دیگری: serialize و تبدیل به JsonElement
|
||||
workflowModel.WorkflowStash = JsonSerializer.SerializeToElement(workflowStashObj);
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
workflowModel.WorkflowStash = null;
|
||||
}
|
||||
|
||||
return workflowModel;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,9 @@
|
||||
"ConnectionStrings": {
|
||||
"Sqlite": "", //"Data Source=App_Data/elsa.sqlite.db;Cache=Shared;",
|
||||
//"SqlServer": "Server=localhost,1433;Initial Catalog=Elsa;User=sa;Password=!Elsa2025@;Encrypt=false;PersistSecurityInfo=false",
|
||||
"SqlServer": "Server=.;Database=CaspianWfDb;User Id=sa;Password=123456;TrustServerCertificate=True;",
|
||||
//"SqlServer": "Server=.;Database=CaspianWfDb;User Id=sa;Password=123456;TrustServerCertificate=True;",
|
||||
//"SqlServer": "Server=.;Database=Workflow_Db;User Id=sa;Password=123456;TrustServerCertificate=True;",
|
||||
"SqlServer": "Server=192.168.251.161;Database=Workflow_Db;User Id=sa;Password=cLL{3N29D@n2;MultipleActiveResultSets=true;TrustServerCertificate=True",
|
||||
"MySql": "", //"Server=localhost;Database=elsa;Uid=admin;Pwd=password;",
|
||||
"PostgreSql": "", //"Server=localhost;Username=elsa;Database=elsa;Port=5432;Password=elsa;SSLMode=Prefer;MaxPoolSize=2000;Timeout=60",
|
||||
"Citus": "", //"Server=localhost;Username=citus;Database=citus;Port=9700;Password=citus;SSLMode=Prefer;MaxPoolSize=2000;Timeout=60",
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Api.Client</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides HTTP clients for the Elsa Workflows REST API.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Api.Common</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides common features to modules that expose API endpoints.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.DropIns.Core</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Reference this package when developing drop-ins for Elsa Workflows.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.DropIns</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides drop-in features for Elsa workflows.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Features</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides utilities to turn your class library into a module that provides features.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Mediator</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides a mediator service inspired by MediatR.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Testing.Shared.Component</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides common utilities that are helpful when writing component tests against Elsa Workflows functionality.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Testing.Shared.Integration</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides common utilities that are helpful when writing integration tests against Elsa Workflows functionality.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Testing.Shared</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides common utilities that are helpful when writing tests against Elsa Workflows functionality.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Alterations.Core</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides core interfaces, models and services that support the alteration engine.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Alterations.MassTransit</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides alteration background job runners using MassTransit.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Alterations</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides alterations for workflow instances.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.CSharp</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides a CSharp expression provider.
|
||||
</Description>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Caching.Distributed.MassTransit</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides distributed caching services leveraging MassTransit for transport of signals.
|
||||
</Description>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Caching.Distributed.ProtoActor</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides distributed caching services leveraging Proto.Actor for transport of signals.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Caching.Distributed</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides distributed caching services and utility functions common to Elsa modules.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Caching</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides caching services and utility functions common to Elsa modules.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Common</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides services and utility functions common to Elsa modules.
|
||||
For example, it provides a system clock and a memory store implementation.
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Connections.Api</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides Activity Connection API endpoints</Description>
|
||||
<PackageTags>elsa module activity connection abstraction api</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Connections.Core</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides an connection framework to use connection abtraction in activities</Description>
|
||||
<PackageTags>elsa module connection abstratction</PackageTags>
|
||||
<RootNamespace>Elsa.Connections</RootNamespace>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Connections.Models</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides models that can be shared between the API and API clients</Description>
|
||||
<PackageTags>elsa module connections api</PackageTags>
|
||||
<RootNamespace>Elsa.Connections</RootNamespace>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Connections.Persistence.EntityFrameworkCore.Sqlite</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides an EF Core migrations for SQLite for the Connection Persistence module.</Description>
|
||||
<PackageTags>elsa module persistence efcore entity framework core sqlite</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Connections.Persistence.EntityFrameworkCore</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides an Entity Framework Core provider for the persistence layer of the Connection module</Description>
|
||||
<PackageTags>elsa connection persistence efcore entity framework core</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Connections.Persistence</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides Connections persistence services</Description>
|
||||
<PackageTags>elsa module connections persistence </PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Dapper.Migrations</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides Dapper migrations for Dapper perisstence providers from various modules.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Dapper</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides Dapper implementations of various persistence abstractions from various modules.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Dsl</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides a custom DSL to write workflows with in a syntax similar to JavaScript but with native keywords translating to workflow functionality.
|
||||
For example if/else would translate to the If activity. Very cool, but also very experimental ;)
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Elasticsearch</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides Elasticsearch implementation for workflow state persistence.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Email</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides a SendEmail activity that lets you send emails from a workflow.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.EntityFrameworkCore.Common</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides common Entity Framework Core types for implementing EF Core persistence of varipus ELsa modules.
|
||||
</Description>
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
|
||||
<PackageId>Caspian.Elsa.EntityFrameworkCore.MySql</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides MySQL EF Core migrations for various modules.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.EntityFrameworkCore.Oracle</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides Oracle EF Core migrations for various modules.
|
||||
</Description>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.EntityFrameworkCore.PostgreSql</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides PostgreSQL EF Core migrations for various modules.
|
||||
</Description>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.EntityFrameworkCore.SqlServer</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides SQL Server EF Core migrations for various modules.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.EntityFrameworkCore.Sqlite</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides SQLite EF Core migrations for various modules.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.EntityFrameworkCore</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.2</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides Entity Framework Core implementations of various abstractions from various modules.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Environments</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides API endpoints for client applications to enumerate available environments.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Expressions</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides infrastructure for registering and executing workflow expressions.
|
||||
Out of the box, it provides a DelegateExpression and LiteralExpression.
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.FileStorage</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides activities to save and load files to and from a confogurable storage provider.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Hangfire</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides Hangfire integration and an implementation of Elsa's IJobQueue implementation.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Hosting.Management</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides hosting management functionality.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Http</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides HTTP activities to listen for and send out HTTP requests.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.IO.Compression</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides compression and archiving activities for Elsa Workflows.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.IO.Http</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides http capabilities to IO modules in Elsa Workflows.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.IO</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides IO services for resolving various content types to streams.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Identity</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides a default identity solution.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.JavaScript.Libraries</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides the following JavaScript libraries for Elsa:
|
||||
- lodash
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.JavaScript</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides a JavaScript expression provider.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Kafka</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides Apache Kafka integration and activities.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.KeyValues</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides a store for holding key value records.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Labels</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides funtionality to tag workflows with labels and filter by them.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Liquid</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides a Liquid expression provider.
|
||||
</Description>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.MassTransit.AzureServiceBus</PackageId>
|
||||
<Company>Caspian.</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides integration of Azure Service Bus with MassTransit's integration of Elsa.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.MassTransit.RabbitMq</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides integration of RabbitMQ with MassTransit's integration of Elsa.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.MassTransit</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides integration with MassTransit and comes with a MassTransit implementation of Elsa's IServiceBus abstraction.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.MongoDb</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides MongoDB implementations of various abstractions from various modules.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.OpenTelemetry</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides OpenTelemetry sources for tracing workflow and activity execution.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.ProtoActor.Core</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides ProtoActor services to the system. Other modules can add actors to the ActorSystem.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Python</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides a Python expression provider.
|
||||
</Description>
|
||||
|
||||
+3
-3
@@ -4,9 +4,9 @@
|
||||
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
|
||||
<PackageId>Caspian.Elsa.Quartz.EntityFrameworkCore.MySql</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides EF Core migrations for Quartz.NET.
|
||||
</Description>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Quartz.EntityFrameworkCore.PostgreSql</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides EF Core migrations for Quartz.NET.
|
||||
</Description>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Quartz.EntityFrameworkCore.SqlServer</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides EF Core migrations for Quartz.NET.
|
||||
</Description>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Quartz.EntityFrameworkCore.Sqlite</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides EF Core migrations for Quartz.NET.
|
||||
</Description>
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
|
||||
<PackageId>Caspian.Elsa.Quartz</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides integration with the Quartz.NET library and provide am implementation of Elsa's IJobScheduler using Quartz.NET.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Resilience.Core</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides core services and types for implementing resilient services and activities.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Resilience</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides features and services for implementing resilient services and activities.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Retention</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides retention options for workflows.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.SasTokens</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides services to generate SAS tokens.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Scheduling</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides scheduling activities such as Timer, Delay and StartAt.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Secrets.Api</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides Secrets API endpoints</Description>
|
||||
<PackageTags>elsa module secrets api</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Secrets.Core</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides services to get secrets.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Secrets.Management</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides services to manage secrets.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Secrets.Models</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides models that can be shared between the API and API clients</Description>
|
||||
<PackageTags>elsa module secrets api</PackageTags>
|
||||
<RootNamespace>Elsa.Secrets</RootNamespace>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Secrets.Persistence.EntityFrameworkCore.PostgreSql</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides PostgreSql persistence for the Elsa Secrets module using Entity Framework Core.</Description>
|
||||
<PackageTags>elsa module secrets persistence efcore PostgreSql</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Secrets.Persistence.EntityFrameworkCore.SqlServer</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides SqlServer persistence for the Elsa Secrets module using Entity Framework Core.</Description>
|
||||
<PackageTags>elsa module secrets persistence efcore SqlServer</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Secrets.Persistence.EntityFrameworkCore.Sqlite</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides SQLite persistence for the Elsa Secrets module using Entity Framework Core.</Description>
|
||||
<PackageTags>elsa module secrets persistence efcore sqlite</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Secrets.Persistence.EntityFrameworkCore</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides an Entity Framework Core provider for the persistence layer of the Secrets module</Description>
|
||||
<PackageTags>elsa module security secrets persistence efcore entity framework core</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Secrets.Scripting</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>Provides scripting integration with various languages like JavaScript, C#, Python and Liquid.</Description>
|
||||
<PackageTags>elsa module secrets scripting</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Sql.MySql</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides client implementations for interacting with MySql databases.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Sql.PostgreSql</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides client implementations for interacting with PostgreSql databases.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Sql.SqlServer</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides client implementations for interacting with Microsoft SQL Server databases.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Sql.Sqlite</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides client implementations for interacting with Sqlite databases.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Sql</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides activities to interact with sql databases.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Tenants.AspNetCore</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides multitenancy middleware
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Tenants</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides multitenancy services.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Webhooks</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides a way to register webhook endpoints that should be invoked when certain event occur.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.WorkflowContexts</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides workflow context APIs to Elsa workflows.
|
||||
</Description>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.WorkflowProviders.BlobStorage</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides a workflow definition provider that loads workflow definitions from files.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Workflows.Api</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides API endpoints for client applications such as the Elsa Designer web component.
|
||||
</Description>
|
||||
|
||||
@@ -0,0 +1,175 @@
|
||||
using System.Collections;
|
||||
using System.Text.Json;
|
||||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Attributes;
|
||||
using Elsa.Workflows.Models;
|
||||
|
||||
namespace YourNamespace.Activities;
|
||||
|
||||
[Activity(
|
||||
Category = "Workflow",
|
||||
DisplayName = "Append To InquiryResult",
|
||||
Description = "Appends an item to WorkflowStash.InquiryResult (supports JsonElement after persistence)."
|
||||
)]
|
||||
public class AppendToInquiryResult : Activity
|
||||
{
|
||||
[Input(Description = "The workflow stash object. (Typically variables.WorkflowStash)")]
|
||||
public Input<object?> WorkflowStash { get; set; } = default!;
|
||||
|
||||
[Input(Description = "The item to append. (Typically variables.CurrentPageData.InquiryItem)")]
|
||||
public Input<object?> Item { get; set; } = default!;
|
||||
|
||||
[Output(Description = "Updated stash object.")]
|
||||
public Output<object?> Result { get; set; } = default!;
|
||||
|
||||
protected override async ValueTask ExecuteAsync(ActivityExecutionContext context)
|
||||
{
|
||||
var stashObj = context.Get(WorkflowStash);
|
||||
var itemObj = context.Get(Item);
|
||||
|
||||
// اگر item نداریم، همون stash رو برگردون
|
||||
if (itemObj is null)
|
||||
{
|
||||
context.Set(Result, stashObj);
|
||||
await context.CompleteActivityAsync();
|
||||
return;
|
||||
}
|
||||
|
||||
// 1) stash را به Dictionary نرمال کن
|
||||
var stash = NormalizeToDictionary(stashObj) ?? new Dictionary<string, object?>();
|
||||
|
||||
// 2) InquiryResult را به List<object?> نرمال کن
|
||||
stash.TryGetValue("InquiryResult", out var existing);
|
||||
var list = NormalizeToList(existing);
|
||||
|
||||
// 3) item را هم نرمال کن (اگر JsonElement بود تبدیل شود)
|
||||
var item = NormalizeValue(itemObj);
|
||||
|
||||
// 4) append
|
||||
list.Add(item);
|
||||
|
||||
// 5) ذخیره در stash
|
||||
stash["InquiryResult"] = list;
|
||||
|
||||
// 6) خروجی
|
||||
context.Set(Result, stash);
|
||||
await context.CompleteActivityAsync();
|
||||
}
|
||||
|
||||
// ---------------- Helpers ----------------
|
||||
|
||||
private static Dictionary<string, object?>? NormalizeToDictionary(object? value)
|
||||
{
|
||||
if (value is null) return null;
|
||||
|
||||
// After persistence most likely JsonElement
|
||||
if (value is JsonElement je)
|
||||
{
|
||||
var obj = JsonElementToObject(je);
|
||||
return obj as Dictionary<string, object?>;
|
||||
}
|
||||
|
||||
if (value is Dictionary<string, object?> dict)
|
||||
return dict;
|
||||
|
||||
if (value is IDictionary idict)
|
||||
{
|
||||
var dict2 = new Dictionary<string, object?>();
|
||||
foreach (DictionaryEntry entry in idict)
|
||||
dict2[entry.Key?.ToString() ?? string.Empty] = entry.Value;
|
||||
return dict2;
|
||||
}
|
||||
|
||||
// fallback: try serialize to JsonElement then convert
|
||||
try
|
||||
{
|
||||
var elem = JsonSerializer.SerializeToElement(value);
|
||||
var obj = JsonElementToObject(elem);
|
||||
return obj as Dictionary<string, object?>;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private static List<object?> NormalizeToList(object? value)
|
||||
{
|
||||
if (value is null)
|
||||
return new List<object?>();
|
||||
|
||||
if (value is JsonElement je)
|
||||
value = JsonElementToObject(je);
|
||||
|
||||
if (value is List<object?> list)
|
||||
return list;
|
||||
|
||||
if (value is IList ilist)
|
||||
{
|
||||
var newList = new List<object?>(ilist.Count);
|
||||
foreach (var x in ilist)
|
||||
newList.Add(NormalizeValue(x));
|
||||
return newList;
|
||||
}
|
||||
|
||||
if (value is IEnumerable enumerable && value is not string)
|
||||
{
|
||||
var newList = new List<object?>();
|
||||
foreach (var x in enumerable)
|
||||
newList.Add(NormalizeValue(x));
|
||||
return newList;
|
||||
}
|
||||
|
||||
// اگر یک مقدار تکی بود
|
||||
return new List<object?> { NormalizeValue(value) };
|
||||
}
|
||||
|
||||
private static object? NormalizeValue(object? value)
|
||||
{
|
||||
if (value is null) return null;
|
||||
if (value is JsonElement je) return JsonElementToObject(je);
|
||||
return value;
|
||||
}
|
||||
|
||||
private static object? JsonElementToObject(JsonElement element)
|
||||
{
|
||||
switch (element.ValueKind)
|
||||
{
|
||||
case JsonValueKind.Object:
|
||||
{
|
||||
var dict = new Dictionary<string, object?>();
|
||||
foreach (var prop in element.EnumerateObject())
|
||||
dict[prop.Name] = JsonElementToObject(prop.Value);
|
||||
return dict;
|
||||
}
|
||||
|
||||
case JsonValueKind.Array:
|
||||
{
|
||||
var list = new List<object?>(element.GetArrayLength());
|
||||
foreach (var el in element.EnumerateArray())
|
||||
list.Add(JsonElementToObject(el));
|
||||
return list;
|
||||
}
|
||||
|
||||
case JsonValueKind.String:
|
||||
return element.GetString();
|
||||
|
||||
case JsonValueKind.Number:
|
||||
if (element.TryGetInt32(out var i32)) return i32;
|
||||
if (element.TryGetInt64(out var i64)) return i64;
|
||||
if (element.TryGetDecimal(out var dec)) return dec;
|
||||
return element.GetDouble();
|
||||
|
||||
case JsonValueKind.True:
|
||||
return true;
|
||||
|
||||
case JsonValueKind.False:
|
||||
return false;
|
||||
|
||||
case JsonValueKind.Null:
|
||||
case JsonValueKind.Undefined:
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Workflows.Core</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<RootNamespace>Elsa.Workflows</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Workflows.Management</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides workflow management functionality.
|
||||
</Description>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Workflows.Runtime.Distributed</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides distributed workflow runtime functionality.
|
||||
</Description>
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Workflows.Runtime.ProtoActor</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides a workflow runtime using ProtoActor and its out-of-the-box memory provider.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa.Workflows.Runtime</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Provides workflow runtime functionality.
|
||||
</Description>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<PropertyGroup>
|
||||
<PackageId>Caspian.Elsa</PackageId>
|
||||
<Company>Caspian</Company>
|
||||
<Authors>Digital banking team</Authors>
|
||||
<Version>1.1.0-preview.1</Version>
|
||||
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
|
||||
<Authors>Behzad Alizadeh</Authors>
|
||||
<Version>1.1.0-preview.4</Version>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<Description>
|
||||
Bundles the most commonly-used packages when building an Elsa workflows application.
|
||||
</Description>
|
||||
|
||||
Reference in New Issue
Block a user