...
- Files that contain one or more rules
- Sub folders containing individual or bundled rules
Rules File Naming Conventions
Give each rule a short, meaningful name. All rules files must have a .drl file extension. Rule files without the extension are not picked up for forecasting.
...
Rules are available to be applied during packing and during each phase of the forecasting process.
Script File Extension Requirements
Rules only check SQL scripts with the following extensions by default: .sql, .dml, .ddl
...
Code Block |
---|
sqlRules.supportedScriptExtensions=.pkg,.trg,.prc,.proc,.ddl,.sql,.dml |
Packaging Rules
Rules in the SqlRules
directory are applied by Deployment Packager when packaging SQL scripts into changesets. They are not part of the forecasting process.
...
If you have many projects that all use the same set of rules, you can optionally centralize the rules by creating a rules repository in source control.
See this page for more details: How to Create a Common Rules Repository