WSO2 Business Rules Manager uses ruleTemplates within templateGroups, to derive business rules from. Each ruleTemplate will have a UUID - that is used to uniquely identify itself. When a ruleTemplate is specified under a worker node; SiddhiApps derived in business rules created out of that ruleTemplate will be deployed in the specified worker node.
- Open the
deployment.yamlfile in the
Deployment configurations for the Business Rules Manager are specified under
wso2.business.rules.manager. Provide the URL(s) of worker node(s) that is/are available to deploy SiddhiApps, under
List down the UUIDs of required rule templates under each node. This results in Siddhi applications created out of the business rules derived from those templates being deployed in the required nodes.
If required, you can enter a specific rule template under multiple nodes as shown below.
Before entering a specific rule template under multiple node, make sure that you have selected Many for the Instance Count field of the template. For more information, see Creating a Business Rule Template.
Note that the rule template with the
sweet-production-kpi-analysisUUIDhas been configured under two worker nodes. As indicated by this, if a business rule is derived from
sweet-production-kpi-analysis, Siddhi Applications created from it are deployed in both the nodes.
Specify the username and password that are common for all the worker nodes.
The complete deployment configuration for Business Rules looks as follows.