rules-framework icon indicating copy to clipboard operation
rules-framework copied to clipboard

[Feature Request] Create a tool for migration of rules

Open jdromeiro opened this issue 1 year ago • 0 comments

Is your request related to a problem you have?

We currently have a large set of rules defined using code from a version of the framework prior to v3.0. In 3.0 several breaking changes have happened in the definition of the rules, and for that reason we'll need to rewrite all rules defined by code.

It would be nice to have a tool to automate this process and make it faster and easier.

Describe the solution you'd like

The ideal is to create a tool, which we can called by "Rule code generation tool", for which:

  • it accepts a set of rules in .json (the previous versions of the framerwork are alreayd capable of exporting jsons with the rules in a given rules engine)
  • processes that json, deserializes it to in-memory rules, and produces c# code related to the addition of each rule in the .json file
  • the tool should support the execution in both Windows and Linux environments

Are you able to help bring it to life and contribute with a Pull Request?

No

Additional context

No response

jdromeiro avatar Dec 02 '24 15:12 jdromeiro