Commit Graph

24 Commits (main)

Author SHA1 Message Date
Abbas Cyclewala 9b53a9aa3a
Users/abbasc52/dotnet8 (#571)
* updated to dotnet 8

* fixed readme formatting

* removed unnecessary dependencies
2024-01-13 15:20:51 +05:30
Abbas Cyclewala 47e7809591
Users/abcy/libupdate (#496)
* updated dependencies

* - Improved global param compilation for multiple rules

* update version number

* updated the changelog
2023-07-08 15:35:01 +05:30
Abbas Cyclewala d0133155d6
* Updated dependecies (#394)
* * Updated dependecies
* fixed build error
* removed obsolete code

* fixed coverage threshold

* updated changelog

* removed key hashing as it can lead to conflicts

* updated container image
2022-10-01 10:23:01 +05:30
Alex Reich 77750ae0b4
Ef migration fix (#377)
* conventional progress

* Revert "conventional progress"

This reverts commit 9b404416b9.

* Shadow state fixes

* Code Cleanup

Co-authored-by: Alex Reich <Alex_Reich@mechanicsbank.com>
Co-authored-by: areich <alex@alexreich.com>
2022-07-29 09:52:20 +05:30
James Cooper d7ba03040d
Update RulesEngineContext.cs (#347)
This commit adds a line to RulesEngineContext.cs to make Entity Framework Core ignore WorkflowRulesToInject as well as WorkflowsToInject, which resolves an error causing the demo program to crash.  This fixes issue #346.
2022-04-22 06:45:57 +05:30
Abbas Cyclewala 571490455c
Abbasc52/combined fixes (#341)
* Fixed actions not working with complex objects

* removed Microsoft.Extensions.Caching dependency

* * updated nuget packages
* update dotnet version to 6 for demo/test proj
* improved integration with DynamicLinq

* added test case for jsonElement getProperty method

* updated test cases to cover case insensitivity

* updated workflow schema

* added schema for list of workflows

* fixed schema name and added to solution

* Update dotnetcore-build.yml

* Update dotnetcore-build.yml

* updated unit test proj to point to dotnet 6

* removed ilogger
2022-04-12 19:24:16 +05:30
Abbas Cyclewala 4a2b345fe9
updated package version and documentation update (#289) 2021-12-11 17:09:07 +05:30
Abbas Cyclewala 108fa91968
Enhancements (#282)
* * fixed workflowInjection not working
* added optional Inputs filter for EvaluateRuleAction

* * ActionContext now supports optional inputs
* Added support to pass additionalInputs to EvaluateRule Action
2021-11-23 17:47:10 +05:30
Alex Reich 2af72285bc
Lang updates (#235)
* conventional progress

* Revert "conventional progress"

This reverts commit 9b404416b9.

* Spelling fixes, request for author inclusion

* Update schema & readme to match new naming convention

Co-authored-by: Alex Reich <Alex_Reich@mechanicsbank.com>
2021-09-15 09:47:46 +05:30
Alex Reich 34f77ed2ec
Make consistent singlar/plural names of instances to avoid downstream… (#193)
* Make consistent singlar/plural names of instances to avoid downstream ambiguous reference issues

* Reverted ReSettings pluralization

* conventional progress

* Overhaul to simplify, cleanup, deprecate pr

* Update README.md

* Reverted RuleActions

* Cleanup

* Cleanup

* Cleanup

* Cleanup

* Deprecate RuleAction to plural

* Reverted some name changes per @abbasc52

* Clarity + VS.NET 2019 compilation fix

* Camelcase fixes

* Reverted Id properties

* Documentation updates

Co-authored-by: Alex Reich <Alex_Reich@mechanicsbank.com>
Co-authored-by: Alex Reich <alex@alexreich.com>
Co-authored-by: Abbas Cyclewala <abcy@microsoft.com>
2021-08-13 10:04:47 +05:30
Alex Reich f9def1c6f7
Deprecate Newtonsoft.Json to System.Text.Json (#191)
Co-authored-by: Alex Reich <Alex_Reich@mechanicsbank.com>
2021-07-28 14:03:11 +05:30
Alex Reich 4796cbfd70
README updates related to EF (#190)
Basic Demo shown for code only solution

Co-authored-by: Alex Reich <Alex_Reich@mechanicsbank.com>
2021-07-28 12:43:19 +05:30
Alex Reich 9f898b703b
Entity Framework demonstration (#186)
* Initial Commit

* WIP

* Readability + null ef issue r&d

* Cleanup

* Minimum Sample

* Refactored to remove EF from DemoApp

* Fixed RuleValidator issue
Added EmptyRulesTest for expected simple and nested rules empty exception

Co-authored-by: Alex Reich <alex@alexreich.com>
Co-authored-by: Alex Reich <Alex_Reich@mechanicsbank.com>
2021-07-22 21:59:26 +05:30
dependabot[bot] fec029f12e
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 (#140)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Abbas Cyclewala <abcy@microsoft.com>
2021-06-07 11:31:23 +05:30
UP 3a5e31571f
Correcting spelling mistakes (#160) 2021-06-06 13:40:03 +05:30
Abbas Cyclewala 9c8b9d484e
* fixed namespace issue (#82)
* fixed namespace issue
* added editorconfig
* cleaned up files based on editorconfig
2020-12-23 11:04:10 +05:30
Abbas Cyclewala b68861dfd5
Merge develop to master (#68)
* Users/abbasc52/add-actions (#56)

* Removed ruleinput

* Simplified compiled params code

* clean up and renaming

* Fixed caching and made test cases more specific

* updated settings

* updated nuget and fix warnings

* Added test case for invalid input name

* changed input from object to dictionary

* Added action related fields and added expression output action

* Added evaluateRuleAction and added basic tests for actions

* made action names and context case insensitive

* Added exception handling

* fixed exception message for parsing error

* improved constructor for action factory

* Added build trigger for pr to develop

* Added more testcases for actions

* Shared same instance of parser for RulesEngine and OutputExpression action

* fixed review comments

* Added null check for actions not mentioned in json

* pull fixes from master (#61)

* Renamed ExecuteRule to ExecuteAllRulesAsync and added action support (#63)

* Added support for actions
* Renamed ExecuteRule to ExecuteAllRulesAsync

* added github nuget publish
2020-11-02 09:25:43 +05:30
Abbas Cyclewala c0488f1113
Moving latest changes in develop and reverting them from master (#41)
* Revert "Increased coverage threshold to 95 for PR"

This reverts commit b545c5b4cf.

* Revert "Converted expressions to delegates and code cleanup (#34)"

This reverts commit 75baa6e358.
2020-08-28 07:44:00 +05:30
Abbas Cyclewala 75baa6e358
Converted expressions to delegates and code cleanup (#34)
* Converted expressions to delegate and code cleanup

* fixed test cases
2020-08-04 10:29:02 +05:30
Abbas Cyclewala 170b494b66
Fixed dynamic object support when using RuleParameter (#33) 2020-07-20 20:04:18 +05:30
Abbas Cyclewala af53705ab5
Added example with AndAlso and OrElse (#12) 2020-04-23 09:30:44 +05:30
Abbas Cyclewala 7f2a3af7cc
Added demo for nested objects (#7) 2020-03-10 10:52:04 +05:30
Dishant Munjal 5931520a1a nuget package update 2019-08-20 10:29:00 +05:30
Dishant Munjal b960802bab Initial Commit 2019-08-13 15:36:57 +05:30