Commit graph

772 commits

Author SHA1 Message Date
Sipke Schoorstra 9bfe7d474a Fix queue worker workflow selector predicate 2021-01-09 12:51:00 +01:00
Sipke Schoorstra f98d31842e Fix workflow builder extensions return type 2021-01-09 12:02:28 +01:00
Sipke Schoorstra dd72ba3f14 Fix StartAt issue 2021-01-08 22:09:52 +01:00
Sipke Schoorstra 409bf36e7e Release distributed lock 2021-01-08 22:00:44 +01:00
Sipke Schoorstra 0f8d6b6442 Fix Elsa.sln 2021-01-08 18:07:19 +01:00
Sipke Schoorstra e3e0257455 Make activity output persistence opt-in 2021-01-08 17:59:43 +01:00
Sipke Schoorstra 3cfc2ad665 Remove unused namespaces 2021-01-08 17:40:32 +01:00
Sipke Schoorstra 509e7c2119 Minor changes 2021-01-08 17:40:05 +01:00
Rafael Carnucci 19ccb24bab
Indexing (#554)
* Add indexing + Elasticsearch provider

Co-authored-by: Rafael Carnucci <rafael.carnucci@icn.de>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2021-01-08 15:11:52 +01:00
Sipke Schoorstra 199ea6abaf
Fix memory stores + Join activity (#561)
* Fix in-memory storage
* Fix broken Join activity
* Fixes #528
2021-01-08 15:02:41 +01:00
Sipke Schoorstra 17985aa1ae Update EntityChanged sample 2021-01-08 11:40:07 +01:00
Sipke Schoorstra e53ce3478a Update EntityChanged sample 2021-01-08 11:38:29 +01:00
Sipke Schoorstra 502850889d Update Hangfire job 2021-01-08 11:34:10 +01:00
Sipke Schoorstra 9e63d9ad69
Distributed workflow execution support (#559)
* Incremental work on workflow message queuing

* Add extension to register message consumers

* Update Rebus logging to use Microsoft Extensions Logging

* Synchronize quartz job and run instance consumer with distributed locking

* Add service bus options
2021-01-08 11:14:00 +01:00
Sipke Schoorstra a471cea34a Add weavers 2021-01-07 13:02:04 +01:00
Sipke Schoorstra 83242ddecd
EF Core Persistence Provider (#557)
* Add EF Core persistence provider

* Add EF Core migration runner

* Fix potential duplicate queue registrations

* Update EF Core projects
2021-01-07 13:01:19 +01:00
Sipke Schoorstra 0a118b191b Cleanup csproj 2021-01-07 08:24:01 +01:00
Sipke Schoorstra f456d4ec3e Use DateTime instead of DateTimeOffset due to YesSql bug
See: https://github.com/sebastienros/yessql/issues/325
2021-01-05 14:09:23 +01:00
Sipke Schoorstra 9b76904099 Optimize activity data storage 2021-01-05 12:17:00 +01:00
Sipke Schoorstra 1d5391ca31 Perf measurements and some modest perf improvements 2021-01-04 22:18:52 +01:00
Sipke Schoorstra 459a0f3d63 Add big tailwind.css (temp) 2021-01-04 17:47:01 +01:00
Sipke Schoorstra 42e5b3d31f Fix CompositeActivity handling of child output 2021-01-04 16:37:13 +01:00
Rafael Carnucci 720ad7fe6c
edit contributing.md (#549)
Co-authored-by: Rafael Carnucci <rafael.carnucci@icn.de>
2021-01-04 10:49:58 +01:00
Sipke Schoorstra 3853df2572 Fix Sleep base constructor 2021-01-03 19:24:18 +01:00
Sipke Schoorstra 8ece1dc9ff Fix premature disposal of workflow execution scope 2021-01-03 19:23:59 +01:00
Sipke Schoorstra c8ec51b332 Fix logging statement 2021-01-03 19:23:35 +01:00
Sipke Schoorstra 1401ba72d2 Prevent duplicate activity ids when using custom ids in composite activities 2021-01-03 19:22:45 +01:00
Sipke Schoorstra 020e74e7bc Use shared Iterate outcome const 2021-01-03 19:22:17 +01:00
Sipke Schoorstra 96464c988c Update ScheduleWorkflowResult to schedule job AFTER workflow is suspended 2021-01-03 19:21:50 +01:00
Sipke Schoorstra 4a3ac3d3aa Add Tasks feature
This features allows arbitrary code to add tasks to a registry that can be executed later on.
See scheduling as an example.
2021-01-03 19:20:44 +01:00
Sipke Schoorstra 1aee05d82f Add logging to Timer 2021-01-03 19:19:03 +01:00
Sipke Schoorstra 4ce94ee01a Implement BackgroundWorker thread synchronization 2021-01-03 19:18:50 +01:00
Sipke Schoorstra 9c1515bdb6 Rename Outcome property on Finish activity 2021-01-03 12:21:39 +01:00
Sipke Schoorstra 67be790c7d Fix access to container properties and improve object type conversion 2021-01-03 11:06:11 +01:00
Sipke Schoorstra f14c22d5d4 Improve interaction between Finish and composite activities
This update enabled activities within composite activity containers to control the outcome of the container
2021-01-02 15:39:38 +01:00
Sipke Schoorstra 7c2e9f9342 Unschedule triggers when blocking timers are removed 2021-01-02 13:51:53 +01:00
Sipke Schoorstra 34983144c3 Optimize synchronized workflow instance execution in parallel 2021-01-02 12:57:27 +01:00
Sipke Schoorstra 717ced918f Update Finish activity to only clear blocking activities of current container unless it's the root workflow, in which case ALL blocking activities are removed 2021-01-02 11:22:42 +01:00
Sipke Schoorstra c645e77e14 Extract re-scheduling logic to event handler 2021-01-02 11:05:01 +01:00
Sipke Schoorstra c8297e61a8 Remove ParentActivities properties 2021-01-01 18:01:03 +01:00
Sipke Schoorstra dcbf14c144 Fix and simplify composite activity + while/for/foreach handling 2021-01-01 17:58:08 +01:00
Sipke Schoorstra 10fe049c10 Experimental bug fixes regarding timer & container scheduling 2020-12-31 17:24:55 +01:00
Sipke Schoorstra 90480669ee Update YesSQL content serializer to exclude fields with null values 2020-12-30 19:20:17 +01:00
Sipke Schoorstra 8ad256b6b7 Add support for Transient Variables 2020-12-30 16:53:05 +01:00
Sipke Schoorstra 356e0ba0ba Update Azure Service Bus queue worker to schedule workflow execution in the background
This to prevent scenarios where workflows take a long time to execute and the message gets re-delivered.
This change ACKS the message right after the workflow task has been queued internally.
2020-12-30 12:02:13 +01:00
Sipke Schoorstra a0c9f16aae Add generic BackgroundWorker for running tasks asynchronously in the background 2020-12-30 12:00:53 +01:00
Sipke Schoorstra 705979f94e Merge branch 'feature/elsa-2.0' into elsa-2.0/activity-property-editor 2020-12-29 16:41:20 +01:00
Sipke Schoorstra 993e08ea89
Refactored Switch Activity (#545)
* Add IfThen activity + sample

* Add match mode

* Rename IfThen to Switch
2020-12-29 16:40:21 +01:00
Sipke Schoorstra 3eb89f3e5d Extract workflow designer capabilities to designer host 2020-12-29 15:27:54 +01:00
Sipke Schoorstra 460c75227d Implement delete workflow definition 2020-12-28 17:34:44 +01:00