dependabot[bot]
8a42c5154e
Bump System.Linq.Dynamic.Core from 1.2.7 to 1.2.9 ( #149 )
...
Bumps [System.Linq.Dynamic.Core](https://github.com/zzzprojects/System.Linq.Dynamic.Core ) from 1.2.7 to 1.2.9.
- [Release notes](https://github.com/zzzprojects/System.Linq.Dynamic.Core/releases )
- [Changelog](https://github.com/zzzprojects/System.Linq.Dynamic.Core/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zzzprojects/System.Linq.Dynamic.Core/compare/v1.2.7...v1.2.9 )
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-05-26 21:47:37 +05:30
dependabot[bot]
cc5e0c59b1
Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.10.0 ( #145 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.8.3 to 16.10.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.10.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 21:41:01 +05:30
Aleksandar Ivanov
d8b54e7524
Resolves: Add security and versioning dependency alerts ( #139 )
...
* create Dependabot config (#1 )
* remove target-branch declaration, defaulting it to main
2021-05-26 21:24:51 +05:30
Martin
6e66784239
Fix SonarQube's "string.IsNullOrEmpty should be used" ( #137 )
2021-05-21 15:46:23 +05:30
IchHabeKeineNamen
ebf24933cf
Update ActionFactory.cs ( #132 )
2021-05-19 18:30:52 +05:30
Abbas Cyclewala
5e36760aed
Update RulesEngine.csproj ( #130 )
2021-04-28 19:58:24 +05:30
Abbas Cyclewala
0e8a38ea07
Update codeql-analysis.yml ( #129 )
2021-04-27 13:21:36 +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
f3ac4316df
Abbasc52/null rule param fix ( #119 )
...
* Fixed scoped parameter throwing exception on compilation error
* Fixed null RuleParameter throwing exception
* Replaced thrown Exceptions with RuleException
2021-04-19 11:21:33 +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
2dbdcdd7c6
Abbasc52/docs checkin ( #104 )
...
* moved wiki docs to repo
2021-02-10 14:34:28 +05:30
Abbas Cyclewala
470fc76216
Update dotnetcore-build.yml ( #100 )
...
* Update dotnetcore-build.yml
* Update dotnetcore-build.yml
* Update dotnetcore-build.yml
* Update dotnetcore-build.yml
* Update dotnetcore-build.yml
* Update dotnetcore-build.yml
* Update dotnetcore-build.yml
2021-02-02 11:09:20 +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
b39591eac1
Added support for unlimited inputs ( #76 )
...
* Added support for unlimited inputs
2020-12-11 14:48:52 +05:30
YogeshPraj
fc77d65d68
fix: LocalParam made public ( #75 )
2020-12-10 18:42:55 +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
7b05b0a656
Update nuget-publish.yml ( #69 )
2020-11-02 16:52:10 +05:30
Anurag Tripathi
487da74797
Added option to add properties to rule ( #66 )
...
* Allow custom property or tags to be added on Rule
Co-authored-by: Anurag Tripathi <anurag.tripathi@microsoft.com>
2020-11-02 15:07:52 +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
0a394a7f79
Update nuget-publish-github.yml
2020-10-16 12:46:46 +05:30
Abbas Cyclewala
9dbcd546f6
Added action to publish to dev nuget feed ( #60 )
2020-10-16 11:05:01 +05:30
YogeshPraj
c36c4612f1
Merge pull request #59 from microsoft/yoprajap/exceptionhandling
...
Updated changelog
2020-10-15 03:16:55 +05:30
Yogesh Prajapati
8b1b15a19e
fix: Updated changelog
2020-10-15 03:12:58 +05:30
YogeshPraj
dcff09232c
Added exception data properties to identify RuleName
...
Added exception data properties to identify RuleName
2020-10-15 03:07:11 +05:30
Yogesh Prajapati
6912d5fd26
Fix: conflict
2020-10-15 03:02:30 +05:30
Yogesh Prajapati
ea75aefe75
Added exception data properties
2020-10-15 03:01:27 +05:30
YogeshPraj
a71692f5da
Added option to throw error on expression compilation failure ( #57 )
2020-10-12 20:59:51 +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
David
845e92c6e1
Added MethodCallExpression support ( #53 )
...
* MemberAccessExpression / UnaryExpression / MethodCallExpression support as long as it evaluatues to a boolean value.
2020-09-21 15:51:31 +05:30
Abbas Cyclewala
6b66162e56
Users/abbasc52/bugfixes ( #48 )
...
* Added fix for cachekey
* Added fix for unknown identifier
* Updated version number for rulesengine
* Added testcase for instance utils and typecasting
2020-09-01 12:02:48 +05:30
joshidp
0bb1e5d9f9
Fix exception thrown when errormessage field is null ( #43 )
...
* format exceptio fix
* covering test case
Co-authored-by: Deepak Joshi <dejosh@microsoft.com>
2020-08-30 10:39:16 +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
b545c5b4cf
Increased coverage threshold to 95 for PR
2020-08-04 10:32:19 +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
90f84af52b
Create nuget-publish.yml
...
Added action to publish to nuget
2020-07-27 16:46:01 +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
Abbas Cyclewala
170b494b66
Fixed dynamic object support when using RuleParameter ( #33 )
2020-07-20 20:04:18 +05:30
Abbas Cyclewala
c82576e4ee
added rollforward ( #32 )
2020-07-11 18:17:46 +05:30
Abbas Cyclewala
13f0912d7c
Create codeql-analysis.yml ( #26 )
...
* Create codeql-analysis.yml
* Update codeql-analysis.yml
* Update codeql-analysis.yml
2020-06-15 18:35:54 +05:30
Abbas Cyclewala
93f0b8c009
Update workflowRules-schema.json ( #21 )
2020-05-20 13:55:29 +05:30
Dishant Munjal
7862b3b3e7
Create CHANGELOG.md
2020-05-18 16:21:50 +05:30
Dishant Munjal
b7cdedde8d
Users/dishant munjal/test cases ( #16 )
...
* test cases
* Minor changes
2020-05-18 14:49:01 +05:30
Todd Meinershagen
e920138edd
Simplified the IRulesEngine interface to have a params array for Obje… ( #14 )
...
* Simplified the IRulesEngine interface to have a params array for Objects and Rule Parameters. Also updated the code to use the ILogger from Microsoft.Extensions.Logging.
* Removed custom NullLogger and replaced with Microsoft NullLogger from Microsoft.Extensions.Logging.Abstractions package.
2020-05-12 15:52:50 +05:30