How kaotoio/kaoto works
Main Components Overview
a) Frontend Application (packages/ui)
• React-based web application
• Visual editor components
• Form handling and validation
• State management
• Data mapping tools
• Source code editor
b) Catalog Generator (packages/catalog-generator)
• Java-based catalog generation
• Camel component processing
• Schema processing
• Maven integration
c) Testing Infrastructure (packages/ui-tests)
• Cypress E2E tests
• Storybook component testing
• Unit tests
Key Architectural Elements
[Frontend Layer]
• Visualization Components
• Form Components
• Data Mapper
• Source Code Editor
• Schema Bridge
• State Management
[Core Services Layer]
• Entity Services
• Visualization Services
• Schema Services
• XML/YAML Serialization
• Runtime Services
[Catalog Generation Layer]
• Camel Catalog Processor
• Kamelet Processor
• Schema Processor
• Maven Integration
[External Integration Layer]
• Apache Camel Integration
• Kubernetes Integration
• File System Integration
Specific Implementation Details
Important architectural patterns:
a) Component Architecture:
• React component hierarchy
• Visualization engine
• Form generation system
• Data mapping system
b) Data Flow:
• Integration definition flow
• Catalog data flow
• Schema processing flow
• User interaction flow
Important Relationships to Highlight
• How the visualization engine connects to the Camel integration
• Demonstrate the catalog generation pipeline
• Schema processing flow
• Relationship between components and services
Technical Details
Annotations for:
• React + Vite frontend
• Java-based catalog generation
• Cypress testing infrastructure
• Docker deployment support
• Maven build system
• Yarn workspace structure
Integration Points
Integration points:
• Apache Camel integration
• Kubernetes deployment
• Schema processing
• Catalog generation
• File system interaction