Commit Graph

118 Commits (ad465821518fcff7c394076d3e19588cc2a3ca88)

Author SHA1 Message Date
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
Alex Reich fb2e19da7c
Rules engine editor readme (#237)
* conventional progress

* Revert "conventional progress"

This reverts commit 9b404416b9.

* RulesEngineEditor inclusion in README

* Moved Editor into 3rd Party Tools

Co-authored-by: Alex Reich <Alex_Reich@mechanicsbank.com>
2021-09-17 09:54:50 +00:00
Abbas Cyclewala 10df53da8a
updated dependabot config (#240) 2021-09-15 19:42:01 +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
Abbas Cyclewala 1449d05810
Added strongname signing for RulesEngine (#231)
* Added strongname signing
2021-09-09 16:03:52 +05:30
Alex Reich 7b089a8260
Nested rules null operator check (#230)
* conventional progress

* Revert "conventional progress"

This reverts commit 9b404416b9.

* Check for issue on Rules field with missing (null) operator

* Rule Validator cleanup + Rule Validation Tests

Co-authored-by: Alex Reich <Alex_Reich@mechanicsbank.com>
2021-09-07 03:58:23 +00:00
Jason Finch 548faba2a8
Update readme (#228)
Minor sentence structure changes to read easier.
2021-09-06 10:35:37 +05:30
dependabot[bot] be8a91d651
Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0 (#208)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.10.0 to 16.11.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.10.0...v16.11.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-18 12:27:41 +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
Aleksandar Ivanov fe38ed5c9f
Resolves: Add GitHub Codespaces configuration (#167)
* Create Codespaces configuration (#10)

* locked image version to latest tagged
2021-08-12 05:30:39 +00:00
dependabot[bot] 3ea7fdac96
Bump FastExpressionCompiler from 3.2.0 to 3.2.1 (#188)
Bumps [FastExpressionCompiler](https://github.com/dadhi/FastExpressionCompiler) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/dadhi/FastExpressionCompiler/releases)
- [Commits](https://github.com/dadhi/FastExpressionCompiler/compare/v3.2.0...v3.2.1)

---
updated-dependencies:
- dependency-name: FastExpressionCompiler
  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-08-10 16:39:03 +00:00
dependabot[bot] c4d5bbbae4
Bump System.Linq.Dynamic.Core from 1.2.11 to 1.2.12 (#195)
Bumps [System.Linq.Dynamic.Core](https://github.com/zzzprojects/System.Linq.Dynamic.Core) from 1.2.11 to 1.2.12.
- [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.11...v1.2.12)

---
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-08-10 21:58:55 +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
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
dependabot[bot] bafbff281d
Bump FastExpressionCompiler from 3.1.0 to 3.2.0 (#165)
Bumps [FastExpressionCompiler](https://github.com/dadhi/FastExpressionCompiler) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/dadhi/FastExpressionCompiler/releases)
- [Commits](https://github.com/dadhi/FastExpressionCompiler/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: FastExpressionCompiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-24 08:19:59 +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
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
dependabot[bot] f263ba61d0
Bump System.Linq.Dynamic.Core from 1.2.9 to 1.2.10 (#151)
Bumps [System.Linq.Dynamic.Core](https://github.com/zzzprojects/System.Linq.Dynamic.Core) from 1.2.9 to 1.2.10.
- [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.9...v1.2.10)

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:29:48 +05:30
dependabot[bot] 6f1aed0e4d
Bump FluentValidation from 10.1.0 to 10.2.3 (#157)
Bumps [FluentValidation](https://github.com/JeremySkinner/fluentvalidation) from 10.1.0 to 10.2.3.
- [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.1.0...10.2.3)

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

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:21:08 +05:30
Ashish Prasad 77ed54aca7
[158] Refresh compiled rules if stale. (#159)
* [158] Refresh compiled rules if stale.

* 1. AddWorkflow should update only new rules.
1. Change to `AreCompiledRulesUpToDate`.
1. Add test cases:
  1. AddWorkflow executing previous rules.
  1. AddOrUpdateWorkflow executing new rules.

* 1. [Typo] result2 should be aserted instead of result1.

1. [NIT] Assert previousResults and newResults instead of expected and actual.

* Validate rules first before checking if the workflow name is not already added..

Co-authored-by: Ashish Prasad <ashprasa@microsoft.com>
2021-06-07 05:48:21 +00:00
UP 3a5e31571f
Correcting spelling mistakes (#160) 2021-06-06 13:40:03 +05:30
dependabot[bot] fcf172d6df
Bump Moq from 4.16.0 to 4.16.1 (#144)
Bumps [Moq](https://github.com/moq/moq4) from 4.16.0 to 4.16.1.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.16.0...v4.16.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-05-27 10:50:16 +05:30
dependabot[bot] 443cd7a9c9
Bump BenchmarkDotNet from 0.12.1 to 0.13.0 (#143)
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) from 0.12.1 to 0.13.0.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases)
- [Commits](https://github.com/dotnet/BenchmarkDotNet/compare/v0.12.1...v0.13.0)

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-27 10:27:28 +05:30
dependabot[bot] 09be422b94
Bump FastExpressionCompiler from 2.0.0 to 3.1.0 (#142)
Bumps [FastExpressionCompiler](https://github.com/dadhi/FastExpressionCompiler) from 2.0.0 to 3.1.0.
- [Release notes](https://github.com/dadhi/FastExpressionCompiler/releases)
- [Commits](https://github.com/dadhi/FastExpressionCompiler/compare/v2.0.0...v3.1.0)

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-27 10:18:14 +05:30
dependabot[bot] 21d7848ec7
Bump AutoFixture from 4.15.0 to 4.17.0 (#141)
Bumps [AutoFixture](https://github.com/AutoFixture/AutoFixture) from 4.15.0 to 4.17.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.15.0...v4.17.0)

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-27 00:54:48 +00:00
dependabot[bot] 1fe082a95f
Bump FluentValidation from 9.4.0 to 10.1.0 (#146)
Bumps [FluentValidation](https://github.com/JeremySkinner/fluentvalidation) from 9.4.0 to 10.1.0.
- [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/9.4.0...10.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 16:20:54 +00:00
dependabot[bot] f3096f9aaa
Bump coverlet.collector from 3.0.2 to 3.0.3 (#148)
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 16:19:12 +00:00