elsa-core/src/modules/Elsa.Http
Sipke Schoorstra f448e9520a
Fix reloading logic for workflow definitions (#5781)
* Add reloading logic for workflow definitions

Introduced a new mechanism to handle reloaded workflow definitions. This includes creating a "ReloadedWorkflowDefinition" model, updating the caching logic, and modifying notification handlers to work with the enhanced workflow reloading logic. This ensures workflow definitions are updated and managed correctly when published, retracted, or deleted.

* Improve RefreshActivityRegistry documentation

Updated the XML documentation to clarify that `RefreshActivityRegistry` refreshes the `IActivityRegistry` for `WorkflowDefinitionActivityProvider` whenever workflow definitions are reloaded, instead of when they are published, retracted, or deleted.

* Add 'materializer' to user dictionary

The term 'materializer' has been added to the user dictionary to improve code spelling and naming consistency. This change ensures that 'materializer' is recognized as a correct term in the codebase.

* Organize test files by adding a 'Workflows' directory

Renamed 'http-workflow.json' to indicate it belongs under 'Workflows'. This improves file organization and clarity within the 'WorkflowDefinitionReload' scenario.

* Add TestWorkflowMaterializer and TestWorkflowProvider

Introduce `TestWorkflowMaterializer` for deserializing workflows from `TestWorkflowProvider`. Added integration of these new components in the `ReloadWorkflowTests` and `WorkflowServer`. Also renamed `RemoveReloadWorkflowTests` to `ReloadWorkflowTests`.

* Rename and expand workflow reload tests

Renamed `RemoveReloadWorkflowTests` to `ReloadWorkflowTests` to better reflect its purpose and expanded with additional test cases. Added tests to verify workflow and activity registry updates after source provider changes and workflow reloads.

* Update copy settings for workflow test scenarios

Reorganized and added 'CopyToOutputDirectory' settings for JSON files in workflow test scenarios. Ensured all necessary files are correctly included and copied during output directory builds to maintain test consistency.
2024-07-17 09:51:45 +02:00
..
Abstractions Bulk Import + Export of Workflow Definitions and Instances (#4643) 2023-11-22 14:31:48 +01:00
Activities Add HTTP file download activity and supporting classes (#5608) 2024-06-15 20:31:58 +02:00
Bookmarks Add a more generic UIHandler to customize how inputAttributes can be handle by UI (#4688) 2023-12-26 18:56:29 +01:00
Constants Add Fault Code, Category and Type (#5362) 2024-05-10 15:30:32 +02:00
ContentWriters Add caching to workflow runtime and workflow management stores (#5174) 2024-04-10 11:51:40 +02:00
Contexts Add HTTP file download activity and supporting classes (#5608) 2024-06-15 20:31:58 +02:00
Contracts Add HTTP file download activity and supporting classes (#5608) 2024-06-15 20:31:58 +02:00
DownloadableContentHandlers Add HTTP file download activity and supporting classes (#5608) 2024-06-15 20:31:58 +02:00
Exceptions Bulk Import + Export of Workflow Definitions and Instances (#4643) 2023-11-22 14:31:48 +01:00
Extensions Add HTTP file download activity and supporting classes (#5608) 2024-06-15 20:31:58 +02:00
Features Added aliases for all missing types used in UI (#5743) 2024-07-10 18:38:11 +02:00
FileCaches Implement resumable downloads (#4448) 2023-09-17 22:35:13 +02:00
Handlers Fix reloading logic for workflow definitions (#5781) 2024-07-17 09:51:45 +02:00
HostedServices Merge scope change into main (#4738) 2024-01-02 14:52:53 +01:00
Middleware Lazy loading of subgraphs (#5643) 2024-06-25 09:21:50 +02:00
Models Add HTTP file download activity and supporting classes (#5608) 2024-06-15 20:31:58 +02:00
Options Add Http Response Behavior to answer synchronously using the HttpResponse Activity (#5446) 2024-05-27 21:14:25 +02:00
Parsers Add HTTP file download activity and supporting classes (#5608) 2024-06-15 20:31:58 +02:00
PortResolvers Lazy loading of subgraphs (#5643) 2024-06-25 09:21:50 +02:00
Scripting/JavaScript Refactor HTTP headers in Elsa 2023-12-08 21:53:43 +01:00
Selectors Bulk Import + Export of Workflow Definitions and Instances (#4643) 2023-11-22 14:31:48 +01:00
Serialization Refactor HTTP headers in Elsa 2023-12-08 21:53:43 +01:00
Services Lazy loading of subgraphs (#5643) 2024-06-25 09:21:50 +02:00
UIHints Fix Httpendpoint Path 2023-12-29 10:51:13 +03:00
BookmarkMetadata.cs Bulk Import + Export of Workflow Definitions and Instances (#4643) 2023-11-22 14:31:48 +01:00
Elsa.Http.csproj Overwritten System.Text.Json version due to vulnerability 2024-07-16 14:31:20 +02:00
Elsa.Http.csproj.DotSettings Add Fault Code, Category and Type (#5362) 2024-05-10 15:30:32 +02:00
FodyWeavers.xml Prepare projects for packaging 2022-11-03 21:40:23 +01:00