Commit graph

3038 commits

Author SHA1 Message Date
MariusVuscanNx c30586cd9e
Implemented workflow authorization (#3773)
* 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

* Started workflow authorization implementation

* Implemented workflow authorization
2023-03-08 09:49:43 +01:00
Sipke Schoorstra c09c20763f Bump designer version 2023-03-08 08:37:12 +01:00
Sipke Schoorstra 7ba4dc5039 Add support for controlling when to serialize properties of type IActivity 2023-03-08 01:03:01 +01:00
Sipke Schoorstra e6ce1cebb3 Stash 2023-03-08 00:31:51 +01:00
Sipke Schoorstra 21f8980adb Improve workflow versioning logic 2023-03-07 23:31:09 +01:00
Sipke Schoorstra 83fb433ffc Add alias for dictionary type 2023-03-07 22:02:46 +01:00
Sipke Schoorstra db9962945b Fix duplicate key issue 2023-03-07 21:48:54 +01:00
Sipke Schoorstra 1ac64b8197
Store & display evaluated activity state in workflow instance viewer (#3776)
* Implement activity state persistence

* Add sort API

* Implement activity state view

* Update EF Core migrations
2023-03-07 21:40:53 +01:00
Sipke Schoorstra 9c52c3b0e4
Implement flexible header parsing (#3771) 2023-03-07 14:54:21 +01:00
herblinernexxbizz 154c1ad469
Get route parameters, querystring parameters and headers (#3769)
* Get route parameters, querystring parameters and headers

* clean up code
2023-03-07 14:44:34 +01:00
Sipke Schoorstra 1b61af2c76 Bump designer version 2023-03-07 13:49:00 +01:00
Sipke Schoorstra b1564bf646
HTTP Request with status codes as outcomes (#3768)
* Implement configurable expected status outcomes on HTTP Request activity

* Add Catch all outcome

* Implement dynamic port update
2023-03-07 13:45:58 +01:00
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
herblinernexxbizz 6ab398f944
do not select just pasted activities (because property panel is not bound, and which activity do you focus on when you paste multiple) (#3762) 2023-03-06 12:21:20 +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 ab59965393 Update sample to use EF Core for default runtime 2023-02-20 14:11:11 +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 4eb66b3d1b Update elsa designer package version 2023-02-15 15:45:23 +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