Commit graph

133 commits

Author SHA1 Message Date
Sipke Schoorstra 4a4961471a Implement Import feature 2021-03-11 14:51:17 +01:00
Sipke Schoorstra 7f768f4b17 Update If activity to use expression editor input control for Condition 2021-03-06 09:40:49 +01:00
Sipke Schoorstra f8d0a7ec03 Fix typo and client 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 3b7e5aff57 Add dropdown control 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 74a3ed5a15 WIP: Update HttpEndpoint with support for multiple HTTP methods 2021-03-04 17:45:59 +01:00
Sipke Schoorstra fe691f6d9c Refactor activity property type to UIHint 2021-03-04 17:45:59 +01:00
Sipke Schoorstra 33ea486901 Rename HttpRequestReceived to HttpEndpoint 2021-03-01 21:11:21 +01:00
Sipke Schoorstra 3dd255f5b0 Formatting 2021-02-11 10:23:10 +01:00
Sipke Schoorstra 2f29dc379c Upgrade to .NET Standard 2.1 2021-01-31 18:44:57 +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 420e2e65c5 Add caching layer to WorkflowRegistry 2021-01-30 20:11:08 +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 e6f42aca8f Update packages 2021-01-21 12:45:10 +01:00
Sipke Schoorstra 89dfba8269
Add source file + line number to execution log. (#571)
* Add source and activity type to WorkflowExecutionLogRecord

* Update builder extensions
2021-01-14 21:45:28 +01:00
Sipke Schoorstra 310cab9032
Elsa Activity + Workflow registration refactorings (#543)
* Elsa options and activity/workflow registration improvements

* Add convenience extensions for Quartz and Hangfire timer activity registration

* Fix solution and warnings
2020-12-26 12:21:08 +01:00
Sipke Schoorstra 28ac92b6ff
Introduce Workflow Instance Name (#538)
* Add Name property to Workflow Instance models and update Dashboard UI

* Add SetName activity

* Add naming workflow sample

* Add modal html

* Implement search by workflow instance name
2020-12-24 14:30:55 +01:00
Sipke Schoorstra 03c9f94671
Improve specifications and YesSQL implementation (#529)
* Update Fluid.Core package

* Make specifications flexible

* Update build environment

* Disable global.json
2020-12-20 12:12:32 +01:00
Sipke Schoorstra c047d66942 Update packages 2020-12-19 15:35:11 +01:00
Sipke Schoorstra d41039b567 Rename extensions namespace 2020-12-18 11:35:29 +01:00
Rafael Carnucci 0ba56f51b4
Enhance project structure (#524)
* Fix sample Elsa.Samples.FileBasedWorkflow

* Centralize project properties

* Fix PackageLicenseExpression

* Added configureawait.props & FodyWeavers.xml & FodyWeavers.xsd.

* Remove icon.png and added PackageIconUrl

* Removed <Nullable>disable</Nullable>

* Fix Icon in Elsa.Activities.MassTransit and Rebuild

Co-authored-by: Rafael Carnucci <rafael.carnucci@icn.de>
2020-12-16 10:31:02 +01:00
Sipke Schoorstra d6cc7d7f56
Implement Specification pattern (#517)
* Add specifications

* Update persistence providers with specification pattern
2020-12-14 17:15:39 +01:00
Sipke Schoorstra daa10df6c3 Remove unused namespaces 2020-12-12 12:38:07 +01:00
Sipke Schoorstra 2528364531 Fix warning 2020-12-11 21:51:23 +01:00
Sipke Schoorstra e601747fae Renames and small tweaks 2020-12-11 21:35:22 +01:00
Sipke Schoorstra 70e7b98d7b Rename Repository to Store 2020-12-11 21:14:57 +01:00
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 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 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 d31ef98bb1 Update to .NET 5 and update icon 2020-11-11 21:32:12 +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 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 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 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 a4d7713ae7 Fix Join activity 2020-10-23 12:40:33 +02:00
Sipke Schoorstra 0c47a781d5 Update package descriptions and names 2020-10-18 17:42:34 +02:00
Sipke Schoorstra 1618be2d54 Fix index providers 2020-10-18 12:13:51 +02:00
Sipke Schoorstra 3d0d372de3 Optimize workflow selector 2020-10-17 15:38:27 +02:00
Sipke Schoorstra 4cd3d08d44 Remove incompatible activity extensions 2020-10-17 13:55:47 +02:00
Sipke Schoorstra 72caccb6a6 Update ReceiveHttpRequest using new trigger API 2020-10-17 13:51:27 +02:00