Giter Club home page Giter Club logo

rulette's Introduction

Build Status

What is Rulette

Rulette is a lightweight, domain-agnostic rule modelling, storage, and evaluation engine.

Rulette is a rule engine

A rule engine allows the user to store rules, load rules and to evaluate them against a given input arrive at a deterministic output. Rulette does exactly this. It allow you to create a bunch of rules with minimal boilerplate configuration.

Rulette is a multi-tenant rule engine

Rulette allow users to define multiple rule engines in the same "deployment", so to speak. You just configure multiple rule system each with its own sets of rules with as little as a few lines of SQL.

Rulette does things out-of-the-box

Rulette is targeted at practical usages of rule system and doesn't try to cover every possible eventuality. Compared to some other established products like Apache Drools, a lot of things have been left out. To compensate Rulette provides a whole bunch of functionality out of the box.

  • Common input data types - Rulette has in-built support for strings, numbers, and dates as rule inputs.
  • Custom rule inputs - If that doesnt work for you, you can define custom data types(Employee, Vehicle etc.) as inputs. It is easy to define their complete behaviour of these types which just a couple of classes.
  • Mapping input ranges to outputs - Ranges are first class citizens in Rulette.

Rulette doesn't mess with your business

Rulette does not try to "figure out" your business and its use cases and stays strictly neutral in terms of inputs and outputs. It is left to the user to decide how to interpret the result of the rule engine. This allows for great flexibility in its application. On the client side, it means clean code which is necessarily decoupled from rules, because Rulette won't let it get coupled.

Rulette can run standalone

If you do not have a Java application to use Rulette but would still like to partake of the awesomeness, Rulette also ships as a standalone executable jar which exposes all the rule system capabilities as REST APIs!!! You set up Rulette in the usual way, point rulette-rest jar to the configuration and Voila!!! You have your rule system as a service. No container, no management, no hassle.

What next

Upcoming features

  • PostgreSQL and SQLite support
  • Completely revamped rulette-rest server

rulette's People

Contributors

abhijithpradeep avatar kislayverma avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.