There are 3 types of rules:
...
- Created by IKEs
- Inherits from templates.
- Can be with extension *.scala or *.rule but should be *.scala for consistency
- The files should be added to /usr/share/indeni-knowledge/overwrite/rules/templatebased/<vendor>
- The file should be in the same path as the package definition. For example a rule class in package com.indeni.server.rules.library.templatebased.checkpoint should be in .../templatebased/checkpoint
- In case of collision with core-rules, the core-rules will be used.
- In case of collision with stable-template-base-rules, overwrite-template-base-rules will be used
- After placing your rule in overwrite, run "sudo service indeni-server restart" to reload the rules
Important:
...