Commit graph

1823 commits

Author SHA1 Message Date
Sipke Schoorstra ed47dcd600 Update Azure Service Bus Send activities to use NodaTime primitives 2021-06-08 10:34:54 +02:00
jdevillard 1b75bcc3b9 Change Common Properties Category to Advanced 2021-06-08 10:17:38 +02:00
jdevillard af94019f15 revert MessageBodyExtensions and Add AzureServiceBusSendActivity Base Class for Metadata. 2021-06-08 10:17:38 +02:00
jdevillard f28c9a8be5 add capability to use MessageModel as the input of the Azure Service Bus Sender 2021-06-08 10:17:38 +02:00
Sipke Schoorstra b858b8280b Update YesSQL WorkflowInstanceDocument 2021-06-08 10:14:21 +02:00
Sipke Schoorstra f9291adaad Fix Telnyx bookmarks 2021-06-07 22:06:07 +02:00
Sipke Schoorstra 757a2f566f Refactor activity state serialization to support property types typed as object 2021-06-07 22:04:36 +02:00
Sipke Schoorstra 79fa07dc98 Update Azure Service Bus activities with output properties 2021-06-07 20:26:47 +02:00
Sipke Schoorstra ba3881ae45 Make sure to always have a content parser
This handles the case where no content parsers were registered with DI, but the HTTP middleware is still installed.
Might consider throwing an explicit exception instead later.
2021-06-07 19:23:28 +02:00
Sipke Schoorstra ea40ad1121 More correlation fixes 2021-06-07 15:21:36 +02:00
Sipke Schoorstra 26bf218da6 Fix WorkflowLaunchpad correlation locking
This fixes an issue where there was a brief moment of opportunity for callers to create duplicate workflow instances.
It also fixes duplicate workflow instances by not only querying for suspended workflows, but any other "unfinished" state workflows
2021-06-07 13:11:47 +02:00
Sipke Schoorstra 6d0fc33dae Fix that designer fails when no outcomes are specified
Fixes #1087
2021-06-06 21:23:27 +02:00
Sipke Schoorstra ee898ac624 Enable content headers for SendHttpRequest
Fixes #1078
2021-06-06 21:01:49 +02:00
Sipke Schoorstra dcfa56300c Fix that designer fails when no supported status codes are specified 2021-06-06 20:54:27 +02:00
Sipke Schoorstra 6e92b6c36e Add SendHttpRequest designer plugin
Fixes #1069
2021-06-06 20:34:36 +02:00
Sipke Schoorstra 24e378ebfc Add State activity to model finite state machines 2021-06-06 20:21:58 +02:00
Sipke Schoorstra 142d42d00c Ad default constructors to appease Swagger gen 2021-06-05 15:36:11 +02:00
Sipke Schoorstra a64675817a Fix that JS handler overwrites activity output with other props 2021-06-05 15:35:50 +02:00
Sipke Schoorstra 9b9366028e Fix JObject initialization for liquid handler 2021-06-05 15:34:52 +02:00
Sipke Schoorstra d834264c4d Remove unnecessary markup 2021-06-05 15:33:49 +02:00
Sipke Schoorstra d9b7225da7 Add Type converter to activity state serializer 2021-06-05 15:33:33 +02:00
Sipke Schoorstra 287a1bb4bb Update Blazor samples to use Elsa.Designer.Components.Web instead of using elsa-workflows-studio NPM package 2021-06-05 14:03:45 +02:00
Sipke Schoorstra a94ccf8b71 Add support for fully-qualified Monaco base URL (e.g. when using unpkg) 2021-06-05 14:02:56 +02:00
Sipke Schoorstra f8ee1f8847 Fix WorkflowStudio Razor component 2021-06-05 14:02:29 +02:00
Sipke Schoorstra 4d13dac975 Set sample projects to .NET 5 2021-06-05 13:37:25 +02:00
Sipke Schoorstra e24609d3ec Telnyx activities enhancements 2021-06-05 13:33:56 +02:00
Sipke Schoorstra d339b8d389 Add support for JProperty objects 2021-06-05 13:00:38 +02:00
Sipke Schoorstra de49a034d0 Ensure sample dashboard project always serves static web assets from IIS and non-Production environments even when not published 2021-06-05 13:00:12 +02:00
Sipke Schoorstra 2d12b5c516 Fix distributed deadlock 2021-06-05 12:59:18 +02:00
Sipke Schoorstra 0552d89f19 Ensure activity property values are restored from activity state before executing/resuming 2021-06-05 12:59:04 +02:00
Sipke Schoorstra ec172d98c1 Remove activity state from execution log to prevent large record sizes 2021-06-05 12:58:30 +02:00
Sipke Schoorstra 51a7b0f050 Add helper methods for accessing stored activity property values from activity state 2021-06-05 12:58:06 +02:00
Sipke Schoorstra 804eb27a2b Reconsider activity output 2021-06-05 12:57:01 +02:00
Sipke Schoorstra c2ce8a72b9 Telnyx activities enhancements 2021-06-05 12:56:04 +02:00
Sipke Schoorstra b4f83f43aa Fix potential race condition to Quartz scheduler causing duplicate scheduler error 2021-06-04 14:52:46 +02:00
Sipke Schoorstra 1b9e8078e3 Update Dockerfile-elsa-dashboard 2021-06-03 16:12:08 +02:00
Sipke Schoorstra 46a625a068 Replace Blazor Dashboard with two Blazor sample projects and an HTML file sample 2021-06-03 16:06:26 +02:00
Sipke Schoorstra 97df3b7bc7 Acquire lock on correlation ID when dispatching new workflows
This fixes a race condition between initial workflow execution that e.g. sends a message to a topic, which is then handled by the same workflow later on.
But if that message is delivered too soon (before the workflow got persisted & indexed), then the message consumer won't be able to find the workflow.

Acquiring a lock on the correlation ID fixes this by synchronizing access to that resource
2021-06-03 14:02:07 +02:00
Sipke Schoorstra 44d756241a Remove redundant locking 2021-06-02 14:14:45 +02:00
Sipke Schoorstra cdaa105f3e Cleanup + comments 2021-06-02 14:00:56 +02:00
Sipke Schoorstra 93e80b5248 Fix race condition between finding bookmarks and indexing workflows 2021-06-02 13:54:39 +02:00
Sipke Schoorstra b6f165cc95 Turning some Telnyx activities into "jobs" (blocking actions) 2021-06-01 22:27:14 +02:00
Sipke Schoorstra d9e88dd195 Fix type definition generation for classes 2021-05-31 20:38:10 +02:00
Sipke Schoorstra d9115639fc Add GatherUsingSpeak activity 2021-05-31 20:37:53 +02:00
Sipke Schoorstra 63a2ec6000 Prevent named activities from being rendered into typescript definition when name is empty string 2021-05-31 19:52:37 +02:00
Sipke Schoorstra 05c7973057 Fix that property setters have access to ambient activity execution
This is necessary for composite components
2021-05-31 19:51:56 +02:00
Sipke Schoorstra 79131e2dde Introduce NonPersistableAttribute to control what gets persisted in state 2021-05-31 19:50:42 +02:00
Sipke Schoorstra 3eaefab72f Various Telnyx activity enhancements 2021-05-31 19:50:09 +02:00
Sipke Schoorstra c7b0b2d497 Update Telnyx ResolveExtension with output properties 2021-05-31 19:49:20 +02:00
Sipke Schoorstra f8b3958f1c Improve Telnyx CallRingGroup 2021-05-31 19:48:48 +02:00