OpenL Tablets — Rules Project Structure
OpenL Tablets — Rules Project Structure
rules.xml- the project descriptor and is required for every OpenL rules projectrules-deploy.xml- the deployment descriptorpom.xml- the Maven project file, required only for projects built with Mavenrules/- the conventional folder for OpenL tables2025-01-01_US/- versioned folder by properties-file-name-pattern inrules.xmlFooRules.xlsx- rules for US market effective 2025-01-01 in Excel file
PricingRules_US.xlsx- rules for US market with no effective date (always active)SharedRules.xlsx- rules shared across markets, effective date and properties-file-name-pattern agnostic
i18n/is the conventional folder for localization property files, if used via msg() functionmessage.properties- messages for the ROOT locale (fallback)message_en_US.properties- messages for English (United States)
groovy/- Groovy scripts accessible from rule tablesspring/- Spring Framework related scriptsSpringConfig.groovy- the Spring configuration entry point of the service of this project; the one of a dependency project never applies to it, and a project that no publisher publishes applies none
Service.groovy- service interface which defined inrules-deploy.xmlasserviceClass
tests/- for Test, Data and Run tablestags.properties- tag definitions of this projectopenapi.json- OpenAPI specification file for reconciliation or rules generationkafka-deploy.yaml- Deployment configuration for the Kafka Publisher.README.md- project documentation and instructions for developersAGENTS.md- guidelines for contributors working on this projectlib/- for JAR dependencies available to all modules at runtimesome-library.jar
[!Note] OpenL rules files may use obsolete
.xlsbinary format, but.xlsxis recommended for better performance and compatibility with modern Excel features.