Commit graph

441 commits

Author SHA1 Message Date
Sipke Schoorstra ac9ecbb2d4 Fix hash operation in ActivityExecutionContext 2023-03-06 12:30:40 +01:00
herblinernexxbizz 0669998946
V3 on delete workflowdefinition update routes (#3757)
* triggers and routes are being deleted when workflows are deleted

* update interface

* remove obsolete method

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-03-06 12:22:29 +01:00
Sipke Schoorstra b8bc628555 Allow bookmark props to be excluded from hash 2023-03-06 12:15:11 +01:00
Sipke Schoorstra bd2b16d4ff Bump designer version 2023-03-03 22:53:54 +01:00
Sipke Schoorstra 1a713b4619
Rename "services" to "contracts" and "implementations" to "services" (#3758) 2023-03-03 22:47:23 +01:00
Sipke Schoorstra bb1c6e91dc Update completion signaling 2023-03-03 15:22:49 +01:00
Sipke Schoorstra a6dd2d089b Merge remote-tracking branch 'origin/v3' into v3 2023-03-03 14:48:12 +01:00
Sipke Schoorstra 00bd3228f6 Restructure contracts vs services namespace 2023-03-03 14:48:05 +01:00
Sipke Schoorstra 0832bc95f6 Implement outcomes for composite activities from workflow definitions 2023-03-03 14:47:34 +01:00
gurkanguran b9343a1a20
Implemented workflow instance journal partially (#3749)
* Implemented backend support for journal data partially

* Extended journal design with new journal tab

* Serialize JournalData for saving

* Show directly the journal tab when clicked status

* Added ExecutionLogMiddleware

* Refactor

* Replaced newtonsoft.json with built-in json library
2023-03-03 11:44:07 +01:00
Sipke Schoorstra 1e407a9f70
Fix cyclic input argument evaluation (#3755)
* Prevent stack overflow when evaluating input arguments

* Shuffle test folders
2023-03-02 21:21:50 +01:00
Sipke Schoorstra 67efc51ebb
Update Dial activity and fix Switch (#3753)
* Add GetCallStatus activity

* Update Dial activity

* Update Switch activity

* Fix missing ports
2023-03-02 10:37:16 +01:00
Ifran Laloe 280b905092
Fix Version Constraint error when saving workflows (#3752)
* Fix Version Constraint error when saving workflows

* Moved publishing event to the start of PublishAsync()

---------

Co-authored-by: Ifran Laloe <i.laloe@betabit.nl>
2023-03-02 10:31:24 +01:00
MariusVuscanNx c554f5c55f
Feature/workflow execution status codes (#3750)
* Returned 404 when path is not found and 500 when there are multiple workflows with the same path

* Return failure response in case of workflow fault
2023-03-02 10:27:11 +01:00
Sipke Schoorstra bb669c2cfe
Sycnrhonize access to publish / save workflow definition endpoint (#3743)
* Refactor SaveAsync and Store APIs

* Synchronize Publish endpoint
2023-02-28 15:14:45 +01:00
Sipke Schoorstra c3a8898247 Add Record property to SpeakText activity 2023-02-27 20:29:25 +01:00
Sipke Schoorstra e59b9d03c2 Fix delete method 2023-02-27 20:28:10 +01:00
Sipke Schoorstra 431db1c353
Refactor store APIs (#3740)
* Add array support for input/output arguments

* Add alias support for nullable types

* Refactor workflow definition store API

* Fix array and ui hint setting of input/output definition

* Refactor workflow instance store API

* Add XML comments

* Refactor trigger and bookmark store API
2023-02-27 14:14:50 +01:00
Sipke Schoorstra 6281299b6a
Update NuGet package references (#3734)
* Update package references

* Accommodate FastEndpoint API changes
2023-02-23 14:49:46 +01:00
Sipke Schoorstra b37098ff3d Update designer version 2023-02-23 12:26:25 +01:00
Sipke Schoorstra 4e4e647395 Fix issue in workflow definition activity provider 2023-02-23 12:11:44 +01:00
Sipke Schoorstra 5b1a5cba7f
Enable composite activity version control (#3732)
* Update activity to store settings about which version to use

* Break up big function

* Implement activity version control UI
2023-02-23 11:46:03 +01:00
Sipke Schoorstra b21477b98f Fix composite activity completion 2023-02-22 15:56:50 +01:00
Sipke Schoorstra 1e0fdf937d
Add output picker for SetWorkflowOutput activity (#3728)
* Add output picker for SetWorkflowOutput activity

* Update designer version
2023-02-21 21:15:09 +01:00
Sipke Schoorstra 0bdec81491 Fix output binding 2023-02-21 15:18:23 +01:00
Sipke Schoorstra da1861c183 Update NPM package version and update designer nuget package 2023-02-21 12:02:38 +01:00
Sipke Schoorstra 1d1808af89
Workflow input/output (#3726)
* Improve activity JSON converter

Handles wrapped and unwrapped input

* Add SetWorkflowOutput activity

* Implement handling of child workflow output
2023-02-21 11:47:20 +01:00
Sipke Schoorstra d2d7f23d73
Fix deadlock + multiple trigger support (#3720)
* Lock on specific hash for new workflows and split between trigger new /& existing workflows

* Update flowchart to take into account the triggered activity to start

* Use dispatcher for resuming parent workflows

* Update logging middleware (and remove it by default)
2023-02-20 12:05:57 +01:00
Sipke Schoorstra 0a831ff65b Fix DispatchWorkflow 2023-02-17 19:23:34 +01:00
Sipke Schoorstra a62956b2c0 Wrap Strategy property of Delay activity 2023-02-16 19:59:30 +01:00
Sipke Schoorstra a580fd77f1 Update designer package version 2023-02-16 19:34:06 +01:00
Sipke Schoorstra 6e8c4f9404
Dispatch Workflow activity (#3710)
* Implement DispatchWorkflow activity

* Implement workflow definition picker control
2023-02-16 11:00:06 +01:00
Sipke Schoorstra cfe9abb92e Update designer package reference 2023-02-15 16:17:15 +01:00
Sipke Schoorstra e74133c52b
Add dictionary support (#3704) 2023-02-15 12:09:45 +01:00
Sipke Schoorstra 50912a2762 Fix journal 2023-02-13 15:26:04 +01:00
Sipke Schoorstra 5f6454b59c
Workflow as Activity - input/output (#3699)
* Restructure component folders

* Restructure JavaScript module folders

* Remove ActivityType field from descriptor 

No longer necessary.

* Incremental work on synthetic properties

* Implement synthetic property persistence

* Add JS functions to return input from composed activity

* Cleanup

* Take into account versioning

* Fix versioning

* Add Output management

* Implement output handling
2023-02-13 12:15:20 +01:00
Sipke Schoorstra 2a2b739568 Update activity categories 2023-02-06 17:32:35 +01:00
Sipke Schoorstra 0dd3e2bad8
Tweaks and fixes (#3672)
* Various additions and tweaks

* Fix WriteHttpResponse when no content type provided

* Bump designer version

* Return when sending response

* Remove faulty validation
2023-02-03 14:29:44 +01:00
Sipke Schoorstra c119724b73 Update JSON content parser with support for enum names 2023-01-31 12:40:50 +01:00
Sipke Schoorstra 55670ea949 Fix text content factory with default media type 2023-01-31 12:40:29 +01:00
Sipke Schoorstra 11b684274c Add variable types to Type Definition output 2023-01-31 11:01:39 +01:00
Sipke Schoorstra 64ceb843d0 Fix tests 2023-01-31 10:50:32 +01:00
Sipke Schoorstra 5292d71aef Fix workflow definition activity version availability 2023-01-30 17:30:32 +01:00
Sipke Schoorstra d17f2af87a Move WorkflowDefinitionActivity to Activities folder 2023-01-30 17:30:13 +01:00
Sipke Schoorstra 41b356a02b Refactor draft version selection 2023-01-30 17:29:54 +01:00
Sipke Schoorstra f7b6ab0a54 Bump designer version 2023-01-28 00:40:36 +01:00
gurkanguran 407bfa6913
Use workflow definition as activity (#3654)
* Implemented usage of workflow definitions as activities

* Updated designer

* Removed activity definitions module

* Allow user to mark workflow to be used as activity

* Refactor

* Refactor

* Cleanup csproj

* Cleanup WorkflowDefinitionActivity

* Pascalize typename

* Fix JS intellisense initial load issue

* Add XML comments

* Add Jobs dependency

* Hide Composite root port from designer

* Move finding workflow activities logic to lower level

* Generate unique identities across hierarchy

* Refactor

* Revert "Generate unique identities across hierarchy"

This reverts commit 74f5e7830309ee76af6ab3a000a5e1ec41f1e90c.

* Implement unique node IDs

* Introduce new VersionOptions option

* Remove unused namespaces

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-01-28 00:36:03 +01:00
Sipke Schoorstra e962eccccb Fix botched merge 2023-01-26 21:05:23 +01:00
Sipke Schoorstra 7cc921bc2a Merge remote-tracking branch 'origin/v3' into v3 2023-01-26 21:04:53 +01:00
Sipke Schoorstra aec82b8068 Update designer version 2023-01-26 21:02:38 +01:00