Commit graph

4472 commits

Author SHA1 Message Date
Sipke Schoorstra abff7f3907 Add test for activities and variables 2023-10-20 13:42:18 +02:00
Sipke Schoorstra bd1eb2edfa Rename ServiceBus integration tests project 2023-10-20 13:38:40 +02:00
Sipke Schoorstra d6481133fd Add WorkflowSerializer service for simplifies workflow deserialization 2023-10-20 11:36:12 +02:00
Sipke Schoorstra 366ce2fabd Normalize routes
This fixes an issue where routes are stored in an inconsistent format, potentially breaking workflow HTTP resumption due to bookmark hash mismatches.
2023-10-20 09:51:56 +02:00
Sipke Schoorstra c63369b567 Add system namespaces
For some reason my tooling no longer sees the global usings.
2023-10-20 09:50:57 +02:00
Sipke Schoorstra 5025577ee5 Update Elsa Studio packages 2023-10-20 09:09:36 +02:00
Sipke Schoorstra e6d4d73564 Update JS to lookup activity output by activity name 2023-10-20 09:09:11 +02:00
Sipke Schoorstra 796b92967b Safe activity node lookup 2023-10-20 09:08:37 +02:00
Sipke Schoorstra 5c2dc39606 Formatting 2023-10-20 09:08:19 +02:00
jdevillard fb68814974
Service Bus Activities enhancements - Workflow Inbox and Test (#4512)
* Add Service Bus Message Test Scenario

* change filename

* add workflow test

* save new unit test project (don't know why Guid have changed

* use WorkfloInbox Message for ReceiveActivity and Worker

* add test

* add correlationId

* add test with correlationId

* saving sln

* Fix project references

* remove Moq librairies for UnitTests Projects

* remove Moq and use NSubstitute

---------

Co-authored-by: Jérémie DEVILLARD <jdevillard@users.noreply.github.com>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-10-19 20:00:43 +02:00
Sipke Schoorstra f0047e63cb Update Stencil flow switch port provider with default case 2023-10-19 18:34:14 +02:00
Sipke Schoorstra 08d91d1852 Update display name of FlowSwitch to distinguish from sequential Switch 2023-10-19 18:18:17 +02:00
Sipke Schoorstra 443e608a05 Fix FlowJoin completion issue
The order here is important. Before this change, the flowchart would determine that there was still pending work, after which the FlowJoin would then cancel that work, leaving the Flowchart uncompleted.
2023-10-19 17:41:48 +02:00
Sipke Schoorstra cb08cad32b
Replace Stencil dashboard with Blazor in AllInOne.Web project (#4554) 2023-10-19 01:03:55 +02:00
Sipke Schoorstra a8e89731e5 Remove stale project reference 2023-10-18 22:42:23 +02:00
Sipke Schoorstra 3281523c5c Fix duplicate HTTP client handler registration
#4543
2023-10-18 22:36:54 +02:00
Sipke Schoorstra 3ae9d0a023 Add integration test for direct output mapping 2023-10-18 19:34:04 +02:00
Sipke Schoorstra e3efec75b0 Copy local output variables to attached output variables 2023-10-18 19:23:36 +02:00
Sipke Schoorstra 382dc4b124 Initial work on activity unit testing 2023-10-18 00:10:48 +02:00
Nokecy 4056434e45
fix: fix hashSet deserialize error (#4545)
* update hangfire version to 1.8.5

* fix: fix hashSet deserialize error

* fix: replace HashSet to ISet<T>

* Update polymorphic converter and tests

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-10-17 23:14:40 +02:00
Sipke Schoorstra 170a14c914 Update FlowDecision 2023-10-17 22:42:16 +02:00
Sipke Schoorstra 903486ed5a
MassTransit Alterations Dispatcher (#4547)
* Add MassTransit dispatcher for alteration jobs
2023-10-17 08:51:45 +02:00
Sipke Schoorstra 8c76360f5d Updated migrations 2023-10-15 14:24:33 +02:00
Sipke Schoorstra 92dcd9991c Add JsonElementSerializer to MongoDB persistence provider
Fixes #4482
2023-10-15 13:58:44 +02:00
Sipke Schoorstra bdb9247961 Merge remote-tracking branch 'origin/v3' into v3 2023-10-15 12:42:15 +02:00
Sipke Schoorstra b238e2ee8c Update Elsa API client 2023-10-15 12:42:09 +02:00
GitHub Action 29c3151c80 Updated designer version to 3.0.3-preview.206 2023-10-15 10:41:01 +00:00
bskfrederik 22251291b0
bugfix publish workflow results in 415 response (#4517) 2023-10-15 12:38:07 +02:00
solutionmania fd4af35aa4
Adds Swagger documentation generation and UI. (#4525) 2023-10-15 12:24:45 +02:00
Nokecy 9418382681
update hangfire version to 1.8.5 (#4537) 2023-10-15 12:12:38 +02:00
Sipke Schoorstra c1de5028e9 Update Onboarding sample with SignalR for realtime Elsa Studio updates 2023-10-15 12:02:51 +02:00
Sipke Schoorstra 9ad3b1423c Update builder API to use type name for workflow name by default 2023-10-15 12:02:18 +02:00
Sipke Schoorstra e506f277b2 Add endpoint to generate multiple runs for a workflow definition 2023-10-15 11:37:51 +02:00
Sipke Schoorstra 3ee537cc44 Update Onboarding sample project 2023-10-15 11:37:21 +02:00
Sipke Schoorstra 369e4e52c8 Fix CLR materializer
Fix that workflows materialized from CLR materializer lose definition version ID and version
2023-10-15 11:36:56 +02:00
Sipke Schoorstra c9e2b11dfe Fix RunTask activity
This fixes the issue where its bookmark would include the activity instance ID, which causes the task completion reporter to miss the bookmark, since the activity instance ID is not included. Including the activity instance ID is not necessary for locating the correct activity instance because the generated Task ID is unique for each activity run.

Fixes #4511
2023-10-15 11:35:38 +02:00
Sipke Schoorstra c2d9ec4fd2 Make programmatic workflow variable IDs deterministic 2023-10-15 11:32:13 +02:00
Sipke Schoorstra cdf5f9f614 Rename Port Resolver to Activity Resolver
In the scenario where this resolver is used, it's not about discovering ports, but about constructing a graph from the workflow by going through each activity or activities property.
2023-10-15 11:31:24 +02:00
Sipke Schoorstra 01bfc15df9 Exclude activity instance ID from HTTP Endpoint bookmarks 2023-10-15 00:24:00 +02:00
Sipke Schoorstra 402bfda6d7 Merge branch 'v3-activity-state-tracking-issue' into v3 2023-10-13 12:17:50 +02:00
Sipke Schoorstra fa18303198 Handle conversions from object arrays to strings 2023-10-13 12:17:00 +02:00
Sipke Schoorstra 4f50850a1e
Capture activity state (#4530) 2023-10-13 10:34:21 +02:00
Sipke Schoorstra 2d3c13f745 Update SafeSerializer to serialize to JsonElement 2023-10-13 10:17:34 +02:00
GitHub Action 580abe8c7f Updated designer version to 3.0.3-preview.205 2023-10-13 07:30:12 +00:00
Sipke Schoorstra c042429b60 Merge branch 'v3' into v3-activity-state-tracking-issue 2023-10-13 09:28:01 +02:00
Sipke Schoorstra 413d330f01 Merge branch 'v3-740-hotfix-1' into v3 2023-10-13 09:27:12 +02:00
cristinamudura 749756871c
Update packages.yml 2023-10-12 14:50:16 +02:00
Sipke Schoorstra 09dbb9b4d4 Update GH actions 2023-10-12 14:38:59 +02:00
Sipke Schoorstra d7bc15571b Update GH actions 2023-10-12 14:26:29 +02:00
Sipke Schoorstra b19b197484 Add Soap+XML content type support 2023-10-12 14:20:15 +02:00