Commit graph

306 commits

Author SHA1 Message Date
Sipke Schoorstra e1784f7f6c Rename GetVariableByName to GetVariable and increase XML coverage 2023-07-31 20:03:41 +02:00
Sipke Schoorstra 98f48f3933 Update nullability of options providers 2023-07-31 19:41:25 +02:00
gurkanguran d29df110d2
Fixed getting and setting variables in context (#4267)
* Fixed getting and setting variables in context

* Added unit tests

* Add test for named variable

* Search variable in parent contexts

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-07-31 18:53:50 +02:00
Sipke Schoorstra 64391bca8e Add client-side activity construction property support 2023-07-25 16:21:10 +02:00
Sipke Schoorstra e5e34c821b Add ActivityExecutionRecord entity, persistence and endpoints 2023-07-22 21:05:33 +02:00
Sipke Schoorstra d746456330 Use activity ID as Node ID for workflows created with tool version >= 3 2023-07-21 18:43:31 +02:00
Sipke Schoorstra d473f2354b Add ActivityName to execution log, remove FaultedAt instance timestamp 2023-07-21 17:52:52 +02:00
Sipke Schoorstra 72f4461ca3 Implement cascading deletion 2023-07-20 00:05:43 +02:00
Sipke Schoorstra 06c332389a Fix that activity input was stored o parent context instead of its own 2023-07-18 13:59:12 +02:00
Sipke Schoorstra 6ae59f06d6 Include activity version with execution log 2023-07-18 11:20:00 +02:00
Sipke Schoorstra 6e458e0053 Make Mediator package reusable from outside Elsa feature system 2023-07-17 21:43:35 +02:00
Sipke Schoorstra 2c3e5719ce Fix that flowchart name was not read from JSON 2023-07-16 22:08:08 +02:00
gurkanguran c11aa6cf5f
Implemented workflow validation for httpendpoint path (#4181)
* Validates HttpEndpoint path before publishing workflow

* Updated behaviour of mediator apis and implemented validation for workflow path

* Implement default strategy option

* Update mediator service names

* Return validation errors as 400 BadRequest

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-07-14 19:19:41 +02:00
Sipke Schoorstra 3a7b3af3b0 Improve handling of synthetic inputs and dynamic input descriptors 2023-07-13 16:16:03 +02:00
Sipke Schoorstra d482fe037e Undo experimental scheduling of signals 2023-07-12 18:39:02 +02:00
Sipke Schoorstra b9ac7f2c4b Harden Flowchart and Connection JSON serializers 2023-07-12 18:33:19 +02:00
Sipke Schoorstra 938df75664 Implement activity instance status and fix activity completion order 2023-07-09 14:03:23 +02:00
Sipke Schoorstra 9671d85013 Cleanup namespaces 2023-07-09 14:02:41 +02:00
Sipke Schoorstra fe2a897a30 Restructure models in Workflows.Core 2023-07-09 13:12:13 +02:00
Sipke Schoorstra 8c701aa0a7 Implement activity execution log record sequence ordering
This ensures events are always stored in sequence, even if their timestamps are the same.
2023-07-09 12:36:33 +02:00
Sipke Schoorstra 8bf20732be Restructure folders in API client and add WorkflowInstances API client 2023-07-07 13:53:44 +02:00
Sipke Schoorstra b5e882efc0 Add support for mixed-cased JSON keys 2023-07-06 19:32:30 +02:00
Sipke Schoorstra 49da22fb8e Add ToolVersion field to workflow definition 2023-07-06 18:06:18 +02:00
Sipke Schoorstra 0eea344406 Add ToolVersion field to workflow definition 2023-07-06 15:48:28 +02:00
Sipke Schoorstra 5d956c9b1e Fix IsCollection type extension 2023-07-04 17:55:30 +02:00
Sipke Schoorstra 299f9248f0 Update flowchart JSON converter to handle undefined connections array 2023-06-30 11:23:12 +02:00
gurkanguran bc2b4e8fde
Mongodb implementation (#4127)
* Implemented MongoDb

* Use main entity models in mongodb

* Fixed object serialization issue

* Fixed issues caused by duplicate collection names

* Optimized count query

* Fixed the issues after merge

* Revert "Fixed the issues after merge"

This reverts commit 5568af60cfc107b8ee68fd4c89fbb02946f8a6a3.

* Use expression helper to solve mongodb query issue

* Handle null values during deserialization

* Moved MongoDb project to persistence folder

* Did some refactor and added type serializer for variable fix

* Modularize mongodb indices creation

* Fixed the build

* Implement variable serializer

* Update SQLite migrations

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-06-28 22:44:51 +02:00
gurkanguran f0814f4f64
Fixes the issue with httpendoint not being suspended #4143 (#4171)
* Fixes the issue with httpendoint not being suspended #4143

* Simplify HttpEndpoint and bookmark processor

* Fix issue with null workflow state ID

* Remove implicit instalment of EF Core provider for Trigger and Bookmark store

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-06-28 20:55:57 +02:00
gurkanguran 307a497089
Show suspended activities in journal (#4170)
* Show suspended activities in journal

* Fixes #4143
2023-06-28 18:17:29 +02:00
Sipke Schoorstra e0dd53b1ad Make collections in activity descriptor read-only 2023-06-28 18:07:16 +02:00
Sipke Schoorstra 90d1905e46 Cleanup 2023-06-28 12:38:06 +02:00
Sipke Schoorstra f84617a259 Make connection JON converter more resilient 2023-06-27 10:29:32 +02:00
Sipke Schoorstra 9a512fcff6 Merge remote-tracking branch 'origin/v3' into v3 2023-06-24 13:15:30 +02:00
Sipke Schoorstra 05680edb35 Move some flow activities to the Branching category 2023-06-24 13:15:11 +02:00
gurkanguran 07b6aedbec
Fixed the issue with setVariable execution in javascript activity (#4158)
* Fixed the issue with setVariable execution in javascript activity
2023-06-24 00:12:01 +02:00
Sipke Schoorstra dab6ce622c Add backwards compatibility for customProperties <- applicationProperties 2023-06-18 22:13:15 +02:00
Sipke Schoorstra ce974a777f Rename application properties of flowchart activity for consistency 2023-06-18 22:06:54 +02:00
Sipke Schoorstra 8b05d89d43 Fix connection serialisation + front end connection error 2023-06-18 21:26:44 +02:00
Sipke Schoorstra b356cdb52b
Refactor connection model (#4146) 2023-06-18 14:32:48 +02:00
herblinernexxbizz 2a9793768a
make isReadonly editable on workflow model (#4130) 2023-06-13 10:25:42 +02:00
Sipke Schoorstra de9b3e866b Refactor-rename PortMode to PortType 2023-06-10 15:33:06 +02:00
Sipke Schoorstra b996d1d393 Extend FeatureDescriptor with namespace and full name props 2023-06-10 15:31:45 +02:00
Sipke Schoorstra 6e03f61818 Implement activity output APIs 2023-06-09 21:53:21 +02:00
Sipke Schoorstra c216185c5e
Update Workflow model with support for Inputs, Outputs and Outcomes (#4112)
* Fix mutable prop changes warning

* Fix graph no longer scrolling to content

* Remove unused namespace imports

* Update Workflow model with support for input, output and outcomes

* Update sample with EF core persistence

* Rename FluentStorage to BlobStorage
2023-06-08 11:39:19 +02:00
Sipke Schoorstra 6c1cca372c
Dapper persistence provider (#4109)
* Implement Dapper stores
2023-06-06 20:49:14 +02:00
Sipke Schoorstra 0bb2ddcfee
Support sub-workflow dependency handling of JSON workflows (#4098)
* Change "Usable as Activity" setting into checkbox

* Update client model

* Update query to use shadow property

* Update UsableAsActivity usages

* Implement staged provisioning of workflows

* Add tests

* Update migrations
2023-06-03 12:28:10 +02:00
Sipke Schoorstra 6449969604 Fix workflow memory issues 2023-05-30 23:00:52 +02:00
Sipke Schoorstra 85bff3a528 Fix output serialization 2023-05-28 20:32:51 +02:00
Sipke Schoorstra 6f455f7e70
Update DSL implementation and integration (#4073) 2023-05-28 11:54:12 +02:00
MariusVuscanNx 5703584ea2
Added modes to the switch activities (#4067) 2023-05-25 22:55:17 +02:00