Aletyx Playground Accelerators: Better Than an Archetype¶
Introduction¶
Aletyx Playground Accelerators provide a streamlined approach to taking business models and transforming them into fully functional applications. Unlike traditional Maven archetypes that simply generate a static project structure, Accelerators are dynamic, context-aware templates that understand your business assets and create tailored project structures optimized for your specific decision or process models.
Key Benefits¶
- Model-Driven Development: Start with your business models (DMN or BPMN) and instantly generate a enterprise-ready project structure
- From Concept to Cloud in Minutes: Accelerate development from initial idea to running application in your cloud environment
- Organizational Consistency: Enforce standardized project structures across your enterprise
- Integrated Best Practices: Automatically incorporate security patches, coding standards, and deployment pipelines
How Accelerators Work¶
Accelerators evaluate your existing assets and generate a complete project scaffold, including:
- All required Maven dependencies
- Proper project structure with best practices
- Ready-to-use Docker configuration
- Pre-configured CI/CD pipeline templates
- Test harnesses appropriate for your model type
Using Accelerators in Aletyx Playground¶
When working with Aletyx Playground, Accelerators are available once you've created your business models. Here's a typical workflow:
- Create or import your DMN™ or BPMN™ models in Aletyx Playground
- Click the "Apply Accelerator" button in the toolbar
- Select the appropriate Accelerator profile (e.g., "Decisions Kogito jBPM Profile")
- Review the proposed changes
- Apply the Accelerator to generate your project structure
- Prepare and deploy to the target environment!
The Accelerator will transform your browser-based model into a fully structured Java project with all the required dependencies in a standardized structure.
Example: From DMN Model to Deployable Application¶
Let's walk through a real-world example of using an Accelerator:
- After creating a simple DMN model in Aletyx Playground, click "Apply Accelerator"
- Choose "Decisions Kogito jBPM Profile"
- Click "Apply" to transform your model into a proper project structure
Your browser-based model is now transformed into a complete Java project with:
- A properly configured
pom.xmlwith all required dependencies - Your DMN model integrated as a decision service
- Auto-generated REST endpoints for invoking your decisions
- Test infrastructure for validating your decision logic
Persisting Your Accelerated Project¶
While Aletyx Playground operates primarily in your browser, you'll typically want to persist your project:
- Connect your GitHub account (or other Git provider) by clicking "Unauthenticated" and selecting "+ Connect an account..."
- Authorize Aletyx Playground with appropriate repository permissions [repo and git] - refer to Git Token Creation
- Create a new repository using the "Share" button
- Clone the repository locally using your preferred IDE
Working With Accelerated Projects Locally¶
Once you've applied an Accelerator and persisted your project, you can:
- Open the project in your local IDE (VS Code, IntelliJ, etc.)
- Build the project using Maven or your IDE's build system
- Run tests to validate your business logic
- Deploy the application using the generated Docker/container configuration
Customizing Accelerators for Your Organization¶
For enterprise users, Aletyx Playground allows creating custom Accelerators that:
- Incorporate your organization's specific libraries and dependencies
- Apply your project structure standards
- Include pre-approved security configurations
- Set up connections to your enterprise systems
- Configure your preferred deployment pipelines
Conclusion¶
Aletyx Playground Accelerators represent a significant advancement over traditional archetypes by providing a dynamic, model-aware approach to project generation. By starting with your business models and automatically generating properly structured projects, Accelerators dramatically reduce the time from concept to deployment while ensuring consistency and best practices across your organization.
For detailed information on specific Accelerator types and customization options, see our Advanced Accelerator Configuration documentation.