Skip to main content

FlowX.AI Database-Service Mapping

Source: extracted from /Users/caravasiledragos/core/flowx-core-services codebase analysis. Designer (/Users/caravasiledragos/designer-context) is pure frontend — no database connections.

PostgreSQL

PostgreSQL details

ServiceDatabaseOperationsSchema managementConfig file
AdminflowxadminCreates, reads, writesLiquibase migrationsapplication-datasource-sql.yml
Advancing ControlleradvancingCreates, reads, writesLiquibase migrationsapplication-datasource-sql.yml
Application Managerapp_managerCreates, reads, writesLiquibase migrationsapplication-datasource-sql.yml
Authorization Systemauth_systemCreates, reads, writesLiquibase migrationsapplication-datasource-sql.yml
Document PlugindocumentCreates, reads, writesLiquibase migrationsapplication-datasource-sql.yml
Email Gatewayemail_gatewayCreates, reads, writesLiquibase migrationsapplication-datasource-sql.yml
LicenselicenseCreates, reads, writesLiquibase migrationsapplication-datasource-sql.yml
Mock Serverflowx-mocksCreates, reads, writesLiquibase migrationsapplication-datasource-sql.yml
Organization Managerorg_managerCreates, reads, writesLiquibase migrationsapplication-datasource-sql.yml
Process Engineprocess_engineCreates, reads, writesLiquibase migrationsapplication-datasource-sql.yml
Task Managementprocess_engineReads, writesNone (shared DB)application-datasource-sql.yml
Data Syncapp_manager, auth_system, process_engineManages migrationsLiquibase coordinatorapplication-datasource-sql.yml
Shared database: process_engine is used by both Process Engine and Task Management Plugin.

MongoDB

MongoDB details

ServiceDatabaseOperationsKey collections
Admindata-modelCreates, reads, writesproperties_paths, entities_usages, local_data_entity, data_model_slices, data_mappers, system_data_models
Application Managerapp-runtimeCreates, reads, writesruntime_application, build, build_export, build_import, runtime_config_param, runtime_data_model_slice, active_build_policy
CMS Corecms-coreCreates, reads, writescontents, generic_images, themes, fonts, taxonomies, content_schemas
Document PlugindocumentCreates, reads, writesdocs_templates
Document Pluginapp-runtimeReadsRuntime data for document generation
Integration Designerintegration-designerCreates, reads, writesworkflows, workflow_nodes, workflow_instances, integration_systems, endpoints, mcp_tools
Integration Designerapp-runtimeReadsRuntime data for integration execution
Notification PluginnotificationCreates, reads, writestemplates, otps, in_app_notifications, notifications
Notification Pluginapp-runtimeReadsRuntime data for notification delivery
SchedulernotificationCreates, reads, writesscheduled_messages, scheduled_timer_event
Task Managementtask-management-pluginCreates, reads, writesusers_assigned_tasks, hooks, tasks, views, task_histories
Task Managementapp-runtimeReadsRuntime data for task resolution
Process Engineapp-runtimeReadsRuntime data for process execution
Email Gatewayapp-runtimeReadsRuntime data for email delivery
NoSQL DB Runnernosql-db-runnerCreates, reads, writesCustom collections (FlowX Database feature)
Shared databases:
  • app-runtime — Created by Application Manager, read by 6 other services
  • notification — Shared by Notification Plugin and Scheduler

Elasticsearch


Redis (caching)

All services below use Redis for caching via Spring Cache Manager. Redis is not a system-of-record.

S3-compatible object storage


Services with NO database (pure gateway/utility)

ServiceStoragePurpose
Events GatewayRedis only (pub/sub + cache)Event streaming and distribution
Data SyncLiquibase migrations onlySchema migration coordinator
Runtime ManagerDocker-only serviceRuntime orchestration
Designer (frontend)NoneWeb UI, communicates via HTTP to backend services

Summary: services per database type

ServicePostgreSQLMongoDBElasticsearchRedisS3
Adminflowxadmindata-modelcache
Advancing Controlleradvancing
Application Managerapp_managerapp-runtimecacheapplications-bucket
Audit Coreaudit index
Authorization Systemauth_systemcache, sessions
CMS Corecms-corecachemedia-library-bucket, cms-private-storage-bucket
Data Searchprocess index (read)
Data Syncmigrations only
Document Plugindocumentdocument, app-runtime (read)cacheflowx-dev-bucket, temp-bucket
Email Gatewayemail_gatewayapp-runtime (read)cache
Events Gatewaycache, pub/sub
Integration Designerintegration-designer, app-runtime (read)cacheworkflows-bucket
Licenselicensecache
Mock Serverflowx-mocks
NoSQL DB Runnernosql-db-runner
Notification Pluginnotification, app-runtime (read)cache, sessionsnotifications-bucket
Organization Managerorg_managercache, sessions
Process Engineprocess_engineapp-runtime (read)process indexcache
Schedulernotification
Task Managementprocess_engine (shared)task-management-plugin, app-runtime (read)cache, sessions
Last modified on February 18, 2026