How prasadtalasila/dtaas-public works
DTaaS is a digital-twin platform: users assemble twins from reusable assets, execute them, and share twins and services. The web client provides the DevOps interface; dt-automation supplies twin, asset, library, and GitLab execution logic. The runner exposes command and state-machine APIs, while libms serves files and logger-ms ingests workflow logs. Separate CLIs administer installations and platform services. The README documents the product boundaries; sampled source supports only selected internal calls, so other documented relationships are shown with null evidence rather than inferred source wiring.
Main entry points: src dt-automation · app.controller.ts Runner API · fsm.service.ts State machine service · routes.tsx Application routes
Components 27
Web application
- DTaaS web
client/src - Application routes
client/src/routes.tsx - Twin workflows
client/src/route/digitaltwins - Asset library
client/src/components/asset - Execution status
client/src/route/digitaltwins/execution/executionStatusManager.ts - Local history
client/src/database
Twin automation
- dt-automation
lib/dt-automation/src - Asset and twin model
lib/dt-automation/src/DTAssets.ts - Library manager
lib/dt-automation/src/libraryManager.ts - Pipeline execution
lib/dt-automation/src/util/digitalTwinPipelineExecution.ts - Measurements
lib/dt-automation/src/gitlab/measure/measurement.pipeline.ts - GitLab
lib/dt-automation/src/gitlab
Execution runtime
- Runner API
servers/execution/runner/src/app.controller.ts - State machine API
servers/execution/runner/src/fsm/fsm.controller.ts - State machine service
servers/execution/runner/src/fsm/fsm.service.ts - Command manager
servers/execution/runner/src/execa-manager.service.ts - Command queue
servers/execution/runner/src/queue.service.ts - Runner configuration
servers/execution/runner/src/config/configuration.service.ts
Platform services
- File service API
servers/lib/src/files - File backends
servers/lib/src/files/local/local-files.service.ts - Log ingestion API
servers/logger/src/app.controller.ts - Log storage service
servers/logger/src/logs/logs.service.ts
Administration
- DTaaS CLI
cli/src/cmd.py - Services CLI
deploy/services/cli/dtaas_services/commands/service_ops.py - Service manager
deploy/services/cli/dtaas_services/pkg/lib/manager.py - Service formatting
deploy/services/cli/dtaas_services/pkg/formatter.py
Other components
- Platform user
Connections 28
- Platform user → DTaaS web: uses
README.md - DTaaS web → Application routes: routes through
client/src/routes.tsx - Application routes → Twin workflows: offers
- Application routes → Asset library: offers
- Twin workflows → dt-automation: manages twins
- Asset library → dt-automation: uses assets
- dt-automation → Asset and twin model: models
- dt-automation → Library manager: manages library
- dt-automation → Pipeline execution: runs pipelines
- dt-automation → Measurements: measures runs
- Pipeline execution → GitLab: dispatches
- Platform user → Runner API: requests execution
- Runner API → Command manager: submits commands
servers/execution/runner/src/app.controller.ts - Runner API → State machine service: delegates state actions
servers/execution/runner/src/app.controller.ts - State machine API → State machine service: delegates transitions
servers/execution/runner/src/fsm/fsm.controller.ts - State machine service → Command manager: runs state scripts
servers/execution/runner/src/fsm/fsm.service.ts - State machine service → Command queue: stores machine state
servers/execution/runner/src/fsm/fsm.service.ts - Command manager → Command queue: records commands
servers/execution/runner/src/execa-manager.service.ts - Runner API → Runner configuration: uses configuration
- Platform user → File service API: requests files
README.md - File service API → File backends: serves files
servers/lib/src/files/local/local-files.service.ts - Platform user → Log ingestion API: sends workflow logs
README.md - Log ingestion API → Log storage service: appends events
servers/logger/src/app.controller.ts - Platform user → DTaaS CLI: administers installation
README.md - Platform user → Services CLI: administers services
README.md - Services CLI → Service manager: manages services
deploy/services/cli/dtaas_services/commands/service_ops.py - Service manager → Service formatting: normalizes names
deploy/services/cli/dtaas_services/pkg/lib/manager.py - Execution status → Local history: persists history