Craig Fowler
8751bead5a
WIP #728 - Make WorkflowBurst default behaviour
...
In the comments to #728 it was suggested that
WorkflowBurst persistence behaviour was a more
sane default.
2021-03-09 19:57:45 +00:00
Craig Fowler
32bcf9a751
WIP #728 - Add test cases for persistence
...
This also includes a change to the workflow used in the test-case.
There are quite complex reasons for this, as explained here:
https://github.com/elsa-workflows/elsa-core/issues/728#issuecomment-794319236
The real crux of it is that the workflow must have an activity
which suspends it, and that activity that suspends the workflow
must not be the starting activity. This is why I added an unused
set-variable activity as the starter.
This commit shows that the various persistence test cases _mostly_
work OK, with the one exception of ActivityExecuted.
2021-03-09 19:57:02 +00:00
Craig Fowler
2c79a9395c
WIP #728 - Add test for in-memory persistence
...
This test case shows that in-memory persistence is
also affected. It seems that that would mean that this
issue is not related to only a single persistence provider.
In fact, in retrospect this is not really a persistence
problem at all, but a problem with the test case. More
information is available in the comments to #728 .
2021-03-09 19:56:14 +00:00
Sipke Schoorstra
98798c8dfd
Fix designer to insert new activities connected between Start and existing target
2021-03-09 14:08:16 +01:00
Sipke Schoorstra
dee30999b4
Implement drag&drop to change connections
2021-03-09 13:49:22 +01:00
Sipke Schoorstra
6220a49708
Implement delete connection on click
2021-03-09 13:49:22 +01:00
Sipke Schoorstra
bba0878de3
Implement persistence of manually created connections
2021-03-09 13:49:22 +01:00
David Peters
91675c987b
EFCore sample able to use any provider
2021-03-08 22:10:17 +01:00
David Peters
69d2260333
Sqlite indicies
2021-03-08 22:10:17 +01:00
David Peters
3d12e8969a
WIP: SQL Server cant't index nvarchar(max) fields
2021-03-08 22:10:17 +01:00
David Peters
006101499b
postgres migration
2021-03-08 22:10:17 +01:00
David Peters
0aa2f7d8b0
added EFCore indicies
2021-03-08 22:10:17 +01:00
Craig Fowler
b12a77b238
Merge branch 'feature/552-mongodb-serialization' into feature/728-WorkflowInstances-not-persisting
...
This brings some of the tests I was writing for #552 into
this branch. That's where I first repro'd this problem and
I will begin my work based on that.
2021-03-08 19:05:59 +00:00
Sipke Schoorstra
1241a75d15
Add Persistence Behavior setting to Workflow Definition settings dialog
2021-03-08 15:22:44 +01:00
Sipke Schoorstra
0e3f8b40b0
Add Unpublish button to workflow editor
2021-03-08 15:14:02 +01:00
Sipke Schoorstra
b28f4d3897
Rename Unpublish endpoint to Retract
2021-03-08 15:14:02 +01:00
Sipke Schoorstra
bbf04fb5c3
Update YesSql provider
2021-03-08 15:14:02 +01:00
Sipke Schoorstra
d53aee02be
Update migrations
2021-03-08 15:14:02 +01:00
Sipke Schoorstra
222d88c275
Add Retract endpoint
2021-03-08 15:14:02 +01:00
Sipke Schoorstra
972dd49139
Add Unpublish method to WorkflowPublisher
2021-03-08 15:14:02 +01:00
Sipke Schoorstra
62352e27ac
Remove IsEnabled flag
2021-03-08 15:14:02 +01:00
Sipke Schoorstra
b07eabc6c6
Add visual indicator when workflow being saved in the background
2021-03-08 13:39:01 +01:00
Sipke Schoorstra
e9d68c0b75
Fix System.InvalidOperationException : 'No IConfigureOptions<>, IPostConfigureOptions<>, or IValidateOptions<> implementations were found.'
2021-03-08 10:38:09 +01:00
Sipke Schoorstra
286a9586ad
Fix activity attribute on SendAzureServiceBusMessage
2021-03-07 13:00:23 +01:00
Sipke Schoorstra
ed012d9c64
Fix Published notification message binding
2021-03-06 22:07:05 +01:00
Sipke Schoorstra
7481d3e08b
Add Published notification
2021-03-06 22:04:30 +01:00
Craig Fowler
672e32a7ca
WIP #552 - Add unit test to repro
...
Actually, this unit test does not repro the issue.
Frustratingly I can't get it to save the executed workflow
into MongoDB at all. I see workflow execution logs
being saved, but the instance doesn't go in.
I'm not sure if this is a mistake I'm making or whether
I have found a different bug of some sort.
2021-03-06 17:22:37 +00:00
Craig Fowler
cbc7c2d461
WIP #552 - Refactor test logic (reusability)
...
This refactor of integration test logic is to boost its
reusability. Moving some functionality to attributes &
customization classes means I can reuse elsewhere without
duplication.
2021-03-06 13:55:19 +00:00
Sipke Schoorstra
5e665c9119
Add JS functions to get and set variables
2021-03-06 14:33:42 +01:00
Sipke Schoorstra
5d3385e594
Update elsa designer tailwind
2021-03-06 14:29:54 +01:00
Sipke Schoorstra
02c93016aa
Update README.md
...
Remove Gitter channel
2021-03-06 14:01:48 +01:00
Sipke Schoorstra
d7d7bd4a7e
Add RunJavaScript activity
2021-03-06 13:41:52 +01:00
Sipke Schoorstra
dc95276abb
Update SendEmail activity property UI hints
2021-03-06 09:40:49 +01:00
Sipke Schoorstra
21ac6866ea
Add multi-text control
2021-03-06 09:40:49 +01:00
Sipke Schoorstra
0a4c564667
WIP: Add plugin model for customizing activity displays
2021-03-06 09:40:49 +01:00
Sipke Schoorstra
7f768f4b17
Update If activity to use expression editor input control for Condition
2021-03-06 09:40:49 +01:00
Sipke Schoorstra
4b33418cf7
Fix declarative composite activity definition to blueprint mapping
2021-03-04 21:52:23 +01:00
Sipke Schoorstra
b5f5d5d223
Update Blazor Bindings with latest stencil component
2021-03-04 17:45:59 +01:00
Sipke Schoorstra
f8d0a7ec03
Fix typo and client
2021-03-04 17:45:59 +01:00
Sipke Schoorstra
6eadac5736
Improve javascript engine
2021-03-04 17:45:59 +01:00
Sipke Schoorstra
8aa40f9f73
Handle re-scheduling of temporal events after (re-)indexing triggers
2021-03-04 17:45:59 +01:00
Sipke Schoorstra
9e31439802
Fix JavaScriptExpressionHandler string conversion
2021-03-04 17:45:59 +01:00
Sipke Schoorstra
3b7e5aff57
Add dropdown control
2021-03-04 17:45:59 +01:00
Sipke Schoorstra
9c6c141516
Add checkbox control
2021-03-04 17:45:59 +01:00
Sipke Schoorstra
149916c73d
Minor cleanup
2021-03-04 17:45:59 +01:00
Sipke Schoorstra
bd23810972
Re-index workflow triggers when workflow definition gets published
2021-03-04 17:45:59 +01:00
Sipke Schoorstra
b90e0c1a71
Implement workflow registry cache eviction upon workflow definition saving
2021-03-04 17:45:59 +01:00
Sipke Schoorstra
59d2cf8239
Publish WorkflowDefinitionPublished event when publishing workflow definition
2021-03-04 17:45:59 +01:00
Sipke Schoorstra
9cf13df50d
Update TriggerFinder parameter naming
2021-03-04 17:45:59 +01:00
Sipke Schoorstra
128705fd19
Make WorkflowBlueprintMaterializer resilient to missing properties
2021-03-04 17:45:59 +01:00