Commit graph

4 commits

Author SHA1 Message Date
Raymond den Haan 63ae2ad649 Fix subscription name matching in RemoveOrphanedSubscriptions 2024-06-25 09:43:19 +02:00
raymonddenhaan 0ff791a0b9
Implement automated cleanup for Azure Service Bus subscriptions (#5636)
* Implement automated cleanup for Azure Service Bus subscriptions

An automated cleanup process has been added for subscriptions that do not have queues connected to Azure Service Bus. This new feature deletes orphaned topics and cleans up other remnants within the namespace.

* Removed string interpolation from log message.

* Update Program.cs

Use Memory transport to ensure docker image for demo purposes functions correctly.

* Update AzureServiceBusFeature.cs

* Update CleanupSubscriptions.cs

* Refactor notifications to commands in MassTransit module

Replaced the usage of notifications with commands in the Elsa.MassTransit.AzureServiceBus module. This included changing notification handler to command handler in methods and updating services to use the new command handlers.

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2024-06-20 22:48:03 +02:00
raymonddenhaan 4b151ff8af
Feature/cancel dispatched workflows (#5136)
* Made cancel API call dispatch the request

* Added ParentWorkflowInstanceId

* Recursively cancel child workflows

* Made single workflow cancellation include child workflows

* Updated migrations

* Processed comments
2024-03-27 12:07:55 +01:00
Sipke Schoorstra 1df8085eb0 Refactor code and update comments for better readability
Major refactoring done across several files in the src/modules directory. This includes simplifying complex sections of code, removing extraneous comments, and improving the clarity of existing comments. In addition, method names and certain variable names were updated to more accurately reflect their function.
2024-02-20 11:26:52 +01:00
Renamed from src/modules/Elsa.MassTransit.AzureServiceBus/Handlers/OrphanedSubscriptionRemover.cs (Browse further)