Commit graph

134 commits

Author SHA1 Message Date
David Peters 3d12e8969a WIP: SQL Server cant't index nvarchar(max) fields 2021-03-08 22:10:17 +01:00
David Peters 006101499b postgres migration 2021-03-08 22:10:17 +01:00
David Peters 0aa2f7d8b0 added EFCore indicies 2021-03-08 22:10:17 +01:00
Sipke Schoorstra bbf04fb5c3 Update YesSql provider 2021-03-08 15:14:02 +01:00
Sipke Schoorstra d53aee02be Update migrations 2021-03-08 15:14:02 +01:00
David Peters 51f9ed11f8 Added PostgreSql EFcore provider 2021-03-04 16:54:06 +01:00
Sipke Schoorstra f048e6d3ef
Refactor Switch builder API (#649)
* Refactor Switch builder API

* Remove unused namespaces
2021-02-20 20:47:56 +01:00
Sipke Schoorstra ce7222af28 Small MongoDB provider improvements 2021-02-17 21:43:42 +01:00
Sipke Schoorstra 86980a752e
Designer web component (#636)
* Activity picker dialog

* Activity picker

* Activity editor

* Activity property fields

* Blazor bindings for Elsa designer

* Only index triggers from published & enabled workflow definitions

* Handle case of null workflow blueprint not found

* Add check for zero duration and general scheduler exceptions

* Don't rethrow expression evaluation failure

* Workflow definition settings editor modal

* Integration between stencil and blazor 🎉

* Fix expression type conversion

* Add publish button and restructure components

* Fix up workflow definition ID vs workflow definition version ID

* Update EF Core migrations

* Fix Workflow Publisher

* Fix version display

* Add Import menu item
2021-02-16 09:55:13 +01:00
Sipke Schoorstra 173107de12
Add Blazor Dashboard Workflow Instance List View extensibility (#617)
* Add extensibility support for workflow instance Context Menu
* Add extensibility support for workflow instance Bulk Actions
2021-02-10 12:53: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 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 2c7b20846a Fix Stack serialization 2021-01-31 12:49:06 +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 a60b973a06 Add support for ordered startup tasks 2021-01-28 14:13:31 +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 f6cb6cc055 Reorder startup tasks 2021-01-22 14:58:58 +01:00
Sipke Schoorstra e6f42aca8f Update packages 2021-01-21 12:45:10 +01:00
Sipke Schoorstra 2a64cc1473 Add continue running workflow startup task 2021-01-19 20:17:14 +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 b6496d3b73 Update packages 2021-01-12 13:50:52 +01:00
Sipke Schoorstra 8613133add Refactor back-paddling of branching activities 2021-01-12 13:22:40 +01:00
Sipke Schoorstra 41a0e135f6 Handle potential NULL shadow property value 2021-01-09 14:16:49 +01:00
Sipke Schoorstra 3cfc2ad665 Remove unused namespaces 2021-01-08 17:40:32 +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 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 9c1515bdb6 Rename Outcome property on Finish activity 2021-01-03 12:21:39 +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 460c75227d Implement delete workflow definition 2020-12-28 17:34:44 +01:00
Sipke Schoorstra c6d68875c1 Implement workflow settings 2020-12-27 21:02:14 +01:00
Sipke Schoorstra a8dfebbfe5 Fix YesSQL migration 2020-12-26 15:33:03 +01:00
Sipke Schoorstra fa13aadd37 Serialization improvements and cleanup 2020-12-26 14:37:05 +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 1bf53fb59a
Elsa 2.0/workflow editor (#541)
* Fix connection model porperty names

* Add workflow instance name to index

* Enable sample workflows

* Incremental work on activity displays

* Add custom activity display support

* Optimize workflow registry list endpoint model
2020-12-25 22:00:25 +01:00
Rafael Carnucci 92e1a1c3bf
Redesign activities and workflows management (#536)
* Adding Activities, Workflows, TriggerProviders and WorkflowContextProviders by Reflection

* Activities stored in ElsaOptions, instead of IServiceCollection

* Remove the empty XML comments

* Renamed ElsaConfigurationsOptions to ElsaConfiguration

* Small enhancements

* Workflows stored in ElsaOptions, instead of IServiceCollection

* Instantiated workflows can now be added

* Workflow instance was not registered to DI

* Add Elsa.Activities.Rebus project to solution

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2020-12-25 21:17:17 +01:00
Rafael Carnucci 79b5b89505
Fix MongoDb (#540) 2020-12-25 21:16:55 +01:00
Rafael Carnucci f6685189f7
Add ContextType to WorkflowInstance (#539)
* Add ContextType to WorkflowInstance

* Removed ContextType from WorkflowDefinition

* Added ContextType to WorkflowInstanceDocument and WorkflowInstanceIndex
2020-12-25 21:15:58 +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 b24ff99354 Fix build after merge 2020-12-23 12:50:34 +01:00