Production Deployment Examples
Production Deployment Examples
This directory contains practical examples and configurations for deploying OpenL Tablets in production environments.
Directory Structure
studio-config/
Configuration examples for OpenL Studio in production:
compose.yaml- Docker Compose configuration for Studiocompose.ad.yaml- Docker Compose configuration with Active Directory integrationREADME.md- Studio configuration documentation
example/
Complete deployment examples demonstrating various patterns:
auth-extension/
Custom authentication extension example:
- Spring configuration that registers the checker and the handler
- Custom auth checker implementation
- Access denied handler
- OpenAPI configuration with auth
example-simple/
Simple deployment example:
- Basic project structure
- Minimal configuration
- Quick start for simple use cases
example-with-dependencies/
Multi-project deployment with dependencies:
- Main project and dependency project
- Inter-project references
- Maven multi-module setup
- Dependency management patterns
applications/example-app/
Complete application example:
- Full application structure
- Java source code
- Test cases
- Production-ready configuration
Usage
Each example directory contains:
pom.xml- Maven project configurationrules.xmlorrules-deploy.xml- OpenL Tablets project configuration- Source code and resources
- README or documentation where applicable
Getting Started
- Simple Deployment: Start with
example-simple/for basic deployment patterns - Authentication: See
auth-extension/for custom authentication integration - Multi-Project: Use
example-with-dependencies/for complex project structures - Docker: Check
studio-config/for containerized deployments
Related Documentation
- Deployment - Docker images, environment variables, and Kubernetes
- Production Deployment Guide - Roles and stages of a production pipeline
- Security - Authentication of OpenL Rule Services
- Configuration - Where the settings are described
Prerequisites
- Java 21 or later
- Maven
- Docker with the Docker Compose plugin (for containerized examples)
Building Examples
Most examples can be built using Maven:
cd example
mvn clean package
For Docker Compose examples:
cd studio-config
docker compose up
Notes
- These examples are maintained for reference and testing
- Adapt configurations to your specific environment
- Review security settings before production deployment
- See individual README files for example-specific instructions