Commit graph

3381 commits

Author SHA1 Message Date
Sipke Schoorstra 06e62b3bcc
Restore workflow journal (#3582)
* Refactor identity options

* Delete templates

Will be created as part of a separate repo.

* Little cleanup

* Increase token lifetime for reference server app

* Cleanup workflow definition editor plugin

* Fix workflow instance viewer component

* Update identity generator to use hyphen format

* Improve workflow and activity execution pipeline registration API

* Fix workflow journal

* Update backend

* Prevent unnecessary re-render

* Restore autolayout function
2023-01-02 22:24:05 +01:00
gurkanguran 0cadc9a712
Implemented PostgreSql provider for data persistence (#3581)
* Implemented PostgreSql provider for data persistence

* Refactor

Co-authored-by: Gürkan Güran <grkngrn@gmail.com>
2023-01-02 22:10:17 +01:00
gurkanguran 4272d5a49c
Implemented workflow sink module (#3571)
* Implemented workflow sink module

* Sequentual process of saving sinks in single consumer

* Refactor

* Log errors during sink export

* Removed redundant classes

* Use in process messaging in bundle

* Fixed the issue with duplicated ResultVariable key on serializing

* Moved workflowsink modules out of persistence projects

* Moved migrations out of old projects

Co-authored-by: Gürkan Güran <grkngrn@gmail.com>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-01-01 18:02:38 +01:00
Sipke Schoorstra 7a98cdf60d
Normalize extensions namespaces (#3577) 2022-12-31 16:16:43 +01:00
Sipke Schoorstra f31a950d68 Try --platform=$BUILDPLATFORM 2022-12-30 19:42:52 +01:00
Sipke Schoorstra 3017804980 Try Node 19.0.0 2022-12-30 19:36:56 +01:00
Sipke Schoorstra 01c70e5563 Update docker things 2022-12-30 19:29:34 +01:00
Sipke Schoorstra e6536636d7
Additional samples + fixes and improvements (#3574)
* Incremental work on samples

* Rename HTTP middleware and update samples

* Rename HTTP Activities to Workflows

* Automatically register core activities when adding Elsa

* Fix feature registration bug

* Add default auth feature

* Make activity serializer more flexible

* Bump designer version

* Add workflow server + designer samples

* Simplify EntityFrameworkCore projects

* Update solution

* Add Sqlite package references to ensure the correct version is used

* Update sample project with EF Core

* Update EF extensions

* Add server + designer sample project

* Cleanup AllInOne project and add some XML comments

* Rename ci.yml and add CI for Docker file
2022-12-30 13:11:29 +01:00
Sipke Schoorstra b3a6c6d80e Fix CI attempt 3 2022-12-28 15:08:21 +01:00
Sipke Schoorstra 687ddf4a12 Fix CI attempt 2 2022-12-28 15:00:43 +01:00
Sipke Schoorstra e787346a36 Fix CI attempt 2022-12-28 14:53:43 +01:00
Sipke Schoorstra bca0999c1d
Update GitHub workflow to connect to Azure DevOps (#3570) 2022-12-28 14:03:52 +01:00
Sipke Schoorstra 9f9c20f553
Add support for workflows as a function (#3569)
* Add support for converting lists of things

* Add support for workflows returning a result

* Formatting

* Fix that While would complete twice

* Add convenience methods to access workflow input

* Schedule the workflow itself instead of just its root

* Add Output dictionary to workflow execution context

* Ad samples to demonstrate workflows returning results
2022-12-28 13:59:46 +01:00
Sipke Schoorstra c08ff4a31a Merge branch '24953' into v3 2022-12-26 21:01:22 +01:00
Sipke Schoorstra c514f7bf5c Re-apply Elsa icon 2022-12-26 20:15:26 +01:00
Sipke Schoorstra a4baf46059 Merge branch 'v3' into 24953 2022-12-26 20:05:20 +01:00
Sipke Schoorstra 6338cb503c Update tagline 2022-12-26 20:03:07 +01:00
Sipke Schoorstra 0c92c27231 Merge branch 'v3_faulting' into v3 2022-12-26 18:39:40 +01:00
Sipke Schoorstra c97457deea Cleanup 2022-12-26 18:38:41 +01:00
Sipke Schoorstra 4f7e82a9dc Implement exception handling middleware 2022-12-26 18:38:30 +01:00
Sipke Schoorstra 65e7009e56 Implement Fault model 2022-12-26 18:37:29 +01:00
Vadim Lev aad051abd6 refactor elsa notif service + design refactor 2022-12-26 15:17:15 +02:00
Sipke Schoorstra d7b41de7d3 Update Proto.Actor packages to 1.0 release 2022-12-26 12:01:10 +01:00
Sipke Schoorstra 15e66a4446 Ensure workflow IDs from workflow execution factory 2022-12-26 11:40:42 +01:00
Sipke Schoorstra 8ac225520b
Improve variable vs non-variable persistence (#3568)
* Incremental fixes

* Fix base assignment of async delegate block reference

* Reuse existing memory blocks

* Remove PlaybackStarted child activity

The PlaybackStarted property is unnecessary, since the PlayAudio activity already completes right after playback has started.

* Add GetCallStatus API method

* Prevent variables on composite activities to be overwritten during deserialization

* Remove unnecessary variable declarations

Activity variables will be declared automatically during activity invocation.

* Add XML comments

* Remove unused references arg

* Streamline variable identity assignment

* Fix composite early exit completion

* Move identity assignment to workflow definition service
2022-12-25 22:02:28 +01:00
Sipke Schoorstra 24692586a5
Persistent variables (#3563)
* Stash

* Incremental work on persistent variables

* Move variable management to central service

* Implement variable cleanup upon composite activity completion
2022-12-23 16:05:37 +01:00
Sipke Schoorstra b918e23da0 Merge branch 'v3-stash' into v3 2022-12-22 21:51:50 +01:00
Sipke Schoorstra e05c78b1d7 Multi target EF core projects 2022-12-22 21:51:27 +01:00
Sipke Schoorstra a17bbbc112 Stash 2022-12-22 20:23:18 +01:00
Sipke Schoorstra bbe8ee34c0 Update packages 2022-12-22 15:55:20 +01:00
Sipke Schoorstra 63971ac248 Fix Elsa.Jobs.Activities project 2022-12-22 15:46:38 +01:00
Sipke Schoorstra 2dcd9bcd73 Add .NET 7 as a target 2022-12-22 15:40:31 +01:00
Sipke Schoorstra 2ac0ed85d4 Fix non-completing activity bug 2022-12-22 15:14:34 +01:00
Sipke Schoorstra dd62dce93f Update Telnyx webhook handler to run in background 2022-12-22 15:14:15 +01:00
Sipke Schoorstra 81ddacab0f Update Telnyx activities with correlation client state 2022-12-22 15:13:52 +01:00
Sipke Schoorstra c28d492975 Fix background mediator workers 2022-12-22 15:12:54 +01:00
Sipke Schoorstra 088158ec54 Finish Hello World ASP.NET sample project 2022-12-21 22:22:21 +01:00
Sipke Schoorstra b3f7cb1f17 Update designer package version 2022-12-21 21:54:06 +01:00
Sipke Schoorstra b99de4ab24 Update dashboard home page and login theme 2022-12-21 21:52:11 +01:00
Sipke Schoorstra 3755ff3f4d Apply distributed lock when triggering new workflows 2022-12-21 20:25:25 +01:00
Sipke Schoorstra 193af7d9c8 Rename From to Inline 2022-12-21 19:55:07 +01:00
Sipke Schoorstra 97b4966233
Workflow activation strategies (#3559)
* Implement workflow activation strategies

* Rename activation strategy API

* Rename workflow activation strategy API and implement dynamic description display

* Fix trigger workflow correlation

* Expose correlation ID from liquid

* Update workflow runtimes to invoke activation strategies

* Update workflow definition builder API with support for activation strategies
2022-12-21 19:36:40 +01:00
Vadim Lev 53ed26e24e add notification awhile component to view 2022-12-20 23:16:28 +02:00
Sipke Schoorstra 20d8a975e5 Simplify activity template 2022-12-20 13:39:08 +01:00
Sipke Schoorstra 9fe6082f31 Update common.props 2022-12-20 13:13:30 +01:00
Sipke Schoorstra 87257cbbd0 Debug 2022-12-20 13:01:54 +01:00
Sipke Schoorstra 9ac26722a4 Debug 2022-12-20 12:56:48 +01:00
Sipke Schoorstra f27b26de8a Debug 2022-12-20 12:47:41 +01:00
Sipke Schoorstra 3dfede96d3 Move shared test utility to common folder + various incremental changes 2022-12-20 12:13:53 +01:00
Sipke Schoorstra 8f53a12412 Debug 2022-12-20 12:03:55 +01:00