Commit graph

854 commits

Author SHA1 Message Date
Sipke Schoorstra 1afe3a62a0 Incremental work on modular configuration 2022-05-03 11:44:44 +02:00
Sipke Schoorstra 563f3aebcd Refactor workflow model 2022-05-03 09:46:27 +02:00
Sipke Schoorstra a44ceaeb55
Implement V3 stores (#2980)
* Implement IWorkflowInstanceStore

* Implement IWorkflowDefinitionStore

* Implement IWorkflowTriggerStore

* Implement IWorkflowBookmarkStore

* Implement IWorkflowExecutonLogStore

* Restructure folders

* Persist workflow instance status timestamps
2022-04-30 15:10:11 +02:00
Sipke Schoorstra 261c9cb1a5
Implement Default Workflow Invoker (#2979)
* Implement default invoker

* Proto actor improvements

* Refactor workflow registry handling

* Update migrations
2022-04-30 11:10:08 +02:00
Sipke Schoorstra 0deed69541 Remove SQL server as required dependency 2022-04-29 12:36:36 +02:00
Sipke Schoorstra fac5952ad7 Update Flowchart.cs 2022-04-27 22:39:54 +02:00
Sipke Schoorstra 0729cb2762 Type name imrovements 2022-04-27 22:32:40 +02:00
Sipke Schoorstra 556ab9c26c Rename HttpBookmarkData to HttpEndpointBookmarkData 2022-04-27 22:30:52 +02:00
Sipke Schoorstra 5d5cb8ed68 Update HTTP module with route data support 2022-04-27 20:29:09 +02:00
Sipke Schoorstra 35e39193b7 Fix category names 2022-04-27 19:52:58 +02:00
Sipke Schoorstra 57230948c2
V3 StartAt Activity (#2969)
* Rename RunAt -> StartAt

* Update migrations

* Update Timer.cs

* Update schedulers

* Add samples
2022-04-27 12:07:23 +02:00
Sipke Schoorstra c04f7c996f Refactor contracts/services/implementations namespaces 2022-04-25 11:43:23 +02:00
Sipke Schoorstra dbd682eacb Add ability to control when to evaluate input 2022-04-24 22:26:33 +02:00
Sipke Schoorstra 4849db8a05 Fix activities namespace 2022-04-20 21:06:39 +02:00
Sipke Schoorstra 4ff2c228c4 Rename PostActivity to ScheduleActivity 2022-04-20 11:34:46 +02:00
Sipke Schoorstra e8ba302500 Incremental work on tests 2022-04-12 15:55:35 +02:00
Sipke Schoorstra 3120429f89 Incremental work on correlation 2022-04-11 14:19:55 +02:00
Sipke Schoorstra 78a799edb9 Incremental work on proto actor and service bus 2022-04-10 14:35:53 +02:00
Sipke Schoorstra 60e292fac6 Serialization improvements 2022-04-09 22:15:48 +02:00
Sipke Schoorstra 120f7a0341 Upgrade package references 2022-04-09 12:14:53 +02:00
Sipke Schoorstra 3582c8a71c Update workflow context middleware to resolve providers from child container scope 2022-04-07 22:15:14 +02:00
Sipke Schoorstra 0184d1af07 Store contexts by context object instead of type 2022-04-07 22:14:44 +02:00
Sipke Schoorstra 963c584564 Add XML comments 2022-04-07 22:14:12 +02:00
Sipke Schoorstra 0c9674fc6d Refactor use of readonly dictionary to dictionary 2022-04-07 13:06:16 +02:00
Sipke Schoorstra 7f3d989911 Update HttpEndpoint.cs 2022-04-07 12:51:08 +02:00
Sipke Schoorstra 5d8d77deea Refactor output capture API 2022-04-07 12:44:12 +02:00
Sipke Schoorstra e7c36ed7ff Update AzureServiceBus module 2022-04-07 11:22:44 +02:00
Sipke Schoorstra 3ea887fa83 Update HttpEndpoint.cs 2022-04-04 16:00:10 +02:00
Sipke Schoorstra b9f0521077 Update QueueDefinition.cs 2022-04-04 16:00:07 +02:00
Sipke Schoorstra 536f50858b Update HttpEndpoint.cs 2022-03-29 20:56:33 +02:00
Sipke Schoorstra 488ea1ef98 Scaffold new activities 2022-03-28 22:12:16 +02:00
Sipke Schoorstra c13825a930 Fix metadata and serialization 2022-03-24 12:56:31 +01:00
Sipke Schoorstra c74b105e19 Move Timer to Activities namespace 2022-03-24 12:29:39 +01:00
Sipke Schoorstra a6e288fdd7 Update namespaces and decorate activities with attributes 2022-03-24 12:18:14 +01:00
Sipke Schoorstra b23ebdaddd Restructuring 2022-03-22 14:33:15 +01:00
Sipke Schoorstra 1d1218b5a7 Update MessageReceived.cs 2022-03-21 20:32:52 +01:00
Sipke Schoorstra fee275ab26 Fix naming of cancellation token 2022-03-21 19:29:49 +01:00
Sipke Schoorstra 4b9907b049 Implement Hangfire proxy job 2022-03-21 11:41:27 +01:00
Sipke Schoorstra 0a5987eba8 Incremental work on Hangfire job provider 2022-03-15 13:20:06 +01:00
Sipke Schoorstra 1c47d4b80d Remove & merge Node base type 2022-03-15 13:01:10 +01:00
Sipke Schoorstra 059356029d Refactor Jobs API 2022-03-15 13:00:48 +01:00
Sipke Schoorstra 87f836b0e3 Port HTTP endpoint handlers for auth and faults 2022-03-10 00:19:00 +01:00
Sipke Schoorstra 63ffacbb71 Various API enhancements 2022-03-09 19:48:44 +01:00
Sipke Schoorstra a9fbb57a09 Various API enhancements 2022-03-09 13:53:34 +01:00
Sipke Schoorstra 4f3a3de208 Various API enhancements 2022-03-08 22:41:12 +01:00
Sipke Schoorstra f651c74f44 Update WorkflowExtensions.cs 2022-03-08 19:48:22 +01:00
Sipke Schoorstra c33549c291 Add WorkflowContexts module 2022-03-08 14:40:47 +01:00
Sipke Schoorstra fc5f14a18e Refactor Quartz module and add Hangfire provider for JobQueue service 2022-03-08 12:59:35 +01:00
Sipke Schoorstra f5aeaf9120 Various refactorings 2022-03-07 22:56:16 +01:00
Sipke Schoorstra 9210a75553 Add RunJavaScript activity 2022-03-07 15:42:12 +01:00
Sipke Schoorstra e9af7d78c1 Update HttpEndpoint.cs 2022-03-07 15:41:53 +01:00
Sipke Schoorstra 3f8c55fffd Update SendMessage.cs 2022-03-07 15:41:49 +01:00
Sipke Schoorstra a343a2b1fc Update MessageReceived.cs 2022-03-07 15:41:45 +01:00
Sipke Schoorstra 6558417777 Update HttpRequestModel.cs 2022-03-07 15:10:54 +01:00
Sipke Schoorstra 41a4add6d8 Fix Azure Service Bus worker processor creation 2022-03-07 15:10:50 +01:00
Sipke Schoorstra 6597f16a8d Add support for object hashes as input 2022-03-07 15:10:33 +01:00
Sipke Schoorstra 5b7bc894f0 Update HttpEndpoint to not block when input is received 2022-03-07 15:08:01 +01:00
Sipke Schoorstra 3160ccb6ae Update MessageReceived.cs 2022-03-07 15:05:14 +01:00
Sipke Schoorstra 6b7caddca8 Refactor triggers 2022-03-07 12:01:27 +01:00
Sipke Schoorstra 161a70e429 Remove Trigger separation 2022-03-04 21:42:27 +01:00
Sipke Schoorstra c600399f0d Refactorings 2022-03-04 19:59:44 +01:00
Sipke Schoorstra 4acb8689c3 Allow accessing null inputs 2022-03-04 12:13:55 +01:00
Sipke Schoorstra 9244ab6c21 Implement Azure Service Bus worker management based on bookmark & trigger indexing events 2022-03-04 12:09:08 +01:00
Sipke Schoorstra 0d06ae1823 Incremental work on Azure Service Bus 2022-02-22 12:51:59 +01:00
Sipke Schoorstra 88609d5a62 Incremental work on Azure Service Bus module 2022-02-21 16:13:55 +01:00
Sipke Schoorstra 34f851d8c7 Refactor module structure 2022-02-01 20:45:11 +01:00
Sipke Schoorstra bc31319f2a Implement delay activity resumption of bookmarks 2022-01-18 20:28:48 +01:00
Sipke Schoorstra 6e969bfa5f Split scheduling activities into scheduling library and activity library 2022-01-18 12:39:05 +01:00
Sipke Schoorstra dcd70aa192 Implement timer trigger scheduling 2022-01-18 11:23:58 +01:00
Sipke Schoorstra 783f05ffdc Incremental work on timers and trigger & bookmark indexing 2022-01-17 22:44:41 +01:00
Sipke Schoorstra 00d8f32b3e Initial working version of Timer as trigger 2022-01-14 22:39:36 +01:00
Sipke Schoorstra 128085c676 Incremental work on timers 2022-01-14 13:54:17 +01:00
Sipke Schoorstra 1949221b23 Incremental work on scheduling activities 2022-01-13 22:38:01 +01:00
Sipke Schoorstra 42ce946d64 Reset 2022-01-04 09:38:11 +01:00
Sipke Schoorstra 5c7d0617d5 Fix projects and weavers 2021-12-28 11:53:06 +01:00
Sipke Schoorstra 7ba496acbb Maybe fix fody 2021-12-26 23:10:33 +01:00
Yopi Cahya 4933a2e81e
Upgrade all projects to .NET6.0 (#2616)
* Upgrade all projects to .NET6.0

* Add compatibility NET5.0

* Add compatibility NET Core 3.1

* Update appveyor.yml

* Update packages

* Update src/activities/Elsa.Activities.Http/Elsa.Activities.Http.csproj

Remove common Authorization package

* Update src/activities/Elsa.Activities.Http/Elsa.Activities.Http.csproj

reimplement fix for #1568

* reimplement fix for #1611

* add missing .netcoreapp3.1 references to persistence packages

* fix Jint reference

* change samples and tests to target .NET 6

* cleanup multi-targeting conditions in samples/tests

* revert Elsa and Elsa.Temporal.Common to .netstandard2.1 only

* Update docker files to use net6.0 SDK

* Fix docker poor performance on arm64

* Update Elsa.sln

* Update Elsa.Activities.RabbitMq.csproj

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Co-authored-by: Mohamed Ali <antivirus.cs@gmail.com>
2021-12-26 22:31:35 +01:00
Mohamed Ali 6185718c34
Fix Nuget Symbols (#2633) 2021-12-25 20:18:10 +01:00
Sipke Schoorstra ee6296d930 Revert file-scoped namespace 2021-12-20 17:24:24 +01:00
Sipke Schoorstra 56f70ea9e2 Add server features API
Closes #2588
2021-12-20 16:33:07 +01:00
Konstantins Vedenins 834475cfca
moved workflowtesting module into folder, fixed number of warnings (#2603) 2021-12-20 10:21:34 +01:00
Konstantins Vedenins f8c174df14
Closes #1660: Added RabbitMQ activities (#2547)
* Added RabbitMQ activities

* Added RabbitMQ activities

* RabbitMQ: cleaned up & refactored, added sample project

* reverted change that re-written other update during conflict resolve

* removed queue listener toggle for RabbitMQ receiver, refactored workers
2021-12-16 14:33:03 +01:00
Martin b44a5e0a52 fixed Elsa.WorkflowTesting.Api 2021-12-10 18:39:00 +01:00
Martin 044031f17e fixed build error
removed ImplicitUsings and added missing usings
2021-12-10 18:25:43 +01:00
Sipke Schoorstra 1214d03876 Move workflow testing code into module 2021-12-10 16:34:05 +01:00
andrewkorol cc7acb1790
added test utl path with no changes per execute (#2555) 2021-12-03 15:56:47 +01:00
Konstantins Vedenins 621f0ccf2e
Closes #676: Execute single activity (#2438)
* #676 added restartFromActivity server implementation

* #676: restart from activity - added client side implementation

* #676: renamed method to better reflect it's purpose

* #676: moved workflow test activity message status to enum

* #676: when workflow is executed, first activity is selected

* #676: moved workflow testing to a separate module

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2021-11-19 20:54:49 +01:00
Sipke Schoorstra 844ada9a67 Fix CleanupService
Fixes that the lock handle wasn't actually used
2021-11-04 11:40:28 +01:00
Sipke Schoorstra 369ebb6db3 Ensure CleanupService executes on one node at a time. 2021-11-04 00:33:10 +01:00
Sipke Schoorstra f475790c30 Make CleanupService resilient against exceptions
This ensures the background task keeps running even when a cleanup attempt fails due to e.g. DB timeout exceptions.
2021-11-03 19:31:34 +01:00
Sipke Schoorstra 6ff2d69cb2 Fix cleanup service
Fixes the issue where the job would run only once, instead of peridiocally.
2021-10-29 14:58:43 +02:00
Sipke Schoorstra fb0e3bd048 Update Pomelo.EntityFrameworkCore.MySql to 5.0.2
Fixes #1627
2021-10-12 16:59:38 +02:00
Sipke Schoorstra 7027d5fa39 Update cleanup job to include only finished workflows 2021-09-27 15:46:42 +02:00
Sipke Schoorstra 045aca9a92 Create FodyWeavers.xml 2021-09-27 15:24:18 +02:00
Sipke Schoorstra aed1d8eda8 Move retention module 2021-09-27 15:24:14 +02:00
Sipke Schoorstra c7e3f9fc06 Update Elsa.Retention package metadata 2021-09-27 15:21:28 +02:00
Sipke Schoorstra f15f14b240
Implement cleanup service (#1580) 2021-09-27 13:55:24 +02:00
Sipke Schoorstra 8cd82b5a3c Workflow Settings cleanup 2021-09-20 16:32:48 +02:00
Sipke Schoorstra 142b574481 Update packages 2021-09-16 20:25:38 +02:00
Sipke Schoorstra 6352372179 Update package references 2021-09-14 16:09:59 +02:00
Sipke Schoorstra e6f55bd579 Update EF and Fody packages 2021-09-10 14:37:35 +02:00
Sipke Schoorstra 6ea04895a4 Merge Abstractions into WorkflowSettings 2021-09-02 16:33:49 +02:00
Sipke Schoorstra a20fba7253 Fix namespaces 2021-09-02 16:26:40 +02:00
Andrey Mishurinsky ef37f87514
Disable workflow (#1336)
* Publish/Subscribe events added to WorkflowSettings and WorkflowRegistry

* Workflow Registry re-indexed and cache refreshed on workflow disable/enable

* IsDisabled property added to WorkflowBlueprintSummary to display disabled status in the UI

* MySql, PostgreSql and SqlServer persistence added to Workflow Settings

* Validation for disabled workflow in Workflow Resumer

* WorkflowSettings configuration added to the appsettings.json

* Workflow Settings added to Elsa.Server.Host startup collection

* IWorkflowSettingsProvider implemented

* Update README.md

* Elsa-Workflow-Settings and Elsa-Webhooks separate modules added and decoupled from Elsa Web

* Delete unused Client projects

* LoadWorkflowSettingsDisabledHandler changes

* FeatureProvider removed, Webhooks plugin merged to Webhooks Feature Plugin

* Update Webhooks and Settings plugin

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2021-09-02 16:20:10 +02:00