Commit Graph

147 Commits (main)

Author SHA1 Message Date
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
Abbas Cyclewala dbb8cfa238
Updated code coverage badge 2020-05-12 06:00:17 +05:30
Abbas Cyclewala 389aa10066
Update dotnetcore-build.yml 2020-05-11 16:43:55 +05:30
Abbas Cyclewala d2c9f97f0c
Fixed code coverage step in build 2020-05-11 16:41:36 +05:30
Abbas Cyclewala 93d2547ac4
Update dotnetcore-build.yml (#15)
* Update dotnetcore-build.yml

* Update dotnetcore-build.yml

* Update dotnetcore-build.yml

* Update dotnetcore-build.yml

* Updated RulesEngine.UnitTest Project file

* Update RulesEngine.UnitTest.csproj

* Update dotnetcore-build.yml

* Update dotnetcore-build.yml

* Update dotnetcore-build.yml

* Update dotnetcore-build.yml

* Update dotnetcore-build.yml

* Update dotnetcore-build.yml

* Added code coverage badge
2020-05-11 15:56:53 +05:30
Abbas Cyclewala 96a21eb774
Update README.md
Added build badge
2020-04-23 10:22:31 +05:30
Abbas Cyclewala b6c0e24d01
Update dotnetcore-build.yml 2020-04-23 10:19:44 +05:30
Abbas Cyclewala af14397e9e
Create dotnetcore-build.yml 2020-04-23 10:17:21 +05:30
Abbas Cyclewala af53705ab5
Added example with AndAlso and OrElse (#12) 2020-04-23 09:30:44 +05:30
Abbas Cyclewala 63087f4f2a
Update README.md
Updated download link
2020-04-03 20:38:24 +05:30
Abbas Cyclewala a3606aca20
Update README.md
Added nuget downloads badge
2020-03-30 14:26:48 +05:30
Abbas Cyclewala 7f2a3af7cc
Added demo for nested objects (#7) 2020-03-10 10:52:04 +05:30
Dishant Munjal 158bb81a6c
concurrency fix (#4) 2020-01-16 16:58:09 +05:30
Dishant Munjal 63ecbe6a64
including exceptions scenario (#2)
* including exceptions scenario

* Unit Test Cases
2019-09-24 08:53:33 +05:30
Dishant Munjal 07ed77042d Merge branch 'master' of https://github.com/microsoft/RulesEngine 2019-08-20 10:29:06 +05:30
Dishant Munjal 5931520a1a nuget package update 2019-08-20 10:29:00 +05:30
Dishant Munjal 9ee915b7bd
Update README.md 2019-08-20 10:20:57 +05:30
Dishant Munjal 3ab9977870
Update README.md 2019-08-13 16:09:47 +05:30
Dishant Munjal b960802bab Initial Commit 2019-08-13 15:36:57 +05:30