-
Notifications
You must be signed in to change notification settings - Fork 8
Configuration
Kevalkumar edited this page Jan 23, 2026
·
2 revisions
Main DataEngine configuration:
AAS.TwinEngine.DataEngine/appsettings.json
Test Plugin configuration:
AAS.TwinEngine.Plugin.TestPlugin/appsettings.json
-
ApiConfiguration.BasePath– base path for the API (empty by default). -
PluginConfig.Plugins– list of plugins consumed by DataEngine, e.g.:-
PluginName– logical name of the plugin. -
PluginUrl– base URL of the plugin (e.g.http://localhost:8086).
-
-
AasEnvironment– URLs and paths to AAS-related services:DataEngineRepositoryBaseUrlAasEnvironmentRepositoryBaseUrl-
AasRegistryBaseUrl/AasRegistryPath -
SubModelRegistryBaseUrl/SubModelRegistryPath -
AasRepositoryPath,ConceptDescriptionPath,SubmodelRefPath CustomerDomainUrl
-
MultiPluginConflictOption.HandlingMode– strategy when multiple plugins conflict:-
TakeFirst|SkipConflictingIds|ThrowError.
-
-
AasxExportOptions.RootFolder– folder used when exporting AASX files (defaultaasx). -
AasRegistryPreComputed– precomputation behavior for shell descriptors:-
ShellDescriptorCron– cron expression for sync job. -
IsPreComputed– enable/disable precomputation.
-
-
TemplateMappingRules– mapping from patterns to AAS/Submodel templates. -
Semantics– semantics-related settings. -
HttpRetryPolicyOptions– retry settings for HTTP clients such as TemplateProvider, PluginDataProvider, SubmodelDescriptorProvider. -
OpenTelemetry– telemetry configuration (see below). -
Serilog– logging sinks, levels, and output templates.
Section: OpenTelemetry
-
OtlpEndpoint– OTLP endpoint (defaulthttp://localhost:4317). -
ServiceName– logical service name (TwinEngineby default). -
ServiceVersion– service version.
The application:
- Configures
Serilogfrom configuration. - Exposes logs, traces, and metrics via OpenTelemetry exporters.
DataEngine Serilog configuration:
- Console sink with structured template including correlation and user information.
- File sink writing to
logs/twinEngine-.logwith daily rolling.
Test Plugin Serilog configuration:
- Console sink and file sink writing to
logs/TestPlugin-.log.
- CORS is configured via
CorsConfigurationExtensioninServiceConfigurationand applied inProgram.cs. - Health checks:
-
/healthzendpoint provided byAddHealthChecksandPluginManifestHealthCheck.
-
- Start or configure dependent AAS services (or mock them if necessary).
- Adjust
appsettings.jsonto point to your local URLs for AAS services and plugins. - Run the Test Plugin (or your custom plugin) locally.
- Run the main DataEngine API.
- Use Swagger UI to explore and verify endpoints.
- Run unit and module tests before pushing changes.
M&M Software
- Architecture
- Submodel Repository
- Submodel Registry
- Aas Registry
- Aas Repository
- Plugin
- Multi-Plugin
- Supported SubmodelElement
-
Bug Reports: Template Bug Item
-
Feature Requests : Feature Request