Deploying OpenL Rule Services
Deploying OpenL Rule Services
Download
Download ruleservices.war from the latest OpenL Tablets release on GitHub. For the AWS S3, Azure Blob Storage, and Git sources, download ruleservices-all.war instead.
Deployment
- Copy to
<TOMCAT_HOME>/webapps/. The file name sets the context path; rename the file to change it. - Restart Tomcat
Configuration
Configure the data source for deployed rules. It is a repository, which Rule Services reads the deployed projects from.
Supported Sources:
- Classpath JAR: Projects packed in the JAR files of the application. This is the default source.
- File system: A local folder
- JDBC: Database storage (shared with OpenL Studio)
- JNDI: Database through a data source of the application server
- AWS S3, Azure Blob Storage, and Git: Available in the all web application of Rule Services
Key Configuration File:
application.properties, placed in the working directory, in aconfigfolder of it, or in the user’s home directory. See Externalized Configuration for all locations.- The default values of all properties are published at
<context path>/admin/config/application.propertiesof a running instance.
Example Configuration:
# Production data source
production-repository.factory = repo-jdbc
production-repository.uri = jdbc:mysql://localhost:3306/openl
production-repository.login = openl_user
production-repository.password = ***
For all data sources and their settings, see OpenL Rule Services Configuration.