Commit graph

1403 commits

Author SHA1 Message Date
Sipke Schoorstra 985fd39278 Restore Elsa.DistributedLocking.Redis library 2021-05-27 15:49:43 +02:00
atorres16 4c881cd5f2 Fix CORS issue in Dashboard Monolith sample project
Moving app.UseCors() to the top of the Http Pipeline config fixes some CORS problems I found
2021-05-26 17:06:29 +02:00
Sipke Schoorstra 9835430d99 Add version to dashboard home screen 2021-05-26 12:17:18 +02:00
Sipke Schoorstra 4ca441ab4c Prevent work from being cancelled when the broker cancels 2021-05-26 12:16:56 +02:00
Sipke Schoorstra b0c097103f Remove workaround in DataMigrationManager
With YesSQL 3, we always need to commit explicitly, which appears to work well for the DataMigrationManager

Fixes #850
2021-05-25 14:35:23 +02:00
Sipke Schoorstra 3f4bbed7b6 Update XML comments on VersionOptions 2021-05-25 13:34:53 +02:00
Sipke Schoorstra ca1db18bd7 Improve JS result parsing with support for target type conversions 2021-05-25 13:24:01 +02:00
Sipke Schoorstra 0b10faad92 Add DataProtection default service and update broken samples 2021-05-25 12:12:36 +02:00
Sipke Schoorstra bb4ff3b714 Update packages 2021-05-25 09:57:17 +02:00
Sipke Schoorstra e945e58ecf Fix component tests 2021-05-24 17:57:27 +02:00
tomy2105 c7deab2a88 Time display fixed to fixed 3 decimal places. 2021-05-24 15:31:42 +02:00
Sipke Schoorstra 621a9b0696 Cleanup 2021-05-24 14:40:08 +02:00
Sipke Schoorstra 326e373491 Change log level severity 2021-05-24 14:32:30 +02:00
Sipke Schoorstra 3384f6e68f Cleanup 2021-05-24 14:32:12 +02:00
Sipke Schoorstra 005d9d0a68 Configure sample host with single-node settings 2021-05-24 11:31:11 +02:00
Sipke Schoorstra 4529a94ce2 Cleanup: remove unused namespaces 2021-05-24 11:25:42 +02:00
Sipke Schoorstra 9053eaf13c Fix multi-node timers 2021-05-24 11:25:42 +02:00
Sipke Schoorstra 030634643c WIP 2021-05-24 11:25:42 +02:00
Sipke Schoorstra 7814be98b3 Remove unused namespaces 2021-05-23 20:38:12 +02:00
Sipke Schoorstra 862bc52dc0 Regenerate EF Core migrations 2021-05-23 20:36:29 +02:00
Sipke Schoorstra a79e065ee4 Fix that workflow registry is updated also after deleting workflow definitions 2021-05-23 20:33:58 +02:00
Sipke Schoorstra 63434ff803 Fix identity too long for Hangfire hash 2021-05-23 20:09:59 +02:00
Sipke Schoorstra c95f77d9a4 Minor cleanup 2021-05-22 21:31:00 +02:00
Sipke Schoorstra c9aef8fd9a Update couple of .csproj files 2021-05-22 14:11:35 +02:00
Sipke Schoorstra 2ec654d521 Implement Redis distributed cache signal 2021-05-22 14:11:35 +02:00
Sipke Schoorstra b5453b23a2 Add support for pub-sub consumers and implement Rebus distributed cache signaling 2021-05-22 14:11:35 +02:00
Sipke Schoorstra 01839b19e5 Fix race condition with bookmark querying and updating
Fixes #965
2021-05-21 21:39:16 +02:00
Sipke Schoorstra e08eb981e9 Disable cancellation on trigger endpoints 2021-05-21 19:34:06 +02:00
Sipke Schoorstra e51e743d78 Fix workflow instance locking 2021-05-21 14:15:18 +02:00
Sipke Schoorstra bd012d0965 Improve RemoveScheduledTriggers to always try and unschedule timers
This prevents an issue when a custom activity e.g. Sleep dervices from Timer
2021-05-21 13:30:01 +02:00
Sipke Schoorstra b28dfa92ee Add sample project demonstrating signals and JSON based workflows 2021-05-21 12:33:21 +02:00
Sipke Schoorstra 9650962755 Fix SendHttpRequest 2021-05-21 11:51:18 +02:00
Sipke Schoorstra 77dbbad3ca Further workflow journal & workflow instance viewer improvements 2021-05-20 20:57:39 +02:00
Sipke Schoorstra d3a8e74165 Fix critical timer bug
These removed checks were necessary only with the Elsa 1 implementation.
In Elsa 2, they are not only unnecessary, but would potentially cause timers to stop ticking if the scheduler (Quartz or Hangfire) execute the scheduled job *too soon*. This can sometimes happen, in which case the activities would return "cannot execute yet".
In which case the workflow runner simply does nothing.

We could have changed it such that the service responsible for scheduling timer event jobs handles "cannot execute" instances, but it's easier to just remove OnExecute altogether.
2021-05-20 20:56:45 +02:00
Sipke Schoorstra 18c4ed6be0 Activity fault popup enhancements 2021-05-20 19:09:22 +02:00
Sipke Schoorstra c8a0bb32ab Further journal enhancements
#1016
2021-05-20 19:04:55 +02:00
Sipke Schoorstra 1834f5686d Workflow Instance Viewer: Capitalize data items and decrease fault width 2021-05-20 16:11:05 +02:00
Sipke Schoorstra 6d12ec61c1 Do not return unnecessary Done outcome in case of explicitly defined outcomes
Fixes #1018
2021-05-20 15:04:18 +02:00
Sipke Schoorstra 246ca1b961 Fix Elsa Dashboard + Server Monolith sample project 2021-05-20 14:08:43 +02:00
Sipke Schoorstra 05ed6a366d Fix Hangfire temporal activities 2021-05-20 13:42:33 +02:00
Sipke Schoorstra 007e28fb47 Workflow viewer improvements 2021-05-20 11:05:52 +02:00
Sipke Schoorstra e724d6030a Incremental work on workflow journal UI 2021-05-20 11:05:52 +02:00
Sipke Schoorstra c1c5673726 Remove unnecessary configuration action
Instead, use e.g. `services.Configure<ApiVersioningOptions>(options => options.UseApiBehavior = false);`
2021-05-20 09:32:46 +02:00
Sipke Schoorstra eabe272b46 Revert previous API Versioning config and instead expose ApiVersioningOptions to allow for UseApiBehavior to be disabled by host 2021-05-19 21:24:00 +02:00
Sipke Schoorstra a6510b242a Introduce API options to customize or disable Api Versioning 2021-05-19 20:58:42 +02:00
Sipke Schoorstra f80c0e1716 Implement signals dispatch & execute endpoints 2021-05-19 13:34:32 +02:00
Sipke Schoorstra e4f4375520 Implement workflow trigger dispatch & execute endpoints 2021-05-19 13:34:32 +02:00
Sipke Schoorstra 911b933cd5 Implement Execute and Dispatch Workflow Instance endpoint 2021-05-19 13:34:32 +02:00
Sipke Schoorstra 9c2b57865e Implement Dispatch Workflow Definition endpoint 2021-05-19 13:34:32 +02:00
Sipke Schoorstra 62236e107e Implemented Execute Workflow Definition endpoint 2021-05-19 13:34:32 +02:00