Commit graph

200 commits

Author SHA1 Message Date
Rafael Carnucci 3b35d9ff0a
Seperate YesSql (#504)
* Seperate YesSql and added InMemory, MongoDb

* Error fixed, if DatabaseInitializer is run through several times

* icon.png was not packed

* Added AddWorkflowProvider to AddElsaPersistenceMongoDb

* Wrong primary keys were used for MongoDb

* Refactorig MongoDb

* Register IMongoCollection<WorkflowDefinition> and IMongoCollection<WorkflowInstance> with DI

* Wrong Parameter Type in Constructor (MongoDbWorkflowInstanceRepository)

* Add workflowDefinition.WorkflowDefinitionId = _idGenerator.Generate(); to Initialize

* Removed duplicated code

* Correct wrong Commit

Co-authored-by: Rafael Carnucci <rafael.carnucci@icn.de>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2020-12-11 21:03:49 +01:00
Sipke Schoorstra 1603eccf56 Update Startup activities 2020-12-06 13:19:37 +01:00
Sipke Schoorstra 2d5511dfbc Skip scheduling if timeout is zero (i.e. execute immediately) 2020-12-05 12:06:23 +01:00
Sipke Schoorstra 0cdd46f8ca Improve RunWorkflowJob to reschedule in case of slow DB call to save workflow instance 2020-12-05 11:14:24 +01:00
Sipke Schoorstra e00d41e0cf Schedule activity until after Suspend action 2020-12-04 15:38:19 +01:00
Sipke Schoorstra 38f883e103 Fix job scheduler
One-off triggers can be removed.
2020-12-04 14:23:06 +01:00
Sipke Schoorstra 245d6e9bbc Simplify queries thanks to fix in YesSQL 2020-12-04 12:23:45 +01:00
Sipke Schoorstra 074d904dbe Rename comments and variables 2020-12-04 12:11:23 +01:00
Sipke Schoorstra 1a9d0ab5bc Rename Timers triggers 2020-12-04 10:48:10 +01:00
Sipke Schoorstra 659236b4ca Rename CronEvent to Cron 2020-12-04 10:43:25 +01:00
Sipke Schoorstra 6c8cc5efd0 Rename TimerEvent to Timer 2020-12-04 10:41:49 +01:00
Sipke Schoorstra bf1d54d1e6 Remove noisy CancellationToken parameters
The CancellationToken is now available as part of the ActivityExecutionContext
2020-12-02 22:28:36 +01:00
Sipke Schoorstra 0facd8f93f
Introduce activity type providers (#480)
* Add activity type provider API

* Rename ReceiveHttpRequest to HttpRequestReceived
2020-11-30 15:21:36 +01:00
Sipke Schoorstra 2ff8d006f3 Add StartIn convenience method to start / resume workflow in x amount of time 2020-11-27 21:59:28 +01:00
Sipke Schoorstra 41ca351d29
Refactor Timers activities using Quartz & initial Multitenancy support (#477)
* Refactor time based events using Quartz.net

* Simplify Quartz job & trigger registration & Cleanup

* Expose Quartz configuration

* Restructure samples
2020-11-27 21:47:51 +01:00
Sipke Schoorstra 5e8a602f61 Fix lifetime scope issue with service bus queue starter 2020-11-24 10:44:33 +01:00
Sipke Schoorstra 714eee624f Formatting 2020-11-23 16:46:54 +01:00
Sipke Schoorstra e7178ca28e Add Azure ServiceBus activities 2020-11-23 16:46:42 +01:00
Sipke Schoorstra 123e49c19d WIP Azure Service Bus activities 2020-11-22 22:16:28 +01:00
Sipke Schoorstra 312fcf233a Fix broken Instant activity 2020-11-22 18:52:05 +01:00
Sipke Schoorstra 239cb54772 Add package descriptions and icons 2020-11-22 13:09:48 +01:00
Sipke Schoorstra e6227e887f Simplify service bus API and cleanup 2020-11-22 11:49:28 +01:00
Sipke Schoorstra f1349adc3f Service bus API improvements 2020-11-20 23:24:48 +01:00
Sipke Schoorstra 355038f27e Incremental work on service bus API 2020-11-20 17:08:05 +01:00
Sipke Schoorstra 2d54b7e337 Add Rebus activities 2020-11-19 22:21:17 +01:00
Sipke Schoorstra 0b81bba3d4 Fix TimerEvent and CronEvent 2020-11-17 22:13:55 +01:00
Sipke Schoorstra 6bddf50d77 Implement activity picker filtering 2020-11-14 21:58:48 +01:00
Sipke Schoorstra 39b4137a53 Rename shared Blazor project to Application 2020-11-13 22:37:53 +01:00
Sipke Schoorstra def637b4ca Update packages 2020-11-12 22:02:51 +01:00
Sipke Schoorstra d31ef98bb1 Update to .NET 5 and update icon 2020-11-11 21:32:12 +01:00
Sipke Schoorstra deb08deb04 Update missed package references 2020-11-03 11:44:04 +01:00
Sipke Schoorstra 60357d1950 Update package references 2020-11-03 11:29:02 +01:00
Sipke Schoorstra df33afc2aa Remove broken in-memory provider 2020-11-03 11:13:57 +01:00
Sipke Schoorstra 8e1ad31f73 Remove unused extensions and process more warnings 2020-11-03 10:58:11 +01:00
Sipke Schoorstra 7f44bfe4c1 Replace precompiled queries with extensions, process warnings and fix test 2020-11-03 10:50:32 +01:00
Sipke Schoorstra 13b770e362 Remove unused index provider 2020-11-03 10:18:19 +01:00
Sipke Schoorstra 38470c0176 WIP: Declarative composite activities 2020-11-02 21:04:41 +01:00
Sipke Schoorstra ce6509baff Complete workflow context sample and fix NodaTime serialization 2020-10-31 22:19:58 +01:00
Sipke Schoorstra ef660ab541 Add workflow context + sample 2020-10-31 21:10:58 +01:00
Sipke Schoorstra 0e0db69056 Simplified timer activities 2020-10-30 22:48:52 +01:00
Sipke Schoorstra 314fc1b608 Update TimerEvent sweep to take advantage of new trigger API 2020-10-30 22:09:22 +01:00
Sipke Schoorstra 6577b0cd38 Improve trigger API and implement HTTP correlation 2020-10-30 21:55:27 +01:00
Sipke Schoorstra b51aa6d7a6 Add trigger provider DI extensions 2020-10-30 16:25:48 +01:00
Sipke Schoorstra ae40d36c72 Fix Instant event behavior 2020-10-30 16:16:06 +01:00
Sipke Schoorstra 3700bb2323 Update package projects 2020-10-29 09:30:43 +01:00
Sipke Schoorstra 0be34f72d1 Remove warnings from DropBox package 2020-10-29 09:23:07 +01:00
Sipke Schoorstra 9971081a91 Fixes and improvements:
* Fix activity output persistence
* Add methods to read activity output
* Add option to ReceiveHttpRequest to parse incoming body to a specific .NET type

* Fix activity service resolution scope issue
* Fix workflow provider base
* Remove unused namespaces
2020-10-28 22:24:38 +01:00
Sviataslau Hankovich 6551b61ead
Simplify Options, get rid of OptionsBuilder (#431)
* Minor cleanup

* Fix namespaces

* Simplify options
2020-10-27 12:32:53 +01:00
Sviataslau Hankovich afa99fa279
Minor cleanup (#421) 2020-10-25 21:37:15 +01:00
Sipke Schoorstra bc4924e57b Add Switch extensions + tests 2020-10-23 13:46:34 +02:00