Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert sending input as global state instead of parameter #5425

Merged
merged 6 commits into from
May 22, 2024
Merged

Commits on May 21, 2024

  1. Add distributed locking to MassTransitWorkflowDispatcher

    This commit introduces a distributed lock to the MassTransitWorkflowDispatcher to prevent concurrent updates to the workflow instance. The lock is acquired before any interaction with the workflow instance and is released after the update operation is complete.
    sfmskywalker committed May 21, 2024
    Configuration menu
    Copy the full SHA
    a24e62b View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    edd815a View commit details
    Browse the repository at this point in the history
  2. Refactor MassTransitWorkflowDispatcher for simplified code

    Removed unnecessary code in the MassTransitWorkflowDispatcher.cs class, previously used to handle input and properties. Refactored to directly include input and properties in the DispatchWorkflowInstanceRequest object, increasing efficiency and readability.
    sfmskywalker committed May 22, 2024
    Configuration menu
    Copy the full SHA
    d573af1 View commit details
    Browse the repository at this point in the history
  3. Remove unused IDistributedLockProvider dependency

    The IDistributedLockProvider dependency in the constructor of MassTransitWorkflowDispatcher class was removed because it was identified as unnecessary in this context. This results in less complicated code and improved maintainability.
    sfmskywalker committed May 22, 2024
    Configuration menu
    Copy the full SHA
    4fe974f View commit details
    Browse the repository at this point in the history
  4. Add bulk dispatch workflows unit tests

    Added a new file `BulkDispatchWorkflowsTests.cs` that contains tests for Bulk Dispatch Workflows. Also, two new workflow files `EmployeeGreetingWorkflow.cs` and `GreetEmployeesWorkflow.cs` were added to define workflows used in the unit tests. This will help ensure the Bulk Dispatch Workflows feature is working as expected.
    sfmskywalker committed May 22, 2024
    Configuration menu
    Copy the full SHA
    e39d6a8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d4f1064 View commit details
    Browse the repository at this point in the history