elsa-core/src
raymonddenhaan 9d3f685bb6
Implemented distributed cache refresh for workflow definitions (#5095)
* Moved handler to correct namespace

* Added version deletion messages to activity registry handler

* Add MassTransit support for workflow management

* Moved logic from Workflow.Management.MassTransit project into Elsa.MassTransit project

* Added notifier to MT project for creating distributed messages

* Rename and update workflow consumer class

Renamed `WorkflowDefinitionConsumer` to `WorkflowDefinitionEventsConsumer` to better reflect its purpose. Updated references accordingly in the `MassTransitWorkflowManagementFeature` class to align with the new name.

* Shortened instance (queue) names

* Remove unnecessary comment in handler definition

An unnecessary comment mark ("/") was removed in the definition of the DistributedWorkflowDefinitionNotificationsHandler class. This change contributes to code cleanup and increases code readability.

* Add additional destinations in LoadBalancer settings

Three new destinations have been added to the LoadBalancer settings in Elsa Server. These are primarily intended to provide broader network coverage and improve overall server performance.

* Add MassTransit support in Elsa.Server

A new using directive for Elsa.MassTransit.Extensions has been included at the start of the script. In addition, under certain conditions, the system now uses the MassTransit Dispatcher in the workflow management system. These changes provide support for using MassTransit in the Elsa.Server component.

* Add MassTransitBroker enum for MassTransit setup

A new enum called MassTransitBroker has been added to represent different types of messaging brokers used in MassTransit. This has also been integrated into the Web project's Program.cs file to allow conditional usage of brokers in the MassTransit setup, enabling more flexible and dynamic configuration.

* Refactor WorkflowManagementFeature class

The WorkflowManagementFeature class has been cleaned up and its formatting has been corrected. A blank line was removed, a line break was added for readability in the AddVariableType method, and several stray spaces were also removed.

* Refactor RefreshActivityRegistryHandler.cs

This commit removes unnecessary whitespace and improves the code readability in RefreshActivityRegistryHandler.cs. The changes include deletion of extra lines and adjustment of indentation.

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2024-03-24 21:09:51 +01:00
..
bundles Implemented distributed cache refresh for workflow definitions (#5095) 2024-03-24 21:09:51 +01:00
clients/Elsa.Api.Client Update VersionOptions.cs (#5053) 2024-03-18 23:18:15 +01:00
common Add Unicode string serialization tests (#5064) 2024-03-12 19:31:39 +01:00
modules Implemented distributed cache refresh for workflow definitions (#5095) 2024-03-24 21:09:51 +01:00
Directory.Build.props Convert to use Central Package Management 2024-02-04 13:49:54 +02:00