UNPKG

raas-proxy

Version:

Rule as a Service (RaaS), change business rules on the fly from any browser. Quick integration, parallel execution, approval workflow and more..

52 lines (30 loc) 1.36 kB
## Rule as a Service proxy. #### Integrate business rules & workflow into your application under 1 minute ### Advantages: * Quick Integration * Workflow & rule boilerplate * Add / modify rules and workflows from browser * Parallel rule execution * More than 18 rule shapes including approvals, web-hook, API object listening, schedules, decisions, delay, lookup, notify and many more.. * Autoscaling to handle any amount of rule executions <br /> #### Nodejs Installation ``` install raas-proxy --save ``` <br /> #### Nodejs Example ```js const raasProxy = require('raas-proxy'); app.use(raasProxy('[subscription token]', '[customer api bearer token]')); ``` **RaasProxy parameters** * subscription token (***Required***) : This string token be acquired after a free registration from http://processrule.com * customer api bearer token (***Optional***) : This is the bearer token for the API calls if the rule wants to invoke. * learning mode (_**Optional**_): This is a boolean value which by default is false. if true then all the API calls will be send to rule engine to learn the modals. <br /> #### Screen shots of rule editor ![Rule Editor](https://npmjs-static-images.s3.amazonaws.com/rule-editor-1.png) <br /> #### Rule Shapes ![Rule Shapes](https://npmjs-static-images.s3.amazonaws.com/rule-editor-2.png)