Module Map
This page maps the main modules that shape IntegraMon at runtime. It is intentionally practical: the goal is to know where a behavior lives before diving into code or changing a process.
Frontend entry points
frontend/src/route/Routes.jsxCentral route map for dashboards, tenant views, admin, superadmin,/docs, and/sysdocs.frontend/src/pages/components/config/AddConfigWizard.jsxFirst-time tenant creation flow and default builder.frontend/src/pages/components/config/Config.jsxMain tenant workspace that loads overview, settings, alerts, messages, packages, artifacts, archives, and keystore views.frontend/src/pages/components/config/ConfigOverview.jsxOperational overview entry for tenant-centered monitoring actions.frontend/src/pages/components/focused/FocusedConfig.jsxFocused monitoring view for rapid inspection of alerts, messages, and artifacts.frontend/src/pages/components/config/ConfigSettings.jsxOngoing tenant maintenance after creation.
Backend configuration and access
backend/src/core/views.pyCRUD APIs forcConfig,cConfigExt, access mappings, import/export, and supporting config services.backend/src/core/models.pyTenant-level metadata such ascConfig,cConfigExt, notifications, HTML templates, cleanup history, and admin settings.backend/src/core/views_admin.pyAdmin and superadmin backend operations including cleanup, metrics-related screens, and shared management data.
CPI domain backend
backend/src/cpi/views.pyRead APIs and action endpoints for messages, alerts, packages, artifacts, archives, and derived tenant runtime data.backend/src/cpi/models.pyDomain tables for message logs, correlations, payloads, alerts, packages, flows, keystore entries, and archives.backend/src/cpi/urls.pyPublic URL map for CPI-related frontend calls.
Worker and runtime modules
backend/src/cpi/worker.pyMain recurring runtime loops for package sync, payload sync, message sync, alert runs, archive processing, and related tenant background work.backend/src/cpi/tasks/task_alerts.pyAlert scheduling and orchestration entry points.backend/src/cpi/alerts_message.pyMessage-based alert evaluation.backend/src/cpi/alerts_iflow.pyFlow and package health alert evaluation.backend/src/cpi/alerts_keystore.pyCertificate and keystore-related alert evaluation.backend/src/core/worker_logging.pyLogging path resolution and worker log support driven by tenant configuration.
Documentation modules
backend/src/core/docs_service.pySource-aware docs indexing, tree generation, page loading, role filtering, and search.backend/src/core/views_docs.pyDocs API endpoints used by the shared documentation frontend.frontend/src/pages/docs/DocumentationCenter.jsxShared docs shell for both/docsand/sysdocs, including stable scrolling, TOC, search, and markdown rendering.
Module relationships
flowchart TD
Routes[Routes.jsx] --> Wizard[AddConfigWizard.jsx]
Routes --> Config[Config.jsx]
Config --> Overview[ConfigOverview.jsx]
Config --> Settings[ConfigSettings.jsx]
Config --> DetailPopups[Alerts, Messages, Packages, Archives, Keystore]
Wizard --> CoreViews[core/views.py]
Settings --> CoreViews
Overview --> CpiViews[cpi/views.py]
DetailPopups --> CpiViews
CoreViews --> CoreModels[core/models.py]
CpiViews --> CpiModels[cpi/models.py]
Worker[cpi/worker.py] --> CoreModels
Worker --> CpiModels
Reading tip
When analyzing a feature, start from the user entry point, then the API endpoint, then the persisted model or worker logic. That route usually reveals both the business intent and the runtime side effects fastest.