Commit graph

123 commits

Author SHA1 Message Date
Sipke Schoorstra 7a09944732
Refactor scheduling and background activity execution (#3884)
* Refactor background activity execution

* Refactor scheduler

* Remove Jobs module

* Add XML comments
2023-04-09 23:35:32 +02:00
Sipke Schoorstra 5331476081 Add support for implicit looping constructs
Fixes the issue where a workflow would not complete, even though all flow chart activities executed
2023-04-06 22:37:53 +02:00
MariusVuscanNx 45f27f91f5
Import publish execute integration test (#3872)
* Import publish execute integration test

* Update test

* Extracted import logic into WorkflowDefinitionImporter

* Removed the WorkflowDefinitionRequest model and done a model rename

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-04-05 19:07:04 +02:00
herblinernexxbizz ef1ec1ed08
Features/v3 test setvar getvar (#3870)
* adding set var and main/sub workflow tests

* Deprecate SetWorkflowOutput and replace with SetOutput

* cleanup code

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-04-04 08:18:54 +02:00
herblinernexxbizz dd919a4000
adding set var and main/sub workflow tests (#3855)
* Adding set var and main/sub workflow tests

* Deprecate SetWorkflowOutput and replace with SetOutput

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-04-03 14:14:39 +02:00
Sipke Schoorstra cebf6f12e3 Add integration test for reading composite activity output 2023-03-24 22:25:48 +01:00
gurkanguran e4789cf85b
Reference variable with Id instead of Name to prevent issues with updating name (#3814)
* Implemented Id property for variable for memory reference

* Removed debugger

* Fixed the issue with memory block reference of variable

* Fixed infinite recursive calling issue

* Handle variables with ID already containing

* Update JS variable getters based on declared variables

* Prevent Export from including composite roots

* Update JS evaluator with support for reading and writing variables in scope

* Fix polymorphic converter with support for arrays

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-03-22 22:50:26 +01:00
Sipke Schoorstra 3128838fee Update tests 2023-03-09 14:49:40 +01:00
Sipke Schoorstra d52bf593dd Remove unused namespace imports 2023-03-09 14:49:31 +01:00
Sipke Schoorstra 1a713b4619
Rename "services" to "contracts" and "implementations" to "services" (#3758) 2023-03-03 22:47:23 +01:00
Sipke Schoorstra c2ce3ce1d0 Fix test projects 2023-03-02 21:35:37 +01:00
Sipke Schoorstra 8770711f19 Shuffle test folders 2023-03-02 21:19:34 +01:00
Sipke Schoorstra 42ce946d64 Reset 2022-01-04 09:38:11 +01:00
Yopi Cahya 4933a2e81e
Upgrade all projects to .NET6.0 (#2616)
* Upgrade all projects to .NET6.0

* Add compatibility NET5.0

* Add compatibility NET Core 3.1

* Update appveyor.yml

* Update packages

* Update src/activities/Elsa.Activities.Http/Elsa.Activities.Http.csproj

Remove common Authorization package

* Update src/activities/Elsa.Activities.Http/Elsa.Activities.Http.csproj

reimplement fix for #1568

* reimplement fix for #1611

* add missing .netcoreapp3.1 references to persistence packages

* fix Jint reference

* change samples and tests to target .NET 6

* cleanup multi-targeting conditions in samples/tests

* revert Elsa and Elsa.Temporal.Common to .netstandard2.1 only

* Update docker files to use net6.0 SDK

* Fix docker poor performance on arm64

* Update Elsa.sln

* Update Elsa.Activities.RabbitMq.csproj

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
Co-authored-by: Mohamed Ali <antivirus.cs@gmail.com>
2021-12-26 22:31:35 +01:00
Martin Hjulström 90db29bcba
Adds the ability to inject Elsa options into WorkflowsUnitTestBase. Also adds a test for a workflow with a Timer (#2574) 2021-12-09 23:02:58 +01:00
Andrey Mishurinsky bdf304627a
Merge branch 'master' into manual_workflow_trigger 2021-09-27 15:44:56 +03:00
Sipke Schoorstra 142b574481 Update packages 2021-09-16 20:25:38 +02:00
Andrey Mishurinsky cb73a5295c
Merge branch 'master' into manual_workflow_trigger 2021-09-16 17:16:06 +03:00
axeleron007 b11ccbbc2d Use as Json Schema implementation 2021-09-15 12:32:41 +03:00
Sipke Schoorstra 6352372179 Update package references 2021-09-14 16:09:59 +02:00
Sipke Schoorstra 8255861842 Fix package downgrade error 2021-09-14 15:33:24 +02:00
Sipke Schoorstra f7a63b80c5 Reduce number of DB commits during workflow execution 2021-08-23 11:57:50 +02:00
Sipke Schoorstra 68ffd91ccc Fix warnings 2021-08-10 12:06:21 +02:00
Joseph Stewart ffb49d3283 Use expression body syntax and chaining 2021-08-07 18:56:13 +02:00
Joseph Stewart 3b46d66709 Add tests for CLR access 2021-08-07 18:56:13 +02:00
Joseph Stewart 290e6d48b0 Remove unused usings 2021-08-07 18:56:13 +02:00
Joseph Stewart dafd763097 Refactor common activity and fix bug in Liquid handler 2021-08-07 18:56:13 +02:00
Joseph Stewart 030f33740f Generalize mock activity 2021-08-07 18:56:13 +02:00
Joseph Stewart c49ed765b9 Add tests for liquid expressions 2021-08-07 18:56:13 +02:00
Joseph Stewart e51395ff21 Add test for javascript 2021-08-07 18:56:13 +02:00
Sipke Schoorstra 42e95033cf
BREAKING: Persistable input (#1302)
* Implement resuming Idle workflows + persistable input

* Refactor workflow input model

* Re-enable tests
2021-07-22 22:13:33 +02:00
Sipke Schoorstra f17cb73590 Cleanup 2021-06-29 21:03:57 +02:00
Sipke Schoorstra 9f7208d296 Fix test 2021-06-14 14:10:03 +02:00
Sipke Schoorstra f67140f7e2 Cleanup 2021-06-14 14:10:03 +02:00
Sipke Schoorstra 9ec82d9293 Refactor Output handling 2021-06-14 14:10:03 +02:00
Sipke Schoorstra 332741d54f Implement pluggable storage for activity input and output properties 2021-06-14 14:10:03 +02:00
Sipke Schoorstra 0c79bac321 Updated some namespaces 2021-06-14 14:10:03 +02:00
Sipke Schoorstra 2b77ac8fe0 Handle potential null dictionary 2021-05-28 16:38:59 +02:00
Sipke Schoorstra 4d156c7ef7 Change namespaces for MongoDB extensions 2021-05-27 20:23:18 +02:00
Sipke Schoorstra bb4ff3b714 Update packages 2021-05-25 09:57:17 +02:00
Sipke Schoorstra bdf544bd8e Bump RC to 3 2021-05-24 15:28:34 +02:00
Sipke Schoorstra 49dcd4a624 Implement workaround for EF Core bulk delete operations with Postgres
Fixes #980
2021-05-17 11:35:50 +02:00
Sipke Schoorstra 899551463e Refactor workflow collection and execution 2021-05-16 21:05:34 +02:00
Sipke Schoorstra 400a862f96 Cleanup: remove unused namespaces 2021-05-13 11:31:38 +02:00
Sipke Schoorstra cb94f4dde5 Update packages 2021-05-10 22:19:29 +02:00
Sipke Schoorstra e84e4d0c14 Update docker-compose and appveyor with Postgres 2021-05-06 19:26:32 +02:00
Sipke Schoorstra ee027eef58 Fix WithEntityFrameworkAttribute to use overload using automigrations 2021-05-05 13:13:48 +02:00
Sipke Schoorstra d0affca777 Fix test 2021-05-04 12:32:26 +02:00
Sipke Schoorstra 489750432a Remove Email and UserTask projects from Elsa project 2021-04-21 14:46:17 +02:00
Craig Fowler fa7601ca1a WIP #751 - Add integration test for using Postgres
From this commit onwards, in order to run all of the tests, you
must now have postgresql installed and running on your dev
environment.  The credentials/config is:
* Database name: elsa-yessql
* Username: postgres (this is the default anyway)
* Password: Password12! (this matches AppVeyor's postgres password)
* Port: 5432 (this is the default anyway)
2021-04-07 20:38:13 +01:00