Commit graph

527 commits

Author SHA1 Message Date
Sipke Schoorstra e3deafedf3 Add toJson JS function
The Jint implementation of JSON.stringify only supports a limited set of objects (not .NET LocalDate for example)
2023-01-20 19:26:38 +01:00
Sipke Schoorstra e918bc9301 Bump designer version 2023-01-20 19:04:43 +01:00
Sipke Schoorstra 2eda8dfd3b Improve JSON expression type handling 2023-01-20 19:02:29 +01:00
Sipke Schoorstra a69812d03d Update referenced designer package version 2023-01-20 15:27:38 +01:00
Sipke Schoorstra b170654ec4 Rest API depends on JavaScript feature 2023-01-20 14:42:01 +01:00
Sipke Schoorstra 354781e193 Rename Activity to CodeActivity and ActivityBase to Activity 2023-01-19 21:49:24 +01:00
Sipke Schoorstra 28e9922060
JavaScript intellisense (#3639)
* Incremental work

* Incremental work

* Incremental work

* Initial support for intellisense

* Implement variable type definition provider
2023-01-19 14:09:58 +01:00
Gürkan Güran 4f000c641b Added content-type and headers options for HttpResponse activity 2023-01-18 13:00:27 +01:00
Sipke Schoorstra 47dd372211 Remove temp code 2023-01-17 12:27:18 +01:00
Sipke Schoorstra 0f350a0359 Remove unused namespaces in Elsa.Workflows.Core 2023-01-17 12:23:06 +01:00
Sipke Schoorstra 9fc01875d2 Fix potential NRE in HTTP activities when attempting to determine target type 2023-01-17 12:22:44 +01:00
Sipke Schoorstra 9351671b06 Fix workflow fault state deserialization 2023-01-17 12:21:49 +01:00
Sipke Schoorstra 0e1922621e
HTTP activity body parsing (#3631)
* Implement content parsers and update SendHttpRequest

* Fix parsers

* Fix parser ordering

* Implement content parsing for HTTP Endpoint activity

* Cleanup

* Remove unused models

* Update file name to match class name
2023-01-16 19:42:45 +01:00
gurkanguran d94cbcd4b1
Removed EFCore.BulkExtensions and used EF7 bulk operations (#3630)
* Removed EFCore.BulkExtensions and used EF7 bulk operations

* Refactor

* Use bookmarkId instead of hash as unique field

* Reuse GetProperty extension

Co-authored-by: Gürkan Güran <grkngrn@gmail.com>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-01-16 19:41:08 +01:00
Sipke Schoorstra 2deaa43c1d Restore package lock file 2023-01-14 12:29:53 +01:00
Sipke Schoorstra 7f10fd0490 Update designer package 2023-01-14 12:26:33 +01:00
Sipke Schoorstra 5bc26fa008 Update Designer packages 2023-01-14 12:24:43 +01:00
Sipke Schoorstra 894cd00218 Add XML comments to Execute endpoint 2023-01-14 12:24:32 +01:00
Sipke Schoorstra 20b8086dbc Fix dependencies 2023-01-13 23:16:55 +01:00
Sipke Schoorstra 93297b6764
Refresh tokens (#3626)
* Remove elastic hosted service for alias/rollover

* Fix dependency issues

* Implement token refresh

* Update appsettings
2023-01-13 22:55:08 +01:00
Sipke Schoorstra 096206d392
Elastic updates (#3623)
* Incremental work

* Incremental work

* Incremental work

* Merge remote-tracking branch 'origin/v3' into v3-elasticsearch-updates

* Incremental work

* Incremental work

* Fix listing with no query

* Restore missing class

* Remove rollover hosted service and expose index configurations

* Rename hosted service
2023-01-13 19:10:20 +01:00
Gürkan Güran dad33e665a Refactor 2023-01-12 19:26:30 +01:00
Sipke Schoorstra 006479c2b7
Finish Azure Service Bus activities (#3617)
* Incremental work on Azure Service Bus

* Update Azure Service Bus activities
2023-01-12 11:59:31 +01:00
gurkanguran 41556507cd
Merge pull request #3600 from elsa-workflows/elasticsearch
Implemented Elasticsearch for workflow instance and execution logs
2023-01-11 23:45:04 +01:00
Gürkan Güran b2dc0f681b Testing signing 2023-01-11 23:43:10 +01:00
Sipke Schoorstra 1d1bb66e5c Update EFCore bulk extensions 2023-01-11 12:28:22 +01:00
Gürkan Güran 497b7ce41c Refactor 2023-01-11 12:07:08 +01:00
Gürkan Güran bc97749057 Merge branch 'v3' into elasticsearch
# Conflicts:
#	src/bundles/Elsa.WorkflowServer.Web/Program.cs
#	src/bundles/Elsa.WorkflowServer.Web/appsettings.json
2023-01-11 11:56:35 +01:00
Gürkan Güran dc174f4d0d Refactor 2023-01-11 11:52:16 +01:00
Gürkan Güran 5b134fa757 Refactor 2023-01-11 02:05:23 +01:00
Gürkan Güran 3fd73bd2d0 Refactor 2023-01-11 01:47:49 +01:00
Gürkan Güran 7ebec21125 Update elasticsearch client from Nest to official one 2023-01-11 01:42:13 +01:00
Sipke Schoorstra d1cbfe07f6 Update Proto Actor cluster provider 2023-01-10 21:16:12 +01:00
Sipke Schoorstra 091161dd9a Add temporary custom version of Azure Container Apps cluster provider for Proto Actor 2023-01-10 20:31:55 +01:00
Sipke Schoorstra 2c65081110
MassTransit activities (#3613)
* Implement MessageReceived for MT

* Implement Publish activity provider

* Only create Publish activity for class types

* Add MassTransit sample project

* Fix comment
2023-01-10 14:32:14 +01:00
Gürkan Güran 02ff020b6e Optional rollover strategy 2023-01-10 14:29:27 +01:00
Gürkan Güran ce2434f9fd Implemented rollover strategy 2023-01-09 16:36:58 +01:00
Gürkan Güran 00962a0b90 Point alias to writable index 2023-01-08 14:43:53 +01:00
Gürkan Güran 7ded6a1320 Refactor 2023-01-08 14:18:06 +01:00
Gürkan Güran 087b48bb00 Fixed issues 2023-01-08 13:58:30 +01:00
Gürkan Güran f995a4f35a Implemented aliases 2023-01-07 20:31:42 +01:00
Sipke Schoorstra 8ccc20722c
Fix tool buttons (#3604)
* Fix tool buttons
2023-01-06 20:00:03 +01:00
Gürkan Güran 14c66f7d83 Refactor 2023-01-06 13:26:18 +01:00
Gürkan Güran eebd24a8d3 Refactor 2023-01-06 13:18:37 +01:00
Gürkan Güran fcfd187b05 Read index names from appsettings 2023-01-06 13:05:03 +01:00
Gürkan Güran 5a7231f5a2 Refactor 2023-01-06 12:49:51 +01:00
Gürkan Güran 6c3b49f350 Refactor 2023-01-06 12:08:35 +01:00
Gürkan Güran 26d0586793 Merge branch 'v3' into elasticsearch
# Conflicts:
#	Elsa.sln
2023-01-05 15:19:21 +01:00
Gürkan Güran fcfd092003 Implemented Elasticsearch for workflow instance and log record persistence 2023-01-05 15:10:55 +01:00
Sipke Schoorstra 6994f2e24d
Webhooks (#3598)
* Incremental work

* Implement samples

* Update samples

* Small refactorings

Closes #3592
2023-01-05 13:55:08 +01:00
Sipke Schoorstra 750c2094cc
RunTask activity (#3594)
* Implement RunTask activity
2023-01-04 20:36:38 +01:00
Sipke Schoorstra b4dba6ffe5
Add PublishEvent activity and implement MassTransit dispatcher (#3593) 2023-01-04 15:28:28 +01:00
Sipke Schoorstra ebf693b33b Add icons and reorganize activity categories 2023-01-03 20:28:57 +01:00
Sipke Schoorstra cbbac57e6f
Implement variables panel on workflow instance viewer (#3589)
* Small visual improvement for embedded ports

* Implement variables view for workflow instance viewer
2023-01-03 19:15:05 +01:00
Sipke Schoorstra 32b7f85142
Implement proto.actor snapshot + event cleanup (#3588) 2023-01-03 14:29:35 +01:00
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 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 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 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
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 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 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
Sipke Schoorstra 87257cbbd0 Debug 2022-12-20 13:01:54 +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
Sipke Schoorstra 5d0bc1f0f7 Update designer project file 2022-12-20 11:33:31 +01:00
Sipke Schoorstra dbdc6a785e Update Elsa.Workflows.Designer project to run NPM upon build 2022-12-19 11:29:43 +01:00
Sipke Schoorstra 5f7f115c28 Fix Flowscope execution count logic 2022-12-16 22:02:19 +01:00
Sipke Schoorstra 8438444eb4 Handle Jsonelement string deserialization to other types 2022-12-16 22:01:50 +01:00
Sipke Schoorstra b10d91b525 Fix property handling 2022-12-16 21:10:18 +01:00
Sipke Schoorstra bc0bca2f51 Fix flowchart property storage 2022-12-16 21:09:14 +01:00
Sipke Schoorstra 64d2ac1577 Fix GatherUsingspeak activity optional input 2022-12-16 21:08:54 +01:00
Sipke Schoorstra e172118af9 Handle number to string conversion 2022-12-16 21:08:15 +01:00
Sipke Schoorstra 594970bfc6 Fix persistent variable serialization 2022-12-16 12:11:45 +01:00
Sipke Schoorstra 764cd6187b
Fix workflow navigation (#3541)
* Incremental work

* Reimplement flowchart navigation

* Fix activity property editing

* Fix workflow property editor

* Fix designer lookup upon new activity added

* Restore Variables context

* Add Start event

* Add XML comments to WriteLine

* Implement variable getter and setters for JS
2022-12-15 22:53:56 +01:00
Sipke Schoorstra b6247824b3 Remove required memory block reference ID 2022-12-14 20:35:48 +01:00
cristinamudura bb9ebef362
Added correlation activity (#3530)
* Added correlation activity

* Changed the category from "Control Flow" to "Primitives"
2022-12-14 13:05:45 +01:00
Sipke Schoorstra a21ed913ff Add Designer package 2022-12-13 21:49:38 +01:00
Sipke Schoorstra bfb781c0da Add XML comments 2022-12-11 22:41:10 +01:00
Sipke Schoorstra 3d4718ff76 Rename From to Inline 2022-12-11 22:34:24 +01:00
Sipke Schoorstra 13d745dcaa Add XML comments to WorkflowExecutionContext 2022-12-11 22:15:56 +01:00
Sipke Schoorstra be3fda8acb Remove experimental fork break 2022-12-11 22:15:42 +01:00
Sipke Schoorstra fcc548e645 Refactor Event ctors 2022-12-11 22:15:28 +01:00
Sipke Schoorstra d353878681 Update packages 2022-12-09 13:44:36 +01:00
Sipke Schoorstra 7d492678c6 Formatting 2022-12-09 12:50:27 +01:00
Sipke Schoorstra 95025ae144 Fix serialization for Event by making default ctor public 2022-12-09 12:50:14 +01:00
Sipke Schoorstra 17ff2d2c93 Apply [JsonConstructor] to fix deserialization 2022-12-09 12:26:07 +01:00
Sipke Schoorstra a4011278cc Implement implicit FastEndpoint assembly collection for discovery 2022-12-09 12:25:39 +01:00
Sipke Schoorstra 272d6f03a7 Fix tests 2022-12-07 21:05:24 +01:00
Sipke Schoorstra 92ffeed4ea Store workflow state created timestamp 2022-12-07 20:58:17 +01:00
Sipke Schoorstra 026430fd2d
Composite Activity fixes and improvements (#3512)
* Implement consistent input/output/variable memory block identifiers

* Telnyx fixes and improvements

* Fix bookmark burning

* Refactor AnswerCall

* Incremental work on source + line registration

* Handle missing bookmarks

* Fix bookmark persisted callback mechanism

* Implement distributed locking for default workflow runtime

* Fix recording bookmark

* Increase source file and line coverage
2022-12-07 20:47:36 +01:00
Sipke Schoorstra 7d5eb198b5 Fix enum options not being displayed 2022-12-05 11:40:43 +01:00
Sipke Schoorstra c70247e133 Fix memory referencing and some other stuff 2022-12-02 22:57:26 +01:00
Sipke Schoorstra 4c9de96418 Add option to configure DB to UseElsaSqlite extension 2022-12-01 22:27:09 +01:00
Sipke Schoorstra 2a365aa1b1 Add missing Sqlite package reference 2022-12-01 22:26:12 +01:00
Sipke Schoorstra 2ce5b34b70 Add support for Complete activity serialization using default ctor 2022-12-01 22:25:41 +01:00
Sipke Schoorstra 9283c3e18d Revert "Auto rotating (#3482)"
This reverts commit 016e642ac4.
2022-12-01 12:08:41 +01:00
Sipke Schoorstra 1f3b849e68
Add JS functions (#3492) 2022-11-30 21:52:41 +01:00
Sipke Schoorstra 6f429e9867
Add support for accessing workflow variables from liquid expressions (#3491) 2022-11-30 21:20:25 +01:00
Sipke Schoorstra 269627adf1 Fix If completion 2022-11-30 11:45:48 +01:00
Sipke Schoorstra dbbe9d080b Add SelectList model 2022-11-28 22:06:27 +01:00
Sipke Schoorstra 7a8beaca66 Fix stack overflow for looping constructs 2022-11-28 21:42:40 +01:00
Sipke Schoorstra 6bc7b1ec8d Add Get endpoint for Activity descriptors 2022-11-28 21:35:05 +01:00
Sipke Schoorstra 1cfe7b4181 Fix that composite roots were serialized 2022-11-28 21:34:49 +01:00
Sipke Schoorstra 414b730501 Fix ActivityRegistry Find method 2022-11-28 21:34:27 +01:00
Sipke Schoorstra 4fd2066c11 Update Delay activity 2022-11-28 21:33:35 +01:00
Sipke Schoorstra e4647affe1 Configure RunJavaScript to use javascript language for Monaco editor 2022-11-28 19:12:01 +01:00
Sipke Schoorstra bc573386b9 Add Guid as variable type 2022-11-28 14:24:54 +01:00
Sipke Schoorstra 4aa9f382ab Hide Root from being visible 2022-11-27 22:02:00 +01:00
Sipke Schoorstra 7591a2f37b Register HTTP models for variable types by default 2022-11-27 13:28:43 +01:00
Sipke Schoorstra b5a2e95ed3
Implement types API endpoint (#3479) 2022-11-26 22:27:33 +01:00
Sipke Schoorstra 2ed1e14578 Fix variable mapper & converter 2022-11-26 20:00:22 +01:00
Sipke Schoorstra 6bab9982cd
Update import / export (#3471) 2022-11-25 13:27:35 +01:00
Sipke Schoorstra 2876bb65bc Add FlowNode activity 2022-11-24 16:03:35 +01:00
Sipke Schoorstra cf6c80ab85
Add email module (#3469) 2022-11-24 14:28:29 +01:00
Sipke Schoorstra d14cd617f3 Make Workflow non-browsable activity 2022-11-24 11:07:26 +01:00
Sipke Schoorstra 2567eb6535 Implement variable picker 2022-11-23 22:36:43 +01:00
Sipke Schoorstra c3a3d85f47 Only register browsable, concrete activity types 2022-11-23 11:21:15 +01:00
Sipke Schoorstra 08ef4f8410 Make DynamicActivity non-browsable 2022-11-23 11:20:48 +01:00
Sipke Schoorstra 8a4e219e07 Minor renaming 2022-11-23 11:20:35 +01:00
Sipke Schoorstra 0f358e72f9 Fix HTTP activity issues 2022-11-23 11:20:00 +01:00
Sipke Schoorstra f6a06f6f45 Merge MemoryCache module with Common module 2022-11-23 11:17:22 +01:00
Sipke Schoorstra 2df0dab39f Fix result propagation for Inline activity 2022-11-22 13:09:32 +01:00
Sipke Schoorstra 9981dc1f10 Add Complete activity for completing composite activities 2022-11-22 13:09:14 +01:00
Sipke Schoorstra be3e7ac707 Update Composite and remove completion callback 2022-11-22 12:36:32 +01:00
Sipke Schoorstra 03eba3f6ad Incremental work on composite activity completion 2022-11-21 22:49:11 +01:00
Sipke Schoorstra e40b987446 Small API improvements 2022-11-21 22:01:52 +01:00
Sipke Schoorstra 4b958143e9 Telnyx activity improvements 2022-11-21 12:43:34 +01:00
Sipke Schoorstra c06f70e434 Incremental work on flow + sequential versions of Telnyx activities 2022-11-20 22:37:52 +01:00
Sipke Schoorstra 9dcae97a0e Add support for lazy initialization of output 2022-11-20 20:37:56 +01:00
Sipke Schoorstra 660cfbfd05 Update DB context class names and create SQL Server provider 2022-11-20 19:00:03 +01:00
Sipke Schoorstra 8cc8d1bcbf
Telnyx integration (#3453)
* Incremental work on Telnyx integration

* Incremental port of Telnyx activities

* Fix polymorphic JSON serialization for webhook data

* Fix IsFirstPass logic

* Fix trigger base to prevent activity auto completion

* Temporarily disable persistent snapshotting provider for testing

* Fix namespaces

* Add method to register activities in bulk using marker type

* Fix Telnyx refit client setup

* Register all Telnyx activities by default

* Incremental work on webhook driven resumption and correlation

* Incremental work on post-bookmark signaling

* Fix bookmark resolution

* Include correlation ID with bookmark

* Fix Telnyx resumption input

* Replace bookmark persisted signal with handler

* Fix SpeakText completion

* Add flow outcomes to SpeakText activity

* Update GatherUsingSpeak and GatherUsingaudio

* Refactor "is first pass" concept

* Fix WebhookEvent activity

* Add HTTP absolute URL provider

* Formatting and small changes

* Various API enhancements
2022-11-19 22:30:43 +01:00
Sipke Schoorstra 5e180accc7 Incremental work on workflow instance viewer 2022-11-13 13:32:23 +01:00
Sipke Schoorstra 6947f45693 Remove unused namespaces 2022-11-13 12:45:34 +01:00
Sipke Schoorstra 7dd7e14745 Remove unused namespaces 2022-11-12 22:03:05 +01:00
Sipke Schoorstra 3bed8b970b Fix package tags 2022-11-11 21:25:14 +01:00
Sipke Schoorstra 5e35dad9e7 Update samples 2022-11-10 16:00:13 +01:00
Sipke Schoorstra 3be2e128d8 Refactor Delay activity
Enables the workflow to execute without suspending
2022-11-10 16:00:03 +01:00
Sipke Schoorstra a781463f7e Refactor For activity 2022-11-10 15:59:20 +01:00
Sipke Schoorstra ecf5ff77cf Remove old samples and initiate new samples 2022-11-10 14:40:37 +01:00
Sipke Schoorstra 0372615bbe Remove duplicate package reference 2022-11-10 12:07:04 +01:00
Sipke Schoorstra e9d4c9b6d5 Prepare projects for packaging 2022-11-03 21:40:23 +01:00
Sipke Schoorstra e4f9b7717b Initial support for activity cancellation 2022-10-30 23:44:38 +01:00
Sipke Schoorstra 421324c9a7 Fix background check logic for async activities 2022-10-27 16:03:20 +02:00
Sipke Schoorstra c6bfd1f574
Asynchronous Activities (#3386)
* Update job activities handler

Looks like somehow implicit global usings have been removed or disabled 🤔

* Implement background activity execution

* Checkbox UI improvements

* Implement Task configuration for asynchronous execution

* Make job queue hosted service process jobs in parallel

* Make job worker count configurable
2022-10-27 12:05:30 +02:00
cristinamudura 0cd01c687b
Feature/send http request (#3355)
* Implemented send http request activity

* Implemented checkbox input and updated send http request activity

* Updated value of mime types constants
2022-10-25 15:52:55 +02:00
Sipke Schoorstra b9864a25fa
Queue-based activity scheduler (#3344)
* Incremental work on queue-based activity scheduling

* Update WorkflowHost to handle resumption of non-running workflows
2022-10-12 18:44:05 +02:00
Sipke Schoorstra 9a772af3c8
Implicit fork & join (#3331)
* Initial experiment with implicit fork and join construct

* Implement flow execution counters

* Incremental work on FlowJoin

* Implement bookmark removal behavior

* Set icon for FlowJoin
2022-10-10 15:08:30 +02:00
Sipke Schoorstra 4b0af64cee
Exportable & importable workflow state + execution (#3317)
* Incremental work on externalizing workflow state execution

* Finish resumable WriteHttpResponse
2022-10-04 11:57:01 +02:00
Sipke Schoorstra 31942ae96f
Implement async workflow state exporter for DB workflow instance (#3291)
* Incremental work on in-process message consumers

* Implement asynchronous workflow state DB exporter

* Fixes
2022-09-07 17:28:36 +02:00
Sipke Schoorstra b3bae39bfe
Default Runtime & Persistence (#3287)
* Delete DefaultWorkflowInvoker.cs

* Incremental work

* Refactor runtime

* Implement workflow state store + bookmark store

* Cleanup

* Update migrations

* Move store abstractions to management and runtime projects

* Consolidate persistence providers into single package

* Generate migrations

* Regenerate migrations

* Fix DI of memory stores

* Update migrations

* Refactor definition reference due to unserializable record

* Update web server bundle to use EF core by default

* Update Bookmark.cs

Fixes System Text Json deserialization
2022-09-04 17:04:14 +02:00
Sipke Schoorstra b318b69bda Move CRL workflow definition provider 2022-09-02 19:06:00 +02:00
Sipke Schoorstra bfefd3f237
V3 default runtime (#3285)
* Incremental work on default runtime

* Fix workflow rooting
2022-09-02 19:02:24 +02:00
Sipke Schoorstra 220a1b4593 Cleanup 2022-09-02 13:36:03 +02:00
Sipke Schoorstra e2ffafc736
Refactor proto actor runtime with snapshot support (#3283)
* Initial working grain

* Incremental work on actor bookmark management & resuming wokflows

* Upgrade Proto Actor package references

* Fix lifetime of actors

* Implement bookmark and resumption

* Update Program.cs

* Update bookmark event publishing

* Refactor proto actor features API

* Implement snapshotting

* Update snapshotting

* Add in-memory provider and use it by default

* Update server bundle to use proto actor sqlite persistence by default
2022-09-02 13:18:53 +02:00
Sipke Schoorstra 6f5a02966e Squashed commit of the following:
commit f5266d120035646b13b580987fc17192d3b0d86f
Author: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Date:   Wed Aug 31 15:46:50 2022 +0200

    Add memory user and role store

commit 96b2e97b460ee6708b6c1792ae85c51f96b139f8
Author: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Date:   Wed Aug 31 14:46:27 2022 +0200

    Add session storage support for auth session

commit a4a52d402d371d4b8a5b6f6281059b81522316b2
Author: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Date:   Wed Aug 31 14:22:08 2022 +0200

    Implement login screen

commit 5b1e509d3f9306b9f4803de04f2d9c1c7a3fc41b
Author: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Date:   Tue Aug 30 15:04:40 2022 +0200

    Incremental work on auth

commit eccca88c07653b440f85069785416e1ce247d0d4
Author: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Date:   Mon Aug 29 14:50:08 2022 +0200

    Add couple of read wildcards for testing

commit 1b38596a34c1d56d11edc82f5b974e06ac2fde0e
Author: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Date:   Mon Aug 29 14:40:49 2022 +0200

    Incremental work on identity module
2022-08-31 15:47:10 +02:00
Gürkan Güran d614a0dbe6 Implemented version history 2022-08-29 18:22:58 +02:00
Sipke Schoorstra 8fc3bac949 Fix client mapping 2022-08-29 11:51:22 +02:00
Sipke Schoorstra 45e38a728f Remove unused namespaces 2022-08-29 11:37:00 +02:00
Sipke Schoorstra 4a5dba3736 Update permissions 2022-08-29 11:36:15 +02:00
Sipke Schoorstra 2bd4a9b6e9 Incremental work on secure endpoints 2022-08-27 22:16:48 +02:00
Sipke Schoorstra 27cfe7eb91 Incremental work on secure endpoints 2022-08-27 21:58:22 +02:00
Sipke Schoorstra ecfdbac7d0 Add FodyWeavers.xml files 2022-08-27 20:42:34 +02:00
Sipke Schoorstra d8d0834c53 Incremental work on FastEndpoints implementation 2022-08-27 20:42:06 +02:00
Sipke Schoorstra 078f21cf61 Incremental work 2022-08-26 21:59:17 +02:00
Sipke Schoorstra 58663b4b2f Update WorkflowBuilder.cs 2022-08-25 20:00:22 +02:00
Sipke Schoorstra 10d06e4d9d Update KubernetesProviderOptions.cs 2022-08-25 20:00:20 +02:00
Sipke Schoorstra 8e9bb60d63 Merge branch 'v3' of https://github.com/elsa-workflows/elsa-core into v3
# Conflicts:
#	Elsa.sln
2022-08-25 19:59:53 +02:00
Sipke Schoorstra 66b1785c7f Add convenience workflow construction methods 2022-08-25 19:56:01 +02:00
Sipke Schoorstra 8ad878d0ca Rename InvokeWorkflowResult 2022-08-25 19:55:34 +02:00
Sipke Schoorstra a983457076 Rename builder service 2022-08-25 13:45:35 +02:00
cristinamudura e5d5aec1a7
Added proto actor implementation for kubernetes and refactored relevant projects to contain the only needed classes. (#3256) 2022-08-17 21:39:08 +02:00
Sipke Schoorstra bce2be6314 Configure hosted service using order 2022-08-14 19:38:15 +02:00
Sipke Schoorstra d4fbcef61d Update migrations 2022-08-14 19:36:24 +02:00
Sipke Schoorstra c8a9a2ef8f Simplify activity definition activity 2022-08-11 20:17:50 +02:00
Sipke Schoorstra 98f195172b Update ActivityDefinitionMaterializer.cs 2022-08-11 20:04:52 +02:00
Sipke Schoorstra 05a11e4923 Fix scheduling 2022-08-11 20:04:47 +02:00
Sipke Schoorstra 7870012254 Implement versioned activities 2022-08-11 19:29:32 +02:00
Sipke Schoorstra 4a2325d207 Update ActivityDefinitionActivityProvider.cs 2022-08-11 17:00:14 +02:00