Commit graph

159 commits

Author SHA1 Message Date
tomy2105 27e0e76884 Adding DbContextOptionsBuilderExtensions 2021-04-29 12:27:12 +02:00
Sipke Schoorstra 1712d60be1 Update MySql migrations 2021-04-26 14:42:27 +02:00
Sipke Schoorstra da7b751105 Some cleanup 2021-04-26 14:26:37 +02:00
Erol Keskin 8f429a5cc1 Add MySql EntityFramework Provider 2021-04-26 14:22:17 +02:00
Sipke Schoorstra 576a0e50e8 Add Tag property 2021-04-26 10:09:46 +02:00
Sipke Schoorstra cd75cefdd1 Fix YesSql workflow definition find document logic 2021-04-21 17:02:29 +02:00
Sipke Schoorstra 33250c9bbd Add EventName property to ActivityExecutionLogRecord (replacing Message property) 2021-04-20 10:31:35 +02:00
Sipke Schoorstra 5be9025f71 Add workflow execution log indexes for EF Core provider 2021-04-16 15:47:11 +02:00
Sipke Schoorstra a07231ff99 Fix YesSQL provider and update samples 2021-04-16 14:56:02 +02:00
Sipke Schoorstra c1a5981485 Implement Delete and Bulk Delete 2021-04-09 17:01:15 +02:00
Sipke Schoorstra 9774e35e12 Fix date conversion issue with Sqlite provider 2021-04-09 17:01:15 +02:00
Craig Fowler 22326f1bab Resolve #751 - Fixes the reported problem 2021-04-07 22:26:21 +01:00
Craig Fowler 8798d6bd42 WIP #751 - Fix an issue with migrations
Rather oddly, the migrations weren't committing, and so the index
tables never got created.
2021-04-07 22:25:49 +01:00
Craig Fowler 53b16dee4f WIP #751 - Fix a bug in YesSQL init
As of this commit, the integration test fails for the exact same reason
as the reported issue describes.
2021-04-07 21:11:40 +01:00
Craig Fowler fa7601ca1a WIP #751 - Add integration test for using Postgres
From this commit onwards, in order to run all of the tests, you
must now have postgresql installed and running on your dev
environment.  The credentials/config is:
* Database name: elsa-yessql
* Username: postgres (this is the default anyway)
* Password: Password12! (this matches AppVeyor's postgres password)
* Port: 5432 (this is the default anyway)
2021-04-07 20:38:13 +01:00
Sipke Schoorstra ae46e0e143 Update packages and accommodate for breaking changes 2021-04-07 14:48:30 +02:00
Sipke Schoorstra 74839211b8 Mark Z.EntityFramework.Plus.EFCore with private assets = all 2021-04-07 13:34:51 +02:00
Sipke Schoorstra df6ad74eec Replace custom distributed locking implementation with DistributedLock
https://github.com/madelson/DistributedLock
2021-04-07 13:13:13 +02:00
Sipke Schoorstra bcfc5ec966 Update packages 2021-04-06 12:10:27 +02:00
Sipke Schoorstra 4cf43882dc Update packages 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 0434b4825a Update packages 2021-03-18 11:24:04 +01:00
Sipke Schoorstra 0c15c94ea7
Telnyx Activities (#768)
* Fix liquid syntax for accessing activity output

* Initial scaffolding of Telnyx module + API changes

* Make Telnyx Notification activity blocking

* Implement Telnyx correlation

* Post workflow suspension tasks improvements

* Add Telnyx activities

* Add HangupCall and TransferCall activities

* Call activity improvements
2021-03-17 13:07:14 +01:00
Craig Fowler 7804e35d68 WIP #748 - Extend EF Core to support multi-tenant
This adds new elective functionality to EF Core persistence:
* Use non-pooled DB Contexts
* Allow control of (non pooled) DB Contexts service lifetimes
2021-03-13 12:59:43 +00:00
Sipke Schoorstra 044caf533f MongoDB provider improvements 2021-03-11 22:50:50 +01:00
David Peters 69d2260333 Sqlite indicies 2021-03-08 22:10:17 +01:00
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