Commit graph

846 commits

Author SHA1 Message Date
Sipke Schoorstra 59cdcdad6c Log inner exceptions 2021-02-01 16:14:45 +01:00
Sipke Schoorstra d0523439ad Fix WorkflowInstanceDocument mapping issue and use SimpleStack 2021-02-01 16:14:32 +01:00
Sipke Schoorstra 2f29dc379c Upgrade to .NET Standard 2.1 2021-01-31 18:44:57 +01:00
Sipke Schoorstra 913c2a68bc Update sample 2021-01-31 12:51:51 +01:00
Sipke Schoorstra 7a68bb920e Add convenient Sqlite extension with useful defaults 2021-01-31 12:51:40 +01:00
Sipke Schoorstra e6a68a0476 Fix EF core store
Entities were no longer updated due to the new short-lived DbContext approach
2021-01-31 12:51:05 +01:00
Sipke Schoorstra f5cc185f70 Cleanup 2021-01-31 12:49:34 +01:00
Sipke Schoorstra 2c7b20846a Fix Stack serialization 2021-01-31 12:49:06 +01:00
Sipke Schoorstra ab651856ea Allow WriteHttpResponse to function even when running in the background outside of a real HTTP context 2021-01-31 11:53:38 +01:00
Sipke Schoorstra 2b88208ff6 Configure Rebus serialization and centralize common rebus config 2021-01-30 20:39:08 +01:00
Sipke Schoorstra 672959530f Update workflow reviver to persist refurbished workflow instance 2021-01-30 20:38:38 +01:00
Sipke Schoorstra 420e2e65c5 Add caching layer to WorkflowRegistry 2021-01-30 20:11:08 +01:00
Sipke Schoorstra 386879781d Add AddActivitiesFrom overloads 2021-01-30 14:43:32 +01:00
Sipke Schoorstra 0bb95ec06f Update RunWorkflow activity to return Done if child workflow finished synchronously 2021-01-30 14:43:18 +01:00
Sipke Schoorstra 7cfe24ba94
Implement revival of faulted workflow (#595)
* Initial version of workflow reviver

* Fix DI things

* Rename workflow builder parameter to `builder`

* Update EF Core stores to use short-lived db contexts

* Update serializer to use new settings to reset ID seed

* Write fault details

* Add faulty workflows sample project

* Switch to free & open source Z.EntityFramework.Plus.EFCore

* Add content type header

* Fix call to virtual OnSaving/OnLoading

* Fix retry
2021-01-30 12:47:50 +01:00
Sipke Schoorstra 59189bd330
Revise trigger API (#593)
* Update triggers

* Fix service registrations

* Add support for startup task ordering

* Add missing Rebus Activities project

* Handle indexing of many workflow instances

* Update sample

* Separate bookmarks from start triggers

* Add trigger API

* Fix queue worker

* Delete sqlite temp files
2021-01-29 16:16:45 +01:00
Sipke Schoorstra 2172b029c9 Fix warning 2021-01-28 14:35:11 +01:00
Sipke Schoorstra 9a784f9a8e Fix compilation error 2021-01-28 14:34:40 +01:00
Sipke Schoorstra 6954152993 Fix lifetime scope issue in QueueWorker 2021-01-28 14:22:45 +01:00
Sipke Schoorstra a60b973a06 Add support for ordered startup tasks 2021-01-28 14:13:31 +01:00
Sipke Schoorstra 343b182ba0 Use CommandSender instead of EventPublisher 2021-01-28 09:30:52 +01:00
Sipke Schoorstra c9c29c2052 Defer RunWorkflowInstance messages when unable to acquire lock on workflow instance 2021-01-28 09:30:29 +01:00
Sipke Schoorstra 3cc80939c0 Add GetInput/GetOutput overloads accepting default value 2021-01-28 09:29:46 +01:00
Sipke Schoorstra 17e7fe9251 Remove period from log statement 2021-01-28 09:29:16 +01:00
Sipke Schoorstra d593194457 Add Defer method to CommandSender 2021-01-28 09:28:45 +01:00
Sipke Schoorstra f6c58a9b6c Improved logging and ElsaContext cleanup 2021-01-27 11:53:51 +01:00
Sipke Schoorstra 3834c3cc9e
Fix Join ancestor order bug and add Resuming event to execution log (#591)
* More logging events

* Add Resuming event to log

* Fix Join ancestor order bug
2021-01-27 10:03:03 +01:00
Sipke Schoorstra 0e78b98c2a
Add event to preempt workflow/activity execution (#589) 2021-01-25 15:53:49 +01:00
Sipke Schoorstra e0238982c3 Expose Azure Service Bus transport settings 2021-01-25 12:45:35 +01:00
Sipke Schoorstra a5c6824023 Make Azure Service Bus queue worker parallelism configurable 2021-01-25 12:29:10 +01:00
Sipke Schoorstra 258178163c Update SqlLockProvider to not block by using concurrent dictionary 2021-01-22 15:26:56 +01:00
Sipke Schoorstra f6cb6cc055 Reorder startup tasks 2021-01-22 14:58:58 +01:00
Sipke Schoorstra 0a11cced56 Set peek lock 2021-01-21 20:13:02 +01:00
Sipke Schoorstra c4fc9bdfc1 Increase TTL 2021-01-21 19:30:28 +01:00
Sipke Schoorstra 25cf309cba Update RunWorkflowDefinitionConsumer to avoid creating multiple workflows with same correlation 2021-01-21 19:30:13 +01:00
Sipke Schoorstra 4936eda340 Decrease queue worker parallelism and expose triggers 2021-01-21 17:27:42 +01:00
Sipke Schoorstra 64c5f681eb Fix re-scheduling issue with Azure Service Bus messages as input 2021-01-21 15:31:44 +01:00
Sipke Schoorstra e6f42aca8f Update packages 2021-01-21 12:45:10 +01:00
Sipke Schoorstra 1316188d82 Add missing line number and source file arguments for inline activities 2021-01-21 12:11:54 +01:00
Sipke Schoorstra e39d5cdb68 Ensure workflow instance locking when receiving Azure Service Bus messages 2021-01-21 12:11:25 +01:00
Sipke Schoorstra 2a64cc1473 Add continue running workflow startup task 2021-01-19 20:17:14 +01:00
Sipke Schoorstra 860c045e6f Remove unused namespaces 2021-01-19 18:20:05 +01:00
Sipke Schoorstra 2a6d8f9bfe Synchronize Azure Service Bus queue worker based on correlation ID to prevent multiple workflow instances with same correlation ID 2021-01-19 18:19:36 +01:00
Sipke Schoorstra f57b834d36 Fix Azure Service Bus queue worker
This fixes an issue with message / workflow correlation.
2021-01-18 19:52:02 +01:00
Sipke Schoorstra 254ec93263
Fix issues with workflow builder API and Join cleanup of scopes (#577)
* Fixed unique key violation

* Fix builder, descoping from join (loops + ifelse)

* Cleanup Join
2021-01-17 11:55:00 +01:00
Sipke Schoorstra 4ef40c3a4d Update StartAt 2021-01-16 18:50:47 +01:00
Sipke Schoorstra d3196eea22 Cleanup 2021-01-16 12:52:08 +01:00
Sipke Schoorstra 4ebd41cc21 Fix Azure Service Bus queue worker trigger 2021-01-16 12:47:04 +01:00
Sipke Schoorstra 279cb1b08d Fix service bus synchronized access 2021-01-16 12:46:45 +01:00
Sipke Schoorstra 7d576a7ddc Fix Azure Service Bus queue worker 2021-01-15 14:56:31 +01:00