Commit graph

976 commits

Author SHA1 Message Date
Sipke Schoorstra 2e9617fdce Configure Temporal activities 2021-04-04 15:37:28 +02:00
Sipke Schoorstra bc98094b6b Designer activity editor controls tweaks and fixes 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 4611ef2e08 Add convenience SyntaxNames class with commonly used syntax names 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 09892074bb Add Default Syntax and Supported Syntax activity property attributes 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 2f12ed68cc Fix WebhookActivityTypeProvider property config 2021-04-04 15:37:28 +02:00
Sipke Schoorstra f92a2802d8 Configure SendEmail activity 2021-04-04 15:37:28 +02:00
Sipke Schoorstra eb1977c730 Configure WriteLine activity 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 6996d41376 Incremental work on property editor modes 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 3bca56f0ff Incremental work on property editor modes 2021-04-04 15:37:28 +02:00
Sipke Schoorstra 9d333ec5b8 Add Document Approval sample project 2021-04-02 16:56:08 +02:00
Sipke Schoorstra 7f38b01db5 Fix TriggersWorkflows to ignore null/empty correlation IDs 2021-04-02 16:55:46 +02:00
Sipke Schoorstra 7e6c8774e8 Add SetVariableExtensions 2021-04-02 16:55:18 +02:00
Sipke Schoorstra 9bcc32d15a Code formatting 2021-04-02 16:55:04 +02:00
Sipke Schoorstra 461e38bb32 Fix Fork activity 2021-04-02 16:54:26 +02:00
Sipke Schoorstra 8b0b479b92 Fix signaling 2021-04-02 16:54:13 +02:00
Sipke Schoorstra 0acc836f4b Fix signaling 2021-04-02 16:53:46 +02:00
Sipke Schoorstra a6d05cfce0 Remove StringValuesModel
Deserialization causes problems when a value is a single string
2021-04-02 16:52:31 +02:00
Sipke Schoorstra 0dc2dd08bf Add FodyWeavers.xml 2021-04-02 13:09:15 +02:00
Sipke Schoorstra 207bbdb60e Update Elsa.Server.Hangfire.csproj 2021-04-02 13:08:33 +02:00
Sipke Schoorstra 881f0acb7a Fix tests 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 1dfa36b9c8 Extract Quartz registration extensions into separate methods
This allows the caller to control whether or not Quartz itself should be registered.
2021-04-02 12:43:14 +02:00
Sipke Schoorstra b05861a2c0 Set command timeout to lock timeout if higher tan default of 30s 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 55c77454eb Fix couple of warnings 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 53877b68fc Extract workflow dispatch logic into reusable mediator command handlers 2021-04-02 12:43:14 +02:00
Sipke Schoorstra ac61b7fc70 Add Hangfire dispatcher implementation 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 9b91618286 Mark grains as stateless 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 3fc3f792f2 Signaling refactorings 2021-04-02 12:43:14 +02:00
Sipke Schoorstra d9b0f01029 Fix Hello World HTTP sample 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 013b5965d9 Update HttpEndpoint with default method "GET" 2021-04-02 12:43:14 +02:00
Sipke Schoorstra e58ea09353 Remove unused class 2021-04-02 12:43:14 +02:00
Sipke Schoorstra dd658a8744 Adding missing service registration 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 912d98e7bd Adding missing service registrations 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 38be994e31 Break up WorkflowRunner into smaller types and extracted reusable trigger logic 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 0d3e19dcd3 WIP: Orleans grains 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 4cf43882dc Update packages 2021-04-02 12:43:14 +02:00
Sipke Schoorstra fbb574213a Fix SetVariable extensions 2021-04-02 12:43:14 +02:00
Sipke Schoorstra c019599fae Add extensions to register dispatchers 2021-04-02 12:43:14 +02:00
Sipke Schoorstra 5796cf2893 Fix warnings and formatting 2021-04-02 12:43:14 +02:00
Sipke Schoorstra f91caf14bc Update Azure Service Bus workers to use new dispatcher APIs 2021-04-02 12:43:14 +02:00
Sipke Schoorstra bd87f5b2df Incremental work on default dispatchers in preparation for actor model implementation 2021-04-02 12:43:14 +02:00
Craig Fowler 8e16f5f269 Related to #761 - Refactor complex conversion
This removes all of the (now actually non-trivial) conversion logic from
the class which is actually responsible for executing the Jint engine.
This moves it all to a new service which uses chain of responsibility to
convert the result, using one of a few different mechanisms.

Of note is the handling of ExpandoObject when no specific type
information has been provided, and also the handling of enumerables,
with the exception of strings.
2021-04-01 20:25:09 +02:00
Craig Fowler 4b5d86135d Follow-up #761 - Fix for recursive case
Unfortunately Jint still chokes in this case if the expando contains
further nested expandos.  It turns out that I need to do this
recursively for it to always work.

We also have trouble with IEnumerable types.  They also can't be
round-tripped from/to JSON when they aren't deserialized as a very
specific type.
2021-04-01 20:25:09 +02:00
Craig Fowler 7ed875e53c Resolve #761 - Add special-case for ExpandoObject
It appears that this can be fixed by intercepting occasions
when Jint returns an ExpandoObject but the desired return type
is simply object.  In this scenario we must return
a Dictionary<string,object> instead of a simple object, or else
Jint freaks out should we try to stringify it later.

I also added a second test to prove that making this change hasn't
broken the way we expect Jint to work for us.
2021-04-01 20:25:09 +02:00
Craig Fowler a7f8926698 WIP #761 - Experimental commit (no exception)
This is an experimental commit.  It does stop the exception from
occurring, but it doesn't really fix the problem because now the
output is always empty-object.

It does prove that the exception was occurring because of the
usage of JsonConvert to serialize/deserialize the result.
The change made in this commit probably can't go into prod
but it is useful because it llustrates a part of the problem.
2021-04-01 20:25:09 +02:00
tomy2105 4384bdaab4 Fix for "complex" content type in HTTP Endpoint and HTTP Send request 2021-03-31 21:42:12 +02:00
Craig Fowler 89e1c604c9
Merge pull request #819 from tomy2105/feature/811-812-Send_HTTP_Request_Activity_Enhancements
SendHttpRequest enhancement for form post as well as URL bug resolution
2021-03-29 16:45:40 +01:00
tomy2105 79f4c0d8e0 SendHttpRequest enhancement for form post as well as URL bug resolution 2021-03-29 17:24:13 +02:00
Sipke Schoorstra bfe621af7d Add Telnyx options method to register custom extension provider 2021-03-29 14:57:26 +02:00
Sipke Schoorstra 19d52b6bc3 Remove custom node version installation 2021-03-29 13:48:10 +02:00
Sipke Schoorstra edd9de5156 Add automatic variable assignment of Call Control ID 2021-03-29 13:06:37 +02:00