-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Alterations with Queries #5032
Alterations with Queries #5032
Commits on Feb 28, 2024
-
Remove Elsa.Alteration Handlers and implement workflow alteration act…
…ivities The Elsa.Alterations.Handlers, Services, and Endpoints have been removed and replaced with Elsa.Alterations.Activities for various steps in executing an alteration plan. These activities include submitting an alteration plan, generating alteration jobs, and dispatching alteration jobs. New models for ActivityFilter, AlterationWorkflowInstanceFilter, and alteration activity summaries are also introduced for better management of alteration plans.
Configuration menu - View commit details
-
Copy full SHA for 0749dae - Browse repository at this point
Copy the full SHA 0749daeView commit details
Commits on Feb 29, 2024
-
Add 'PrintMessage' custom activity and update naming rules
A new 'PrintMessage' activity has been added to the custom activities of the ConsoleApp, which simply writes a 'Hello world!' message. On top of this, the naming rules in the code styling settings have been expanded, introducing separate rules for instance and static private fields.
Configuration menu - View commit details
-
Copy full SHA for b75a63f - Browse repository at this point
Copy the full SHA b75a63fView commit details -
Remove V3_1 database migration files
The V3_1 database migration files were deleted across all database providers, including MySql, SQL Server, SQLite and PostgreSQL. This is indicative of a rollback or significant revision to the data migration strategy.
Configuration menu - View commit details
-
Copy full SHA for 9972995 - Browse repository at this point
Copy the full SHA 9972995View commit details
Commits on Mar 1, 2024
-
Update product version and modify tables in Elsa DB context
Updated "Elsa" DbSet product version from "7.0.11" to "7.0.14". Additionally, added new properties as well as modified existing ones in tables like "Elsa.KeyValues.Entities.SerializedKeyValuePair" to improve data structure. Also properly ignored certain entities in the Alterations DbContext.
Configuration menu - View commit details
-
Copy full SHA for e0cc36f - Browse repository at this point
Copy the full SHA e0cc36fView commit details -
This commit introduces the V3_1 migration for the Elsa module. Changes involve the introduction of new tables and alteration of existing tables. Specifically, a new 'KeyValuePairs' table was added and several columns on various tables were renamed or altered.
Configuration menu - View commit details
-
Copy full SHA for 1a112ff - Browse repository at this point
Copy the full SHA 1a112ffView commit details -
Remove multiple Elsa.EfCore V3_1 migration files
The commit removes several migration files related to the V3_1 migration in multiple Elsa.EntityFrameworkCore modules including SqlServer, PostgreSQL, and SQLite. These files encompass changes in table structures and alterations.
Configuration menu - View commit details
-
Copy full SHA for 7645fa8 - Browse repository at this point
Copy the full SHA 7645fa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31ea051 - Browse repository at this point
Copy the full SHA 31ea051View commit details -
Update default value for ArgumentDefinition Type
The default value for the `Type` property in the `ArgumentDefinition` class was updated to `typeof(object)`. The `Type` property of `inputDefinition` in the `WorkflowBuilder` class was also modified to be set as `typeof(T)`. These modifications enable more flexible type handling.
Configuration menu - View commit details
-
Copy full SHA for 0a3bed9 - Browse repository at this point
Copy the full SHA 0a3bed9View commit details
Commits on Mar 4, 2024
-
Refactor SafeSerializer and serialization services
The SafeSerializer service and related serialization services have been comprehensively refactored. This includes the removal of internal notifications, the incorporation of [RequiresUnreferencedCode] attributes, and changes in method signatures. Methods have been simplified to return ValueTasks directly from the JsonSerializer, and the notification sender dependency was removed.
Configuration menu - View commit details
-
Copy full SHA for 5cab6b3 - Browse repository at this point
Copy the full SHA 5cab6b3View commit details -
Add JSON serialization for alterations
Implemented a JSON serializer and a custom converter for the IAlteration interface in the Elsa.Alterations.Core.Serialization namespace. Also, introduced a new IJsonSerializer interface and an implementation for standard JSON serialization in Elsa.Common. These serialization changes enhance modularity and extensibility of JSON operations, and improve handling of IAlteration objects.
Configuration menu - View commit details
-
Copy full SHA for 10f87d0 - Browse repository at this point
Copy the full SHA 10f87d0View commit details -
Add "IsSystem" field to Workflow Definitions and Instances
This update introduces a new boolean field "IsSystem" to the Workflow Definition and Workflow Instance models. This field is designed to identify system workflows which aren't meant to be modified by users. Management and Runtime module code, API endpoints, database migrations, and related classes have been updated to include this new field. The MongoDB indices and Dapper migrations have been updated as well, and serialization/deserialization processes for these types have been modified to handle this new attribute.
Configuration menu - View commit details
-
Copy full SHA for adc253f - Browse repository at this point
Copy the full SHA adc253fView commit details -
Remove outdated database migrations
Deleted database migration files from the MySql, SqlServer, and PostgreSql projects.
Configuration menu - View commit details
-
Copy full SHA for eb8c3ab - Browse repository at this point
Copy the full SHA eb8c3abView commit details -
Add V3_1 migration for Elsa.EntityFrameworkCore.Sqlite
This commit introduces the V3_1 migration for the Elsa.EntityFrameworkCore.Sqlite module. It includes changes in Alterations, Runtime, Management, and Identity contexts. These changes involve table alterations, addition of new columns, and creation of new tables. Each context alteration encapsulates relevant changes for specific functionalities of the module.
Configuration menu - View commit details
-
Copy full SHA for abc44f6 - Browse repository at this point
Copy the full SHA abc44f6View commit details -
Add
IsSystem
property to workflow classesThe `IsSystem` property has been added to several sections of the codebase related to workflows, such as `WorkflowStateMapper.cs`, `ListWorkflowDefinitionsRequest.cs`, `WorkflowDefinitionStore.cs`, and `ListWorkflowInstancesRequest.cs`. This property flag allows us to include or filter system workflows in our queries and results.
Configuration menu - View commit details
-
Copy full SHA for e8f6b66 - Browse repository at this point
Copy the full SHA e8f6b66View commit details -
Add 'UsedImplicitly' attribute to Alteration Handlers and Types
The 'UsedImplicitly' attribute from JetBrains.Annotations has been added to all Alteration Handlers and Alteration Types in the Elsa.Alterations module. This change specifies that these classes are being used implicitly and helps tools like ReSharper prevent false unused code detection.
Configuration menu - View commit details
-
Copy full SHA for 58b613a - Browse repository at this point
Copy the full SHA 58b613aView commit details -
Update migration script for efcore-3.1
The migration script efcore-3.1.sh has been updated. Module "Alterations" and provider "Sqlite" are added back into the lists while unused elements are removed for cleanup. The script now covers all necessary modules and providers, improving its overall effectiveness.
Configuration menu - View commit details
-
Copy full SHA for de4360b - Browse repository at this point
Copy the full SHA de4360bView commit details -
Remove PrintMessage class from Elsa.Server.Web bundle
This commit deletes the PrintMessage.cs file that was previously part of the Elsa.Server.Web bundle.
Configuration menu - View commit details
-
Copy full SHA for 4974c62 - Browse repository at this point
Copy the full SHA 4974c62View commit details -
Refactor MassTransit service configuration
This commit reduces line code length by merging splitted long lines into one, improves maintainability of code. It also updates the Service configuration and removes unused namespaces across files, which help to simplify the codebase. Changes have also been made to switch the MassTransit broker from RabbitMq to memory and adjust the endpoint name formatter configuration.
Configuration menu - View commit details
-
Copy full SHA for db12cde - Browse repository at this point
Copy the full SHA db12cdeView commit details -
Remove extra whitespace in Program.cs
Removed a trailing whitespace on the line declaring the useSqlServer constant in the Program.cs file. No functionality changes were made, simply a minor formatting correction to maintain clean and consistent code.
Configuration menu - View commit details
-
Copy full SHA for 03054d3 - Browse repository at this point
Copy the full SHA 03054d3View commit details -
Remove AlterationJsonConverter and update other files
The AlterationJsonConverter class has been removed, simplifying the serialization process. The AlterationSerializer.cs file was updated with additional attribute tags, giving more information about serialization expectations. Lastly, the AlterationSerializationOptionConfigurator.cs was simplified by removing unnecessary overrides and the Elsa.Alterations.Core.csproj file was tidied up by removing unused services folder reference.
Configuration menu - View commit details
-
Copy full SHA for aab2af9 - Browse repository at this point
Copy the full SHA aab2af9View commit details -
Refactor code for improved readability and maintainability
The diff shows changes across multiple files in multiple modules. Primarily, these changes revolve around formatting edits such as removing unnecessary spaces or line breaks and adjusting alignments. A significant change was also made to the MySQL server version in the `DbContextOptionsBuilder.cs` file. These adjustments help improve the readability and maintainability of the code, making it easier to understand and modify in future iterations.
Configuration menu - View commit details
-
Copy full SHA for e18ec06 - Browse repository at this point
Copy the full SHA e18ec06View commit details -
Remove unnecessary notification files and refactor code
Several files pertaining to workflow serialization notifications were deemed unnecessary and removed. The Endpoint class in the `Elsa.Workflows.Api` module has been refactored for efficient usage of the `IWorkflowDefinitionStore` store, and similarly the `HttpFeature.cs` and `DesignTimeDbContextFactoryBase.cs` files have been slightly refactored for better readability and optimization.
Configuration menu - View commit details
-
Copy full SHA for 757d62d - Browse repository at this point
Copy the full SHA 757d62dView commit details -
Refactor HttpFeature class on variable types order
The variable types order within the HttpFeature class in the Elsa Http module has been reorganized for cleaner code. No functional changes have been made - only the order of the types has been rearranged. This refactoring contributes to better readability and code maintenance.
Configuration menu - View commit details
-
Copy full SHA for a026023 - Browse repository at this point
Copy the full SHA a026023View commit details -
Add 'issue/*' branch to GitHub workflow triggers
This update includes 'issue/*' branches in the trigger configuration of GitHub workflows. Now, these branches will trigger specified GitHub actions, facilitating more effective issue tracking and resolution.
Configuration menu - View commit details
-
Copy full SHA for 959511c - Browse repository at this point
Copy the full SHA 959511cView commit details
Commits on Mar 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f3f046a - Browse repository at this point
Copy the full SHA f3f046aView commit details -
Change version option in WorkflowDefinitionManager
The version option in the WorkflowDefinitionManager has been updated. Previously it was set to "LatestAndPublished", but this has been changed to "LatestOrPublished", adjusting the way the manager handles workflow versions.
Configuration menu - View commit details
-
Copy full SHA for 342c6f2 - Browse repository at this point
Copy the full SHA 342c6f2View commit details
Commits on Mar 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 79e9c1a - Browse repository at this point
Copy the full SHA 79e9c1aView commit details
Commits on Mar 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 43a5f59 - Browse repository at this point
Copy the full SHA 43a5f59View commit details -
Update GitHub Actions to remove duplicate branch pattern
Removed the duplicated 'issue/*' entry from the branch trigger list in packages.yml to prevent redundancy in GitHub Actions workflow triggers. This ensures workflows are triggered correctly and efficiently for branch patterns intended for CI processes.
Configuration menu - View commit details
-
Copy full SHA for 2531554 - Browse repository at this point
Copy the full SHA 2531554View commit details -
Configuration menu - View commit details
-
Copy full SHA for a89cc79 - Browse repository at this point
Copy the full SHA a89cc79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50a5d4f - Browse repository at this point
Copy the full SHA 50a5d4fView commit details -
Refactor job generation in GenerateAlterationJobs
Refactored the GenerateAlterationJobs activity to enhance code readability and maintainability. Broke down the ExecuteAsync method into smaller, purpose-specific private methods and added the missing `Elsa.Alterations.Core.Models` namespace.
Configuration menu - View commit details
-
Copy full SHA for 8d5d997 - Browse repository at this point
Copy the full SHA 8d5d997View commit details -
Refactor consumer concatenation logic in MassTransitFeature
Removed the commented-out code that filtered temporary queues, simplifying the concatenation of consumer types with workflow message consumers.
Configuration menu - View commit details
-
Copy full SHA for 316eae6 - Browse repository at this point
Copy the full SHA 316eae6View commit details -
Refactor whitespace and improve readability
Removed extraneous whitespaces and reformatted the `IsEmpty` property for better code readability. This enhances the code structure without affecting functionality.
Configuration menu - View commit details
-
Copy full SHA for 0a11a36 - Browse repository at this point
Copy the full SHA 0a11a36View commit details -
Refactor MassTransitFeature configuration
Moved transport configuration logic into the dedicated `ConfigureInMemoryTransport` method and removed unused usings to simplify the `MassTransitFeature` class setup. This streamlines setting up MassTransit in-memory transport and improves code maintainability.
Configuration menu - View commit details
-
Copy full SHA for 0aa3c57 - Browse repository at this point
Copy the full SHA 0aa3c57View commit details