How aliceo2group/webui works
This repository is a suite of ALICE O² web UIs and shared frontend/backend libraries, rather than one end-to-end application. Its principal user paths are domain-specific: configuration editing, control-room operations, log querying, and QC layout/object access; Tokenization provides a separate token-management service. The tree and excerpts support several internal request and service relationships, but many product integrations are unsampled, so those connections are omitted rather than inferred.
Main entry points: LogManager.js Logging manager · api.js QC API setup · TokensController.ts Token controller · configuration.tsx Configuration routes
Components 31
Configuration UI
- Configuration routes
Configuration/webapp/app/routes/configuration.tsx - Configuration editor
Configuration/webapp/app/components/form/Form.tsx - Configuration queries
Configuration/webapp/app/api/query/useConfigurationKeysQuery.ts - Configuration API client
Configuration/webapp/app/api/axiosInstance.ts
AliECS Control
- Control UI
Control/public/pages/Environment/Environment.page.js - Control API
Control/lib/api.js - Environment operations
Control/lib/controllers/Environment.controller.js - Hardware configuration
Control/lib/controllers/Consul.controller.js - Public configuration
Control/lib/config/publicConfigProvider.js
InfoLogger
- Log viewer
InfoLogger/public/log/tableLogsContent.js - Query endpoint
InfoLogger/lib/controller/QueryController.js - Log query service
InfoLogger/lib/services/QueryService.js - Query cancellation
InfoLogger/lib/utils/queryCancellation.js
Quality Control
- QC interface
QualityControl/public/index.js - QC API setup
QualityControl/lib/api.js - Layout controller
QualityControl/lib/controllers/LayoutController.js - Layout repository
QualityControl/lib/repositories/LayoutRepository.js - QC object access
QualityControl/lib/controllers/ObjectController.js - QCDB download
QualityControl/lib/services/QcdbDownload.service.js
Shared Platform
- Token controller
Tokenization/backend/central-system/src/controllers/TokensController.ts - Token retrieval
Tokenization/backend/central-system/src/services/TokensGetService.ts - Central-system wrapper
Tokenization/backend/central-system/src/wrapper/CentralSystemWrapper.ts - HTTP server
Framework/Backend/http/server.js - Logging manager
Framework/Backend/log/LogManager.js - Winston adapter
Framework/Backend/log/WinstonWrapper.js - InfoLogger sender
Framework/Backend/log/InfoLoggerSender.js - Logger instances
Framework/Backend/log/Logger.js
Other components
- Configuration user
- Control operator
- Log analyst
- QC user
Connections 24
- Configuration user → Configuration routes: opens
- Configuration routes → Configuration editor: renders
- Configuration editor → Configuration queries: requests data
- Configuration queries → Configuration API client: sends request
Configuration/webapp/app/api/query/useConfigurationKeysQuery.ts - Control operator → Control UI: uses
- Control UI → Control API: calls API
- Control API → Environment operations: routes to
- Hardware configuration → Public configuration: reads settings
Control/lib/controllers/Consul.controller.js - Log analyst → Log viewer: uses
- Log viewer → Query endpoint: submits query
- Query endpoint → Log query service: queries logs
InfoLogger/lib/controller/QueryController.js - Log query service → Query cancellation: checks cancellation
InfoLogger/lib/services/QueryService.js - QC user → QC interface: uses
- QC interface → QC API setup: starts services
- QC API setup → Layout controller: configures routes
- QC API setup → QC object access: configures routes
- Layout controller → Layout repository: uses repository
QualityControl/lib/controllers/LayoutController.js - QC object access → QCDB download: retrieves objects
QualityControl/lib/controllers/ObjectController.js - Token controller → Token retrieval: retrieves tokens
Tokenization/backend/central-system/src/controllers/TokensController.ts - Token controller → Central-system wrapper: dispatches event
Tokenization/backend/central-system/src/controllers/TokensController.ts - HTTP server → Logging manager: uses logger
Framework/Backend/http/server.js - Logging manager → Winston adapter: creates adapter
Framework/Backend/log/LogManager.js - Logging manager → InfoLogger sender: creates sender
Framework/Backend/log/LogManager.js - Logging manager → Logger instances: creates instances
Framework/Backend/log/LogManager.js