Commit Graph

147 Commits (main)

Author SHA1 Message Date
dependabot[bot] dc52989895
Bump github/codeql-action from 2 to 3 (#572)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 02:27:49 +05:30
dependabot[bot] be6faef9f0
Bump actions/setup-dotnet from 3 to 4 (#560)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 3 to 4.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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>
2024-01-13 15:24:34 +05:30
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 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 9bcf4f334b
Users/abbasc52/doc updates (#555)
* added custom type injection in docs

* updated expression parser to support null Resettings and added standalone evaluator sample

* fixed missing bracket
2023-11-26 14:38:11 +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
Ayhan Doslu 178248b5a9
Update README.md (#536)
Fixed LamdaExpression typo, changed to LambdaExpression.
2023-10-21 12:42:15 +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
dependabot[bot] b9e1ece812
Bump BenchmarkDotNet from 0.13.5 to 0.13.6 (#503)
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) from 0.13.5 to 0.13.6.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases)
- [Commits](https://github.com/dotnet/BenchmarkDotNet/compare/v0.13.5...v0.13.6)

---
updated-dependencies:
- dependency-name: BenchmarkDotNet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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>
2023-07-31 18:23:04 +05:30
dependabot[bot] 00a73138b3
Bump coverallsapp/github-action from 1.1.3 to 2.2.1 (#504)
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.1.3 to 2.2.1.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Upgrade guide](https://github.com/coverallsapp/github-action/blob/main/UPGRADE.md)
- [Commits](https://github.com/coverallsapp/github-action/compare/1.1.3...v2.2.1)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-26 22:03:20 +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
dependabot[bot] fe70cdad88
Bump dotnet-reportgenerator-globaltool from 5.1.10 to 5.1.23 (#498)
Bumps [dotnet-reportgenerator-globaltool](https://github.com/danielpalme/ReportGenerator) from 5.1.10 to 5.1.23.
- [Release notes](https://github.com/danielpalme/ReportGenerator/releases)
- [Commits](https://github.com/danielpalme/ReportGenerator/compare/v5.1.10...v5.1.23)

---
updated-dependencies:
- dependency-name: dotnet-reportgenerator-globaltool
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 11:06:52 +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 caf41e3cd3
added basic tests for jobject based inputs (#454)
* added basic tests for jobject based inputs

* fixed test case
2023-02-01 13:23:18 +05:30
dependabot[bot] 7b4e45d2ad
Bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.3.2 (#397)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.3.1 to 17.3.2.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.1...v17.3.2)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-14 09:46:56 +00:00
dependabot[bot] ef72cd0f60
Bump Newtonsoft.Json from 13.0.1 to 13.0.2 in /src/RulesEngine (#440)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.1...13.0.2)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 12:45:38 +05:30
dependabot[bot] a2f44b8806
Bump System.Linq.Dynamic.Core from 1.2.18 to 1.2.22 (#423)
Bumps [System.Linq.Dynamic.Core](https://github.com/zzzprojects/System.Linq.Dynamic.Core) from 1.2.18 to 1.2.22.
- [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.18...v1.2.22)

---
updated-dependencies:
- dependency-name: System.Linq.Dynamic.Core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 11:07:42 +05:30
XiaoFei Du a30247931d
Fix code commenting. (#404)
Co-authored-by: XiaoFeiDu <romanchaos@163.com>
2022-10-13 09:27:31 +00:00
dependabot[bot] 7949a8b31d
Bump actions/setup-dotnet from 2 to 3 (#396)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 2 to 3.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

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>
2022-10-06 05:36:30 +00:00
Abbas Cyclewala c5801e6ac6
Update index.md 2022-10-06 10:54:31 +05:30
Abbas Cyclewala f785c15f03
Update README.md 2022-10-06 10:52:00 +05:30
Abbas Cyclewala a76601b412
Update dotnetcore-build.yml 2022-10-02 20:01:51 +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
Steven Frew a74f73a44e
suggested fix for issue #384 (#386)
* fix for ruleparameter name changes against cached rules

* fixed indentation to match rest of code

* suggested change implemented
2022-09-05 09:14:18 +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
Kulshekhar Kabra a0c424e742
chore: fix spelling (#360) 2022-06-08 13:46:05 +05:30
dependabot[bot] dd9f6f3979
Bump System.Text.Json from 6.0.3 to 6.0.4 (#359)
Bumps [System.Text.Json](https://github.com/dotnet/runtime) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v6.0.3...v6.0.4)

---
updated-dependencies:
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-19 19:48:57 +05:30
dependabot[bot] 840bcbc92b
Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 (#355)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.3 to 2.4.5.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/commits)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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>
2022-05-18 15:32:21 +05:30
microsoft-github-policy-service[bot] ad46582151
Microsoft mandatory file (#356)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-05-13 12:56:29 +05:30
dependabot[bot] 1503221cd4
Bump FluentValidation from 10.4.0 to 11.0.1 (#352)
Bumps [FluentValidation](https://github.com/JeremySkinner/fluentvalidation) from 10.4.0 to 11.0.1.
- [Release notes](https://github.com/JeremySkinner/fluentvalidation/releases)
- [Changelog](https://github.com/FluentValidation/FluentValidation/blob/main/Changelog.txt)
- [Commits](https://github.com/JeremySkinner/fluentvalidation/compare/10.4.0...11.0.1)

---
updated-dependencies:
- dependency-name: FluentValidation
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 20:51:04 +05:30
dependabot[bot] 9d69423596
Bump github/codeql-action from 1 to 2 (#348)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 21:53:16 +05:30
Abbas Cyclewala 712b39256c
Update RulesEngine.csproj 2022-04-25 10:44:48 +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
dependabot[bot] 083a42489b
Bump actions/checkout from 2 to 3 (#324)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 21:26:22 +05:30
dependabot[bot] b8cc8cbbb1
Bump System.Text.Json from 6.0.2 to 6.0.3 (#342)
Bumps [System.Text.Json](https://github.com/dotnet/runtime) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v6.0.2...v6.0.3)

---
updated-dependencies:
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 20:30:39 +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
Charlie King 99bad9ffff
In the README.md, there is an example of one creating a worklow and sending it to the rules engine. This MUST be an array (not a single workflow) and the current documentation if one was following along would not compile. I updated the sample code to have a new var List<Workflow> workflows which is passed to the rules engine. The sample 'Example Workflow' is the only workflow in this list of workflows. (#334)
Co-authored-by: Charlie King <charlie.king@dimensional.com>
2022-03-18 14:49:09 +05:30
Abbas Cyclewala 4a2b345fe9
updated package version and documentation update (#289) 2021-12-11 17:09:07 +05:30
Abbas Cyclewala fa9c512c49 Set theme jekyll-theme-cayman 2021-12-11 10:53:52 +05:30
Abbas Cyclewala 60b6561f27
Merge docs to main (#288)
* added more docs for local params and actions

* updated text

* fixed typo

* added wiki link in doc

* added information on expression language

* fixed links
2021-12-11 10:52:36 +05:30
Anton Kheystver 53213bf13e
Add ContainsWorkflow method to check if workflow exists (#283)
* Add ContainsWorkflow method to check if workflow exists

* Add method to interface

Co-authored-by: anton.kheystver <anton.kheystver@opensoftdev.ru>
2021-11-25 21:02:21 +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
dependabot[bot] e6624621df
Bump System.Linq.Dynamic.Core from 1.2.13 to 1.2.14 (#280)
Bumps [System.Linq.Dynamic.Core](https://github.com/zzzprojects/System.Linq.Dynamic.Core) from 1.2.13 to 1.2.14.
- [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.13...1.2.14)

---
updated-dependencies:
- dependency-name: System.Linq.Dynamic.Core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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-11-17 19:05:16 +00:00
dependabot[bot] 4afdce6c49
Bump Microsoft.NET.Test.Sdk from 16.11.0 to 17.0.0 (#266)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.11.0 to 17.0.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.11.0...v17.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-18 00:34:02 +05:30
Selman DADAK bc1b70d1cf
edited broken links in Getting-Started.md (#255)
* edited broken links in Getting-Started.md

* edited broken block diagram link.

* edited broken how it works link
2021-10-19 12:04:23 +05:30
Selman DADAK e8ba36cce5
Update Getting-Started.md (#252)
link and class name edited for "WorkflowRules class is deprecated. Use Workflow class instead"
2021-10-13 03:37:46 +00:00
dependabot[bot] 7a90b63b22
Bump System.Linq.Dynamic.Core from 1.2.12 to 1.2.13 (#251)
Bumps [System.Linq.Dynamic.Core](https://github.com/zzzprojects/System.Linq.Dynamic.Core) from 1.2.12 to 1.2.13.
- [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.12...v1.2.13)

---
updated-dependencies:
- dependency-name: System.Linq.Dynamic.Core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 15:22:38 +05:30
bavardha 12de7a1437
Updated spelling (#250) 2021-10-11 12:28:14 +05:30
Abbas Cyclewala 6138b9c749
Abbasc52/version update (#246)
* version update

* updated changelog and readme
2021-10-01 15:30:34 +05:30