Commit Graph

29 Commits (main)

Author SHA1 Message Date
Abbas Cyclewala 22353a38d0
Abbasc52/optional fast compile (#570)
* added setting to turn off fast compilation

* added test cases and docs on ReSettings

* added ruleparameter.create method

* updated CHANGELOG
2024-01-12 18:32:53 +05:30
Abbas Cyclewala b783602fe6
updated dependencies (#554)
* updated dependencies

* updated changelog

* added test case to check both static and not static fields are accessible

* fixed warnings
2023-11-26 12:09:17 +05:30
Abbas Cyclewala 9e7918dde2
Abbasc52/linux behaviour test (#512)
* Added testcase as per bug

* fixed test case

* Added tests from bugs

* fixed version for FastExpressionCompiler

* updated changelog and added readme file in nuget
2023-08-16 08:53:08 +05:30
Abbas Cyclewala 103e817431
Added option to disable auto type registry (#501)
* - added option to disable auto type registry
- removed caching from RuleExpressionParser

* updated test cases

* added test cases
2023-07-12 18:18:11 +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 48e22a03cf
Update CHANGELOG.md 2022-10-02 19:54:28 +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
Abbas Cyclewala 4a2b345fe9
updated package version and documentation update (#289) 2021-12-11 17:09:07 +05:30
Abbas Cyclewala 6138b9c749
Abbasc52/version update (#246)
* version update

* updated changelog and readme
2021-10-01 15:30:34 +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
Abbas Cyclewala b763f718bc
Abbasc52/actions for nested levels (#182)
* Added support for nested rule actions

* Changed type for Actions
2021-07-20 16:54:32 +05:30
Abbas Cyclewala ec172c9b0f
made AddWorkflow throw exception when trying to add an workflow which already exists (#162) 2021-06-08 09:21:02 +05:30
Abbas Cyclewala 1a1cb540f4
updated packages and readme (#161) 2021-06-07 20:31:43 +05:30
Abbas Cyclewala 331776d3e7
perf mode for nested rules (#128)
* added perf mode for nested rules

* added more tests

* Added comments for NestedRuleExecutionMode and fixed typo

* updated readme
2021-04-27 12:17:42 +05:30
Abbas Cyclewala 65d2abbd8b
Fixed scopedParams runtime error not logging as exception message (#108) 2021-03-08 15:40:04 +05:30
Abbas Cyclewala c7b7d42efe
Made runtime error log as exception message by default (#107) 2021-03-02 14:55:47 +05:30
Abbas Cyclewala b49ffd207d
Abbasc52/nested fix (#96)
- Added GlobalParams support #97
- LocalParams now work at all nested levels #98
- Added Enabled field to Rule to enable/disable a Rule #99
- Fixed Rule compilation error not appearing as error message in certain cases #95
2021-02-02 10:29:21 +05:30
Abbas Cyclewala 04060e7159
Fixed LocalParams Cache not getting cleaned up (#93) 2021-01-21 16:09:25 +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 2886bca157
Update CHANGELOG.md (#80) 2020-12-16 17:45:32 +05:30
Abbas Cyclewala 173d2a03c9
Updated version number to 3.0.0 (#79) 2020-12-16 17:40:01 +05:30
Abbas Cyclewala 77a570ca91
Update CHANGELOG.md (#77) 2020-12-11 15:01:08 +05:30
Abbas Cyclewala a90880f126
perf improvements and benchmarking (#70)
* added perf improvements

* Added benchmark tool
2020-11-16 14:06:35 +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
Yogesh Prajapati 8b1b15a19e fix: Updated changelog 2020-10-15 03:12:58 +05:30
Yogesh Prajapati 3524db9b29 fix: rethrow exception on expression compilation failure 2020-10-12 19:16:36 +05:30
Abbas Cyclewala 2dc371c3cc
Updated minor version number in RulesEngine project (#55)
* Updated minor version number in RulesEngine project

* Update CHANGELOG.md
2020-10-02 11:51:28 +05:30
joshidp a0a8938892
Rules Engine param Feature (#24)
* Feature Description
Rules Engine has a param (like ‘var’ in c#) feature support now, it makes authoring and troubleshooting of issues very easy. Now you can breakdown your bigger statements into smaller logical expressions as parameters within a rule definition.

* renaming param to localParam

* adding change log for local param

Co-authored-by: Deepak Joshi <dejosh@microsoft.com>
2020-07-22 21:04:15 +05:30
Dishant Munjal 7862b3b3e7
Create CHANGELOG.md 2020-05-18 16:21:50 +05:30